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 }, |
(...skipping 5420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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:])) |
OLD | NEW |