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

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

Issue 782583003: List sync points to wait on in AsyncFlush message Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 2744 matching lines...) Expand 10 before | Expand all | Expand 10 after
2755 'extension': True, 2755 'extension': True,
2756 'chromium': True, 2756 'chromium': True,
2757 }, 2757 },
2758 'InsertSyncPointCHROMIUM': { 2758 'InsertSyncPointCHROMIUM': {
2759 'type': 'HandWritten', 2759 'type': 'HandWritten',
2760 'impl_func': False, 2760 'impl_func': False,
2761 'extension': "CHROMIUM_sync_point", 2761 'extension': "CHROMIUM_sync_point",
2762 'chromium': True, 2762 'chromium': True,
2763 }, 2763 },
2764 'WaitSyncPointCHROMIUM': { 2764 'WaitSyncPointCHROMIUM': {
2765 'type': 'Custom', 2765 'gen_cmd': False,
2766 'impl_func': True, 2766 'type': 'HandWritten',
2767 'impl_func': False,
2767 'extension': "CHROMIUM_sync_point", 2768 'extension': "CHROMIUM_sync_point",
2768 'chromium': True, 2769 'chromium': True,
2769 'trace_level': 1, 2770 'trace_level': 1,
2770 }, 2771 },
2771 'DiscardBackbufferCHROMIUM': { 2772 'DiscardBackbufferCHROMIUM': {
2772 'type': 'Custom', 2773 'type': 'Custom',
2773 'impl_func': True, 2774 'impl_func': True,
2774 'extension': True, 2775 'extension': True,
2775 'chromium': True, 2776 'chromium': True,
2776 }, 2777 },
(...skipping 6099 matching lines...) Expand 10 before | Expand all | Expand 10 after
8876 Format(gen.generated_cpp_filenames) 8877 Format(gen.generated_cpp_filenames)
8877 8878
8878 if gen.errors > 0: 8879 if gen.errors > 0:
8879 print "%d errors" % gen.errors 8880 print "%d errors" % gen.errors
8880 return 1 8881 return 1
8881 return 0 8882 return 0
8882 8883
8883 8884
8884 if __name__ == '__main__': 8885 if __name__ == '__main__':
8885 sys.exit(main(sys.argv[1:])) 8886 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « content/renderer/pepper/ppb_graphics_3d_impl.cc ('k') | gpu/command_buffer/client/client_test_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698