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

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

Issue 2727573003: gpu: Add sync token dependencies to flush metadata. (Closed)
Patch Set: piman's review 2 Created 3 years, 9 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/command_buffer/client/context_support.h ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/client/gles2_implementation.h
diff --git a/gpu/command_buffer/client/gles2_implementation.h b/gpu/command_buffer/client/gles2_implementation.h
index a0f2d12259af4f9b0f78663c59f3d90d6b0f0ea7..25bbd9eb668b9439deab588341ca137fc02e6327 100644
--- a/gpu/command_buffer/client/gles2_implementation.h
+++ b/gpu/command_buffer/client/gles2_implementation.h
@@ -251,10 +251,14 @@ class GLES2_IMPL_EXPORT GLES2Implementation
// ContextSupport implementation.
void SignalSyncToken(const gpu::SyncToken& sync_token,
const base::Closure& callback) override;
- bool IsSyncTokenSignalled(const gpu::SyncToken& sync_token) override;
+ bool IsSyncTokenSignaled(const gpu::SyncToken& sync_token) override;
void SignalQuery(uint32_t query, const base::Closure& callback) override;
void SetAggressivelyFreeResources(bool aggressively_free_resources) override;
+ // Helper to set verified bit on sync token if allowed by gpu control.
+ bool GetVerifiedSyncTokenForIPC(const gpu::SyncToken& sync_token,
+ gpu::SyncToken* verified_sync_token);
+
// base::trace_event::MemoryDumpProvider implementation.
bool OnMemoryDump(const base::trace_event::MemoryDumpArgs& args,
base::trace_event::ProcessMemoryDump* pmd) override;
« no previous file with comments | « gpu/command_buffer/client/context_support.h ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698