Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(438)

Side by Side Diff: gpu/command_buffer/build_gles2_cmd_buffer.py

Issue 1136713003: Add ES3 commands GetVertexAttribI{u}iv to GPU command buffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gpu/GLES2/gl2chromium_autogen.h ('k') | gpu/command_buffer/client/gles2_c_lib_autogen.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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:]))
OLDNEW
« no previous file with comments | « gpu/GLES2/gl2chromium_autogen.h ('k') | gpu/command_buffer/client/gles2_c_lib_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698