| 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 4274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4285 'BindTexImage2DCHROMIUM': { | 4285 'BindTexImage2DCHROMIUM': { |
| 4286 'decoder_func': 'DoBindTexImage2DCHROMIUM', | 4286 'decoder_func': 'DoBindTexImage2DCHROMIUM', |
| 4287 'unit_test': False, | 4287 'unit_test': False, |
| 4288 'extension': "CHROMIUM_image", | 4288 'extension': "CHROMIUM_image", |
| 4289 }, | 4289 }, |
| 4290 'ReleaseTexImage2DCHROMIUM': { | 4290 'ReleaseTexImage2DCHROMIUM': { |
| 4291 'decoder_func': 'DoReleaseTexImage2DCHROMIUM', | 4291 'decoder_func': 'DoReleaseTexImage2DCHROMIUM', |
| 4292 'unit_test': False, | 4292 'unit_test': False, |
| 4293 'extension': "CHROMIUM_image", | 4293 'extension': "CHROMIUM_image", |
| 4294 }, | 4294 }, |
| 4295 'CopyImageSubDataCHROMIUM': { |
| 4296 'decoder_func': 'DoCopyImageSubDataCHROMIUM', |
| 4297 'unit_test': False, |
| 4298 'extension': "CHROMIUM_copy_image", |
| 4299 }, |
| 4295 'ShallowFinishCHROMIUM': { | 4300 'ShallowFinishCHROMIUM': { |
| 4296 'type': 'NoCommand', | 4301 'type': 'NoCommand', |
| 4297 'extension': True, | 4302 'extension': True, |
| 4298 }, | 4303 }, |
| 4299 'ShallowFlushCHROMIUM': { | 4304 'ShallowFlushCHROMIUM': { |
| 4300 'type': 'NoCommand', | 4305 'type': 'NoCommand', |
| 4301 'extension': "CHROMIUM_miscellaneous", | 4306 'extension': "CHROMIUM_miscellaneous", |
| 4302 }, | 4307 }, |
| 4303 'OrderingBarrierCHROMIUM': { | 4308 'OrderingBarrierCHROMIUM': { |
| 4304 'type': 'NoCommand', | 4309 'type': 'NoCommand', |
| (...skipping 7053 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11358 Format(gen.generated_cpp_filenames) | 11363 Format(gen.generated_cpp_filenames) |
| 11359 | 11364 |
| 11360 if gen.errors > 0: | 11365 if gen.errors > 0: |
| 11361 print "%d errors" % gen.errors | 11366 print "%d errors" % gen.errors |
| 11362 return 1 | 11367 return 1 |
| 11363 return 0 | 11368 return 0 |
| 11364 | 11369 |
| 11365 | 11370 |
| 11366 if __name__ == '__main__': | 11371 if __name__ == '__main__': |
| 11367 sys.exit(main(sys.argv[1:])) | 11372 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |