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 1309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1320 'ColorMask': { | 1320 'ColorMask': { |
1321 'type': 'StateSet', | 1321 'type': 'StateSet', |
1322 'state': 'ColorMask', | 1322 'state': 'ColorMask', |
1323 'no_gl': True, | 1323 'no_gl': True, |
1324 'expectation': False, | 1324 'expectation': False, |
1325 }, | 1325 }, |
1326 'ConsumeTextureCHROMIUM': { | 1326 'ConsumeTextureCHROMIUM': { |
1327 'decoder_func': 'DoConsumeTextureCHROMIUM', | 1327 'decoder_func': 'DoConsumeTextureCHROMIUM', |
1328 'type': 'PUT', | 1328 'type': 'PUT', |
1329 'data_type': 'GLbyte', | 1329 'data_type': 'GLbyte', |
1330 'count': 64, # GL_MAILBOX_SIZE_CHROMIUM | 1330 'count': 64, |
1331 'unit_test': False, | 1331 'unit_test': False, |
1332 'extension': True, | 1332 'extension': True, |
1333 'chromium': True, | 1333 'chromium': True, |
1334 'trace_level': 1, | 1334 'trace_level': 1, |
1335 }, | 1335 }, |
1336 'ClearStencil': { | 1336 'ClearStencil': { |
1337 'type': 'StateSet', | 1337 'type': 'StateSet', |
1338 'state': 'ClearStencil', | 1338 'state': 'ClearStencil', |
1339 }, | 1339 }, |
1340 'EnableFeatureCHROMIUM': { | 1340 'EnableFeatureCHROMIUM': { |
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1903 'impl_func': False, | 1903 'impl_func': False, |
1904 'unit_test': False, | 1904 'unit_test': False, |
1905 'client_test': False, | 1905 'client_test': False, |
1906 'extension': True, | 1906 'extension': True, |
1907 'chromium': True, | 1907 'chromium': True, |
1908 }, | 1908 }, |
1909 'ProduceTextureCHROMIUM': { | 1909 'ProduceTextureCHROMIUM': { |
1910 'decoder_func': 'DoProduceTextureCHROMIUM', | 1910 'decoder_func': 'DoProduceTextureCHROMIUM', |
1911 'type': 'PUT', | 1911 'type': 'PUT', |
1912 'data_type': 'GLbyte', | 1912 'data_type': 'GLbyte', |
1913 'count': 64, # GL_MAILBOX_SIZE_CHROMIUM | 1913 'count': 64, |
1914 'unit_test': False, | 1914 'unit_test': False, |
1915 'extension': True, | 1915 'extension': True, |
1916 'chromium': True, | 1916 'chromium': True, |
1917 'trace_level': 1, | 1917 'trace_level': 1, |
1918 }, | 1918 }, |
1919 'RenderbufferStorage': { | 1919 'RenderbufferStorage': { |
1920 'decoder_func': 'DoRenderbufferStorage', | 1920 'decoder_func': 'DoRenderbufferStorage', |
1921 'gl_test_func': 'glRenderbufferStorageEXT', | 1921 'gl_test_func': 'glRenderbufferStorageEXT', |
1922 'expectation': False, | 1922 'expectation': False, |
1923 }, | 1923 }, |
(...skipping 5963 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7887 "../../mojo/public/gles2/gles2_call_visitor_autogen.h") | 7887 "../../mojo/public/gles2/gles2_call_visitor_autogen.h") |
7888 | 7888 |
7889 if gen.errors > 0: | 7889 if gen.errors > 0: |
7890 print "%d errors" % gen.errors | 7890 print "%d errors" % gen.errors |
7891 return 1 | 7891 return 1 |
7892 return 0 | 7892 return 0 |
7893 | 7893 |
7894 | 7894 |
7895 if __name__ == '__main__': | 7895 if __name__ == '__main__': |
7896 sys.exit(main(sys.argv[1:])) | 7896 sys.exit(main(sys.argv[1:])) |
OLD | NEW |