diff options
author | Brian Paul <brianp@vmware.com> | 2009-10-07 16:41:18 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-10-07 16:41:18 -0600 |
commit | 33e9ac20e3b399c6ec6ec2f586a9402b68590992 (patch) | |
tree | b6aa2afc5cf3951f7b40612f3c4c766b7683932f /src/mesa/main/mtypes.h | |
parent | 15f05e97aac46ffcf8a7765b0072535718833622 (diff) |
mesa: move gl_list_instruction and gl_list_extensions to dlist.c
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r-- | src/mesa/main/mtypes.h | 26 |
1 files changed, 2 insertions, 24 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index d005064645..a1184df281 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -84,6 +84,7 @@ /*@{*/ struct _mesa_HashTable; struct gl_attrib_node; +struct gl_list_extensions; struct gl_meta_state; struct gl_pixelstore_attrib; struct gl_program_cache; @@ -820,29 +821,6 @@ struct gl_list_attrib /** - * Used by device drivers to hook new commands into display lists. - */ -struct gl_list_instruction -{ - GLuint Size; - void (*Execute)( GLcontext *ctx, void *data ); - void (*Destroy)( GLcontext *ctx, void *data ); - void (*Print)( GLcontext *ctx, void *data ); -}; - -#define MAX_DLIST_EXT_OPCODES 16 - -/** - * Used by device drivers to hook new commands into display lists. - */ -struct gl_list_extensions -{ - struct gl_list_instruction Opcode[MAX_DLIST_EXT_OPCODES]; - GLuint NumOpcodes; -}; - - -/** * Multisample attribute group (GL_MULTISAMPLE_BIT). */ struct gl_multisample_attrib @@ -3061,7 +3039,7 @@ struct __GLcontextRec struct gl_shine_tab *_ShineTabList; /**< MRU list of inactive shine tables */ /**@}*/ - struct gl_list_extensions ListExt; /**< driver dlist extensions */ + struct gl_list_extensions *ListExt; /**< driver dlist extensions */ /** \name For debugging/development only */ /*@{*/ |