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

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

Issue 1752703003: Fix transform feedback bugs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix error msg Created 4 years, 9 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/client/gles2_implementation.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 2380 matching lines...) Expand 10 before | Expand all | Expand 10 after
2391 }, 2391 },
2392 'BindBuffer': { 2392 'BindBuffer': {
2393 'type': 'Bind', 2393 'type': 'Bind',
2394 'decoder_func': 'DoBindBuffer', 2394 'decoder_func': 'DoBindBuffer',
2395 'gen_func': 'GenBuffersARB', 2395 'gen_func': 'GenBuffersARB',
2396 }, 2396 },
2397 'BindBufferBase': { 2397 'BindBufferBase': {
2398 'type': 'Bind', 2398 'type': 'Bind',
2399 'decoder_func': 'DoBindBufferBase', 2399 'decoder_func': 'DoBindBufferBase',
2400 'gen_func': 'GenBuffersARB', 2400 'gen_func': 'GenBuffersARB',
2401 'unit_test': False,
2401 'unsafe': True, 2402 'unsafe': True,
2402 }, 2403 },
2403 'BindBufferRange': { 2404 'BindBufferRange': {
2404 'type': 'Bind', 2405 'type': 'Bind',
2405 'decoder_func': 'DoBindBufferRange', 2406 'decoder_func': 'DoBindBufferRange',
2406 'gen_func': 'GenBuffersARB', 2407 'gen_func': 'GenBuffersARB',
2407 'valid_args': { 2408 'valid_args': {
2408 '3': '4', 2409 '3': '4',
2409 '4': '4' 2410 '4': '4'
2410 }, 2411 },
(...skipping 9117 matching lines...) Expand 10 before | Expand all | Expand 10 after
11528 Format(gen.generated_cpp_filenames) 11529 Format(gen.generated_cpp_filenames)
11529 11530
11530 if gen.errors > 0: 11531 if gen.errors > 0:
11531 print "%d errors" % gen.errors 11532 print "%d errors" % gen.errors
11532 return 1 11533 return 1
11533 return 0 11534 return 0
11534 11535
11535 11536
11536 if __name__ == '__main__': 11537 if __name__ == '__main__':
11537 sys.exit(main(sys.argv[1:])) 11538 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « no previous file | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698