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 1387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1398 'decoder_func': 'DoCopyTexImage2D', | 1398 'decoder_func': 'DoCopyTexImage2D', |
1399 'unit_test': False, | 1399 'unit_test': False, |
1400 'defer_reads': True, | 1400 'defer_reads': True, |
1401 }, | 1401 }, |
1402 'CopyTexSubImage2D': { | 1402 'CopyTexSubImage2D': { |
1403 'decoder_func': 'DoCopyTexSubImage2D', | 1403 'decoder_func': 'DoCopyTexSubImage2D', |
1404 'defer_reads': True, | 1404 'defer_reads': True, |
1405 }, | 1405 }, |
1406 'CreateImageCHROMIUM': { | 1406 'CreateImageCHROMIUM': { |
1407 'type': 'Manual', | 1407 'type': 'Manual', |
1408 'cmd_args': 'GLsizei width, GLsizei height, GLenum internalformat', | 1408 'cmd_args': |
| 1409 'GLsizei width, GLsizei height, GLenum internalformat, GLenum usage', |
1409 'result': ['GLuint'], | 1410 'result': ['GLuint'], |
1410 'client_test': False, | 1411 'client_test': False, |
1411 'gen_cmd': False, | 1412 'gen_cmd': False, |
1412 'expectation': False, | 1413 'expectation': False, |
1413 'extension': True, | 1414 'extension': True, |
1414 'chromium': True, | 1415 'chromium': True, |
1415 }, | 1416 }, |
1416 'DestroyImageCHROMIUM': { | 1417 'DestroyImageCHROMIUM': { |
1417 'type': 'Manual', | 1418 'type': 'Manual', |
1418 'immediate': False, | 1419 'immediate': False, |
(...skipping 6646 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8065 "ppapi/shared_impl/ppb_opengles2_shared.cc"]) | 8066 "ppapi/shared_impl/ppb_opengles2_shared.cc"]) |
8066 | 8067 |
8067 if gen.errors > 0: | 8068 if gen.errors > 0: |
8068 print "%d errors" % gen.errors | 8069 print "%d errors" % gen.errors |
8069 return 1 | 8070 return 1 |
8070 return 0 | 8071 return 0 |
8071 | 8072 |
8072 | 8073 |
8073 if __name__ == '__main__': | 8074 if __name__ == '__main__': |
8074 sys.exit(main(sys.argv[1:])) | 8075 sys.exit(main(sys.argv[1:])) |
OLD | NEW |