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

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

Issue 2945673002: Allow creating GLImage-backed textures with glTexStorage2D. (Closed)
Patch Set: rebase Created 3 years, 4 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/gl2extchromium.h ('k') | gpu/command_buffer/common/capabilities.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 1034 matching lines...) Expand 10 before | Expand all | Expand 10 after
1045 ], 1045 ],
1046 'valid_es3': [ 1046 'valid_es3': [
1047 'GL_TEXTURE_3D', 1047 'GL_TEXTURE_3D',
1048 'GL_TEXTURE_2D_ARRAY', 1048 'GL_TEXTURE_2D_ARRAY',
1049 ], 1049 ],
1050 'invalid': [ 1050 'invalid': [
1051 'GL_TEXTURE_1D', 1051 'GL_TEXTURE_1D',
1052 'GL_TEXTURE_3D', 1052 'GL_TEXTURE_3D',
1053 ], 1053 ],
1054 }, 1054 },
1055 'TextureBufferUsage': {
1056 'type': 'GLenum',
1057 'is_complete': True,
1058 'valid': [
1059 'GL_NONE',
1060 'GL_TEXTURE_BUFFER_SCANOUT_CHROMIUM',
1061 ],
1062 },
1055 'TransformFeedbackBindTarget': { 1063 'TransformFeedbackBindTarget': {
1056 'type': 'GLenum', 1064 'type': 'GLenum',
1057 'valid': [ 1065 'valid': [
1058 'GL_TRANSFORM_FEEDBACK', 1066 'GL_TRANSFORM_FEEDBACK',
1059 ], 1067 ],
1060 'invalid': [ 1068 'invalid': [
1061 'GL_TEXTURE_2D', 1069 'GL_TEXTURE_2D',
1062 ], 1070 ],
1063 }, 1071 },
1064 'TransformFeedbackPrimitiveMode': { 1072 'TransformFeedbackPrimitiveMode': {
(...skipping 10248 matching lines...) Expand 10 before | Expand all | Expand 10 after
11313 Format(gen.generated_cpp_filenames) 11321 Format(gen.generated_cpp_filenames)
11314 11322
11315 if gen.errors > 0: 11323 if gen.errors > 0:
11316 print "%d errors" % gen.errors 11324 print "%d errors" % gen.errors
11317 return 1 11325 return 1
11318 return 0 11326 return 0
11319 11327
11320 11328
11321 if __name__ == '__main__': 11329 if __name__ == '__main__':
11322 sys.exit(main(sys.argv[1:])) 11330 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « gpu/GLES2/gl2extchromium.h ('k') | gpu/command_buffer/common/capabilities.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698