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

Unified 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 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/BUILD.gn ('k') | gpu/GLES2/gl2chromium_autogen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/GLES2/extensions/CHROMIUM/CHROMIUM_sync_point.txt
diff --git a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_sync_point.txt b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_sync_point.txt
index 9f1863cc0052467d5ac845a07ef50048bbfad68e..80df38ecbdfd91ab030c7a7c4586fc228ea27ff5 100644
--- a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_sync_point.txt
+++ b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_sync_point.txt
@@ -41,7 +41,7 @@ New Procedures and Functions
The command
- uint InsertFenceSyncCHROMIUM()
+ uint64 InsertFenceSyncCHROMIUM()
inserts a fence sync in the current command stream. The fence sync is
signaled when previous commands have been submitted to the server, or when
@@ -53,7 +53,7 @@ New Procedures and Functions
The command
- void GenSyncTokenCHROMIUM(uint fence_sync, GLbyte *sync_token)
+ void GenSyncTokenCHROMIUM(uint64 fence_sync, GLbyte *sync_token)
converts <fence_sync> which is only visible to the current context to a
sync token which may be waited upon by any contexts on the same server.
@@ -67,7 +67,7 @@ New Procedures and Functions
The command
- void WaitSyncTokenCHROMIUM(GLbyte *sync_token)
+ void WaitSyncTokenCHROMIUM(const GLbyte *sync_token)
causes the current context to stop submitting commands until the specified
fence sync becomes signaled. This is implemented as a server-side wait.
@@ -79,7 +79,7 @@ New Tokens
The size of a sync token name in bytes.
- GL_SYNC_TOKEN_SIZE_CHROMIUM 12
+ GL_SYNC_TOKEN_SIZE_CHROMIUM 24
Errors
« no previous file with comments | « gpu/BUILD.gn ('k') | gpu/GLES2/gl2chromium_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698