Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Unified Diff: gpu/GLES2/gl2extchromium.h

Issue 299043003: Adding bindless variants mailbox produce/consume (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 */

Powered by Google App Engine
This is Rietveld 408576698