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 5267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7530 gen.WriteGLES2Header("../../third_party/khronos/GLES2/gl2chromium.h") | 7533 gen.WriteGLES2Header("../../third_party/khronos/GLES2/gl2chromium.h") |
7531 | 7534 |
7532 if gen.errors > 0: | 7535 if gen.errors > 0: |
7533 print "%d errors" % gen.errors | 7536 print "%d errors" % gen.errors |
7534 return 1 | 7537 return 1 |
7535 return 0 | 7538 return 0 |
7536 | 7539 |
7537 | 7540 |
7538 if __name__ == '__main__': | 7541 if __name__ == '__main__': |
7539 sys.exit(main(sys.argv[1:])) | 7542 sys.exit(main(sys.argv[1:])) |
OLD | NEW |