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

Unified Diff: ui/gl/gl_bindings_autogen_gl.h

Issue 1523233003: Add bindings for GL_[ARB/EXT]_shader_image_load_store (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « ui/gl/gl_bindings_api_autogen_gl.h ('k') | ui/gl/gl_bindings_autogen_gl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_bindings_autogen_gl.h
diff --git a/ui/gl/gl_bindings_autogen_gl.h b/ui/gl/gl_bindings_autogen_gl.h
index c568d214661b30450d84b2613a7d610a1a81c7bc..0a0046e45b15213af1a0430fb46fc10741c6114e 100644
--- a/ui/gl/gl_bindings_autogen_gl.h
+++ b/ui/gl/gl_bindings_autogen_gl.h
@@ -44,6 +44,13 @@ typedef void(GL_BINDING_CALL* glBindFragDataLocationIndexedProc)(
const char* name);
typedef void(GL_BINDING_CALL* glBindFramebufferEXTProc)(GLenum target,
GLuint framebuffer);
+typedef void(GL_BINDING_CALL* glBindImageTextureEXTProc)(GLuint index,
+ GLuint texture,
+ GLint level,
+ GLboolean layered,
+ GLint layer,
+ GLenum access,
+ GLint format);
typedef void(GL_BINDING_CALL* glBindRenderbufferEXTProc)(GLenum target,
GLuint renderbuffer);
typedef void(GL_BINDING_CALL* glBindSamplerProc)(GLuint unit, GLuint sampler);
@@ -607,6 +614,7 @@ typedef void*(GL_BINDING_CALL* glMapBufferRangeProc)(GLenum target,
typedef void(GL_BINDING_CALL* glMatrixLoadfEXTProc)(GLenum matrixMode,
const GLfloat* m);
typedef void(GL_BINDING_CALL* glMatrixLoadIdentityEXTProc)(GLenum matrixMode);
+typedef void(GL_BINDING_CALL* glMemoryBarrierEXTProc)(GLbitfield barriers);
typedef void(GL_BINDING_CALL* glPathCommandsNVProc)(GLuint path,
GLsizei numCommands,
const GLubyte* commands,
@@ -1042,6 +1050,7 @@ struct ExtensionsGL {
bool b_GL_ARB_occlusion_query;
bool b_GL_ARB_program_interface_query;
bool b_GL_ARB_robustness;
+ bool b_GL_ARB_shader_image_load_store;
bool b_GL_ARB_sync;
bool b_GL_ARB_texture_storage;
bool b_GL_ARB_timer_query;
@@ -1062,6 +1071,7 @@ struct ExtensionsGL {
bool b_GL_EXT_multisampled_render_to_texture;
bool b_GL_EXT_occlusion_query_boolean;
bool b_GL_EXT_robustness;
+ bool b_GL_EXT_shader_image_load_store;
bool b_GL_EXT_texture_storage;
bool b_GL_EXT_timer_query;
bool b_GL_IMG_multisampled_render_to_texture;
@@ -1091,6 +1101,7 @@ struct ProcsGL {
glBindFragDataLocationProc glBindFragDataLocationFn;
glBindFragDataLocationIndexedProc glBindFragDataLocationIndexedFn;
glBindFramebufferEXTProc glBindFramebufferEXTFn;
+ glBindImageTextureEXTProc glBindImageTextureEXTFn;
glBindRenderbufferEXTProc glBindRenderbufferEXTFn;
glBindSamplerProc glBindSamplerFn;
glBindTextureProc glBindTextureFn;
@@ -1281,6 +1292,7 @@ struct ProcsGL {
glMapBufferRangeProc glMapBufferRangeFn;
glMatrixLoadfEXTProc glMatrixLoadfEXTFn;
glMatrixLoadIdentityEXTProc glMatrixLoadIdentityEXTFn;
+ glMemoryBarrierEXTProc glMemoryBarrierEXTFn;
glPathCommandsNVProc glPathCommandsNVFn;
glPathParameterfNVProc glPathParameterfNVFn;
glPathParameteriNVProc glPathParameteriNVFn;
@@ -1430,6 +1442,13 @@ class GL_EXPORT GLApi {
GLuint index,
const char* name) = 0;
virtual void glBindFramebufferEXTFn(GLenum target, GLuint framebuffer) = 0;
+ virtual void glBindImageTextureEXTFn(GLuint index,
+ GLuint texture,
+ GLint level,
+ GLboolean layered,
+ GLint layer,
+ GLenum access,
+ GLint format) = 0;
virtual void glBindRenderbufferEXTFn(GLenum target, GLuint renderbuffer) = 0;
virtual void glBindSamplerFn(GLuint unit, GLuint sampler) = 0;
virtual void glBindTextureFn(GLenum target, GLuint texture) = 0;
@@ -1923,6 +1942,7 @@ class GL_EXPORT GLApi {
GLbitfield access) = 0;
virtual void glMatrixLoadfEXTFn(GLenum matrixMode, const GLfloat* m) = 0;
virtual void glMatrixLoadIdentityEXTFn(GLenum matrixMode) = 0;
+ virtual void glMemoryBarrierEXTFn(GLbitfield barriers) = 0;
virtual void glPathCommandsNVFn(GLuint path,
GLsizei numCommands,
const GLubyte* commands,
@@ -2316,6 +2336,8 @@ class GL_EXPORT GLApi {
#define glBindFragDataLocationIndexed \
::gfx::g_current_gl_context->glBindFragDataLocationIndexedFn
#define glBindFramebufferEXT ::gfx::g_current_gl_context->glBindFramebufferEXTFn
+#define glBindImageTextureEXT \
+ ::gfx::g_current_gl_context->glBindImageTextureEXTFn
#define glBindRenderbufferEXT \
::gfx::g_current_gl_context->glBindRenderbufferEXTFn
#define glBindSampler ::gfx::g_current_gl_context->glBindSamplerFn
@@ -2561,6 +2583,7 @@ class GL_EXPORT GLApi {
#define glMatrixLoadfEXT ::gfx::g_current_gl_context->glMatrixLoadfEXTFn
#define glMatrixLoadIdentityEXT \
::gfx::g_current_gl_context->glMatrixLoadIdentityEXTFn
+#define glMemoryBarrierEXT ::gfx::g_current_gl_context->glMemoryBarrierEXTFn
#define glPathCommandsNV ::gfx::g_current_gl_context->glPathCommandsNVFn
#define glPathParameterfNV ::gfx::g_current_gl_context->glPathParameterfNVFn
#define glPathParameteriNV ::gfx::g_current_gl_context->glPathParameteriNVFn
« no previous file with comments | « ui/gl/gl_bindings_api_autogen_gl.h ('k') | ui/gl/gl_bindings_autogen_gl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698