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

Unified Diff: ui/gl/gl_bindings_autogen_mock.cc

Issue 477623004: command_buffer: Support instanced path rendering in gpu command buffer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@new-03-path-funcs
Patch Set: fix msvc signedness warning in an unittest Created 5 years, 2 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_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 41a38dfba36bceaf2038ca1ff02b90f9651bea1f..ebc5271e8c73aa525ee37bc4250f83e11592a99e 100644
--- a/ui/gl/gl_bindings_autogen_mock.cc
+++ b/ui/gl/gl_bindings_autogen_mock.cc
@@ -481,12 +481,40 @@ void GL_BINDING_CALL MockGLInterface::Mock_glCopyTexSubImage3D(GLenum target,
width, height);
}
+void GL_BINDING_CALL MockGLInterface::Mock_glCoverFillPathInstancedNV(
+ GLsizei numPaths,
+ GLenum pathNameType,
+ const void* paths,
+ GLuint pathBase,
+ GLenum coverMode,
+ GLenum transformType,
+ const GLfloat* transformValues) {
+ MakeFunctionUnique("glCoverFillPathInstancedNV");
+ interface_->CoverFillPathInstancedNV(numPaths, pathNameType, paths, pathBase,
+ coverMode, transformType,
+ transformValues);
+}
+
void GL_BINDING_CALL MockGLInterface::Mock_glCoverFillPathNV(GLuint path,
GLenum coverMode) {
MakeFunctionUnique("glCoverFillPathNV");
interface_->CoverFillPathNV(path, coverMode);
}
+void GL_BINDING_CALL MockGLInterface::Mock_glCoverStrokePathInstancedNV(
+ GLsizei numPaths,
+ GLenum pathNameType,
+ const void* paths,
+ GLuint pathBase,
+ GLenum coverMode,
+ GLenum transformType,
+ const GLfloat* transformValues) {
+ MakeFunctionUnique("glCoverStrokePathInstancedNV");
+ interface_->CoverStrokePathInstancedNV(numPaths, pathNameType, paths,
+ pathBase, coverMode, transformType,
+ transformValues);
+}
+
void GL_BINDING_CALL
MockGLInterface::Mock_glCoverStrokePathNV(GLuint name, GLenum coverMode) {
MakeFunctionUnique("glCoverStrokePathNV");
@@ -2055,6 +2083,21 @@ MockGLInterface::Mock_glShaderSource(GLuint shader,
interface_->ShaderSource(shader, count, str, length);
}
+void GL_BINDING_CALL MockGLInterface::Mock_glStencilFillPathInstancedNV(
+ GLsizei numPaths,
+ GLenum pathNameType,
+ const void* paths,
+ GLuint pathBase,
+ GLenum fillMode,
+ GLuint mask,
+ GLenum transformType,
+ const GLfloat* transformValues) {
+ MakeFunctionUnique("glStencilFillPathInstancedNV");
+ interface_->StencilFillPathInstancedNV(numPaths, pathNameType, paths,
+ pathBase, fillMode, mask,
+ transformType, transformValues);
+}
+
void GL_BINDING_CALL MockGLInterface::Mock_glStencilFillPathNV(GLuint path,
GLenum fillMode,
GLuint mask) {
@@ -2103,6 +2146,21 @@ void GL_BINDING_CALL MockGLInterface::Mock_glStencilOpSeparate(GLenum face,
interface_->StencilOpSeparate(face, fail, zfail, zpass);
}
+void GL_BINDING_CALL MockGLInterface::Mock_glStencilStrokePathInstancedNV(
+ GLsizei numPaths,
+ GLenum pathNameType,
+ const void* paths,
+ GLuint pathBase,
+ GLint ref,
+ GLuint mask,
+ GLenum transformType,
+ const GLfloat* transformValues) {
+ MakeFunctionUnique("glStencilStrokePathInstancedNV");
+ interface_->StencilStrokePathInstancedNV(numPaths, pathNameType, paths,
+ pathBase, ref, mask, transformType,
+ transformValues);
+}
+
void GL_BINDING_CALL
MockGLInterface::Mock_glStencilStrokePathNV(GLuint path,
GLint reference,
@@ -2112,6 +2170,23 @@ MockGLInterface::Mock_glStencilStrokePathNV(GLuint path,
}
void GL_BINDING_CALL
+MockGLInterface::Mock_glStencilThenCoverFillPathInstancedNV(
+ GLsizei numPaths,
+ GLenum pathNameType,
+ const void* paths,
+ GLuint pathBase,
+ GLenum fillMode,
+ GLuint mask,
+ GLenum coverMode,
+ GLenum transformType,
+ const GLfloat* transformValues) {
+ MakeFunctionUnique("glStencilThenCoverFillPathInstancedNV");
+ interface_->StencilThenCoverFillPathInstancedNV(
+ numPaths, pathNameType, paths, pathBase, fillMode, mask, coverMode,
+ transformType, transformValues);
+}
+
+void GL_BINDING_CALL
MockGLInterface::Mock_glStencilThenCoverFillPathNV(GLuint path,
GLenum fillMode,
GLuint mask,
@@ -2121,6 +2196,23 @@ MockGLInterface::Mock_glStencilThenCoverFillPathNV(GLuint path,
}
void GL_BINDING_CALL
+MockGLInterface::Mock_glStencilThenCoverStrokePathInstancedNV(
+ GLsizei numPaths,
+ GLenum pathNameType,
+ const void* paths,
+ GLuint pathBase,
+ GLint ref,
+ GLuint mask,
+ GLenum coverMode,
+ GLenum transformType,
+ const GLfloat* transformValues) {
+ MakeFunctionUnique("glStencilThenCoverStrokePathInstancedNV");
+ interface_->StencilThenCoverStrokePathInstancedNV(
+ numPaths, pathNameType, paths, pathBase, ref, mask, coverMode,
+ transformType, transformValues);
+}
+
+void GL_BINDING_CALL
MockGLInterface::Mock_glStencilThenCoverStrokePathNV(GLuint path,
GLint reference,
GLuint mask,
@@ -2809,8 +2901,12 @@ void* GL_BINDING_CALL MockGLInterface::GetGLProcAddress(const char* name) {
return reinterpret_cast<void*>(Mock_glCopyTexSubImage2D);
if (strcmp(name, "glCopyTexSubImage3D") == 0)
return reinterpret_cast<void*>(Mock_glCopyTexSubImage3D);
+ if (strcmp(name, "glCoverFillPathInstancedNV") == 0)
+ return reinterpret_cast<void*>(Mock_glCoverFillPathInstancedNV);
if (strcmp(name, "glCoverFillPathNV") == 0)
return reinterpret_cast<void*>(Mock_glCoverFillPathNV);
+ if (strcmp(name, "glCoverStrokePathInstancedNV") == 0)
+ return reinterpret_cast<void*>(Mock_glCoverStrokePathInstancedNV);
if (strcmp(name, "glCoverStrokePathNV") == 0)
return reinterpret_cast<void*>(Mock_glCoverStrokePathNV);
if (strcmp(name, "glCreateProgram") == 0)
@@ -3256,6 +3352,8 @@ void* GL_BINDING_CALL MockGLInterface::GetGLProcAddress(const char* name) {
return reinterpret_cast<void*>(Mock_glShaderBinary);
if (strcmp(name, "glShaderSource") == 0)
return reinterpret_cast<void*>(Mock_glShaderSource);
+ if (strcmp(name, "glStencilFillPathInstancedNV") == 0)
+ return reinterpret_cast<void*>(Mock_glStencilFillPathInstancedNV);
if (strcmp(name, "glStencilFillPathNV") == 0)
return reinterpret_cast<void*>(Mock_glStencilFillPathNV);
if (strcmp(name, "glStencilFunc") == 0)
@@ -3270,10 +3368,17 @@ void* GL_BINDING_CALL MockGLInterface::GetGLProcAddress(const char* name) {
return reinterpret_cast<void*>(Mock_glStencilOp);
if (strcmp(name, "glStencilOpSeparate") == 0)
return reinterpret_cast<void*>(Mock_glStencilOpSeparate);
+ if (strcmp(name, "glStencilStrokePathInstancedNV") == 0)
+ return reinterpret_cast<void*>(Mock_glStencilStrokePathInstancedNV);
if (strcmp(name, "glStencilStrokePathNV") == 0)
return reinterpret_cast<void*>(Mock_glStencilStrokePathNV);
+ if (strcmp(name, "glStencilThenCoverFillPathInstancedNV") == 0)
+ return reinterpret_cast<void*>(Mock_glStencilThenCoverFillPathInstancedNV);
if (strcmp(name, "glStencilThenCoverFillPathNV") == 0)
return reinterpret_cast<void*>(Mock_glStencilThenCoverFillPathNV);
+ if (strcmp(name, "glStencilThenCoverStrokePathInstancedNV") == 0)
+ return reinterpret_cast<void*>(
+ Mock_glStencilThenCoverStrokePathInstancedNV);
if (strcmp(name, "glStencilThenCoverStrokePathNV") == 0)
return reinterpret_cast<void*>(Mock_glStencilThenCoverStrokePathNV);
if (strcmp(name, "glTestFenceAPPLE") == 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