diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-03-05 15:03:51 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-03-05 15:03:56 +0000 |
commit | 6ba31fb2dbe6a90e6d60a49b3e5bd2edce05241d (patch) | |
tree | 6b7a36a3b422cf33f94ea6eff5e37b01c0361b81 /src/mesa/main/bufferobj.h | |
parent | 3490923c817cd81d46a405de117e9ba8a8aeef3c (diff) | |
parent | 755915fa5d9ea782d142b3f8755b62d6de28fe29 (diff) |
Merge branch 'object-purgeable'
Acked-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/mesa/main/bufferobj.h')
-rw-r--r-- | src/mesa/main/bufferobj.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mesa/main/bufferobj.h b/src/mesa/main/bufferobj.h index f8bca5ff71..912529cfdf 100644 --- a/src/mesa/main/bufferobj.h +++ b/src/mesa/main/bufferobj.h @@ -175,4 +175,15 @@ _mesa_MapBufferRange(GLenum target, GLintptr offset, GLsizeiptr length, extern void GLAPIENTRY _mesa_FlushMappedBufferRange(GLenum target, GLintptr offset, GLsizeiptr length); +#if FEATURE_APPLE_object_purgeable +extern GLenum GLAPIENTRY +_mesa_ObjectPurgeableAPPLE(GLenum objectType, GLuint name, GLenum option); + +extern GLenum GLAPIENTRY +_mesa_ObjectUnpurgeableAPPLE(GLenum objectType, GLuint name, GLenum option); + +extern void GLAPIENTRY +_mesa_GetObjectParameterivAPPLE(GLenum objectType, GLuint name, GLenum pname, GLint* params); +#endif + #endif |