Index: content/common/gpu/client/gl_helper.h |
diff --git a/content/common/gpu/client/gl_helper.h b/content/common/gpu/client/gl_helper.h |
index 828097d6f5ebc2a7eb622ac06d809874c67215db..c8224d4577f6625cab770db0c7e0b15f55dcb01c 100644 |
--- a/content/common/gpu/client/gl_helper.h |
+++ b/content/common/gpu/client/gl_helper.h |
@@ -247,6 +247,9 @@ class CONTENT_EXPORT GLHelper { |
// Insert a sync point into the GL command buffer. |
uint32 InsertSyncPoint(); |
+ // Inserts a fence sync, flushes, and generates a sync token. |
+ void GenerateSyncToken(gpu::SyncToken* sync_token); |
+ |
// Wait for the sync token before executing further GL commands. |
void WaitSyncToken(const gpu::SyncToken& sync_token); |