OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 "services/ui/ws/compositor_frame_sink_client_binding.h" | 5 #include "services/ui/ws/compositor_frame_sink_client_binding.h" |
6 | 6 |
7 namespace ui { | 7 namespace ui { |
8 namespace ws { | 8 namespace ws { |
9 | 9 |
10 CompositorFrameSinkClientBinding::CompositorFrameSinkClientBinding( | 10 CompositorFrameSinkClientBinding::CompositorFrameSinkClientBinding( |
(...skipping 24 matching lines...) Expand all Loading... |
35 } | 35 } |
36 compositor_frame_sink_->SubmitCompositorFrame(local_surface_id_, | 36 compositor_frame_sink_->SubmitCompositorFrame(local_surface_id_, |
37 std::move(frame)); | 37 std::move(frame)); |
38 } | 38 } |
39 | 39 |
40 void CompositorFrameSinkClientBinding::DidNotProduceFrame( | 40 void CompositorFrameSinkClientBinding::DidNotProduceFrame( |
41 const cc::BeginFrameAck& ack) { | 41 const cc::BeginFrameAck& ack) { |
42 compositor_frame_sink_->DidNotProduceFrame(ack); | 42 compositor_frame_sink_->DidNotProduceFrame(ack); |
43 } | 43 } |
44 | 44 |
45 void CompositorFrameSinkClientBinding::EvictCurrentSurface() { | |
46 compositor_frame_sink_->EvictCurrentSurface(); | |
47 } | |
48 | |
49 } // namespace ws | 45 } // namespace ws |
50 } // namespace ui | 46 } // namespace ui |
OLD | NEW |