| 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 1799 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1810 'decoder_func': 'DoCopyTexSubImage2D', | 1810 'decoder_func': 'DoCopyTexSubImage2D', |
| 1811 'defer_reads': True, | 1811 'defer_reads': True, |
| 1812 }, | 1812 }, |
| 1813 'CopyTexSubImage3D': { | 1813 'CopyTexSubImage3D': { |
| 1814 'defer_reads': True, | 1814 'defer_reads': True, |
| 1815 'unsafe': True, | 1815 'unsafe': True, |
| 1816 }, | 1816 }, |
| 1817 'CreateImageCHROMIUM': { | 1817 'CreateImageCHROMIUM': { |
| 1818 'type': 'Manual', | 1818 'type': 'Manual', |
| 1819 'cmd_args': | 1819 'cmd_args': |
| 1820 'ClientBuffer buffer, GLsizei width, GLsizei height, ' | 1820 'ClientBuffer* buffers, GLsizei width, GLsizei height, ' |
| 1821 'GLenum internalformat', | 1821 'GLenum internalformat', |
| 1822 'result': ['GLuint'], | 1822 'result': ['GLuint'], |
| 1823 'client_test': False, | 1823 'client_test': False, |
| 1824 'gen_cmd': False, | 1824 'gen_cmd': False, |
| 1825 'expectation': False, | 1825 'expectation': False, |
| 1826 'extension': True, | 1826 'extension': True, |
| 1827 'chromium': True, | 1827 'chromium': True, |
| 1828 }, | 1828 }, |
| 1829 'DestroyImageCHROMIUM': { | 1829 'DestroyImageCHROMIUM': { |
| 1830 'type': 'Manual', | 1830 'type': 'Manual', |
| (...skipping 8484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10315 Format(gen.generated_cpp_filenames) | 10315 Format(gen.generated_cpp_filenames) |
| 10316 | 10316 |
| 10317 if gen.errors > 0: | 10317 if gen.errors > 0: |
| 10318 print "%d errors" % gen.errors | 10318 print "%d errors" % gen.errors |
| 10319 return 1 | 10319 return 1 |
| 10320 return 0 | 10320 return 0 |
| 10321 | 10321 |
| 10322 | 10322 |
| 10323 if __name__ == '__main__': | 10323 if __name__ == '__main__': |
| 10324 sys.exit(main(sys.argv[1:])) | 10324 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |