Move the copySubBuffer extension over to the new mechanism.

This commit is contained in:
Kristian Høgsberg
2007-05-15 15:17:30 -04:00
committed by Kristian Høgsberg
parent f616a263a2
commit ac3e838fa7
9 changed files with 65 additions and 23 deletions

View File

@@ -73,6 +73,11 @@ typedef struct __DRIutilversionRec2 __DRIutilversion2;
*/
extern __GLcontextModes *__driDriverInitScreen(__DRIscreenPrivate *psp);
/**
* Extensions.
*/
extern const __DRIcopySubBufferExtension driCopySubBufferExtension;
/**
* Used by DRI_VALIDATE_DRAWABLE_INFO
*/
@@ -461,8 +466,12 @@ struct __DRIscreenPrivateRec {
/**
* Pointer back to the \c __DRIscreen that contains this structure.
*/
__DRIscreen *psc;
/**
* Extensions provided by this driver.
*/
const __DRIextension **extensions;
};