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 2655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2666 'cmd_args': | 2666 'cmd_args': |
2667 'GLsizei width, GLsizei height, GLenum internalformat, GLenum usage', | 2667 'GLsizei width, GLsizei height, GLenum internalformat, GLenum usage', |
2668 'result': ['GLuint'], | 2668 'result': ['GLuint'], |
2669 'client_test': False, | 2669 'client_test': False, |
2670 'gen_cmd': False, | 2670 'gen_cmd': False, |
2671 'expectation': False, | 2671 'expectation': False, |
2672 'extension': "CHROMIUM_gpu_memory_buffer_image", | 2672 'extension': "CHROMIUM_gpu_memory_buffer_image", |
2673 'chromium': True, | 2673 'chromium': True, |
2674 'trace_level': 1, | 2674 'trace_level': 1, |
2675 }, | 2675 }, |
2676 'GetImageivCHROMIUM': { | |
2677 'type': 'Manual', | |
2678 'cmd_args': 'GLuint image_id, GLenum param, GLint* data', | |
2679 'client_test': False, | |
2680 'gen_cmd': False, | |
2681 'expectation': False, | |
2682 'extension': "CHROMIUM_gpu_memory_buffer_image", | |
2683 'chromium': True, | |
2684 'trace_level': 1, | |
2685 }, | |
2686 'DescheduleUntilFinishedCHROMIUM': { | 2676 'DescheduleUntilFinishedCHROMIUM': { |
2687 'type': 'Custom', | 2677 'type': 'Custom', |
2688 'decoder_func': 'DoDescheduleUntilFinishedCHROMIUM', | 2678 'decoder_func': 'DoDescheduleUntilFinishedCHROMIUM', |
2689 'unit_test': False, | 2679 'unit_test': False, |
2690 'extension': "CHROMIUM_deschedule", | 2680 'extension': "CHROMIUM_deschedule", |
2691 'chromium': True, | 2681 'chromium': True, |
2692 'trace_level': 1, | 2682 'trace_level': 1, |
2693 }, | 2683 }, |
2694 'CreateProgram': { | 2684 'CreateProgram': { |
2695 'type': 'Create', | 2685 'type': 'Create', |
(...skipping 8828 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11524 Format(gen.generated_cpp_filenames) | 11514 Format(gen.generated_cpp_filenames) |
11525 | 11515 |
11526 if gen.errors > 0: | 11516 if gen.errors > 0: |
11527 print "%d errors" % gen.errors | 11517 print "%d errors" % gen.errors |
11528 return 1 | 11518 return 1 |
11529 return 0 | 11519 return 0 |
11530 | 11520 |
11531 | 11521 |
11532 if __name__ == '__main__': | 11522 if __name__ == '__main__': |
11533 sys.exit(main(sys.argv[1:])) | 11523 sys.exit(main(sys.argv[1:])) |
OLD | NEW |