Index: ui/gl/gl_bindings_autogen_mock.cc |
diff --git a/ui/gl/gl_bindings_autogen_mock.cc b/ui/gl/gl_bindings_autogen_mock.cc |
index f58e17d62bee16fcd514d3d846ed792db78d72d2..b965e12b734a35b5a2c8e328bd8277cdea978696 100644 |
--- a/ui/gl/gl_bindings_autogen_mock.cc |
+++ b/ui/gl/gl_bindings_autogen_mock.cc |
@@ -95,6 +95,14 @@ MockGLInterface::Mock_glBindFragDataLocation(GLuint program, |
} |
void GL_BINDING_CALL |
+MockGLInterface::Mock_glBindFragDataLocationEXT(GLuint program, |
+ GLuint colorNumber, |
+ const char* name) { |
+ MakeFunctionUnique("glBindFragDataLocationEXT"); |
+ interface_->BindFragDataLocation(program, colorNumber, name); |
+} |
+ |
+void GL_BINDING_CALL |
MockGLInterface::Mock_glBindFragDataLocationIndexed(GLuint program, |
GLuint colorNumber, |
GLuint index, |
@@ -104,6 +112,15 @@ MockGLInterface::Mock_glBindFragDataLocationIndexed(GLuint program, |
} |
void GL_BINDING_CALL |
+MockGLInterface::Mock_glBindFragDataLocationIndexedEXT(GLuint program, |
+ GLuint colorNumber, |
+ GLuint index, |
+ const char* name) { |
+ MakeFunctionUnique("glBindFragDataLocationIndexedEXT"); |
+ interface_->BindFragDataLocationIndexed(program, colorNumber, index, name); |
+} |
+ |
+void GL_BINDING_CALL |
MockGLInterface::Mock_glBindFramebuffer(GLenum target, GLuint framebuffer) { |
MakeFunctionUnique("glBindFramebuffer"); |
interface_->BindFramebufferEXT(target, framebuffer); |
@@ -1182,6 +1199,18 @@ void GL_BINDING_CALL MockGLInterface::Mock_glGetFloatv(GLenum pname, |
} |
GLint GL_BINDING_CALL |
+MockGLInterface::Mock_glGetFragDataIndex(GLuint program, const char* name) { |
+ MakeFunctionUnique("glGetFragDataIndex"); |
+ return interface_->GetFragDataIndex(program, name); |
+} |
+ |
+GLint GL_BINDING_CALL |
+MockGLInterface::Mock_glGetFragDataIndexEXT(GLuint program, const char* name) { |
+ MakeFunctionUnique("glGetFragDataIndexEXT"); |
+ return interface_->GetFragDataIndex(program, name); |
+} |
+ |
+GLint GL_BINDING_CALL |
MockGLInterface::Mock_glGetFragDataLocation(GLuint program, const char* name) { |
MakeFunctionUnique("glGetFragDataLocation"); |
return interface_->GetFragDataLocation(program, name); |
@@ -2849,8 +2878,12 @@ void* GL_BINDING_CALL MockGLInterface::GetGLProcAddress(const char* name) { |
return reinterpret_cast<void*>(Mock_glBindBufferRange); |
if (strcmp(name, "glBindFragDataLocation") == 0) |
return reinterpret_cast<void*>(Mock_glBindFragDataLocation); |
+ if (strcmp(name, "glBindFragDataLocationEXT") == 0) |
+ return reinterpret_cast<void*>(Mock_glBindFragDataLocationEXT); |
if (strcmp(name, "glBindFragDataLocationIndexed") == 0) |
return reinterpret_cast<void*>(Mock_glBindFragDataLocationIndexed); |
+ if (strcmp(name, "glBindFragDataLocationIndexedEXT") == 0) |
+ return reinterpret_cast<void*>(Mock_glBindFragDataLocationIndexedEXT); |
if (strcmp(name, "glBindFramebuffer") == 0) |
return reinterpret_cast<void*>(Mock_glBindFramebuffer); |
if (strcmp(name, "glBindFramebufferEXT") == 0) |
@@ -3141,6 +3174,10 @@ void* GL_BINDING_CALL MockGLInterface::GetGLProcAddress(const char* name) { |
return reinterpret_cast<void*>(Mock_glGetFenceivNV); |
if (strcmp(name, "glGetFloatv") == 0) |
return reinterpret_cast<void*>(Mock_glGetFloatv); |
+ if (strcmp(name, "glGetFragDataIndex") == 0) |
+ return reinterpret_cast<void*>(Mock_glGetFragDataIndex); |
+ if (strcmp(name, "glGetFragDataIndexEXT") == 0) |
+ return reinterpret_cast<void*>(Mock_glGetFragDataIndexEXT); |
if (strcmp(name, "glGetFragDataLocation") == 0) |
return reinterpret_cast<void*>(Mock_glGetFragDataLocation); |
if (strcmp(name, "glGetFramebufferAttachmentParameteriv") == 0) |