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 "components/exo/compositor_frame_sink.h" | 5 #include "components/exo/compositor_frame_sink.h" |
6 | 6 |
7 #include "base/memory/ptr_util.h" | 7 #include "base/memory/ptr_util.h" |
8 #include "cc/surfaces/surface.h" | 8 #include "cc/surfaces/surface.h" |
9 #include "cc/surfaces/surface_manager.h" | 9 #include "cc/surfaces/surface_manager.h" |
10 #include "components/exo/compositor_frame_sink_holder.h" | 10 #include "components/exo/compositor_frame_sink_holder.h" |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
61 client_->OnBeginFrame(args); | 61 client_->OnBeginFrame(args); |
62 } | 62 } |
63 | 63 |
64 void CompositorFrameSink::ReclaimResources( | 64 void CompositorFrameSink::ReclaimResources( |
65 const cc::ReturnedResourceArray& resources) { | 65 const cc::ReturnedResourceArray& resources) { |
66 client_->ReclaimResources(resources); | 66 client_->ReclaimResources(resources); |
67 } | 67 } |
68 | 68 |
69 void CompositorFrameSink::WillDrawSurface( | 69 void CompositorFrameSink::WillDrawSurface( |
70 const cc::LocalSurfaceId& local_surface_id, | 70 const cc::LocalSurfaceId& local_surface_id, |
71 const gfx::Rect& damage_rect) { | 71 const gfx::Rect& damage_rect) {} |
reveman
2017/04/10 17:00:10
nit: move definition to header now that it is empt
Alex Z.
2017/04/10 17:39:01
Done.
| |
72 client_->WillDrawSurface(local_surface_id, damage_rect); | |
73 } | |
74 | 72 |
75 } // namespace exo | 73 } // namespace exo |
OLD | NEW |