diff options
author | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-25 21:30:08 +0000 |
---|---|---|
committer | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-25 21:30:08 +0000 |
commit | 6b739b0f6997b0195b10642b82568f2fe2755c7e (patch) | |
tree | 8403030012fb6bf98b2ac8354fddab951eb30b6a /gpu/GLES2 | |
parent | d3fc89156d1a0be32302540412b948665f56ebc6 (diff) | |
download | chromium_src-6b739b0f6997b0195b10642b82568f2fe2755c7e.zip chromium_src-6b739b0f6997b0195b10642b82568f2fe2755c7e.tar.gz chromium_src-6b739b0f6997b0195b10642b82568f2fe2755c7e.tar.bz2 |
Add MapBuffer prototypes to gl2extchromium.h
BUG=none
Review URL: https://chromiumcodereview.appspot.com/12041066
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178897 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/GLES2')
-rw-r--r-- | gpu/GLES2/gl2extchromium.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gpu/GLES2/gl2extchromium.h b/gpu/GLES2/gl2extchromium.h index 7ea2e28..0dd021d 100644 --- a/gpu/GLES2/gl2extchromium.h +++ b/gpu/GLES2/gl2extchromium.h @@ -72,7 +72,15 @@ typedef void (GL_APIENTRYP PFNGLCONSUMETEXTURECHROMIUMPROC) ( #ifndef GL_PIXEL_UNPACK_TRANSFER_BUFFER_CHROMIUM // TODO(reveman): Get official numbers for this constants. #define GL_PIXEL_UNPACK_TRANSFER_BUFFER_CHROMIUM 0x88EC + +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void* GL_APIENTRY glMapBufferCHROMIUM(GLuint target,GLenum access); +GL_APICALL GLboolean GL_APIENTRY glUnmapBufferCHROMIUM(GLuint target); #endif +typedef void* (GL_APIENTRY PFNGLMAPBUFFERCHROMIUM) ( + GLuint target,GLenum access); +typedef GLboolean (GL_APIENTRY PFNGLUNMAPBUFFERCHROMIUM) (GLuint target); +#endif /* GL_CHROMIUM_pixel_transfer_buffer_object */ #ifndef GL_PIXEL_UNPACK_TRANSFER_BUFFER_BINDING_CHROMIUM // TODO(reveman): Get official numbers for this constants. |