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

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

Issue 10735038: Fix glGetTexParameter so it works for TEXTURE_CUBE_MAP (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | gpu/command_buffer/common/gles2_cmd_utils_implementation_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 os 8 import os
9 import os.path 9 import os.path
10 import sys 10 import sys
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 'GL_VIEWPORT', 206 'GL_VIEWPORT',
207 ], 207 ],
208 'invalid': [ 208 'invalid': [
209 'GL_FOG_HINT', 209 'GL_FOG_HINT',
210 ], 210 ],
211 }, 211 },
212 'GetTexParamTarget': { 212 'GetTexParamTarget': {
213 'type': 'GLenum', 213 'type': 'GLenum',
214 'valid': [ 214 'valid': [
215 'GL_TEXTURE_2D', 215 'GL_TEXTURE_2D',
216 'GL_TEXTURE_CUBE_MAP_POSITIVE_X', 216 'GL_TEXTURE_CUBE_MAP',
217 'GL_TEXTURE_CUBE_MAP_NEGATIVE_X',
218 'GL_TEXTURE_CUBE_MAP_POSITIVE_Y',
219 'GL_TEXTURE_CUBE_MAP_NEGATIVE_Y',
220 'GL_TEXTURE_CUBE_MAP_POSITIVE_Z',
221 'GL_TEXTURE_CUBE_MAP_NEGATIVE_Z',
222 ], 217 ],
223 'invalid': [ 218 'invalid': [
224 'GL_PROXY_TEXTURE_CUBE_MAP', 219 'GL_PROXY_TEXTURE_CUBE_MAP',
225 ] 220 ]
226 }, 221 },
227 'TextureTarget': { 222 'TextureTarget': {
228 'type': 'GLenum', 223 'type': 'GLenum',
229 'valid': [ 224 'valid': [
230 'GL_TEXTURE_2D', 225 'GL_TEXTURE_2D',
231 'GL_TEXTURE_CUBE_MAP_POSITIVE_X', 226 'GL_TEXTURE_CUBE_MAP_POSITIVE_X',
(...skipping 6041 matching lines...) Expand 10 before | Expand all | Expand 10 after
6273 gen.WriteCommonUtilsImpl("common/gles2_cmd_utils_implementation_autogen.h") 6268 gen.WriteCommonUtilsImpl("common/gles2_cmd_utils_implementation_autogen.h")
6274 6269
6275 if gen.errors > 0: 6270 if gen.errors > 0:
6276 print "%d errors" % gen.errors 6271 print "%d errors" % gen.errors
6277 return 1 6272 return 1
6278 return 0 6273 return 0
6279 6274
6280 6275
6281 if __name__ == '__main__': 6276 if __name__ == '__main__':
6282 sys.exit(main(sys.argv[1:])) 6277 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « no previous file | gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698