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

Unified Diff: components/mus/gles2/command_buffer_local.h

Issue 1610783002: mustash: gpu: implement SignalQuery in CommandBufferLocal (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Run SignalQuery's callback on the client thread. Created 4 years, 11 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 | « components/mus/gles2/command_buffer_driver.cc ('k') | components/mus/gles2/command_buffer_local.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/gles2/command_buffer_local.h
diff --git a/components/mus/gles2/command_buffer_local.h b/components/mus/gles2/command_buffer_local.h
index d3f5401d52e70a5d93944e92d42b402116668b08..73e1482a73934194bad77337cc15f77ad7084718 100644
--- a/components/mus/gles2/command_buffer_local.h
+++ b/components/mus/gles2/command_buffer_local.h
@@ -88,7 +88,7 @@ class CommandBufferLocal : public gpu::CommandBuffer,
void RetireSyncPoint(uint32_t sync_point) override;
void SignalSyncPoint(uint32_t sync_point,
const base::Closure& callback) override;
- void SignalQuery(uint32_t query, const base::Closure& callback) override;
+ void SignalQuery(uint32_t query_id, const base::Closure& callback) override;
void SetLock(base::Lock*) override;
bool IsGpuChannelLost() override;
void EnsureWorkVisible() override;
@@ -133,6 +133,7 @@ class CommandBufferLocal : public gpu::CommandBuffer,
bool MakeProgressOnGpuThread(base::WaitableEvent* event,
gpu::CommandBuffer::State* state);
bool DeleteOnGpuThread();
+ bool SignalQueryOnGpuThread(uint32_t query_id, const base::Closure& callback);
// Helper functions are called in the client thread.
void DidLoseContextOnClientThread(uint32_t reason);
« no previous file with comments | « components/mus/gles2/command_buffer_driver.cc ('k') | components/mus/gles2/command_buffer_local.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698