| 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 1879 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1890 }, | 1890 }, |
| 1891 'PixelStorei': {'type': 'Manual'}, | 1891 'PixelStorei': {'type': 'Manual'}, |
| 1892 'PostSubBufferCHROMIUM': { | 1892 'PostSubBufferCHROMIUM': { |
| 1893 'type': 'Custom', | 1893 'type': 'Custom', |
| 1894 'impl_func': False, | 1894 'impl_func': False, |
| 1895 'unit_test': False, | 1895 'unit_test': False, |
| 1896 'client_test': False, | 1896 'client_test': False, |
| 1897 'extension': True, | 1897 'extension': True, |
| 1898 'chromium': True, | 1898 'chromium': True, |
| 1899 }, | 1899 }, |
| 1900 'SetOverlayPlaneCHROMIUM': { |
| 1901 'type': 'Custom', |
| 1902 'impl_func': False, |
| 1903 'unit_test': False, |
| 1904 'client_test': False, |
| 1905 'extension': True, |
| 1906 'chromium': True, |
| 1907 }, |
| 1900 'ProduceTextureCHROMIUM': { | 1908 'ProduceTextureCHROMIUM': { |
| 1901 'decoder_func': 'DoProduceTextureCHROMIUM', | 1909 'decoder_func': 'DoProduceTextureCHROMIUM', |
| 1902 'type': 'PUT', | 1910 'type': 'PUT', |
| 1903 'data_type': 'GLbyte', | 1911 'data_type': 'GLbyte', |
| 1904 'count': 64, | 1912 'count': 64, |
| 1905 'unit_test': False, | 1913 'unit_test': False, |
| 1906 'extension': True, | 1914 'extension': True, |
| 1907 'chromium': True, | 1915 'chromium': True, |
| 1908 }, | 1916 }, |
| 1909 'RenderbufferStorage': { | 1917 'RenderbufferStorage': { |
| (...skipping 5937 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7847 gen.WriteGLES2Header("../GLES2/gl2chromium_autogen.h") | 7855 gen.WriteGLES2Header("../GLES2/gl2chromium_autogen.h") |
| 7848 | 7856 |
| 7849 if gen.errors > 0: | 7857 if gen.errors > 0: |
| 7850 print "%d errors" % gen.errors | 7858 print "%d errors" % gen.errors |
| 7851 return 1 | 7859 return 1 |
| 7852 return 0 | 7860 return 0 |
| 7853 | 7861 |
| 7854 | 7862 |
| 7855 if __name__ == '__main__': | 7863 if __name__ == '__main__': |
| 7856 sys.exit(main(sys.argv[1:])) | 7864 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |