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 1439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1450 'client_test': False, | 1450 'client_test': False, |
1451 }, | 1451 }, |
1452 'EnableVertexAttribArray': { | 1452 'EnableVertexAttribArray': { |
1453 'decoder_func': 'DoEnableVertexAttribArray', | 1453 'decoder_func': 'DoEnableVertexAttribArray', |
1454 'impl_decl': False, | 1454 'impl_decl': False, |
1455 }, | 1455 }, |
1456 'Finish': { | 1456 'Finish': { |
1457 'impl_func': False, | 1457 'impl_func': False, |
1458 'client_test': False, | 1458 'client_test': False, |
1459 'decoder_func': 'DoFinish', | 1459 'decoder_func': 'DoFinish', |
| 1460 'defer_reads': True, |
1460 }, | 1461 }, |
1461 'Flush': { | 1462 'Flush': { |
1462 'impl_func': False, | 1463 'impl_func': False, |
1463 'decoder_func': 'DoFlush', | 1464 'decoder_func': 'DoFlush', |
1464 }, | 1465 }, |
1465 'ShallowFlushCHROMIUM': { | 1466 'ShallowFlushCHROMIUM': { |
1466 'impl_func': False, | 1467 'impl_func': False, |
1467 'gen_cmd': False, | 1468 'gen_cmd': False, |
1468 'extension': True, | 1469 'extension': True, |
1469 'chromium': True, | 1470 'chromium': True, |
(...skipping 6191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7661 gen.WriteGLES2Header("../GLES2/gl2chromium_autogen.h") | 7662 gen.WriteGLES2Header("../GLES2/gl2chromium_autogen.h") |
7662 | 7663 |
7663 if gen.errors > 0: | 7664 if gen.errors > 0: |
7664 print "%d errors" % gen.errors | 7665 print "%d errors" % gen.errors |
7665 return 1 | 7666 return 1 |
7666 return 0 | 7667 return 0 |
7667 | 7668 |
7668 | 7669 |
7669 if __name__ == '__main__': | 7670 if __name__ == '__main__': |
7670 sys.exit(main(sys.argv[1:])) | 7671 sys.exit(main(sys.argv[1:])) |
OLD | NEW |