| 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 3712 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3723 'type': 'Manual', | 3723 'type': 'Manual', |
| 3724 'cmd_args': 'GLenumQueryTarget target, GLuint submit_count', | 3724 'cmd_args': 'GLenumQueryTarget target, GLuint submit_count', |
| 3725 'gl_test_func': 'glEndnQuery', | 3725 'gl_test_func': 'glEndnQuery', |
| 3726 'client_test': False, | 3726 'client_test': False, |
| 3727 'pepper_interface': 'Query', | 3727 'pepper_interface': 'Query', |
| 3728 'extension': "occlusion_query_EXT", | 3728 'extension': "occlusion_query_EXT", |
| 3729 }, | 3729 }, |
| 3730 'EndTransformFeedback': { | 3730 'EndTransformFeedback': { |
| 3731 'unsafe': True, | 3731 'unsafe': True, |
| 3732 }, | 3732 }, |
| 3733 'FlushDriverCachesCHROMIUM': { |
| 3734 'decoder_func': 'DoFlushDriverCachesCHROMIUM', |
| 3735 'unit_test': False, |
| 3736 'extension': True, |
| 3737 'chromium': True, |
| 3738 'trace_level': 1, |
| 3739 }, |
| 3733 'GetQueryivEXT': { | 3740 'GetQueryivEXT': { |
| 3734 'gen_cmd': False, | 3741 'gen_cmd': False, |
| 3735 'client_test': False, | 3742 'client_test': False, |
| 3736 'gl_test_func': 'glGetQueryiv', | 3743 'gl_test_func': 'glGetQueryiv', |
| 3737 'pepper_interface': 'Query', | 3744 'pepper_interface': 'Query', |
| 3738 'extension': "occlusion_query_EXT", | 3745 'extension': "occlusion_query_EXT", |
| 3739 }, | 3746 }, |
| 3740 'GetQueryObjectuivEXT': { | 3747 'GetQueryObjectuivEXT': { |
| 3741 'gen_cmd': False, | 3748 'gen_cmd': False, |
| 3742 'client_test': False, | 3749 'client_test': False, |
| (...skipping 7352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11095 Format(gen.generated_cpp_filenames) | 11102 Format(gen.generated_cpp_filenames) |
| 11096 | 11103 |
| 11097 if gen.errors > 0: | 11104 if gen.errors > 0: |
| 11098 print "%d errors" % gen.errors | 11105 print "%d errors" % gen.errors |
| 11099 return 1 | 11106 return 1 |
| 11100 return 0 | 11107 return 0 |
| 11101 | 11108 |
| 11102 | 11109 |
| 11103 if __name__ == '__main__': | 11110 if __name__ == '__main__': |
| 11104 sys.exit(main(sys.argv[1:])) | 11111 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |