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

Unified Diff: content/common/gpu/client/command_buffer_proxy_impl.cc

Issue 782583003: List sync points to wait on in AsyncFlush message Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « content/common/gpu/client/command_buffer_proxy_impl.h ('k') | content/common/gpu/gpu_channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/client/command_buffer_proxy_impl.cc
diff --git a/content/common/gpu/client/command_buffer_proxy_impl.cc b/content/common/gpu/client/command_buffer_proxy_impl.cc
index 336488373490b19452fc9b5372bd2b3f07e6443c..9168a2a3f56d6fef1bc614e5fe836981aa8fc212 100644
--- a/content/common/gpu/client/command_buffer_proxy_impl.cc
+++ b/content/common/gpu/client/command_buffer_proxy_impl.cc
@@ -170,7 +170,8 @@ int32 CommandBufferProxyImpl::GetLastToken() {
return last_state_.token;
}
-void CommandBufferProxyImpl::Flush(int32 put_offset) {
+void CommandBufferProxyImpl::Flush(int32 put_offset,
+ const std::vector<uint32>& sync_points) {
if (last_state_.error != gpu::error::kNoError)
return;
@@ -184,10 +185,8 @@ void CommandBufferProxyImpl::Flush(int32 put_offset) {
last_put_offset_ = put_offset;
- Send(new GpuCommandBufferMsg_AsyncFlush(route_id_,
- put_offset,
- ++flush_count_,
- latency_info_));
+ Send(new GpuCommandBufferMsg_AsyncFlush(route_id_, put_offset, ++flush_count_,
+ sync_points, latency_info_));
latency_info_.clear();
}
« no previous file with comments | « content/common/gpu/client/command_buffer_proxy_impl.h ('k') | content/common/gpu/gpu_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698