| OLD | NEW |
| 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 4369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4380 'extension': 'CHROMIUM_schedule_ca_layer', | 4380 'extension': 'CHROMIUM_schedule_ca_layer', |
| 4381 }, | 4381 }, |
| 4382 'ScheduleCALayerInUseQueryCHROMIUM': { | 4382 'ScheduleCALayerInUseQueryCHROMIUM': { |
| 4383 'type': 'PUTn', | 4383 'type': 'PUTn', |
| 4384 'count': 1, | 4384 'count': 1, |
| 4385 'decoder_func': 'DoScheduleCALayerInUseQueryCHROMIUM', | 4385 'decoder_func': 'DoScheduleCALayerInUseQueryCHROMIUM', |
| 4386 'cmd_args': 'GLsizei count, const GLuint* textures', | 4386 'cmd_args': 'GLsizei count, const GLuint* textures', |
| 4387 'extension': 'CHROMIUM_schedule_ca_layer', | 4387 'extension': 'CHROMIUM_schedule_ca_layer', |
| 4388 'unit_test': False, | 4388 'unit_test': False, |
| 4389 }, | 4389 }, |
| 4390 'ScheduleDCLayerSharedStateCHROMIUM': { |
| 4391 'type': 'Custom', |
| 4392 'impl_func': False, |
| 4393 'client_test': False, |
| 4394 'cmd_args': 'GLfloat opacity, GLboolean is_clipped, ' |
| 4395 'GLint z_order, GLuint shm_id, GLuint shm_offset', |
| 4396 'extension': 'CHROMIUM_schedule_ca_layer', |
| 4397 }, |
| 4398 'ScheduleDCLayerCHROMIUM': { |
| 4399 'type': 'Custom', |
| 4400 'impl_func': False, |
| 4401 'client_test': False, |
| 4402 'cmd_args': 'GLuint contents_texture_id, GLuint background_color, ' |
| 4403 'GLuint edge_aa_mask, GLuint filter, GLuint shm_id, ' |
| 4404 'GLuint shm_offset', |
| 4405 'extension': 'CHROMIUM_schedule_ca_layer', |
| 4406 }, |
| 4390 'CommitOverlayPlanesCHROMIUM': { | 4407 'CommitOverlayPlanesCHROMIUM': { |
| 4391 'impl_func': False, | 4408 'impl_func': False, |
| 4392 'decoder_func': 'DoCommitOverlayPlanes', | 4409 'decoder_func': 'DoCommitOverlayPlanes', |
| 4393 'unit_test': False, | 4410 'unit_test': False, |
| 4394 'client_test': False, | 4411 'client_test': False, |
| 4395 'extension': 'CHROMIUM_commit_overlay_planes', | 4412 'extension': 'CHROMIUM_commit_overlay_planes', |
| 4396 }, | 4413 }, |
| 4397 'MatrixLoadfCHROMIUM': { | 4414 'MatrixLoadfCHROMIUM': { |
| 4398 'type': 'PUT', | 4415 'type': 'PUT', |
| 4399 'count': 16, | 4416 'count': 16, |
| (...skipping 6828 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11228 Format(gen.generated_cpp_filenames) | 11245 Format(gen.generated_cpp_filenames) |
| 11229 | 11246 |
| 11230 if gen.errors > 0: | 11247 if gen.errors > 0: |
| 11231 print "%d errors" % gen.errors | 11248 print "%d errors" % gen.errors |
| 11232 return 1 | 11249 return 1 |
| 11233 return 0 | 11250 return 0 |
| 11234 | 11251 |
| 11235 | 11252 |
| 11236 if __name__ == '__main__': | 11253 if __name__ == '__main__': |
| 11237 sys.exit(main(sys.argv[1:])) | 11254 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |