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

Unified Diff: gpu/command_buffer/build_gles2_cmd_buffer.py

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/GLES2/gl2extchromium.h ('k') | gpu/command_buffer/client/gles2_c_lib_autogen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/build_gles2_cmd_buffer.py
diff --git a/gpu/command_buffer/build_gles2_cmd_buffer.py b/gpu/command_buffer/build_gles2_cmd_buffer.py
index a1071abcd085cbf2b946f260c77c7380d2476260..f607123e62e6c7758846dee33c08392799bf5704 100755
--- a/gpu/command_buffer/build_gles2_cmd_buffer.py
+++ b/gpu/command_buffer/build_gles2_cmd_buffer.py
@@ -1562,6 +1562,25 @@ _NAMED_TYPE_INFO = {
'GL_COUNT_DOWN_CHROMIUM',
],
},
+ 'PathInstancedCoverMode': {
+ 'type': 'GLenum',
+ 'valid': [
+ 'GL_CONVEX_HULL_CHROMIUM',
+ 'GL_BOUNDING_BOX_CHROMIUM',
+ 'GL_BOUNDING_BOX_OF_BOUNDING_BOXES_CHROMIUM',
+ ],
+ },
+ 'PathNameType': {
+ 'type': 'GLenum',
+ 'valid': [
+ 'GL_UNSIGNED_BYTE',
+ 'GL_BYTE',
+ 'GL_UNSIGNED_SHORT',
+ 'GL_SHORT',
+ 'GL_UNSIGNED_INT',
+ 'GL_INT',
+ ],
+ },
'PathParameter': {
'type': 'GLenum',
'valid': [
@@ -1588,6 +1607,20 @@ _NAMED_TYPE_INFO = {
'GL_ROUND_CHROMIUM',
]
},
+ 'PathTransformType': {
+ 'type': 'GLenum',
+ 'valid': [
+ 'GL_NONE',
+ 'GL_TRANSLATE_X_CHROMIUM',
+ 'GL_TRANSLATE_Y_CHROMIUM',
+ 'GL_TRANSLATE_2D_CHROMIUM',
+ 'GL_TRANSLATE_3D_CHROMIUM',
+ 'GL_AFFINE_2D_CHROMIUM',
+ 'GL_AFFINE_3D_CHROMIUM',
+ 'GL_TRANSPOSE_AFFINE_2D_CHROMIUM',
+ 'GL_TRANSPOSE_AFFINE_3D_CHROMIUM',
+ ],
+ },
'ReadPixelType': {
'type': 'GLenum',
'valid': [
@@ -4230,7 +4263,42 @@ _FUNCTION_INFO = {
'extension': 'CHROMIUM_path_rendering',
'extension_flag': 'chromium_path_rendering',
},
-
+ 'StencilFillPathInstancedCHROMIUM': {
+ 'type': 'Custom',
+ 'chromium': True,
+ 'extension': 'CHROMIUM_path_rendering',
+ 'extension_flag': 'chromium_path_rendering',
+ },
+ 'StencilStrokePathInstancedCHROMIUM': {
+ 'type': 'Custom',
+ 'chromium': True,
+ 'extension': 'CHROMIUM_path_rendering',
+ 'extension_flag': 'chromium_path_rendering',
+ },
+ 'CoverFillPathInstancedCHROMIUM': {
+ 'type': 'Custom',
+ 'chromium': True,
+ 'extension': 'CHROMIUM_path_rendering',
+ 'extension_flag': 'chromium_path_rendering',
+ },
+ 'CoverStrokePathInstancedCHROMIUM': {
+ 'type': 'Custom',
+ 'chromium': True,
+ 'extension': 'CHROMIUM_path_rendering',
+ 'extension_flag': 'chromium_path_rendering',
+ },
+ 'StencilThenCoverFillPathInstancedCHROMIUM': {
+ 'type': 'Custom',
+ 'chromium': True,
+ 'extension': 'CHROMIUM_path_rendering',
+ 'extension_flag': 'chromium_path_rendering',
+ },
+ 'StencilThenCoverStrokePathInstancedCHROMIUM': {
+ 'type': 'Custom',
+ 'chromium': True,
+ 'extension': 'CHROMIUM_path_rendering',
+ 'extension_flag': 'chromium_path_rendering',
+ },
}
« no previous file with comments | « gpu/GLES2/gl2extchromium.h ('k') | gpu/command_buffer/client/gles2_c_lib_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698