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

Side by Side Diff: cc/output/in_process_context_provider.cc

Issue 2771053003: WIP: Plumbing input event latency reporting through Mus GPU.
Patch Set: Plumb through SetLatencyInfo instead of exposing InProcessCommandBuffer. 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/output/in_process_context_provider.h" 5 #include "cc/output/in_process_context_provider.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include "base/lazy_instance.h" 9 #include "base/lazy_instance.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 callback) { 144 callback) {
145 context_->SetSwapBuffersCompletionCallback(callback); 145 context_->SetSwapBuffersCompletionCallback(callback);
146 } 146 }
147 147
148 void InProcessContextProvider::SetUpdateVSyncParametersCallback( 148 void InProcessContextProvider::SetUpdateVSyncParametersCallback(
149 const gpu::InProcessCommandBuffer::UpdateVSyncParametersCallback& 149 const gpu::InProcessCommandBuffer::UpdateVSyncParametersCallback&
150 callback) { 150 callback) {
151 context_->SetUpdateVSyncParametersCallback(callback); 151 context_->SetUpdateVSyncParametersCallback(callback);
152 } 152 }
153 153
154 void InProcessContextProvider::SetLatencyInfo(
155 const std::vector<ui::LatencyInfo>& latency_info) {
156 context_->SetLatencyInfo(latency_info);
157 }
158
154 } // namespace cc 159 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698