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 4405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4416 'type': 'Custom', | 4416 'type': 'Custom', |
4417 'impl_func': False, | 4417 'impl_func': False, |
4418 'client_test': False, | 4418 'client_test': False, |
4419 'cmd_args': 'GLuint contents_texture_id, GLfloat opacity, ' | 4419 'cmd_args': 'GLuint contents_texture_id, GLfloat opacity, ' |
4420 'GLuint background_color, GLuint edge_aa_mask, ' | 4420 'GLuint background_color, GLuint edge_aa_mask, ' |
4421 'GLboolean is_clipped, GLint sorting_context_id, ' | 4421 'GLboolean is_clipped, GLint sorting_context_id, ' |
4422 'GLuint filter, GLuint shm_id, GLuint shm_offset', | 4422 'GLuint filter, GLuint shm_id, GLuint shm_offset', |
4423 'extension': 'CHROMIUM_schedule_ca_layer', | 4423 'extension': 'CHROMIUM_schedule_ca_layer', |
4424 'chromium': True, | 4424 'chromium': True, |
4425 }, | 4425 }, |
| 4426 'ScheduleCALayerInUseQueryCHROMIUM': { |
| 4427 'type': 'PUTn', |
| 4428 'count': 1, |
| 4429 'decoder_func': 'DoScheduleCALayerInUseQueryCHROMIUM', |
| 4430 'cmd_args': 'GLsizei count, const GLuint* textures', |
| 4431 'extension': 'CHROMIUM_schedule_ca_layer', |
| 4432 'chromium': True, |
| 4433 'unit_test': False, |
| 4434 }, |
4426 'CommitOverlayPlanesCHROMIUM': { | 4435 'CommitOverlayPlanesCHROMIUM': { |
4427 'impl_func': False, | 4436 'impl_func': False, |
4428 'decoder_func': 'DoCommitOverlayPlanes', | 4437 'decoder_func': 'DoCommitOverlayPlanes', |
4429 'unit_test': False, | 4438 'unit_test': False, |
4430 'client_test': False, | 4439 'client_test': False, |
4431 'extension': 'CHROMIUM_commit_overlay_planes', | 4440 'extension': 'CHROMIUM_commit_overlay_planes', |
4432 'chromium': True, | 4441 'chromium': True, |
4433 }, | 4442 }, |
4434 'MatrixLoadfCHROMIUM': { | 4443 'MatrixLoadfCHROMIUM': { |
4435 'type': 'PUT', | 4444 'type': 'PUT', |
(...skipping 7089 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11525 Format(gen.generated_cpp_filenames) | 11534 Format(gen.generated_cpp_filenames) |
11526 | 11535 |
11527 if gen.errors > 0: | 11536 if gen.errors > 0: |
11528 print "%d errors" % gen.errors | 11537 print "%d errors" % gen.errors |
11529 return 1 | 11538 return 1 |
11530 return 0 | 11539 return 0 |
11531 | 11540 |
11532 | 11541 |
11533 if __name__ == '__main__': | 11542 if __name__ == '__main__': |
11534 sys.exit(main(sys.argv[1:])) | 11543 sys.exit(main(sys.argv[1:])) |
OLD | NEW |