| 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 3003 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3014 'chromium': True, | 3014 'chromium': True, |
| 3015 'client_test': False, | 3015 'client_test': False, |
| 3016 }, | 3016 }, |
| 3017 'ShallowFlushCHROMIUM': { | 3017 'ShallowFlushCHROMIUM': { |
| 3018 'impl_func': False, | 3018 'impl_func': False, |
| 3019 'gen_cmd': False, | 3019 'gen_cmd': False, |
| 3020 'extension': True, | 3020 'extension': True, |
| 3021 'chromium': True, | 3021 'chromium': True, |
| 3022 'client_test': False, | 3022 'client_test': False, |
| 3023 }, | 3023 }, |
| 3024 'ShallowShallowFlushCHROMIUM': { |
| 3025 'impl_func': False, |
| 3026 'gen_cmd': False, |
| 3027 'extension': True, |
| 3028 'chromium': True, |
| 3029 'client_test': False, |
| 3030 }, |
| 3024 'TraceBeginCHROMIUM': { | 3031 'TraceBeginCHROMIUM': { |
| 3025 'type': 'Custom', | 3032 'type': 'Custom', |
| 3026 'impl_func': False, | 3033 'impl_func': False, |
| 3027 'client_test': False, | 3034 'client_test': False, |
| 3028 'cmd_args': 'GLuint category_bucket_id, GLuint name_bucket_id', | 3035 'cmd_args': 'GLuint category_bucket_id, GLuint name_bucket_id', |
| 3029 'extension': True, | 3036 'extension': True, |
| 3030 'chromium': True, | 3037 'chromium': True, |
| 3031 }, | 3038 }, |
| 3032 'TraceEndCHROMIUM': { | 3039 'TraceEndCHROMIUM': { |
| 3033 'impl_func': False, | 3040 'impl_func': False, |
| (...skipping 7064 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10098 Format(gen.generated_cpp_filenames) | 10105 Format(gen.generated_cpp_filenames) |
| 10099 | 10106 |
| 10100 if gen.errors > 0: | 10107 if gen.errors > 0: |
| 10101 print "%d errors" % gen.errors | 10108 print "%d errors" % gen.errors |
| 10102 return 1 | 10109 return 1 |
| 10103 return 0 | 10110 return 0 |
| 10104 | 10111 |
| 10105 | 10112 |
| 10106 if __name__ == '__main__': | 10113 if __name__ == '__main__': |
| 10107 sys.exit(main(sys.argv[1:])) | 10114 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |