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

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

Issue 12210129: gpu: Add the ability to wait on upload completion. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added entry point for waiting. Rebased and added test. Created 7 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
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 2278 matching lines...) Expand 10 before | Expand all | Expand 10 after
2289 'extension': True, 2289 'extension': True,
2290 'chromium': True, 2290 'chromium': True,
2291 }, 2291 },
2292 'AsyncTexSubImage2DCHROMIUM': { 2292 'AsyncTexSubImage2DCHROMIUM': {
2293 'type': 'Manual', 2293 'type': 'Manual',
2294 'immediate': False, 2294 'immediate': False,
2295 'client_test': False, 2295 'client_test': False,
2296 'extension': True, 2296 'extension': True,
2297 'chromium': True, 2297 'chromium': True,
2298 }, 2298 },
2299 'WaitAsyncTexImage2DCHROMIUM': {
2300 'type': 'Manual',
2301 'immediate': False,
2302 'client_test': False,
2303 'extension': True,
2304 'chromium': True,
2305 },
2299 'DiscardFramebufferEXT': { 2306 'DiscardFramebufferEXT': {
2300 'type': 'PUTn', 2307 'type': 'PUTn',
2301 'count': 1, 2308 'count': 1,
2302 'data_type': 'GLenum', 2309 'data_type': 'GLenum',
2303 'cmd_args': 'GLenum target, GLsizei count, ' 2310 'cmd_args': 'GLenum target, GLsizei count, '
2304 'const GLenum* attachments', 2311 'const GLenum* attachments',
2305 'decoder_func': 'DoDiscardFramebufferEXT', 2312 'decoder_func': 'DoDiscardFramebufferEXT',
2306 'unit_test': False, 2313 'unit_test': False,
2307 'client_test': False, 2314 'client_test': False,
2308 'extension': True, 2315 'extension': True,
(...skipping 5264 matching lines...) Expand 10 before | Expand all | Expand 10 after
7573 gen.WriteGLES2Header("../GLES2/gl2chromium_autogen.h") 7580 gen.WriteGLES2Header("../GLES2/gl2chromium_autogen.h")
7574 7581
7575 if gen.errors > 0: 7582 if gen.errors > 0:
7576 print "%d errors" % gen.errors 7583 print "%d errors" % gen.errors
7577 return 1 7584 return 1
7578 return 0 7585 return 0
7579 7586
7580 7587
7581 if __name__ == '__main__': 7588 if __name__ == '__main__':
7582 sys.exit(main(sys.argv[1:])) 7589 sys.exit(main(sys.argv[1:]))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698