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

Unified Diff: gpu/command_buffer/client/context_support.h

Issue 2550583002: gpu: Thread-safe command buffer state lookup. (Closed)
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/client/context_support.h
diff --git a/gpu/command_buffer/client/context_support.h b/gpu/command_buffer/client/context_support.h
index c2d71734144a74fa9099779e882138c33643e452..9c38e0288d85499402eb764167d583251f16266d 100644
--- a/gpu/command_buffer/client/context_support.h
+++ b/gpu/command_buffer/client/context_support.h
@@ -25,6 +25,8 @@ class ContextSupport {
virtual void SignalSyncToken(const SyncToken& sync_token,
const base::Closure& callback) = 0;
+ virtual bool IsFenceSyncReleased(uint64_t release_count) = 0;
+
// Runs |callback| when a query created via glCreateQueryEXT() has cleared
// passed the glEndQueryEXT() point.
virtual void SignalQuery(uint32_t query, const base::Closure& callback) = 0;

Powered by Google App Engine
This is Rietveld 408576698