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

Unified Diff: mojo/gpu/mojo_gles2_impl_autogen.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
Index: mojo/gpu/mojo_gles2_impl_autogen.cc
diff --git a/mojo/gpu/mojo_gles2_impl_autogen.cc b/mojo/gpu/mojo_gles2_impl_autogen.cc
index 30767c179c77f4d806fa07f87863ab8cc8bae03f..9fbe344ce4019a4efb72b9f9ee25611db3468320 100644
--- a/mojo/gpu/mojo_gles2_impl_autogen.cc
+++ b/mojo/gpu/mojo_gles2_impl_autogen.cc
@@ -1789,6 +1789,88 @@ void MojoGLES2Impl::StencilThenCoverStrokePathCHROMIUM(GLuint path,
MojoGLES2MakeCurrent(context_);
glStencilThenCoverStrokePathCHROMIUM(path, reference, mask, coverMode);
}
+void MojoGLES2Impl::StencilFillPathInstancedCHROMIUM(
+ GLsizei numPaths,
+ GLenum pathNameType,
+ const GLvoid* paths,
+ GLuint pathBase,
+ GLenum fillMode,
+ GLuint mask,
+ GLenum transformType,
+ const GLfloat* transformValues) {
+ MojoGLES2MakeCurrent(context_);
+ glStencilFillPathInstancedCHROMIUM(numPaths, pathNameType, paths, pathBase,
+ fillMode, mask, transformType,
+ transformValues);
+}
+void MojoGLES2Impl::StencilStrokePathInstancedCHROMIUM(
+ GLsizei numPaths,
+ GLenum pathNameType,
+ const GLvoid* paths,
+ GLuint pathBase,
+ GLint reference,
+ GLuint mask,
+ GLenum transformType,
+ const GLfloat* transformValues) {
+ MojoGLES2MakeCurrent(context_);
+ glStencilStrokePathInstancedCHROMIUM(numPaths, pathNameType, paths, pathBase,
+ reference, mask, transformType,
+ transformValues);
+}
+void MojoGLES2Impl::CoverFillPathInstancedCHROMIUM(
+ GLsizei numPaths,
+ GLenum pathNameType,
+ const GLvoid* paths,
+ GLuint pathBase,
+ GLenum coverMode,
+ GLenum transformType,
+ const GLfloat* transformValues) {
+ MojoGLES2MakeCurrent(context_);
+ glCoverFillPathInstancedCHROMIUM(numPaths, pathNameType, paths, pathBase,
+ coverMode, transformType, transformValues);
+}
+void MojoGLES2Impl::CoverStrokePathInstancedCHROMIUM(
+ GLsizei numPaths,
+ GLenum pathNameType,
+ const GLvoid* paths,
+ GLuint pathBase,
+ GLenum coverMode,
+ GLenum transformType,
+ const GLfloat* transformValues) {
+ MojoGLES2MakeCurrent(context_);
+ glCoverStrokePathInstancedCHROMIUM(numPaths, pathNameType, paths, pathBase,
+ coverMode, transformType, transformValues);
+}
+void MojoGLES2Impl::StencilThenCoverFillPathInstancedCHROMIUM(
+ GLsizei numPaths,
+ GLenum pathNameType,
+ const GLvoid* paths,
+ GLuint pathBase,
+ GLenum fillMode,
+ GLuint mask,
+ GLenum coverMode,
+ GLenum transformType,
+ const GLfloat* transformValues) {
+ MojoGLES2MakeCurrent(context_);
+ glStencilThenCoverFillPathInstancedCHROMIUM(
+ numPaths, pathNameType, paths, pathBase, fillMode, mask, coverMode,
+ transformType, transformValues);
+}
+void MojoGLES2Impl::StencilThenCoverStrokePathInstancedCHROMIUM(
+ GLsizei numPaths,
+ GLenum pathNameType,
+ const GLvoid* paths,
+ GLuint pathBase,
+ GLint reference,
+ GLuint mask,
+ GLenum coverMode,
+ GLenum transformType,
+ const GLfloat* transformValues) {
+ MojoGLES2MakeCurrent(context_);
+ glStencilThenCoverStrokePathInstancedCHROMIUM(
+ numPaths, pathNameType, paths, pathBase, reference, mask, coverMode,
+ transformType, transformValues);
+}
GLenum MojoGLES2Impl::GetGraphicsResetStatusKHR() {
MojoGLES2MakeCurrent(context_);
return glGetGraphicsResetStatusKHR();

Powered by Google App Engine
This is Rietveld 408576698