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

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

Issue 1684343002: Upgrade TexSubImage3D and TexStorage3D. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
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 3694 matching lines...) Expand 10 before | Expand all | Expand 10 after
3705 'TexParameteriv': { 3705 'TexParameteriv': {
3706 'type': 'PUT', 3706 'type': 'PUT',
3707 'data_value': 'GL_NEAREST', 3707 'data_value': 'GL_NEAREST',
3708 'count': 1, 3708 'count': 1,
3709 'decoder_func': 'DoTexParameteriv', 3709 'decoder_func': 'DoTexParameteriv',
3710 'gl_test_func': 'glTexParameteri', 3710 'gl_test_func': 'glTexParameteri',
3711 'first_element_only': True, 3711 'first_element_only': True,
3712 }, 3712 },
3713 'TexStorage3D': { 3713 'TexStorage3D': {
3714 'unsafe': True, 3714 'unsafe': True,
3715 'unit_test': False,
3716 'decoder_func': 'DoTexStorage3D',
3715 'trace_level': 2, 3717 'trace_level': 2,
3716 }, 3718 },
3717 'TexSubImage2D': { 3719 'TexSubImage2D': {
3718 'type': 'Manual', 3720 'type': 'Manual',
3719 'data_transfer_methods': ['shm'], 3721 'data_transfer_methods': ['shm'],
3720 'client_test': False, 3722 'client_test': False,
3721 'trace_level': 2, 3723 'trace_level': 2,
3722 'cmd_args': 'GLenumTextureTarget target, GLint level, ' 3724 'cmd_args': 'GLenumTextureTarget target, GLint level, '
3723 'GLint xoffset, GLint yoffset, ' 3725 'GLint xoffset, GLint yoffset, '
3724 'GLsizei width, GLsizei height, ' 3726 'GLsizei width, GLsizei height, '
(...skipping 7801 matching lines...) Expand 10 before | Expand all | Expand 10 after
11526 Format(gen.generated_cpp_filenames) 11528 Format(gen.generated_cpp_filenames)
11527 11529
11528 if gen.errors > 0: 11530 if gen.errors > 0:
11529 print "%d errors" % gen.errors 11531 print "%d errors" % gen.errors
11530 return 1 11532 return 1
11531 return 0 11533 return 0
11532 11534
11533 11535
11534 if __name__ == '__main__': 11536 if __name__ == '__main__':
11535 sys.exit(main(sys.argv[1:])) 11537 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « content/test/gpu/gpu_tests/webgl2_conformance_expectations.py ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698