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

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

Issue 2456213002: WebVR: implement SetSurfaceHandleCHROMIUM extension for gvr_device.
Patch Set: Rebase, set dependency. Created 3 years, 11 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 3601 matching lines...) Expand 10 before | Expand all | Expand 10 after
3612 }, 3612 },
3613 'SamplerParameteriv': { 3613 'SamplerParameteriv': {
3614 'type': 'PUT', 3614 'type': 'PUT',
3615 'data_value': 'GL_NEAREST', 3615 'data_value': 'GL_NEAREST',
3616 'count': 1, 3616 'count': 1,
3617 'gl_test_func': 'glSamplerParameteri', 3617 'gl_test_func': 'glSamplerParameteri',
3618 'decoder_func': 'DoSamplerParameteriv', 3618 'decoder_func': 'DoSamplerParameteriv',
3619 'first_element_only': True, 3619 'first_element_only': True,
3620 'es3': True, 3620 'es3': True,
3621 }, 3621 },
3622 'SetSurfaceHandleCHROMIUM': {
3623 'decoder_func': 'DoSetSurfaceHandleCHROMIUM',
3624 'unit_test': False,
3625 'client_test': False,
3626 'chromium': True,
3627 'extension': True,
3628 },
3622 'ShaderBinary': { 3629 'ShaderBinary': {
3623 'type': 'Custom', 3630 'type': 'Custom',
3624 'client_test': False, 3631 'client_test': False,
3625 }, 3632 },
3626 'ShaderSource': { 3633 'ShaderSource': {
3627 'type': 'PUTSTR', 3634 'type': 'PUTSTR',
3628 'decoder_func': 'DoShaderSource', 3635 'decoder_func': 'DoShaderSource',
3629 'expectation': False, 3636 'expectation': False,
3630 'data_transfer_methods': ['bucket'], 3637 'data_transfer_methods': ['bucket'],
3631 'cmd_args': 3638 'cmd_args':
(...skipping 7579 matching lines...) Expand 10 before | Expand all | Expand 10 after
11211 Format(gen.generated_cpp_filenames) 11218 Format(gen.generated_cpp_filenames)
11212 11219
11213 if gen.errors > 0: 11220 if gen.errors > 0:
11214 print "%d errors" % gen.errors 11221 print "%d errors" % gen.errors
11215 return 1 11222 return 1
11216 return 0 11223 return 0
11217 11224
11218 11225
11219 if __name__ == '__main__': 11226 if __name__ == '__main__':
11220 sys.exit(main(sys.argv[1:])) 11227 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