| 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 4260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4271 'gl_test_func': 'glIsVertexArrayOES', | 4271 'gl_test_func': 'glIsVertexArrayOES', |
| 4272 'decoder_func': 'DoIsVertexArrayOES', | 4272 'decoder_func': 'DoIsVertexArrayOES', |
| 4273 'unit_test': False, | 4273 'unit_test': False, |
| 4274 'pepper_interface': 'VertexArrayObject', | 4274 'pepper_interface': 'VertexArrayObject', |
| 4275 }, | 4275 }, |
| 4276 'BindTexImage2DCHROMIUM': { | 4276 'BindTexImage2DCHROMIUM': { |
| 4277 'decoder_func': 'DoBindTexImage2DCHROMIUM', | 4277 'decoder_func': 'DoBindTexImage2DCHROMIUM', |
| 4278 'unit_test': False, | 4278 'unit_test': False, |
| 4279 'extension': "CHROMIUM_image", | 4279 'extension': "CHROMIUM_image", |
| 4280 }, | 4280 }, |
| 4281 'BindTexImage2DWithInternalformatCHROMIUM': { |
| 4282 'decoder_func': 'DoBindTexImage2DWithInternalformatCHROMIUM', |
| 4283 'unit_test': False, |
| 4284 'extension': "CHROMIUM_image", |
| 4285 }, |
| 4281 'ReleaseTexImage2DCHROMIUM': { | 4286 'ReleaseTexImage2DCHROMIUM': { |
| 4282 'decoder_func': 'DoReleaseTexImage2DCHROMIUM', | 4287 'decoder_func': 'DoReleaseTexImage2DCHROMIUM', |
| 4283 'unit_test': False, | 4288 'unit_test': False, |
| 4284 'extension': "CHROMIUM_image", | 4289 'extension': "CHROMIUM_image", |
| 4285 }, | 4290 }, |
| 4286 'ShallowFinishCHROMIUM': { | 4291 'ShallowFinishCHROMIUM': { |
| 4287 'type': 'NoCommand', | 4292 'type': 'NoCommand', |
| 4288 'extension': True, | 4293 'extension': True, |
| 4289 }, | 4294 }, |
| 4290 'ShallowFlushCHROMIUM': { | 4295 'ShallowFlushCHROMIUM': { |
| (...skipping 6958 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11249 Format(gen.generated_cpp_filenames) | 11254 Format(gen.generated_cpp_filenames) |
| 11250 | 11255 |
| 11251 if gen.errors > 0: | 11256 if gen.errors > 0: |
| 11252 print "%d errors" % gen.errors | 11257 print "%d errors" % gen.errors |
| 11253 return 1 | 11258 return 1 |
| 11254 return 0 | 11259 return 0 |
| 11255 | 11260 |
| 11256 | 11261 |
| 11257 if __name__ == '__main__': | 11262 if __name__ == '__main__': |
| 11258 sys.exit(main(sys.argv[1:])) | 11263 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |