| 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 2242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2253 'TraceBeginCHROMIUM': { | 2253 'TraceBeginCHROMIUM': { |
| 2254 'type': 'Custom', | 2254 'type': 'Custom', |
| 2255 'impl_func': False, | 2255 'impl_func': False, |
| 2256 'immediate': False, | 2256 'immediate': False, |
| 2257 'client_test': False, | 2257 'client_test': False, |
| 2258 'cmd_args': 'GLuint bucket_id', | 2258 'cmd_args': 'GLuint bucket_id', |
| 2259 'extension': True, | 2259 'extension': True, |
| 2260 'chromium': True, | 2260 'chromium': True, |
| 2261 }, | 2261 }, |
| 2262 'TraceEndCHROMIUM': { | 2262 'TraceEndCHROMIUM': { |
| 2263 'impl_func': False, |
| 2264 'immediate': False, |
| 2265 'client_test': False, |
| 2263 'decoder_func': 'DoTraceEndCHROMIUM', | 2266 'decoder_func': 'DoTraceEndCHROMIUM', |
| 2264 'unit_test': False, | 2267 'unit_test': False, |
| 2265 'extension': True, | 2268 'extension': True, |
| 2266 'chromium': True, | 2269 'chromium': True, |
| 2267 }, | 2270 }, |
| 2268 'AsyncTexImage2DCHROMIUM': { | 2271 'AsyncTexImage2DCHROMIUM': { |
| 2269 'type': 'Manual', | 2272 'type': 'Manual', |
| 2270 'immediate': False, | 2273 'immediate': False, |
| 2271 'client_test': False, | 2274 'client_test': False, |
| 2272 'extension': True, | 2275 'extension': True, |
| (...skipping 5284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7557 gen.WriteGLES2Header("../../third_party/khronos/GLES2/gl2chromium.h") | 7560 gen.WriteGLES2Header("../../third_party/khronos/GLES2/gl2chromium.h") |
| 7558 | 7561 |
| 7559 if gen.errors > 0: | 7562 if gen.errors > 0: |
| 7560 print "%d errors" % gen.errors | 7563 print "%d errors" % gen.errors |
| 7561 return 1 | 7564 return 1 |
| 7562 return 0 | 7565 return 0 |
| 7563 | 7566 |
| 7564 | 7567 |
| 7565 if __name__ == '__main__': | 7568 if __name__ == '__main__': |
| 7566 sys.exit(main(sys.argv[1:])) | 7569 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |