OLD | NEW |
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 Loading... |
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 |
OLD | NEW |