| 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 2681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2692 'result': ['SizedResult<GLfloat>'], | 2692 'result': ['SizedResult<GLfloat>'], |
| 2693 'decoder_func': 'DoGetFloatv', | 2693 'decoder_func': 'DoGetFloatv', |
| 2694 'gl_test_func': 'glGetFloatv', | 2694 'gl_test_func': 'glGetFloatv', |
| 2695 }, | 2695 }, |
| 2696 'GetFramebufferAttachmentParameteriv': { | 2696 'GetFramebufferAttachmentParameteriv': { |
| 2697 'type': 'GETn', | 2697 'type': 'GETn', |
| 2698 'decoder_func': 'DoGetFramebufferAttachmentParameteriv', | 2698 'decoder_func': 'DoGetFramebufferAttachmentParameteriv', |
| 2699 'gl_test_func': 'glGetFramebufferAttachmentParameterivEXT', | 2699 'gl_test_func': 'glGetFramebufferAttachmentParameterivEXT', |
| 2700 'result': ['SizedResult<GLint>'], | 2700 'result': ['SizedResult<GLint>'], |
| 2701 }, | 2701 }, |
| 2702 'GetGraphicsResetStatusKHR': { |
| 2703 'extension': True, |
| 2704 'client_test': False, |
| 2705 'gen_cmd': False, |
| 2706 'trace_level': 1, |
| 2707 }, |
| 2702 'GetInteger64v': { | 2708 'GetInteger64v': { |
| 2703 'type': 'GETn', | 2709 'type': 'GETn', |
| 2704 'result': ['SizedResult<GLint64>'], | 2710 'result': ['SizedResult<GLint64>'], |
| 2705 'client_test': False, | 2711 'client_test': False, |
| 2706 'decoder_func': 'DoGetInteger64v', | 2712 'decoder_func': 'DoGetInteger64v', |
| 2707 'unsafe': True | 2713 'unsafe': True |
| 2708 }, | 2714 }, |
| 2709 'GetIntegerv': { | 2715 'GetIntegerv': { |
| 2710 'type': 'GETn', | 2716 'type': 'GETn', |
| 2711 'result': ['SizedResult<GLint>'], | 2717 'result': ['SizedResult<GLint>'], |
| (...skipping 8359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11071 Format(gen.generated_cpp_filenames) | 11077 Format(gen.generated_cpp_filenames) |
| 11072 | 11078 |
| 11073 if gen.errors > 0: | 11079 if gen.errors > 0: |
| 11074 print "%d errors" % gen.errors | 11080 print "%d errors" % gen.errors |
| 11075 return 1 | 11081 return 1 |
| 11076 return 0 | 11082 return 0 |
| 11077 | 11083 |
| 11078 | 11084 |
| 11079 if __name__ == '__main__': | 11085 if __name__ == '__main__': |
| 11080 sys.exit(main(sys.argv[1:])) | 11086 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |