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 1430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1441 'CreateAndConsumeTextureCHROMIUM': { | 1441 'CreateAndConsumeTextureCHROMIUM': { |
1442 'decoder_func': 'DoCreateAndConsumeTextureCHROMIUM', | 1442 'decoder_func': 'DoCreateAndConsumeTextureCHROMIUM', |
1443 'impl_func': False, | 1443 'impl_func': False, |
1444 'type': 'HandWritten', | 1444 'type': 'HandWritten', |
1445 'data_transfer_methods': ['immediate'], | 1445 'data_transfer_methods': ['immediate'], |
1446 'unit_test': False, | 1446 'unit_test': False, |
1447 'client_test': False, | 1447 'client_test': False, |
1448 'extension': "CHROMIUM_texture_mailbox", | 1448 'extension': "CHROMIUM_texture_mailbox", |
1449 'chromium': True, | 1449 'chromium': True, |
1450 }, | 1450 }, |
| 1451 'SubscribeUniformCHROMIUM': { |
| 1452 'type': 'GLchar', |
| 1453 'data_transfer_methods': ['bucket'], |
| 1454 'decoder_func': 'DoSubscribeUniformCHROMIUM', |
| 1455 'cmd_args': 'GLenum target, GLuint bucket_id', |
| 1456 'impl_func': False, |
| 1457 'unit_test': False, |
| 1458 'client_test': False, |
| 1459 'extension': True, |
| 1460 'chromium': True, |
| 1461 }, |
1451 'ClearStencil': { | 1462 'ClearStencil': { |
1452 'type': 'StateSet', | 1463 'type': 'StateSet', |
1453 'state': 'ClearStencil', | 1464 'state': 'ClearStencil', |
1454 }, | 1465 }, |
1455 'EnableFeatureCHROMIUM': { | 1466 'EnableFeatureCHROMIUM': { |
1456 'type': 'Custom', | 1467 'type': 'Custom', |
1457 'data_transfer_methods': ['shm'], | 1468 'data_transfer_methods': ['shm'], |
1458 'decoder_func': 'DoEnableFeatureCHROMIUM', | 1469 'decoder_func': 'DoEnableFeatureCHROMIUM', |
1459 'expectation': False, | 1470 'expectation': False, |
1460 'cmd_args': 'GLuint bucket_id, GLint* result', | 1471 'cmd_args': 'GLuint bucket_id, GLint* result', |
(...skipping 7165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8626 Format(gen.generated_cpp_filenames) | 8637 Format(gen.generated_cpp_filenames) |
8627 | 8638 |
8628 if gen.errors > 0: | 8639 if gen.errors > 0: |
8629 print "%d errors" % gen.errors | 8640 print "%d errors" % gen.errors |
8630 return 1 | 8641 return 1 |
8631 return 0 | 8642 return 0 |
8632 | 8643 |
8633 | 8644 |
8634 if __name__ == '__main__': | 8645 if __name__ == '__main__': |
8635 sys.exit(main(sys.argv[1:])) | 8646 sys.exit(main(sys.argv[1:])) |
OLD | NEW |