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

Side by Side Diff: gpu/command_buffer/build_gles2_cmd_buffer.py

Issue 1409193007: gpu: Add CHROMIUM_schedule_ca_layer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporate review feedback Created 5 years, 1 month 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """code generator for GLES2 command buffers.""" 6 """code generator for GLES2 command buffers."""
7 7
8 import itertools 8 import itertools
9 import os 9 import os
10 import os.path 10 import os.path
(...skipping 4145 matching lines...) Expand 10 before | Expand all | Expand 10 after
4156 'chromium': True, 4156 'chromium': True,
4157 }, 4157 },
4158 'DiscardBackbufferCHROMIUM': { 4158 'DiscardBackbufferCHROMIUM': {
4159 'type': 'Custom', 4159 'type': 'Custom',
4160 'impl_func': True, 4160 'impl_func': True,
4161 'extension': True, 4161 'extension': True,
4162 'chromium': True, 4162 'chromium': True,
4163 'trace_level': 2, 4163 'trace_level': 2,
4164 }, 4164 },
4165 'ScheduleOverlayPlaneCHROMIUM': { 4165 'ScheduleOverlayPlaneCHROMIUM': {
4166 'type': 'Custom', 4166 'type': 'Custom',
4167 'impl_func': True, 4167 'impl_func': True,
4168 'unit_test': False, 4168 'unit_test': False,
4169 'client_test': False, 4169 'client_test': False,
4170 'extension': 'CHROMIUM_schedule_overlay_plane', 4170 'extension': 'CHROMIUM_schedule_overlay_plane',
4171 'chromium': True, 4171 'chromium': True,
4172 },
4173 'ScheduleCALayerCHROMIUM': {
4174 'type': 'Custom',
4175 'impl_func': False,
4176 'client_test': False,
4177 'cmd_args': 'GLuint contents_texture_id, GLfloat opacity, '
4178 'GLuint background_color, GLuint shm_id, GLuint shm_offset',
4179 'extension': 'CHROMIUM_schedule_ca_layer',
4180 'chromium': True,
4172 }, 4181 },
4173 'MatrixLoadfCHROMIUM': { 4182 'MatrixLoadfCHROMIUM': {
4174 'type': 'PUT', 4183 'type': 'PUT',
4175 'count': 16, 4184 'count': 16,
4176 'data_type': 'GLfloat', 4185 'data_type': 'GLfloat',
4177 'decoder_func': 'DoMatrixLoadfCHROMIUM', 4186 'decoder_func': 'DoMatrixLoadfCHROMIUM',
4178 'gl_test_func': 'glMatrixLoadfEXT', 4187 'gl_test_func': 'glMatrixLoadfEXT',
4179 'chromium': True, 4188 'chromium': True,
4180 'extension': 'CHROMIUM_path_rendering', 4189 'extension': 'CHROMIUM_path_rendering',
4181 'extension_flag': 'chromium_path_rendering', 4190 'extension_flag': 'chromium_path_rendering',
(...skipping 6932 matching lines...) Expand 10 before | Expand all | Expand 10 after
11114 Format(gen.generated_cpp_filenames) 11123 Format(gen.generated_cpp_filenames)
11115 11124
11116 if gen.errors > 0: 11125 if gen.errors > 0:
11117 print "%d errors" % gen.errors 11126 print "%d errors" % gen.errors
11118 return 1 11127 return 1
11119 return 0 11128 return 0
11120 11129
11121 11130
11122 if __name__ == '__main__': 11131 if __name__ == '__main__':
11123 sys.exit(main(sys.argv[1:])) 11132 sys.exit(main(sys.argv[1:]))
OLDNEW
« 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