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

Unified Diff: gpu/ipc/client/command_buffer_proxy_impl.cc

Issue 2814843002: gpu: GPU service scheduler. (Closed)
Patch Set: rebase Created 3 years, 8 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
Index: gpu/ipc/client/command_buffer_proxy_impl.cc
diff --git a/gpu/ipc/client/command_buffer_proxy_impl.cc b/gpu/ipc/client/command_buffer_proxy_impl.cc
index 6a8dc029d7304b7689664893c09239eca34121e2..be5e67e55e08b8d7823b51c0db0a6099d2c73a0d 100644
--- a/gpu/ipc/client/command_buffer_proxy_impl.cc
+++ b/gpu/ipc/client/command_buffer_proxy_impl.cc
@@ -575,6 +575,11 @@ void CommandBufferProxyImpl::EnsureWorkVisible() {
channel_->ValidateFlushIDReachedServer(stream_id_, true);
}
+void CommandBufferProxyImpl::EnsureWorkVisibleAsync() {
+ if (channel_)
+ channel_->FlushPendingStream(stream_id_);
+}
+
gpu::CommandBufferNamespace CommandBufferProxyImpl::GetNamespaceID() const {
return gpu::CommandBufferNamespace::GPU_IO;
}

Powered by Google App Engine
This is Rietveld 408576698