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/mus/surfaces/top_level_display_client.h" | 5 #include "components/mus/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 "cc/surfaces/surface.h" | 9 #include "cc/surfaces/surface.h" |
10 #include "components/mus/gles2/gpu_state.h" | 10 #include "components/mus/gles2/gpu_state.h" |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 surfaces_state_->scheduler()->OnVSyncParametersUpdated( | 93 surfaces_state_->scheduler()->OnVSyncParametersUpdated( |
94 base::TimeTicks::FromInternalValue(timebase), | 94 base::TimeTicks::FromInternalValue(timebase), |
95 base::TimeDelta::FromInternalValue(interval)); | 95 base::TimeDelta::FromInternalValue(interval)); |
96 } | 96 } |
97 | 97 |
98 void TopLevelDisplayClient::ReturnResources( | 98 void TopLevelDisplayClient::ReturnResources( |
99 const cc::ReturnedResourceArray& resources) { | 99 const cc::ReturnedResourceArray& resources) { |
100 // TODO(fsamuel): Implement this. | 100 // TODO(fsamuel): Implement this. |
101 } | 101 } |
102 | 102 |
| 103 void TopLevelDisplayClient::SetBeginFrameSource( |
| 104 cc::SurfaceId surface_id, |
| 105 cc::BeginFrameSource* begin_frame_source) { |
| 106 // TODO(tansell): Implement this. |
| 107 NOTIMPLEMENTED(); |
| 108 } |
| 109 |
103 } // namespace mus | 110 } // namespace mus |
OLD | NEW |