| 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 2232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2243 'TraceBeginCHROMIUM': { | 2243 'TraceBeginCHROMIUM': { |
| 2244 'type': 'Custom', | 2244 'type': 'Custom', |
| 2245 'impl_func': False, | 2245 'impl_func': False, |
| 2246 'immediate': False, | 2246 'immediate': False, |
| 2247 'client_test': False, | 2247 'client_test': False, |
| 2248 'cmd_args': 'GLuint bucket_id', | 2248 'cmd_args': 'GLuint bucket_id', |
| 2249 'extension': True, | 2249 'extension': True, |
| 2250 'chromium': True, | 2250 'chromium': True, |
| 2251 }, | 2251 }, |
| 2252 'TraceEndCHROMIUM': { | 2252 'TraceEndCHROMIUM': { |
| 2253 'impl_func': False, |
| 2254 'immediate': False, |
| 2255 'client_test': False, |
| 2253 'decoder_func': 'DoTraceEndCHROMIUM', | 2256 'decoder_func': 'DoTraceEndCHROMIUM', |
| 2254 'unit_test': False, | 2257 'unit_test': False, |
| 2255 'extension': True, | 2258 'extension': True, |
| 2256 'chromium': True, | 2259 'chromium': True, |
| 2257 }, | 2260 }, |
| 2258 'AsyncTexImage2DCHROMIUM': { | 2261 'AsyncTexImage2DCHROMIUM': { |
| 2259 'type': 'Manual', | 2262 'type': 'Manual', |
| 2260 'immediate': False, | 2263 'immediate': False, |
| 2261 'client_test': False, | 2264 'client_test': False, |
| 2262 'extension': True, | 2265 'extension': True, |
| (...skipping 5255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7518 gen.WriteGLES2Header("../../third_party/khronos/GLES2/gl2chromium.h") | 7521 gen.WriteGLES2Header("../../third_party/khronos/GLES2/gl2chromium.h") |
| 7519 | 7522 |
| 7520 if gen.errors > 0: | 7523 if gen.errors > 0: |
| 7521 print "%d errors" % gen.errors | 7524 print "%d errors" % gen.errors |
| 7522 return 1 | 7525 return 1 |
| 7523 return 0 | 7526 return 0 |
| 7524 | 7527 |
| 7525 | 7528 |
| 7526 if __name__ == '__main__': | 7529 if __name__ == '__main__': |
| 7527 sys.exit(main(sys.argv[1:])) | 7530 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |