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

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

Issue 116863003: gpu: Reuse transfer buffers more aggresively (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: [WIP] Review comments follow-up Created 6 years, 11 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 2296 matching lines...) Expand 10 before | Expand all | Expand 10 after
2307 'unit_test': False, 2307 'unit_test': False,
2308 'pepper_interface': 'Query', 2308 'pepper_interface': 'Query',
2309 }, 2309 },
2310 'IsQueryEXT': { 2310 'IsQueryEXT': {
2311 'gen_cmd': False, 2311 'gen_cmd': False,
2312 'client_test': False, 2312 'client_test': False,
2313 'pepper_interface': 'Query', 2313 'pepper_interface': 'Query',
2314 }, 2314 },
2315 'BeginQueryEXT': { 2315 'BeginQueryEXT': {
2316 'type': 'Manual', 2316 'type': 'Manual',
2317 'cmd_args': 'GLenumQueryTarget target, GLidQuery id, void* sync_data', 2317 'cmd_args': 'GLenumQueryTarget target, GLidQuery id, '
2318 'uint32 serial, void* sync_data',
2318 'immediate': False, 2319 'immediate': False,
2319 'gl_test_func': 'glBeginQuery', 2320 'gl_test_func': 'glBeginQuery',
2320 'pepper_interface': 'Query', 2321 'pepper_interface': 'Query',
2321 }, 2322 },
2322 'EndQueryEXT': { 2323 'EndQueryEXT': {
2323 'type': 'Manual', 2324 'type': 'Manual',
2324 'cmd_args': 'GLenumQueryTarget target, GLuint submit_count', 2325 'cmd_args': 'GLenumQueryTarget target, uint32 serial, GLuint submit_count',
2325 'gl_test_func': 'glEndnQuery', 2326 'gl_test_func': 'glEndQuery',
2326 'client_test': False, 2327 'client_test': False,
2327 'pepper_interface': 'Query', 2328 'pepper_interface': 'Query',
2328 }, 2329 },
2329 'GetQueryivEXT': { 2330 'GetQueryivEXT': {
2330 'gen_cmd': False, 2331 'gen_cmd': False,
2331 'client_test': False, 2332 'client_test': False,
2332 'gl_test_func': 'glGetQueryiv', 2333 'gl_test_func': 'glGetQueryiv',
2333 'pepper_interface': 'Query', 2334 'pepper_interface': 'Query',
2334 }, 2335 },
2335 'GetQueryObjectuivEXT': { 2336 'GetQueryObjectuivEXT': {
(...skipping 5511 matching lines...) Expand 10 before | Expand all | Expand 10 after
7847 gen.WriteGLES2Header("../GLES2/gl2chromium_autogen.h") 7848 gen.WriteGLES2Header("../GLES2/gl2chromium_autogen.h")
7848 7849
7849 if gen.errors > 0: 7850 if gen.errors > 0:
7850 print "%d errors" % gen.errors 7851 print "%d errors" % gen.errors
7851 return 1 7852 return 1
7852 return 0 7853 return 0
7853 7854
7854 7855
7855 if __name__ == '__main__': 7856 if __name__ == '__main__':
7856 sys.exit(main(sys.argv[1:])) 7857 sys.exit(main(sys.argv[1:]))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698