| 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 b35656185d7929f74336e728eff6594412b6f019..43baa4981234d5267ce231357751b2e7294aa85f 100644
|
| --- a/ui/gl/gl_bindings_autogen_mock.cc
|
| +++ b/ui/gl/gl_bindings_autogen_mock.cc
|
| @@ -101,6 +101,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,
|
| @@ -110,6 +118,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);
|
| @@ -1188,6 +1205,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);
|
| @@ -2857,8 +2886,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)
|
| @@ -3149,6 +3182,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)
|
|
|