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 3462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3473 'type': 'Custom', | 3473 'type': 'Custom', |
3474 'data_transfer_methods': ['shm'], | 3474 'data_transfer_methods': ['shm'], |
3475 'cmd_args': 'GLenumBufferTarget target, GLintptrNotNegative offset, ' | 3475 'cmd_args': 'GLenumBufferTarget target, GLintptrNotNegative offset, ' |
3476 'GLsizeiptr size, GLbitfieldMapBufferAccess access, ' | 3476 'GLsizeiptr size, GLbitfieldMapBufferAccess access, ' |
3477 'uint32_t data_shm_id, uint32_t data_shm_offset, ' | 3477 'uint32_t data_shm_id, uint32_t data_shm_offset, ' |
3478 'uint32_t result_shm_id, uint32_t result_shm_offset', | 3478 'uint32_t result_shm_id, uint32_t result_shm_offset', |
3479 'es3': True, | 3479 'es3': True, |
3480 'result': ['uint32_t'], | 3480 'result': ['uint32_t'], |
3481 'trace_level': 1, | 3481 'trace_level': 1, |
3482 }, | 3482 }, |
| 3483 'OverlayPromotionHintCHROMIUM': { |
| 3484 'decoder_func': 'DoOverlayPromotionHintCHROMIUM', |
| 3485 'extension': "CHROMIUM_uniform_stream_texture_matrix", |
| 3486 'unit_test': False, |
| 3487 'client_test': False, |
| 3488 }, |
3483 'PauseTransformFeedback': { | 3489 'PauseTransformFeedback': { |
3484 'decoder_func': 'DoPauseTransformFeedback', | 3490 'decoder_func': 'DoPauseTransformFeedback', |
3485 'unit_test': False, | 3491 'unit_test': False, |
3486 'es3': True, | 3492 'es3': True, |
3487 }, | 3493 }, |
3488 'PixelStorei': { | 3494 'PixelStorei': { |
3489 'type': 'Custom', | 3495 'type': 'Custom', |
3490 'impl_func': False, | 3496 'impl_func': False, |
3491 }, | 3497 }, |
3492 'PostSubBufferCHROMIUM': { | 3498 'PostSubBufferCHROMIUM': { |
(...skipping 7711 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11204 Format(gen.generated_cpp_filenames) | 11210 Format(gen.generated_cpp_filenames) |
11205 | 11211 |
11206 if gen.errors > 0: | 11212 if gen.errors > 0: |
11207 print "%d errors" % gen.errors | 11213 print "%d errors" % gen.errors |
11208 return 1 | 11214 return 1 |
11209 return 0 | 11215 return 0 |
11210 | 11216 |
11211 | 11217 |
11212 if __name__ == '__main__': | 11218 if __name__ == '__main__': |
11213 sys.exit(main(sys.argv[1:])) | 11219 sys.exit(main(sys.argv[1:])) |
OLD | NEW |