| 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 3802 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3813 'chromium': True, | 3813 'chromium': True, |
| 3814 'trace_level': 1, | 3814 'trace_level': 1, |
| 3815 }, | 3815 }, |
| 3816 'GetQueryivEXT': { | 3816 'GetQueryivEXT': { |
| 3817 'gen_cmd': False, | 3817 'gen_cmd': False, |
| 3818 'client_test': False, | 3818 'client_test': False, |
| 3819 'gl_test_func': 'glGetQueryiv', | 3819 'gl_test_func': 'glGetQueryiv', |
| 3820 'pepper_interface': 'Query', | 3820 'pepper_interface': 'Query', |
| 3821 'extension': "occlusion_query_EXT", | 3821 'extension': "occlusion_query_EXT", |
| 3822 }, | 3822 }, |
| 3823 'QueryCounterEXT' : { |
| 3824 'type': 'Manual', |
| 3825 'cmd_args': 'GLidQuery id, GLenumQueryTarget target, ' |
| 3826 'void* sync_data, GLuint submit_count', |
| 3827 'data_transfer_methods': ['shm'], |
| 3828 'gl_test_func': 'glQueryCounter', |
| 3829 'extension': "disjoint_timer_query_EXT", |
| 3830 }, |
| 3823 'GetQueryObjectuivEXT': { | 3831 'GetQueryObjectuivEXT': { |
| 3824 'gen_cmd': False, | 3832 'gen_cmd': False, |
| 3825 'client_test': False, | 3833 'client_test': False, |
| 3826 'gl_test_func': 'glGetQueryObjectuiv', | 3834 'gl_test_func': 'glGetQueryObjectuiv', |
| 3827 'pepper_interface': 'Query', | 3835 'pepper_interface': 'Query', |
| 3828 'extension': "occlusion_query_EXT", | 3836 'extension': "occlusion_query_EXT", |
| 3829 }, | 3837 }, |
| 3830 'GetQueryObjectui64vEXT': { | 3838 'GetQueryObjectui64vEXT': { |
| 3831 'gen_cmd': False, | 3839 'gen_cmd': False, |
| 3832 'client_test': False, | 3840 'client_test': False, |
| (...skipping 7440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11273 Format(gen.generated_cpp_filenames) | 11281 Format(gen.generated_cpp_filenames) |
| 11274 | 11282 |
| 11275 if gen.errors > 0: | 11283 if gen.errors > 0: |
| 11276 print "%d errors" % gen.errors | 11284 print "%d errors" % gen.errors |
| 11277 return 1 | 11285 return 1 |
| 11278 return 0 | 11286 return 0 |
| 11279 | 11287 |
| 11280 | 11288 |
| 11281 if __name__ == '__main__': | 11289 if __name__ == '__main__': |
| 11282 sys.exit(main(sys.argv[1:])) | 11290 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |