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 2429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 }, |
| 2482 'WaitAllAsyncTexImage2DCHROMIUM': { |
| 2483 'type': 'Manual', |
| 2484 'immediate': False, |
| 2485 'client_test': False, |
| 2486 'extension': True, |
| 2487 'chromium': True, |
| 2488 }, |
2467 'DiscardFramebufferEXT': { | 2489 'DiscardFramebufferEXT': { |
2468 'type': 'PUTn', | 2490 'type': 'PUTn', |
2469 'count': 1, | 2491 'count': 1, |
2470 'data_type': 'GLenum', | 2492 'data_type': 'GLenum', |
2471 'cmd_args': 'GLenum target, GLsizei count, ' | 2493 'cmd_args': 'GLenum target, GLsizei count, ' |
2472 'const GLenum* attachments', | 2494 'const GLenum* attachments', |
2473 'decoder_func': 'DoDiscardFramebufferEXT', | 2495 'decoder_func': 'DoDiscardFramebufferEXT', |
2474 'unit_test': False, | 2496 'unit_test': False, |
2475 'client_test': False, | 2497 'client_test': False, |
2476 'extension': True, | 2498 'extension': True, |
(...skipping 5410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7887 "../../mojo/public/gles2/gles2_call_visitor_autogen.h") | 7909 "../../mojo/public/gles2/gles2_call_visitor_autogen.h") |
7888 | 7910 |
7889 if gen.errors > 0: | 7911 if gen.errors > 0: |
7890 print "%d errors" % gen.errors | 7912 print "%d errors" % gen.errors |
7891 return 1 | 7913 return 1 |
7892 return 0 | 7914 return 0 |
7893 | 7915 |
7894 | 7916 |
7895 if __name__ == '__main__': | 7917 if __name__ == '__main__': |
7896 sys.exit(main(sys.argv[1:])) | 7918 sys.exit(main(sys.argv[1:])) |
OLD | NEW |