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

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

Issue 2806163004: Plumbing input event latency reporting through Mus GPU. (Closed)
Patch Set: Removing commented out code. 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 9c288090d761fb6dc05998312ac6d9e4622f5aaa..61da04a75eee15610827b5510baa7beea071e9c4 100644
--- a/gpu/ipc/client/command_buffer_proxy_impl.cc
+++ b/gpu/ipc/client/command_buffer_proxy_impl.cc
@@ -318,13 +318,6 @@ void CommandBufferProxyImpl::OrderingBarrier(int32_t put_offset) {
}
}
-void CommandBufferProxyImpl::AddLatencyInfo(
- const std::vector<ui::LatencyInfo>& latency_info) {
- CheckLock();
- for (size_t i = 0; i < latency_info.size(); i++)
- latency_info_.push_back(latency_info[i]);
-}
-
void CommandBufferProxyImpl::SetSwapBuffersCompletionCallback(
const SwapBuffersCompletionCallback& callback) {
CheckLock();
@@ -687,6 +680,13 @@ bool CommandBufferProxyImpl::CanWaitUnverifiedSyncToken(
return true;
}
+void CommandBufferProxyImpl::AddLatencyInfo(
+ const std::vector<ui::LatencyInfo>& latency_info) {
+ CheckLock();
+ for (size_t i = 0; i < latency_info.size(); i++)
+ latency_info_.push_back(latency_info[i]);
+}
+
void CommandBufferProxyImpl::SignalQuery(uint32_t query,
const base::Closure& callback) {
CheckLock();

Powered by Google App Engine
This is Rietveld 408576698