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

Side by Side Diff: gpu/GLES2/extensions/CHROMIUM/CHROMIUM_sync_point.txt

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 some unnecesary changes, fixed some small issues Created 5 years, 3 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 Name 1 Name
2 2
3 CHROMIUM_sync_point 3 CHROMIUM_sync_point
4 4
5 Name Strings 5 Name Strings
6 6
7 GL_CHROMIUM_sync_point 7 GL_CHROMIUM_sync_point
8 8
9 Version 9 Version
10 10
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 The <fence_sync> command must be flushed before this function may be 60 The <fence_sync> command must be flushed before this function may be
61 called, otherwise an INVALID_OPERATION error is generated. The generated 61 called, otherwise an INVALID_OPERATION error is generated. The generated
62 <sync_token> must be generated on the same context as when 62 <sync_token> must be generated on the same context as when
63 InsertSyncPointCHROMIUM was called. The <sync_token> can be passed and 63 InsertSyncPointCHROMIUM was called. The <sync_token> can be passed and
64 used by any context on the same server, including other context groups. 64 used by any context on the same server, including other context groups.
65 65
66 <sync_token> returns a GL_SYNC_POINT_SIZE_CHROMIUM byte sized name. 66 <sync_token> returns a GL_SYNC_POINT_SIZE_CHROMIUM byte sized name.
67 67
68 The command 68 The command
69 69
70 void WaitSyncTokenCHROMIUM(GLbyte *sync_token) 70 void WaitSyncTokenCHROMIUM(const GLbyte *sync_token)
71 71
72 causes the current context to stop submitting commands until the specified 72 causes the current context to stop submitting commands until the specified
73 fence sync becomes signaled. This is implemented as a server-side wait. 73 fence sync becomes signaled. This is implemented as a server-side wait.
74 <sync_token> is a sync token generated by GenSyncPointCHROMIUM. If 74 <sync_token> is a sync token generated by GenSyncPointCHROMIUM. If
75 <sync_token> isn't a valid sync token returned by GenSyncPointCHROMIUM, the 75 <sync_token> isn't a valid sync token returned by GenSyncPointCHROMIUM, the
76 command is equivalent to a no-op and no error is generated. 76 command is equivalent to a no-op and no error is generated.
77 77
78 New Tokens 78 New Tokens
79 79
80 The size of a sync token name in bytes. 80 The size of a sync token name in bytes.
(...skipping 11 matching lines...) Expand all
92 New State 92 New State
93 93
94 None. 94 None.
95 95
96 Revision History 96 Revision History
97 97
98 2/25/2013 Documented the extension 98 2/25/2013 Documented the extension
99 99
100 9/8/2015 Modified functions to InsertFenceSyncCHROMIUM, 100 9/8/2015 Modified functions to InsertFenceSyncCHROMIUM,
101 GenSyncTokenCHROMIUM, and WaitSyncTokenCHROMIUM. 101 GenSyncTokenCHROMIUM, and WaitSyncTokenCHROMIUM.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698