diff options
author | Chris Wilson <[email protected]> | 2010-03-05 15:03:51 +0000 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2010-03-05 15:03:56 +0000 |
commit | 6ba31fb2dbe6a90e6d60a49b3e5bd2edce05241d (patch) | |
tree | 6b7a36a3b422cf33f94ea6eff5e37b01c0361b81 /src/mesa/main/dd.h | |
parent | 3490923c817cd81d46a405de117e9ba8a8aeef3c (diff) | |
parent | 755915fa5d9ea782d142b3f8755b62d6de28fe29 (diff) |
Merge branch 'object-purgeable'
Acked-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/dd.h')
-rw-r--r-- | src/mesa/main/dd.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h index 84b83fe2731..197de09b22a 100644 --- a/src/mesa/main/dd.h +++ b/src/mesa/main/dd.h @@ -777,6 +777,23 @@ struct dd_function_table { #endif /** + * \name Functions for GL_APPLE_object_purgeable + */ +#if FEATURE_APPLE_object_purgeable + /*@{*/ + /* variations on ObjectPurgeable */ + GLenum (*BufferObjectPurgeable)( GLcontext *ctx, struct gl_buffer_object *obj, GLenum option ); + GLenum (*RenderObjectPurgeable)( GLcontext *ctx, struct gl_renderbuffer *obj, GLenum option ); + GLenum (*TextureObjectPurgeable)( GLcontext *ctx, struct gl_texture_object *obj, GLenum option ); + + /* variations on ObjectUnpurgeable */ + GLenum (*BufferObjectUnpurgeable)( GLcontext *ctx, struct gl_buffer_object *obj, GLenum option ); + GLenum (*RenderObjectUnpurgeable)( GLcontext *ctx, struct gl_renderbuffer *obj, GLenum option ); + GLenum (*TextureObjectUnpurgeable)( GLcontext *ctx, struct gl_texture_object *obj, GLenum option ); + /*@}*/ +#endif + + /** * \name Functions for GL_EXT_framebuffer_object */ #if FEATURE_EXT_framebuffer_object |