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

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

Issue 298753004: Fix an early return and the error status in glLoseContextCHROMIUM impl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cmd-buffer-missing-early-returns
Patch Set: 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
« no previous file with comments | « no previous file | gpu/command_buffer/client/gles2_implementation_impl_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 itertools 8 import itertools
9 import os 9 import os
10 import os.path 10 import os.path
(...skipping 2522 matching lines...) Expand 10 before | Expand all | Expand 10 after
2533 'type': 'PUTn', 2533 'type': 'PUTn',
2534 'count': 1, 2534 'count': 1,
2535 'cmd_args': 'GLenum target, GLsizei count, ' 2535 'cmd_args': 'GLenum target, GLsizei count, '
2536 'const GLenum* attachments', 2536 'const GLenum* attachments',
2537 'decoder_func': 'DoDiscardFramebufferEXT', 2537 'decoder_func': 'DoDiscardFramebufferEXT',
2538 'unit_test': False, 2538 'unit_test': False,
2539 'client_test': False, 2539 'client_test': False,
2540 'extension_flag': 'ext_discard_framebuffer', 2540 'extension_flag': 'ext_discard_framebuffer',
2541 }, 2541 },
2542 'LoseContextCHROMIUM': { 2542 'LoseContextCHROMIUM': {
2543 'type': 'Manual', 2543 'decoder_func': 'DoLoseContextCHROMIUM',
2544 'impl_func': True, 2544 'unit_test': False,
2545 'extension': True, 2545 'extension': True,
2546 'chromium': True, 2546 'chromium': True,
2547 }, 2547 },
2548 'InsertSyncPointCHROMIUM': { 2548 'InsertSyncPointCHROMIUM': {
2549 'type': 'HandWritten', 2549 'type': 'HandWritten',
2550 'impl_func': False, 2550 'impl_func': False,
2551 'extension': True, 2551 'extension': True,
2552 'chromium': True, 2552 'chromium': True,
2553 }, 2553 },
2554 'WaitSyncPointCHROMIUM': { 2554 'WaitSyncPointCHROMIUM': {
(...skipping 5782 matching lines...) Expand 10 before | Expand all | Expand 10 after
8337 "ppapi/shared_impl/ppb_opengles2_shared.cc"]) 8337 "ppapi/shared_impl/ppb_opengles2_shared.cc"])
8338 8338
8339 if gen.errors > 0: 8339 if gen.errors > 0:
8340 print "%d errors" % gen.errors 8340 print "%d errors" % gen.errors
8341 return 1 8341 return 1
8342 return 0 8342 return 0
8343 8343
8344 8344
8345 if __name__ == '__main__': 8345 if __name__ == '__main__':
8346 sys.exit(main(sys.argv[1:])) 8346 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « no previous file | gpu/command_buffer/client/gles2_implementation_impl_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698