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

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

Issue 255713008: Change glimage to accept a type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 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 | Annotate | Revision Log
« no previous file with comments | « gpu/GLES2/gl2extchromium.h ('k') | gpu/command_buffer/client/client_test_helper.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 1387 matching lines...) Expand 10 before | Expand all | Expand 10 after
1398 'decoder_func': 'DoCopyTexImage2D', 1398 'decoder_func': 'DoCopyTexImage2D',
1399 'unit_test': False, 1399 'unit_test': False,
1400 'defer_reads': True, 1400 'defer_reads': True,
1401 }, 1401 },
1402 'CopyTexSubImage2D': { 1402 'CopyTexSubImage2D': {
1403 'decoder_func': 'DoCopyTexSubImage2D', 1403 'decoder_func': 'DoCopyTexSubImage2D',
1404 'defer_reads': True, 1404 'defer_reads': True,
1405 }, 1405 },
1406 'CreateImageCHROMIUM': { 1406 'CreateImageCHROMIUM': {
1407 'type': 'Manual', 1407 'type': 'Manual',
1408 'cmd_args': 'GLsizei width, GLsizei height, GLenum internalformat', 1408 'cmd_args':
1409 'GLsizei width, GLsizei height, GLenum internalformat, GLenum usage',
1409 'result': ['GLuint'], 1410 'result': ['GLuint'],
1410 'client_test': False, 1411 'client_test': False,
1411 'gen_cmd': False, 1412 'gen_cmd': False,
1412 'expectation': False, 1413 'expectation': False,
1413 'extension': True, 1414 'extension': True,
1414 'chromium': True, 1415 'chromium': True,
1415 }, 1416 },
1416 'DestroyImageCHROMIUM': { 1417 'DestroyImageCHROMIUM': {
1417 'type': 'Manual', 1418 'type': 'Manual',
1418 'immediate': False, 1419 'immediate': False,
(...skipping 6646 matching lines...) Expand 10 before | Expand all | Expand 10 after
8065 "ppapi/shared_impl/ppb_opengles2_shared.cc"]) 8066 "ppapi/shared_impl/ppb_opengles2_shared.cc"])
8066 8067
8067 if gen.errors > 0: 8068 if gen.errors > 0:
8068 print "%d errors" % gen.errors 8069 print "%d errors" % gen.errors
8069 return 1 8070 return 1
8070 return 0 8071 return 0
8071 8072
8072 8073
8073 if __name__ == '__main__': 8074 if __name__ == '__main__':
8074 sys.exit(main(sys.argv[1:])) 8075 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « gpu/GLES2/gl2extchromium.h ('k') | gpu/command_buffer/client/client_test_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698