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

Unified Diff: ui/gl/gl_bindings_autogen_mock.cc

Issue 895853003: Update from https://crrev.com/314320 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « ui/gl/gl_bindings_autogen_mock.h ('k') | ui/gl/gl_bindings_autogen_osmesa.cc » ('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 f42469685c8640a6a03b8a05b86741fd47a5dd85..185d80964b5a9fc89c32ffe5c4983198831e69d8 100644
--- a/ui/gl/gl_bindings_autogen_mock.cc
+++ b/ui/gl/gl_bindings_autogen_mock.cc
@@ -479,12 +479,6 @@ MockGLInterface::Mock_glDeleteBuffers(GLsizei n, const GLuint* buffers) {
}
void GL_BINDING_CALL
-MockGLInterface::Mock_glDeleteBuffersARB(GLsizei n, const GLuint* buffers) {
- MakeFunctionUnique("glDeleteBuffersARB");
- interface_->DeleteBuffersARB(n, buffers);
-}
-
-void GL_BINDING_CALL
MockGLInterface::Mock_glDeleteFencesAPPLE(GLsizei n, const GLuint* fences) {
MakeFunctionUnique("glDeleteFencesAPPLE");
interface_->DeleteFencesAPPLE(n, fences);
@@ -915,12 +909,6 @@ MockGLInterface::Mock_glGenBuffers(GLsizei n, GLuint* buffers) {
}
void GL_BINDING_CALL
-MockGLInterface::Mock_glGenBuffersARB(GLsizei n, GLuint* buffers) {
- MakeFunctionUnique("glGenBuffersARB");
- interface_->GenBuffersARB(n, buffers);
-}
-
-void GL_BINDING_CALL
MockGLInterface::Mock_glGenFencesAPPLE(GLsizei n, GLuint* fences) {
MakeFunctionUnique("glGenFencesAPPLE");
interface_->GenFencesAPPLE(n, fences);
@@ -1250,6 +1238,14 @@ MockGLInterface::Mock_glGetQueryObjecti64v(GLuint id,
interface_->GetQueryObjecti64v(id, pname, params);
}
+void GL_BINDING_CALL
+MockGLInterface::Mock_glGetQueryObjecti64vEXT(GLuint id,
+ GLenum pname,
+ GLint64* params) {
+ MakeFunctionUnique("glGetQueryObjecti64vEXT");
+ interface_->GetQueryObjecti64v(id, pname, params);
+}
+
void GL_BINDING_CALL MockGLInterface::Mock_glGetQueryObjectiv(GLuint id,
GLenum pname,
GLint* params) {
@@ -2650,8 +2646,6 @@ void* GL_BINDING_CALL MockGLInterface::GetGLProcAddress(const char* name) {
return reinterpret_cast<void*>(Mock_glCullFace);
if (strcmp(name, "glDeleteBuffers") == 0)
return reinterpret_cast<void*>(Mock_glDeleteBuffers);
- if (strcmp(name, "glDeleteBuffersARB") == 0)
- return reinterpret_cast<void*>(Mock_glDeleteBuffersARB);
if (strcmp(name, "glDeleteFencesAPPLE") == 0)
return reinterpret_cast<void*>(Mock_glDeleteFencesAPPLE);
if (strcmp(name, "glDeleteFencesNV") == 0)
@@ -2776,8 +2770,6 @@ void* GL_BINDING_CALL MockGLInterface::GetGLProcAddress(const char* name) {
return reinterpret_cast<void*>(Mock_glFrontFace);
if (strcmp(name, "glGenBuffers") == 0)
return reinterpret_cast<void*>(Mock_glGenBuffers);
- if (strcmp(name, "glGenBuffersARB") == 0)
- return reinterpret_cast<void*>(Mock_glGenBuffersARB);
if (strcmp(name, "glGenFencesAPPLE") == 0)
return reinterpret_cast<void*>(Mock_glGenFencesAPPLE);
if (strcmp(name, "glGenFencesNV") == 0)
@@ -2871,6 +2863,8 @@ void* GL_BINDING_CALL MockGLInterface::GetGLProcAddress(const char* name) {
return reinterpret_cast<void*>(Mock_glGetProgramiv);
if (strcmp(name, "glGetQueryObjecti64v") == 0)
return reinterpret_cast<void*>(Mock_glGetQueryObjecti64v);
+ if (strcmp(name, "glGetQueryObjecti64vEXT") == 0)
+ return reinterpret_cast<void*>(Mock_glGetQueryObjecti64vEXT);
if (strcmp(name, "glGetQueryObjectiv") == 0)
return reinterpret_cast<void*>(Mock_glGetQueryObjectiv);
if (strcmp(name, "glGetQueryObjectivARB") == 0)
« no previous file with comments | « ui/gl/gl_bindings_autogen_mock.h ('k') | ui/gl/gl_bindings_autogen_osmesa.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698