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 2660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2671 'GetImageivCHROMIUM': { | 2671 'GetImageivCHROMIUM': { |
2672 'type': 'Manual', | 2672 'type': 'Manual', |
2673 'cmd_args': 'GLuint image_id, GLenum param, GLint* data', | 2673 'cmd_args': 'GLuint image_id, GLenum param, GLint* data', |
2674 'client_test': False, | 2674 'client_test': False, |
2675 'gen_cmd': False, | 2675 'gen_cmd': False, |
2676 'expectation': False, | 2676 'expectation': False, |
2677 'extension': "CHROMIUM_gpu_memory_buffer_image", | 2677 'extension': "CHROMIUM_gpu_memory_buffer_image", |
2678 'chromium': True, | 2678 'chromium': True, |
2679 'trace_level': 1, | 2679 'trace_level': 1, |
2680 }, | 2680 }, |
| 2681 'DescheduleUntilFinishedCHROMIUM': { |
| 2682 'type': 'Custom', |
| 2683 'decoder_func': 'DoDescheduleUntilFinishedCHROMIUM', |
| 2684 'unit_test': False, |
| 2685 'extension': "CHROMIUM_deschedule", |
| 2686 'chromium': True, |
| 2687 'trace_level': 1, |
| 2688 }, |
2681 'CreateProgram': { | 2689 'CreateProgram': { |
2682 'type': 'Create', | 2690 'type': 'Create', |
2683 'client_test': False, | 2691 'client_test': False, |
2684 }, | 2692 }, |
2685 'CreateShader': { | 2693 'CreateShader': { |
2686 'type': 'Create', | 2694 'type': 'Create', |
2687 'client_test': False, | 2695 'client_test': False, |
2688 }, | 2696 }, |
2689 'BlendColor': { | 2697 'BlendColor': { |
2690 'type': 'StateSet', | 2698 'type': 'StateSet', |
(...skipping 8619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11310 Format(gen.generated_cpp_filenames) | 11318 Format(gen.generated_cpp_filenames) |
11311 | 11319 |
11312 if gen.errors > 0: | 11320 if gen.errors > 0: |
11313 print "%d errors" % gen.errors | 11321 print "%d errors" % gen.errors |
11314 return 1 | 11322 return 1 |
11315 return 0 | 11323 return 0 |
11316 | 11324 |
11317 | 11325 |
11318 if __name__ == '__main__': | 11326 if __name__ == '__main__': |
11319 sys.exit(main(sys.argv[1:])) | 11327 sys.exit(main(sys.argv[1:])) |
OLD | NEW |