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