summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/build_gles2_cmd_buffer.py
diff options
context:
space:
mode:
authorccameron <ccameron@chromium.org>2015-11-10 00:46:11 -0800
committerCommit bot <commit-bot@chromium.org>2015-11-10 08:47:07 +0000
commit7494ac9b96578a7e6348283607626a63f5294e7b (patch)
tree5ee14388eab34949f6ccce55c117efd3afa88b03 /gpu/command_buffer/build_gles2_cmd_buffer.py
parent36fc1f550f73960a0b77c37cff922ff22b12350f (diff)
downloadchromium_src-7494ac9b96578a7e6348283607626a63f5294e7b.zip
chromium_src-7494ac9b96578a7e6348283607626a63f5294e7b.tar.gz
chromium_src-7494ac9b96578a7e6348283607626a63f5294e7b.tar.bz2
gpu: Add CHROMIUM_schedule_ca_layer
This is the variant on CHROMIUM_schedule_overlay_plane that accepts all of the various arguments that are needed to represent most pages entirely as CALayers. BUG=533690 Review URL: https://codereview.chromium.org/1409193007 Cr-Commit-Position: refs/heads/master@{#358808}
Diffstat (limited to 'gpu/command_buffer/build_gles2_cmd_buffer.py')
-rwxr-xr-xgpu/command_buffer/build_gles2_cmd_buffer.py21
1 files changed, 15 insertions, 6 deletions
diff --git a/gpu/command_buffer/build_gles2_cmd_buffer.py b/gpu/command_buffer/build_gles2_cmd_buffer.py
index 0cf7424..57719c6 100755
--- a/gpu/command_buffer/build_gles2_cmd_buffer.py
+++ b/gpu/command_buffer/build_gles2_cmd_buffer.py
@@ -4163,12 +4163,21 @@ _FUNCTION_INFO = {
'trace_level': 2,
},
'ScheduleOverlayPlaneCHROMIUM': {
- 'type': 'Custom',
- 'impl_func': True,
- 'unit_test': False,
- 'client_test': False,
- 'extension': 'CHROMIUM_schedule_overlay_plane',
- 'chromium': True,
+ 'type': 'Custom',
+ 'impl_func': True,
+ 'unit_test': False,
+ 'client_test': False,
+ 'extension': 'CHROMIUM_schedule_overlay_plane',
+ 'chromium': True,
+ },
+ 'ScheduleCALayerCHROMIUM': {
+ 'type': 'Custom',
+ 'impl_func': False,
+ 'client_test': False,
+ 'cmd_args': 'GLuint contents_texture_id, GLfloat opacity, '
+ 'GLuint background_color, GLuint shm_id, GLuint shm_offset',
+ 'extension': 'CHROMIUM_schedule_ca_layer',
+ 'chromium': True,
},
'MatrixLoadfCHROMIUM': {
'type': 'PUT',