| 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 3731 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   3742     'chromium': True, |   3742     'chromium': True, | 
|   3743   }, |   3743   }, | 
|   3744   'RequestExtensionCHROMIUM': { |   3744   'RequestExtensionCHROMIUM': { | 
|   3745     'type': 'Custom', |   3745     'type': 'Custom', | 
|   3746     'impl_func': False, |   3746     'impl_func': False, | 
|   3747     'client_test': False, |   3747     'client_test': False, | 
|   3748     'cmd_args': 'uint32_t bucket_id', |   3748     'cmd_args': 'uint32_t bucket_id', | 
|   3749     'extension': 'CHROMIUM_request_extension', |   3749     'extension': 'CHROMIUM_request_extension', | 
|   3750     'chromium': True, |   3750     'chromium': True, | 
|   3751   }, |   3751   }, | 
|   3752   'CreateStreamTextureCHROMIUM':  { |  | 
|   3753     'type': 'HandWritten', |  | 
|   3754     'impl_func': False, |  | 
|   3755     'gen_cmd': False, |  | 
|   3756     'extension': True, |  | 
|   3757     'chromium': True, |  | 
|   3758     'trace_level': 1, |  | 
|   3759   }, |  | 
|   3760   'TexImageIOSurface2DCHROMIUM': { |   3752   'TexImageIOSurface2DCHROMIUM': { | 
|   3761     'decoder_func': 'DoTexImageIOSurface2DCHROMIUM', |   3753     'decoder_func': 'DoTexImageIOSurface2DCHROMIUM', | 
|   3762     'unit_test': False, |   3754     'unit_test': False, | 
|   3763     'extension': True, |   3755     'extension': True, | 
|   3764     'chromium': True, |   3756     'chromium': True, | 
|   3765     'trace_level': 1, |   3757     'trace_level': 1, | 
|   3766   }, |   3758   }, | 
|   3767   'CopyTextureCHROMIUM': { |   3759   'CopyTextureCHROMIUM': { | 
|   3768     'decoder_func': 'DoCopyTextureCHROMIUM', |   3760     'decoder_func': 'DoCopyTextureCHROMIUM', | 
|   3769     'unit_test': False, |   3761     'unit_test': False, | 
| (...skipping 7259 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  11029   Format(gen.generated_cpp_filenames) |  11021   Format(gen.generated_cpp_filenames) | 
|  11030  |  11022  | 
|  11031   if gen.errors > 0: |  11023   if gen.errors > 0: | 
|  11032     print "%d errors" % gen.errors |  11024     print "%d errors" % gen.errors | 
|  11033     return 1 |  11025     return 1 | 
|  11034   return 0 |  11026   return 0 | 
|  11035  |  11027  | 
|  11036  |  11028  | 
|  11037 if __name__ == '__main__': |  11029 if __name__ == '__main__': | 
|  11038   sys.exit(main(sys.argv[1:])) |  11030   sys.exit(main(sys.argv[1:])) | 
| OLD | NEW |