| 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 3730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3741 'pepper_interface': 'Query', | 3741 'pepper_interface': 'Query', |
| 3742 'extension': "occlusion_query_EXT", | 3742 'extension': "occlusion_query_EXT", |
| 3743 }, | 3743 }, |
| 3744 'GetQueryObjectuivEXT': { | 3744 'GetQueryObjectuivEXT': { |
| 3745 'gen_cmd': False, | 3745 'gen_cmd': False, |
| 3746 'client_test': False, | 3746 'client_test': False, |
| 3747 'gl_test_func': 'glGetQueryObjectuiv', | 3747 'gl_test_func': 'glGetQueryObjectuiv', |
| 3748 'pepper_interface': 'Query', | 3748 'pepper_interface': 'Query', |
| 3749 'extension': "occlusion_query_EXT", | 3749 'extension': "occlusion_query_EXT", |
| 3750 }, | 3750 }, |
| 3751 'GetQueryObjectui64vEXT': { |
| 3752 'gen_cmd': False, |
| 3753 'client_test': False, |
| 3754 'gl_test_func': 'glGetQueryObjectui64v', |
| 3755 'extension': "disjoint_timer_query_EXT", |
| 3756 }, |
| 3751 'BindUniformLocationCHROMIUM': { | 3757 'BindUniformLocationCHROMIUM': { |
| 3752 'type': 'GLchar', | 3758 'type': 'GLchar', |
| 3753 'extension': True, | 3759 'extension': True, |
| 3754 'data_transfer_methods': ['bucket'], | 3760 'data_transfer_methods': ['bucket'], |
| 3755 'needs_size': True, | 3761 'needs_size': True, |
| 3756 'gl_test_func': 'DoBindUniformLocationCHROMIUM', | 3762 'gl_test_func': 'DoBindUniformLocationCHROMIUM', |
| 3757 }, | 3763 }, |
| 3758 'InsertEventMarkerEXT': { | 3764 'InsertEventMarkerEXT': { |
| 3759 'type': 'GLcharN', | 3765 'type': 'GLcharN', |
| 3760 'decoder_func': 'DoInsertEventMarkerEXT', | 3766 'decoder_func': 'DoInsertEventMarkerEXT', |
| (...skipping 7338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11099 Format(gen.generated_cpp_filenames) | 11105 Format(gen.generated_cpp_filenames) |
| 11100 | 11106 |
| 11101 if gen.errors > 0: | 11107 if gen.errors > 0: |
| 11102 print "%d errors" % gen.errors | 11108 print "%d errors" % gen.errors |
| 11103 return 1 | 11109 return 1 |
| 11104 return 0 | 11110 return 0 |
| 11105 | 11111 |
| 11106 | 11112 |
| 11107 if __name__ == '__main__': | 11113 if __name__ == '__main__': |
| 11108 sys.exit(main(sys.argv[1:])) | 11114 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |