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

Unified Diff: gpu/command_buffer/client/gles2_c_lib_autogen.h

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 | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_cmd_helper_autogen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/client/gles2_c_lib_autogen.h
diff --git a/gpu/command_buffer/client/gles2_c_lib_autogen.h b/gpu/command_buffer/client/gles2_c_lib_autogen.h
index 284f00d42e53de13bb0343a9e3403a74b6a608c1..36210ff6c6dcf9968c904803308bc2a7018f16ae 100644
--- a/gpu/command_buffer/client/gles2_c_lib_autogen.h
+++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h
@@ -1591,6 +1591,84 @@ void GL_APIENTRY GLES2StencilThenCoverStrokePathCHROMIUM(GLuint path,
gles2::GetGLContext()->StencilThenCoverStrokePathCHROMIUM(path, reference,
mask, coverMode);
}
+void GL_APIENTRY
+GLES2StencilFillPathInstancedCHROMIUM(GLsizei numPaths,
+ GLenum pathNameType,
+ const GLvoid* paths,
+ GLuint pathBase,
+ GLenum fillMode,
+ GLuint mask,
+ GLenum transformType,
+ const GLfloat* transformValues) {
+ gles2::GetGLContext()->StencilFillPathInstancedCHROMIUM(
+ numPaths, pathNameType, paths, pathBase, fillMode, mask, transformType,
+ transformValues);
+}
+void GL_APIENTRY
+GLES2StencilStrokePathInstancedCHROMIUM(GLsizei numPaths,
+ GLenum pathNameType,
+ const GLvoid* paths,
+ GLuint pathBase,
+ GLint reference,
+ GLuint mask,
+ GLenum transformType,
+ const GLfloat* transformValues) {
+ gles2::GetGLContext()->StencilStrokePathInstancedCHROMIUM(
+ numPaths, pathNameType, paths, pathBase, reference, mask, transformType,
+ transformValues);
+}
+void GL_APIENTRY
+GLES2CoverFillPathInstancedCHROMIUM(GLsizei numPaths,
+ GLenum pathNameType,
+ const GLvoid* paths,
+ GLuint pathBase,
+ GLenum coverMode,
+ GLenum transformType,
+ const GLfloat* transformValues) {
+ gles2::GetGLContext()->CoverFillPathInstancedCHROMIUM(
+ numPaths, pathNameType, paths, pathBase, coverMode, transformType,
+ transformValues);
+}
+void GL_APIENTRY
+GLES2CoverStrokePathInstancedCHROMIUM(GLsizei numPaths,
+ GLenum pathNameType,
+ const GLvoid* paths,
+ GLuint pathBase,
+ GLenum coverMode,
+ GLenum transformType,
+ const GLfloat* transformValues) {
+ gles2::GetGLContext()->CoverStrokePathInstancedCHROMIUM(
+ numPaths, pathNameType, paths, pathBase, coverMode, transformType,
+ transformValues);
+}
+void GL_APIENTRY
+GLES2StencilThenCoverFillPathInstancedCHROMIUM(GLsizei numPaths,
+ GLenum pathNameType,
+ const GLvoid* paths,
+ GLuint pathBase,
+ GLenum fillMode,
+ GLuint mask,
+ GLenum coverMode,
+ GLenum transformType,
+ const GLfloat* transformValues) {
+ gles2::GetGLContext()->StencilThenCoverFillPathInstancedCHROMIUM(
+ numPaths, pathNameType, paths, pathBase, fillMode, mask, coverMode,
+ transformType, transformValues);
+}
+void GL_APIENTRY GLES2StencilThenCoverStrokePathInstancedCHROMIUM(
+ GLsizei numPaths,
+ GLenum pathNameType,
+ const GLvoid* paths,
+ GLuint pathBase,
+ GLint reference,
+ GLuint mask,
+ GLenum coverMode,
+ GLenum transformType,
+ const GLfloat* transformValues) {
+ gles2::GetGLContext()->StencilThenCoverStrokePathInstancedCHROMIUM(
+ numPaths, pathNameType, paths, pathBase, reference, mask, coverMode,
+ transformType, transformValues);
+}
GLenum GL_APIENTRY GLES2GetGraphicsResetStatusKHR() {
return gles2::GetGLContext()->GetGraphicsResetStatusKHR();
}
@@ -2833,6 +2911,36 @@ extern const NameToFunc g_gles2_function_table[] = {
glStencilThenCoverStrokePathCHROMIUM),
},
{
+ "glStencilFillPathInstancedCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(
+ glStencilFillPathInstancedCHROMIUM),
+ },
+ {
+ "glStencilStrokePathInstancedCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(
+ glStencilStrokePathInstancedCHROMIUM),
+ },
+ {
+ "glCoverFillPathInstancedCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(
+ glCoverFillPathInstancedCHROMIUM),
+ },
+ {
+ "glCoverStrokePathInstancedCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(
+ glCoverStrokePathInstancedCHROMIUM),
+ },
+ {
+ "glStencilThenCoverFillPathInstancedCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(
+ glStencilThenCoverFillPathInstancedCHROMIUM),
+ },
+ {
+ "glStencilThenCoverStrokePathInstancedCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(
+ glStencilThenCoverStrokePathInstancedCHROMIUM),
+ },
+ {
"glGetGraphicsResetStatusKHR",
reinterpret_cast<GLES2FunctionPointer>(glGetGraphicsResetStatusKHR),
},
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_cmd_helper_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698