OLD | NEW |
---|---|
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "components/view_manager/surfaces/top_level_display_client.h" | 5 #include "components/view_manager/surfaces/top_level_display_client.h" |
6 | 6 |
7 #include "cc/output/compositor_frame.h" | 7 #include "cc/output/compositor_frame.h" |
8 #include "cc/surfaces/display.h" | 8 #include "cc/surfaces/display.h" |
9 #include "components/view_manager/gles2/gpu_state.h" | 9 #include "components/view_manager/gles2/gpu_state.h" |
10 #include "components/view_manager/surfaces/surfaces_context_provider.h" | 10 #include "components/view_manager/surfaces/surfaces_context_provider.h" |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
100 surfaces_state_->scheduler()->OnVSyncParametersUpdated( | 100 surfaces_state_->scheduler()->OnVSyncParametersUpdated( |
101 base::TimeTicks::FromInternalValue(timebase), | 101 base::TimeTicks::FromInternalValue(timebase), |
102 base::TimeDelta::FromInternalValue(interval)); | 102 base::TimeDelta::FromInternalValue(interval)); |
103 } | 103 } |
104 | 104 |
105 void TopLevelDisplayClient::ReturnResources( | 105 void TopLevelDisplayClient::ReturnResources( |
106 const cc::ReturnedResourceArray& resources) { | 106 const cc::ReturnedResourceArray& resources) { |
107 // TODO(fsamuel): Implement this. | 107 // TODO(fsamuel): Implement this. |
108 } | 108 } |
109 | 109 |
110 void TopLevelDisplayClient::SetBeginFrameSource( | |
111 cc::BeginFrameSource* begin_frame_source) { | |
112 // TODO(tansell): Implement this. | |
sky
2015/09/24 23:58:20
Same comment here.
| |
113 } | |
114 | |
110 } // namespace surfaces | 115 } // namespace surfaces |
OLD | NEW |