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 2900 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2911 'client_test': False, | 2911 'client_test': False, |
2912 }, | 2912 }, |
2913 'GetVertexAttribiv': { | 2913 'GetVertexAttribiv': { |
2914 'type': 'GETn', | 2914 'type': 'GETn', |
2915 'result': ['SizedResult<GLint>'], | 2915 'result': ['SizedResult<GLint>'], |
2916 'impl_decl': False, | 2916 'impl_decl': False, |
2917 'decoder_func': 'DoGetVertexAttribiv', | 2917 'decoder_func': 'DoGetVertexAttribiv', |
2918 'expectation': False, | 2918 'expectation': False, |
2919 'client_test': False, | 2919 'client_test': False, |
2920 }, | 2920 }, |
| 2921 'GetVertexAttribIiv': { |
| 2922 'type': 'GETn', |
| 2923 'result': ['SizedResult<GLint>'], |
| 2924 'impl_decl': False, |
| 2925 'decoder_func': 'DoGetVertexAttribIiv', |
| 2926 'expectation': False, |
| 2927 'client_test': False, |
| 2928 'unsafe': True, |
| 2929 }, |
| 2930 'GetVertexAttribIuiv': { |
| 2931 'type': 'GETn', |
| 2932 'result': ['SizedResult<GLuint>'], |
| 2933 'impl_decl': False, |
| 2934 'decoder_func': 'DoGetVertexAttribIuiv', |
| 2935 'expectation': False, |
| 2936 'client_test': False, |
| 2937 'unsafe': True, |
| 2938 }, |
2921 'GetVertexAttribPointerv': { | 2939 'GetVertexAttribPointerv': { |
2922 'type': 'Custom', | 2940 'type': 'Custom', |
2923 'data_transfer_methods': ['shm'], | 2941 'data_transfer_methods': ['shm'], |
2924 'result': ['SizedResult<GLuint>'], | 2942 'result': ['SizedResult<GLuint>'], |
2925 'client_test': False, | 2943 'client_test': False, |
2926 }, | 2944 }, |
2927 'InvalidateFramebuffer': { | 2945 'InvalidateFramebuffer': { |
2928 'type': 'PUTn', | 2946 'type': 'PUTn', |
2929 'count': 1, | 2947 'count': 1, |
2930 'client_test': False, | 2948 'client_test': False, |
(...skipping 8071 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11002 Format(gen.generated_cpp_filenames) | 11020 Format(gen.generated_cpp_filenames) |
11003 | 11021 |
11004 if gen.errors > 0: | 11022 if gen.errors > 0: |
11005 print "%d errors" % gen.errors | 11023 print "%d errors" % gen.errors |
11006 return 1 | 11024 return 1 |
11007 return 0 | 11025 return 0 |
11008 | 11026 |
11009 | 11027 |
11010 if __name__ == '__main__': | 11028 if __name__ == '__main__': |
11011 sys.exit(main(sys.argv[1:])) | 11029 sys.exit(main(sys.argv[1:])) |
OLD | NEW |