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

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

Issue 2000923002: Only allow TexStorage2DEXT if we expose the extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments, build fixes Created 4 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 | « no previous file | gpu/command_buffer/service/feature_info.cc » ('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 4050 matching lines...) Expand 10 before | Expand all | Expand 10 after
4061 }, 4061 },
4062 'CompressedCopyTextureCHROMIUM': { 4062 'CompressedCopyTextureCHROMIUM': {
4063 'decoder_func': 'DoCompressedCopyTextureCHROMIUM', 4063 'decoder_func': 'DoCompressedCopyTextureCHROMIUM',
4064 'unit_test': False, 4064 'unit_test': False,
4065 'extension': 'CHROMIUM_copy_compressed_texture', 4065 'extension': 'CHROMIUM_copy_compressed_texture',
4066 'chromium': True, 4066 'chromium': True,
4067 }, 4067 },
4068 'TexStorage2DEXT': { 4068 'TexStorage2DEXT': {
4069 'unit_test': False, 4069 'unit_test': False,
4070 'extension': 'EXT_texture_storage', 4070 'extension': 'EXT_texture_storage',
4071 'extension_flag': 'ext_texture_storage',
4071 'decoder_func': 'DoTexStorage2DEXT', 4072 'decoder_func': 'DoTexStorage2DEXT',
4072 'trace_level': 2, 4073 'trace_level': 2,
4073 }, 4074 },
4074 'DrawArraysInstancedANGLE': { 4075 'DrawArraysInstancedANGLE': {
4075 'type': 'Manual', 4076 'type': 'Manual',
4076 'cmd_args': 'GLenumDrawMode mode, GLint first, GLsizei count, ' 4077 'cmd_args': 'GLenumDrawMode mode, GLint first, GLsizei count, '
4077 'GLsizei primcount', 4078 'GLsizei primcount',
4078 'extension': 'ANGLE_instanced_arrays', 4079 'extension': 'ANGLE_instanced_arrays',
4079 'unit_test': False, 4080 'unit_test': False,
4080 'pepper_interface': 'InstancedArrays', 4081 'pepper_interface': 'InstancedArrays',
(...skipping 7450 matching lines...) Expand 10 before | Expand all | Expand 10 after
11531 Format(gen.generated_cpp_filenames) 11532 Format(gen.generated_cpp_filenames)
11532 11533
11533 if gen.errors > 0: 11534 if gen.errors > 0:
11534 print "%d errors" % gen.errors 11535 print "%d errors" % gen.errors
11535 return 1 11536 return 1
11536 return 0 11537 return 0
11537 11538
11538 11539
11539 if __name__ == '__main__': 11540 if __name__ == '__main__':
11540 sys.exit(main(sys.argv[1:])) 11541 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « no previous file | gpu/command_buffer/service/feature_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698