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

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

Issue 1331843005: Implemented new fence syncs which replaces the old sync points. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reverted mojo readme, changed wait() to take a pointer Created 5 years, 2 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 | « 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 4072 matching lines...) Expand 10 before | Expand all | Expand 10 after
4083 'chromium': True, 4083 'chromium': True,
4084 'trace_level': 1, 4084 'trace_level': 1,
4085 }, 4085 },
4086 'WaitSyncPointCHROMIUM': { 4086 'WaitSyncPointCHROMIUM': {
4087 'type': 'Custom', 4087 'type': 'Custom',
4088 'impl_func': True, 4088 'impl_func': True,
4089 'extension': "CHROMIUM_sync_point", 4089 'extension': "CHROMIUM_sync_point",
4090 'chromium': True, 4090 'chromium': True,
4091 'trace_level': 1, 4091 'trace_level': 1,
4092 }, 4092 },
4093 'InsertFenceSyncCHROMIUM': {
4094 'type': 'Custom',
4095 'impl_func': False,
4096 'cmd_args': 'GLuint64 release_count',
4097 'extension': "CHROMIUM_sync_point",
4098 'chromium': True,
4099 'trace_level': 1,
4100 },
4101 'GenSyncTokenCHROMIUM': {
4102 'type': 'Custom',
4103 'impl_func': False,
4104 'extension': "CHROMIUM_sync_point",
4105 'chromium': True,
4106 },
4107 'WaitSyncTokenCHROMIUM': {
4108 'type': 'Custom',
4109 'impl_func': False,
4110 'cmd_args': 'GLuint namespace_id, '
4111 'GLuint64 command_buffer_id, '
4112 'GLuint64 release_count',
4113 'client_test': False,
4114 'extension': "CHROMIUM_sync_point",
4115 'chromium': True,
4116 },
4093 'DiscardBackbufferCHROMIUM': { 4117 'DiscardBackbufferCHROMIUM': {
4094 'type': 'Custom', 4118 'type': 'Custom',
4095 'impl_func': True, 4119 'impl_func': True,
4096 'extension': True, 4120 'extension': True,
4097 'chromium': True, 4121 'chromium': True,
4098 'trace_level': 2, 4122 'trace_level': 2,
4099 }, 4123 },
4100 'ScheduleOverlayPlaneCHROMIUM': { 4124 'ScheduleOverlayPlaneCHROMIUM': {
4101 'type': 'Custom', 4125 'type': 'Custom',
4102 'impl_func': True, 4126 'impl_func': True,
(...skipping 6904 matching lines...) Expand 10 before | Expand all | Expand 10 after
11007 Format(gen.generated_cpp_filenames) 11031 Format(gen.generated_cpp_filenames)
11008 11032
11009 if gen.errors > 0: 11033 if gen.errors > 0:
11010 print "%d errors" % gen.errors 11034 print "%d errors" % gen.errors
11011 return 1 11035 return 1
11012 return 0 11036 return 0
11013 11037
11014 11038
11015 if __name__ == '__main__': 11039 if __name__ == '__main__':
11016 sys.exit(main(sys.argv[1:])) 11040 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