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

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: rebas Created 5 years, 4 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
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 0e43ae75f9e6885c41b11f1ce85bdb2f4a9a6571..5b498b3750486f46414ce89a486c35bf05dc036a 100644
--- a/gpu/command_buffer/client/gles2_c_lib_autogen.h
+++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h
@@ -1580,6 +1580,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();
}
@@ -2807,6 +2885,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),
},

Powered by Google App Engine
This is Rietveld 408576698