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

Unified Diff: ui/gl/gl_bindings_autogen_mock.cc

Issue 1309743005: command_buffer: Implement EXT_blend_func_extended (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@new-05-path-fragment-input-gen
Patch Set: rebase 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_autogen_mock.h ('k') | ui/gl/gl_enums_implementation_autogen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « ui/gl/gl_bindings_autogen_mock.h ('k') | ui/gl/gl_enums_implementation_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698