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

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

Issue 216673006: Revert 260177 "By keeping track of transfer buffer usage (both s..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
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 2444 matching lines...) Expand 10 before | Expand all | Expand 10 after
2455 'client_test': False, 2455 'client_test': False,
2456 'decoder_func': 'DoTraceEndCHROMIUM', 2456 'decoder_func': 'DoTraceEndCHROMIUM',
2457 'unit_test': False, 2457 'unit_test': False,
2458 'extension': True, 2458 'extension': True,
2459 'chromium': True, 2459 'chromium': True,
2460 }, 2460 },
2461 'AsyncTexImage2DCHROMIUM': { 2461 'AsyncTexImage2DCHROMIUM': {
2462 'type': 'Manual', 2462 'type': 'Manual',
2463 'immediate': False, 2463 'immediate': False,
2464 'client_test': False, 2464 'client_test': False,
2465 'cmd_args': 'GLenumTextureTarget target, GLint level, '
2466 'GLintTextureInternalFormat internalformat, '
2467 'GLsizei width, GLsizei height, '
2468 'GLintTextureBorder border, '
2469 'GLenumTextureFormat format, GLenumPixelType type, '
2470 'const void* pixels, '
2471 'uint32 async_upload_token, '
2472 'void* sync_data',
2473 'extension': True, 2465 'extension': True,
2474 'chromium': True, 2466 'chromium': True,
2475 }, 2467 },
2476 'AsyncTexSubImage2DCHROMIUM': { 2468 'AsyncTexSubImage2DCHROMIUM': {
2477 'type': 'Manual', 2469 'type': 'Manual',
2478 'immediate': False, 2470 'immediate': False,
2479 'client_test': False, 2471 'client_test': False,
2480 'cmd_args': 'GLenumTextureTarget target, GLint level, '
2481 'GLint xoffset, GLint yoffset, '
2482 'GLsizei width, GLsizei height, '
2483 'GLenumTextureFormat format, GLenumPixelType type, '
2484 'const void* data, '
2485 'uint32 async_upload_token, '
2486 'void* sync_data',
2487 'extension': True, 2472 'extension': True,
2488 'chromium': True, 2473 'chromium': True,
2489 }, 2474 },
2490 'WaitAsyncTexImage2DCHROMIUM': { 2475 'WaitAsyncTexImage2DCHROMIUM': {
2491 'type': 'Manual', 2476 'type': 'Manual',
2492 'immediate': False, 2477 'immediate': False,
2493 'client_test': False, 2478 'client_test': False,
2494 'extension': True, 2479 'extension': True,
2495 'chromium': True, 2480 'chromium': True,
2496 }, 2481 },
2497 'WaitAllAsyncTexImage2DCHROMIUM': {
2498 'type': 'Manual',
2499 'immediate': False,
2500 'client_test': False,
2501 'extension': True,
2502 'chromium': True,
2503 },
2504 'DiscardFramebufferEXT': { 2482 'DiscardFramebufferEXT': {
2505 'type': 'PUTn', 2483 'type': 'PUTn',
2506 'count': 1, 2484 'count': 1,
2507 'data_type': 'GLenum', 2485 'data_type': 'GLenum',
2508 'cmd_args': 'GLenum target, GLsizei count, ' 2486 'cmd_args': 'GLenum target, GLsizei count, '
2509 'const GLenum* attachments', 2487 'const GLenum* attachments',
2510 'decoder_func': 'DoDiscardFramebufferEXT', 2488 'decoder_func': 'DoDiscardFramebufferEXT',
2511 'unit_test': False, 2489 'unit_test': False,
2512 'client_test': False, 2490 'client_test': False,
2513 'extension': True, 2491 'extension': True,
(...skipping 5391 matching lines...) Expand 10 before | Expand all | Expand 10 after
7905 "ppapi/shared_impl/ppb_opengles2_shared.cc"]) 7883 "ppapi/shared_impl/ppb_opengles2_shared.cc"])
7906 7884
7907 if gen.errors > 0: 7885 if gen.errors > 0:
7908 print "%d errors" % gen.errors 7886 print "%d errors" % gen.errors
7909 return 1 7887 return 1
7910 return 0 7888 return 0
7911 7889
7912 7890
7913 if __name__ == '__main__': 7891 if __name__ == '__main__':
7914 sys.exit(main(sys.argv[1:])) 7892 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « trunk/src/gpu/GLES2/gl2chromium_autogen.h ('k') | trunk/src/gpu/command_buffer/client/buffer_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698