| 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 4025 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4036 'chromium': True, | 4036 'chromium': True, |
| 4037 }, | 4037 }, |
| 4038 'RequestExtensionCHROMIUM': { | 4038 'RequestExtensionCHROMIUM': { |
| 4039 'type': 'Custom', | 4039 'type': 'Custom', |
| 4040 'impl_func': False, | 4040 'impl_func': False, |
| 4041 'client_test': False, | 4041 'client_test': False, |
| 4042 'cmd_args': 'uint32_t bucket_id', | 4042 'cmd_args': 'uint32_t bucket_id', |
| 4043 'extension': 'CHROMIUM_request_extension', | 4043 'extension': 'CHROMIUM_request_extension', |
| 4044 'chromium': True, | 4044 'chromium': True, |
| 4045 }, | 4045 }, |
| 4046 'TexImageIOSurface2DCHROMIUM': { | |
| 4047 'decoder_func': 'DoTexImageIOSurface2DCHROMIUM', | |
| 4048 'unit_test': False, | |
| 4049 'extension': True, | |
| 4050 'chromium': True, | |
| 4051 'trace_level': 1, | |
| 4052 }, | |
| 4053 'CopyTextureCHROMIUM': { | 4046 'CopyTextureCHROMIUM': { |
| 4054 'decoder_func': 'DoCopyTextureCHROMIUM', | 4047 'decoder_func': 'DoCopyTextureCHROMIUM', |
| 4055 'unit_test': False, | 4048 'unit_test': False, |
| 4056 'extension': "CHROMIUM_copy_texture", | 4049 'extension': "CHROMIUM_copy_texture", |
| 4057 'chromium': True, | 4050 'chromium': True, |
| 4058 'trace_level': 2, | 4051 'trace_level': 2, |
| 4059 }, | 4052 }, |
| 4060 'CopySubTextureCHROMIUM': { | 4053 'CopySubTextureCHROMIUM': { |
| 4061 'decoder_func': 'DoCopySubTextureCHROMIUM', | 4054 'decoder_func': 'DoCopySubTextureCHROMIUM', |
| 4062 'unit_test': False, | 4055 'unit_test': False, |
| (...skipping 7258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11321 Format(gen.generated_cpp_filenames) | 11314 Format(gen.generated_cpp_filenames) |
| 11322 | 11315 |
| 11323 if gen.errors > 0: | 11316 if gen.errors > 0: |
| 11324 print "%d errors" % gen.errors | 11317 print "%d errors" % gen.errors |
| 11325 return 1 | 11318 return 1 |
| 11326 return 0 | 11319 return 0 |
| 11327 | 11320 |
| 11328 | 11321 |
| 11329 if __name__ == '__main__': | 11322 if __name__ == '__main__': |
| 11330 sys.exit(main(sys.argv[1:])) | 11323 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |