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

Unified Diff: gpu/command_buffer/build_gles2_cmd_buffer.py

Issue 1189833005: Revert of Support impl-side painting in Mandoline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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/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 459191a0b3a16ea2819bb33954bd49e84776c85d..af622ce965846349316a0468e7c1c3f6766a5662 100755
--- a/gpu/command_buffer/build_gles2_cmd_buffer.py
+++ b/gpu/command_buffer/build_gles2_cmd_buffer.py
@@ -2309,7 +2309,7 @@
'client_test': False,
'gen_cmd': False,
'expectation': False,
- 'extension': "CHROMIUM_image",
+ 'extension': True,
'chromium': True,
'trace_level': 1,
},
@@ -2317,7 +2317,7 @@
'type': 'Manual',
'client_test': False,
'gen_cmd': False,
- 'extension': "CHROMIUM_image",
+ 'extension': True,
'chromium': True,
'trace_level': 1,
},
@@ -2329,7 +2329,7 @@
'client_test': False,
'gen_cmd': False,
'expectation': False,
- 'extension': "CHROMIUM_image",
+ 'extension': True,
'chromium': True,
'trace_level': 1,
},
@@ -3055,7 +3055,7 @@
},
'MapBufferCHROMIUM': {
'gen_cmd': False,
- 'extension': "CHROMIUM_pixel_transfer_buffer_object",
+ 'extension': True,
'chromium': True,
'client_test': False,
'trace_level': 1,
@@ -3471,7 +3471,7 @@
},
'UnmapBufferCHROMIUM': {
'gen_cmd': False,
- 'extension': "CHROMIUM_pixel_transfer_buffer_object",
+ 'extension': True,
'chromium': True,
'client_test': False,
'trace_level': 1,
@@ -3624,14 +3624,14 @@
'CopyTextureCHROMIUM': {
'decoder_func': 'DoCopyTextureCHROMIUM',
'unit_test': False,
- 'extension': "CHROMIUM_copy_texture",
+ 'extension': True,
'chromium': True,
'trace_level': 2,
},
'CopySubTextureCHROMIUM': {
'decoder_func': 'DoCopySubTextureCHROMIUM',
'unit_test': False,
- 'extension': "CHROMIUM_copy_texture",
+ 'extension': True,
'chromium': True,
'trace_level': 2,
},
@@ -3808,13 +3808,13 @@
'BindTexImage2DCHROMIUM': {
'decoder_func': 'DoBindTexImage2DCHROMIUM',
'unit_test': False,
- 'extension': "CHROMIUM_image",
+ 'extension': True,
'chromium': True,
},
'ReleaseTexImage2DCHROMIUM': {
'decoder_func': 'DoReleaseTexImage2DCHROMIUM',
'unit_test': False,
- 'extension': "CHROMIUM_image",
+ 'extension': True,
'chromium': True,
},
'ShallowFinishCHROMIUM': {
@@ -4634,9 +4634,7 @@
func.MakeTypedOriginalArgString("")))
extensions = ["CHROMIUM_sync_point", "CHROMIUM_texture_mailbox",
"CHROMIUM_sub_image", "CHROMIUM_miscellaneous",
- "occlusion_query_EXT", "CHROMIUM_image",
- "CHROMIUM_copy_texture",
- "CHROMIUM_pixel_transfer_buffer_object"]
+ "occlusion_query_EXT"]
if func.IsCoreGLFunction() or func.GetInfo("extension") in extensions:
file.Write("MojoGLES2MakeCurrent(context_);");
func_return = "gl" + func.original_name + "(" + \
@@ -10473,10 +10471,7 @@
#include "mojo/gpu/mojo_gles2_impl_autogen.h"
#include "base/logging.h"
-#include "third_party/mojo/src/mojo/public/c/gles2/chromium_copy_texture.h"
-#include "third_party/mojo/src/mojo/public/c/gles2/chromium_image.h"
#include "third_party/mojo/src/mojo/public/c/gles2/chromium_miscellaneous.h"
-#include "third_party/mojo/src/mojo/public/c/gles2/chromium_pixel_transfer_buffer_object.h"
#include "third_party/mojo/src/mojo/public/c/gles2/chromium_sub_image.h"
#include "third_party/mojo/src/mojo/public/c/gles2/chromium_sync_point.h"
#include "third_party/mojo/src/mojo/public/c/gles2/chromium_texture_mailbox.h"
@@ -11080,15 +11075,6 @@
gen.WriteMojoGLCallVisitorForExtension(
mojo_gles2_prefix + "_occlusion_query_ext_autogen.h",
"occlusion_query_EXT")
- gen.WriteMojoGLCallVisitorForExtension(
- mojo_gles2_prefix + "_chromium_image_autogen.h",
- "CHROMIUM_image")
- gen.WriteMojoGLCallVisitorForExtension(
- mojo_gles2_prefix + "_chromium_copy_texture_autogen.h",
- "CHROMIUM_copy_texture")
- gen.WriteMojoGLCallVisitorForExtension(
- mojo_gles2_prefix + "_chromium_pixel_transfer_buffer_object_autogen.h",
- "CHROMIUM_pixel_transfer_buffer_object")
Format(gen.generated_cpp_filenames)

Powered by Google App Engine
This is Rietveld 408576698