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 2445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2456 'client_test': False, | 2456 'client_test': False, |
2457 'decoder_func': 'DoTraceEndCHROMIUM', | 2457 'decoder_func': 'DoTraceEndCHROMIUM', |
2458 'unit_test': False, | 2458 'unit_test': False, |
2459 'extension': True, | 2459 'extension': True, |
2460 'chromium': True, | 2460 'chromium': True, |
2461 }, | 2461 }, |
2462 'AsyncTexImage2DCHROMIUM': { | 2462 'AsyncTexImage2DCHROMIUM': { |
2463 'type': 'Manual', | 2463 'type': 'Manual', |
2464 'immediate': False, | 2464 'immediate': False, |
2465 'client_test': False, | 2465 'client_test': False, |
| 2466 'cmd_args': 'GLenumTextureTarget target, GLint level, ' |
| 2467 'GLintTextureInternalFormat internalformat, ' |
| 2468 'GLsizei width, GLsizei height, ' |
| 2469 'GLintTextureBorder border, ' |
| 2470 'GLenumTextureFormat format, GLenumPixelType type, ' |
| 2471 'const void* pixels, ' |
| 2472 'uint32 async_upload_token, ' |
| 2473 'void* sync_data', |
2466 'extension': True, | 2474 'extension': True, |
2467 'chromium': True, | 2475 'chromium': True, |
2468 }, | 2476 }, |
2469 'AsyncTexSubImage2DCHROMIUM': { | 2477 'AsyncTexSubImage2DCHROMIUM': { |
2470 'type': 'Manual', | 2478 'type': 'Manual', |
2471 'immediate': False, | 2479 'immediate': False, |
2472 'client_test': False, | 2480 'client_test': False, |
| 2481 'cmd_args': 'GLenumTextureTarget target, GLint level, ' |
| 2482 'GLint xoffset, GLint yoffset, ' |
| 2483 'GLsizei width, GLsizei height, ' |
| 2484 'GLenumTextureFormat format, GLenumPixelType type, ' |
| 2485 'const void* data, ' |
| 2486 'uint32 async_upload_token, ' |
| 2487 'void* sync_data', |
2473 'extension': True, | 2488 'extension': True, |
2474 'chromium': True, | 2489 'chromium': True, |
2475 }, | 2490 }, |
2476 'WaitAsyncTexImage2DCHROMIUM': { | 2491 'WaitAsyncTexImage2DCHROMIUM': { |
2477 'type': 'Manual', | 2492 'type': 'Manual', |
2478 'immediate': False, | 2493 'immediate': False, |
2479 'client_test': False, | 2494 'client_test': False, |
2480 'extension': True, | 2495 'extension': True, |
2481 'chromium': True, | 2496 'chromium': True, |
2482 }, | 2497 }, |
| 2498 'WaitAllAsyncTexImage2DCHROMIUM': { |
| 2499 'type': 'Manual', |
| 2500 'immediate': False, |
| 2501 'client_test': False, |
| 2502 'extension': True, |
| 2503 'chromium': True, |
| 2504 }, |
2483 'DiscardFramebufferEXT': { | 2505 'DiscardFramebufferEXT': { |
2484 'type': 'PUTn', | 2506 'type': 'PUTn', |
2485 'count': 1, | 2507 'count': 1, |
2486 'data_type': 'GLenum', | 2508 'data_type': 'GLenum', |
2487 'cmd_args': 'GLenum target, GLsizei count, ' | 2509 'cmd_args': 'GLenum target, GLsizei count, ' |
2488 'const GLenum* attachments', | 2510 'const GLenum* attachments', |
2489 'decoder_func': 'DoDiscardFramebufferEXT', | 2511 'decoder_func': 'DoDiscardFramebufferEXT', |
2490 'unit_test': False, | 2512 'unit_test': False, |
2491 'client_test': False, | 2513 'client_test': False, |
2492 'extension': True, | 2514 'extension': True, |
(...skipping 5391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7884 "ppapi/shared_impl/ppb_opengles2_shared.cc"]) | 7906 "ppapi/shared_impl/ppb_opengles2_shared.cc"]) |
7885 | 7907 |
7886 if gen.errors > 0: | 7908 if gen.errors > 0: |
7887 print "%d errors" % gen.errors | 7909 print "%d errors" % gen.errors |
7888 return 1 | 7910 return 1 |
7889 return 0 | 7911 return 0 |
7890 | 7912 |
7891 | 7913 |
7892 if __name__ == '__main__': | 7914 if __name__ == '__main__': |
7893 sys.exit(main(sys.argv[1:])) | 7915 sys.exit(main(sys.argv[1:])) |
OLD | NEW |