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

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: Async upload token part of existing Async command; use separate shared memory to sync async upload … Created 6 years, 10 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 2429 matching lines...) Expand 10 before | Expand all | Expand 10 after
2440 'client_test': False, 2440 'client_test': False,
2441 'decoder_func': 'DoTraceEndCHROMIUM', 2441 'decoder_func': 'DoTraceEndCHROMIUM',
2442 'unit_test': False, 2442 'unit_test': False,
2443 'extension': True, 2443 'extension': True,
2444 'chromium': True, 2444 'chromium': True,
2445 }, 2445 },
2446 'AsyncTexImage2DCHROMIUM': { 2446 'AsyncTexImage2DCHROMIUM': {
2447 'type': 'Manual', 2447 'type': 'Manual',
2448 'immediate': False, 2448 'immediate': False,
2449 'client_test': False, 2449 'client_test': False,
2450 'cmd_args': 'GLenumTextureTarget target, GLint level, '
2451 'GLintTextureInternalFormat internalformat, '
2452 'GLsizei width, GLsizei height, '
2453 'GLintTextureBorder border, '
2454 'GLenumTextureFormat format, GLenumPixelType type, '
2455 'const void* pixels, '
2456 'uint32 async_upload_token, '
2457 'void* sync_data',
2450 'extension': True, 2458 'extension': True,
2451 'chromium': True, 2459 'chromium': True,
2452 }, 2460 },
2453 'AsyncTexSubImage2DCHROMIUM': { 2461 'AsyncTexSubImage2DCHROMIUM': {
2454 'type': 'Manual', 2462 'type': 'Manual',
2455 'immediate': False, 2463 'immediate': False,
2456 'client_test': False, 2464 'client_test': False,
2465 'cmd_args': 'GLenumTextureTarget target, GLint level, '
2466 'GLint xoffset, GLint yoffset, '
2467 'GLsizei width, GLsizei height, '
2468 'GLenumTextureFormat format, GLenumPixelType type, '
2469 'const void* data, '
2470 'uint32 async_upload_token, '
2471 'void* sync_data',
2457 'extension': True, 2472 'extension': True,
2458 'chromium': True, 2473 'chromium': True,
2459 }, 2474 },
2460 'WaitAsyncTexImage2DCHROMIUM': { 2475 'WaitAsyncTexImage2DCHROMIUM': {
2461 'type': 'Manual', 2476 'type': 'Manual',
2462 'immediate': False, 2477 'immediate': False,
2463 'client_test': False, 2478 'client_test': False,
2464 'extension': True, 2479 'extension': True,
2465 'chromium': True, 2480 'chromium': True,
2466 }, 2481 },
(...skipping 5420 matching lines...) Expand 10 before | Expand all | Expand 10 after
7887 "../../mojo/public/gles2/gles2_call_visitor_autogen.h") 7902 "../../mojo/public/gles2/gles2_call_visitor_autogen.h")
7888 7903
7889 if gen.errors > 0: 7904 if gen.errors > 0:
7890 print "%d errors" % gen.errors 7905 print "%d errors" % gen.errors
7891 return 1 7906 return 1
7892 return 0 7907 return 0
7893 7908
7894 7909
7895 if __name__ == '__main__': 7910 if __name__ == '__main__':
7896 sys.exit(main(sys.argv[1:])) 7911 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « no previous file | gpu/command_buffer/client/buffer_tracker.h » ('j') | gpu/command_buffer/client/buffer_tracker.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698