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

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

Issue 1472993003: Add CommitOverlayPlanesCHROMIUM command buffer function (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Forgot to add the extension description txt file Created 5 years 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/gl2chromium_autogen.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 4154 matching lines...) Expand 10 before | Expand all | Expand 10 after
4165 }, 4165 },
4166 'ScheduleCALayerCHROMIUM': { 4166 'ScheduleCALayerCHROMIUM': {
4167 'type': 'Custom', 4167 'type': 'Custom',
4168 'impl_func': False, 4168 'impl_func': False,
4169 'client_test': False, 4169 'client_test': False,
4170 'cmd_args': 'GLuint contents_texture_id, GLfloat opacity, ' 4170 'cmd_args': 'GLuint contents_texture_id, GLfloat opacity, '
4171 'GLuint background_color, GLuint shm_id, GLuint shm_offset', 4171 'GLuint background_color, GLuint shm_id, GLuint shm_offset',
4172 'extension': 'CHROMIUM_schedule_ca_layer', 4172 'extension': 'CHROMIUM_schedule_ca_layer',
4173 'chromium': True, 4173 'chromium': True,
4174 }, 4174 },
4175 'CommitOverlayPlanesCHROMIUM': {
4176 'impl_func': False,
4177 'decoder_func': 'DoCommitOverlayPlanes',
4178 'unit_test': False,
4179 'client_test': False,
4180 'extension': 'CHROMIUM_commit_overlay_planes',
4181 'chromium': True,
4182 },
4175 'MatrixLoadfCHROMIUM': { 4183 'MatrixLoadfCHROMIUM': {
4176 'type': 'PUT', 4184 'type': 'PUT',
4177 'count': 16, 4185 'count': 16,
4178 'data_type': 'GLfloat', 4186 'data_type': 'GLfloat',
4179 'decoder_func': 'DoMatrixLoadfCHROMIUM', 4187 'decoder_func': 'DoMatrixLoadfCHROMIUM',
4180 'gl_test_func': 'glMatrixLoadfEXT', 4188 'gl_test_func': 'glMatrixLoadfEXT',
4181 'chromium': True, 4189 'chromium': True,
4182 'extension': 'CHROMIUM_path_rendering', 4190 'extension': 'CHROMIUM_path_rendering',
4183 'extension_flag': 'chromium_path_rendering', 4191 'extension_flag': 'chromium_path_rendering',
4184 }, 4192 },
(...skipping 6930 matching lines...) Expand 10 before | Expand all | Expand 10 after
11115 Format(gen.generated_cpp_filenames) 11123 Format(gen.generated_cpp_filenames)
11116 11124
11117 if gen.errors > 0: 11125 if gen.errors > 0:
11118 print "%d errors" % gen.errors 11126 print "%d errors" % gen.errors
11119 return 1 11127 return 1
11120 return 0 11128 return 0
11121 11129
11122 11130
11123 if __name__ == '__main__': 11131 if __name__ == '__main__':
11124 sys.exit(main(sys.argv[1:])) 11132 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « gpu/GLES2/gl2chromium_autogen.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