| 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 2256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2267 'TraceBeginCHROMIUM': { | 2267 'TraceBeginCHROMIUM': { |
| 2268 'type': 'Custom', | 2268 'type': 'Custom', |
| 2269 'impl_func': False, | 2269 'impl_func': False, |
| 2270 'immediate': False, | 2270 'immediate': False, |
| 2271 'client_test': False, | 2271 'client_test': False, |
| 2272 'cmd_args': 'GLuint bucket_id', | 2272 'cmd_args': 'GLuint bucket_id', |
| 2273 'extension': True, | 2273 'extension': True, |
| 2274 'chromium': True, | 2274 'chromium': True, |
| 2275 }, | 2275 }, |
| 2276 'TraceEndCHROMIUM': { | 2276 'TraceEndCHROMIUM': { |
| 2277 'impl_func': False, |
| 2278 'immediate': False, |
| 2279 'client_test': False, |
| 2277 'decoder_func': 'DoTraceEndCHROMIUM', | 2280 'decoder_func': 'DoTraceEndCHROMIUM', |
| 2278 'unit_test': False, | 2281 'unit_test': False, |
| 2279 'extension': True, | 2282 'extension': True, |
| 2280 'chromium': True, | 2283 'chromium': True, |
| 2281 }, | 2284 }, |
| 2282 'AsyncTexImage2DCHROMIUM': { | 2285 'AsyncTexImage2DCHROMIUM': { |
| 2283 'type': 'Manual', | 2286 'type': 'Manual', |
| 2284 'immediate': False, | 2287 'immediate': False, |
| 2285 'client_test': False, | 2288 'client_test': False, |
| 2286 'extension': True, | 2289 'extension': True, |
| (...skipping 5277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7564 gen.WriteGLES2Header("../GLES2/gl2chromium_autogen.h") | 7567 gen.WriteGLES2Header("../GLES2/gl2chromium_autogen.h") |
| 7565 | 7568 |
| 7566 if gen.errors > 0: | 7569 if gen.errors > 0: |
| 7567 print "%d errors" % gen.errors | 7570 print "%d errors" % gen.errors |
| 7568 return 1 | 7571 return 1 |
| 7569 return 0 | 7572 return 0 |
| 7570 | 7573 |
| 7571 | 7574 |
| 7572 if __name__ == '__main__': | 7575 if __name__ == '__main__': |
| 7573 sys.exit(main(sys.argv[1:])) | 7576 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |