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 3454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3465 'type': 'Custom', | 3465 'type': 'Custom', |
3466 'data_transfer_methods': ['shm'], | 3466 'data_transfer_methods': ['shm'], |
3467 'cmd_args': 'GLenumBufferTarget target, GLintptrNotNegative offset, ' | 3467 'cmd_args': 'GLenumBufferTarget target, GLintptrNotNegative offset, ' |
3468 'GLsizeiptr size, GLbitfieldMapBufferAccess access, ' | 3468 'GLsizeiptr size, GLbitfieldMapBufferAccess access, ' |
3469 'uint32_t data_shm_id, uint32_t data_shm_offset, ' | 3469 'uint32_t data_shm_id, uint32_t data_shm_offset, ' |
3470 'uint32_t result_shm_id, uint32_t result_shm_offset', | 3470 'uint32_t result_shm_id, uint32_t result_shm_offset', |
3471 'es3': True, | 3471 'es3': True, |
3472 'result': ['uint32_t'], | 3472 'result': ['uint32_t'], |
3473 'trace_level': 1, | 3473 'trace_level': 1, |
3474 }, | 3474 }, |
| 3475 'SendOverlayPromotionHintCHROMIUM': { |
| 3476 'decoder_func': 'DoSendOverlayPromotionHintCHROMIUM', |
| 3477 'extension': "CHROMIUM_uniform_stream_texture_matrix", |
| 3478 'unit_test': False, |
| 3479 'client_test': False, |
| 3480 }, |
3475 'PauseTransformFeedback': { | 3481 'PauseTransformFeedback': { |
3476 'decoder_func': 'DoPauseTransformFeedback', | 3482 'decoder_func': 'DoPauseTransformFeedback', |
3477 'unit_test': False, | 3483 'unit_test': False, |
3478 'es3': True, | 3484 'es3': True, |
3479 }, | 3485 }, |
3480 'PixelStorei': { | 3486 'PixelStorei': { |
3481 'type': 'Custom', | 3487 'type': 'Custom', |
3482 'impl_func': False, | 3488 'impl_func': False, |
3483 }, | 3489 }, |
3484 'PostSubBufferCHROMIUM': { | 3490 'PostSubBufferCHROMIUM': { |
(...skipping 7703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11188 Format(gen.generated_cpp_filenames) | 11194 Format(gen.generated_cpp_filenames) |
11189 | 11195 |
11190 if gen.errors > 0: | 11196 if gen.errors > 0: |
11191 print "%d errors" % gen.errors | 11197 print "%d errors" % gen.errors |
11192 return 1 | 11198 return 1 |
11193 return 0 | 11199 return 0 |
11194 | 11200 |
11195 | 11201 |
11196 if __name__ == '__main__': | 11202 if __name__ == '__main__': |
11197 sys.exit(main(sys.argv[1:])) | 11203 sys.exit(main(sys.argv[1:])) |
OLD | NEW |