Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(277)

Side by Side Diff: gpu/command_buffer/build_gles2_cmd_buffer.py

Issue 1188013004: Added support for Time Elapsed queries through the command buffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 'pepper_interface': 'Query',
3756 'extension': "disjoint_timer_query_EXT",
David Yen 2015/06/17 23:38:31 Does anyone know what this extension string does?
3757 },
3751 'BindUniformLocationCHROMIUM': { 3758 'BindUniformLocationCHROMIUM': {
3752 'type': 'GLchar', 3759 'type': 'GLchar',
3753 'extension': True, 3760 'extension': True,
3754 'data_transfer_methods': ['bucket'], 3761 'data_transfer_methods': ['bucket'],
3755 'needs_size': True, 3762 'needs_size': True,
3756 'gl_test_func': 'DoBindUniformLocationCHROMIUM', 3763 'gl_test_func': 'DoBindUniformLocationCHROMIUM',
3757 }, 3764 },
3758 'InsertEventMarkerEXT': { 3765 'InsertEventMarkerEXT': {
3759 'type': 'GLcharN', 3766 'type': 'GLcharN',
3760 'decoder_func': 'DoInsertEventMarkerEXT', 3767 'decoder_func': 'DoInsertEventMarkerEXT',
(...skipping 7338 matching lines...) Expand 10 before | Expand all | Expand 10 after
11099 Format(gen.generated_cpp_filenames) 11106 Format(gen.generated_cpp_filenames)
11100 11107
11101 if gen.errors > 0: 11108 if gen.errors > 0:
11102 print "%d errors" % gen.errors 11109 print "%d errors" % gen.errors
11103 return 1 11110 return 1
11104 return 0 11111 return 0
11105 11112
11106 11113
11107 if __name__ == '__main__': 11114 if __name__ == '__main__':
11108 sys.exit(main(sys.argv[1:])) 11115 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « gpu/GLES2/gl2chromium_autogen.h ('k') | gpu/command_buffer/client/client_context_state_impl_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698