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 2309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2320 'unit_test': False, | 2320 'unit_test': False, |
2321 'client_test': False, | 2321 'client_test': False, |
2322 'extension': True, | 2322 'extension': True, |
2323 }, | 2323 }, |
2324 'LoseContextCHROMIUM': { | 2324 'LoseContextCHROMIUM': { |
2325 'type': 'Manual', | 2325 'type': 'Manual', |
2326 'impl_func': True, | 2326 'impl_func': True, |
2327 'extension': True, | 2327 'extension': True, |
2328 'chromium': True, | 2328 'chromium': True, |
2329 }, | 2329 }, |
| 2330 'InsertSyncPointCHROMIUM': { |
| 2331 'type': 'HandWritten', |
| 2332 'impl_func': False, |
| 2333 'extension': True, |
| 2334 'chromium': True, |
| 2335 }, |
2330 'WaitSyncPointCHROMIUM': { | 2336 'WaitSyncPointCHROMIUM': { |
2331 'type': 'Custom', | 2337 'type': 'Custom', |
2332 'impl_func': True, | 2338 'impl_func': True, |
2333 'extension': True, | 2339 'extension': True, |
2334 'chromium': True, | 2340 'chromium': True, |
2335 }, | 2341 }, |
2336 } | 2342 } |
2337 | 2343 |
2338 | 2344 |
2339 def Grouper(n, iterable, fillvalue=None): | 2345 def Grouper(n, iterable, fillvalue=None): |
(...skipping 5272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7612 gen.WriteGLES2Header("../GLES2/gl2chromium_autogen.h") | 7618 gen.WriteGLES2Header("../GLES2/gl2chromium_autogen.h") |
7613 | 7619 |
7614 if gen.errors > 0: | 7620 if gen.errors > 0: |
7615 print "%d errors" % gen.errors | 7621 print "%d errors" % gen.errors |
7616 return 1 | 7622 return 1 |
7617 return 0 | 7623 return 0 |
7618 | 7624 |
7619 | 7625 |
7620 if __name__ == '__main__': | 7626 if __name__ == '__main__': |
7621 sys.exit(main(sys.argv[1:])) | 7627 sys.exit(main(sys.argv[1:])) |
OLD | NEW |