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 2278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2289 'extension': True, | 2289 'extension': True, |
2290 'chromium': True, | 2290 'chromium': True, |
2291 }, | 2291 }, |
2292 'AsyncTexSubImage2DCHROMIUM': { | 2292 'AsyncTexSubImage2DCHROMIUM': { |
2293 'type': 'Manual', | 2293 'type': 'Manual', |
2294 'immediate': False, | 2294 'immediate': False, |
2295 'client_test': False, | 2295 'client_test': False, |
2296 'extension': True, | 2296 'extension': True, |
2297 'chromium': True, | 2297 'chromium': True, |
2298 }, | 2298 }, |
| 2299 'WaitAsyncTexImage2DCHROMIUM': { |
| 2300 'type': 'Manual', |
| 2301 'immediate': False, |
| 2302 'client_test': False, |
| 2303 'extension': True, |
| 2304 'chromium': True, |
| 2305 }, |
2299 'DiscardFramebufferEXT': { | 2306 'DiscardFramebufferEXT': { |
2300 'type': 'PUTn', | 2307 'type': 'PUTn', |
2301 'count': 1, | 2308 'count': 1, |
2302 'data_type': 'GLenum', | 2309 'data_type': 'GLenum', |
2303 'cmd_args': 'GLenum target, GLsizei count, ' | 2310 'cmd_args': 'GLenum target, GLsizei count, ' |
2304 'const GLenum* attachments', | 2311 'const GLenum* attachments', |
2305 'decoder_func': 'DoDiscardFramebufferEXT', | 2312 'decoder_func': 'DoDiscardFramebufferEXT', |
2306 'unit_test': False, | 2313 'unit_test': False, |
2307 'client_test': False, | 2314 'client_test': False, |
2308 'extension': True, | 2315 'extension': True, |
(...skipping 5281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7590 gen.WriteGLES2Header("../GLES2/gl2chromium_autogen.h") | 7597 gen.WriteGLES2Header("../GLES2/gl2chromium_autogen.h") |
7591 | 7598 |
7592 if gen.errors > 0: | 7599 if gen.errors > 0: |
7593 print "%d errors" % gen.errors | 7600 print "%d errors" % gen.errors |
7594 return 1 | 7601 return 1 |
7595 return 0 | 7602 return 0 |
7596 | 7603 |
7597 | 7604 |
7598 if __name__ == '__main__': | 7605 if __name__ == '__main__': |
7599 sys.exit(main(sys.argv[1:])) | 7606 sys.exit(main(sys.argv[1:])) |
OLD | NEW |