Chromium Code Reviews| Index: gpu/GLES2/gl2extchromium.h |
| diff --git a/gpu/GLES2/gl2extchromium.h b/gpu/GLES2/gl2extchromium.h |
| index d78f8effaf1a55131102b6fe3674f907be87abe7..dc9304e967e8069dadafe59b88d51534fadc3ccb 100644 |
| --- a/gpu/GLES2/gl2extchromium.h |
| +++ b/gpu/GLES2/gl2extchromium.h |
| @@ -55,14 +55,22 @@ typedef void (GL_APIENTRYP PFNGLTEXIMAGEIOSURFACE2DCHROMIUMPROC) ( |
| GL_APICALL void GL_APIENTRY glGenMailboxCHROMIUM(GLbyte* mailbox); |
| GL_APICALL void GL_APIENTRY glProduceTextureCHROMIUM( |
| GLenum target, const GLbyte* mailbox); |
| +GL_APICALL void GL_APIENTRY glProduceTextureBindlessCHROMIUM( |
|
Ken Russell (switch to Gerrit)
2014/05/23 04:04:41
I think the term "bindless" might cause confusion
|
| + GLuint texture, GLenum target, const GLbyte* mailbox); |
|
piman
2014/05/22 21:53:58
Nit: the GL-y way is to have target before texture
|
| GL_APICALL void GL_APIENTRY glConsumeTextureCHROMIUM( |
| GLenum target, const GLbyte* mailbox); |
| +GL_APICALL GLuint GL_APIENTRY glCreateAndConsumeTextureCHROMIUM( |
| + GLenum target, const GLbyte* mailbox); |
| #endif |
| typedef void (GL_APIENTRYP PFNGLGENMAILBOXCHROMIUMPROC) (GLbyte* mailbox); |
| typedef void (GL_APIENTRYP PFNGLPRODUCETEXTURECHROMIUMPROC) ( |
| GLenum target, const GLbyte* mailbox); |
| +typedef void (GL_APIENTRYP PFNGLPRODUCETEXTUREBINDLESSCHROMIUMPROC) ( |
| + GLenum target, const GLbyte* mailbox); |
|
Ken Russell (switch to Gerrit)
2014/05/23 04:04:41
The signature of the function pointer doesn't matc
|
| typedef void (GL_APIENTRYP PFNGLCONSUMETEXTURECHROMIUMPROC) ( |
| GLenum target, const GLbyte* mailbox); |
| +typedef GLuint (GL_APIENTRYP PFNGLCREATEANDCONSUMETEXTURECHROMIUMPROC) ( |
| + GLenum target, const GLbyte* mailbox); |
| #endif /* GL_CHROMIUM_texture_mailbox */ |
| /* GL_CHROMIUM_pixel_transfer_buffer_object */ |