Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(179)

Side by Side Diff: cc/surfaces/direct_compositor_frame_sink.h

Issue 2802023002: Remove SurfaceFactory And SurfaceFactoryClient (Closed)
Patch Set: Merge unit tests Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CC_SURFACES_DIRECT_COMPOSITOR_FRAME_SINK_H_ 5 #ifndef CC_SURFACES_DIRECT_COMPOSITOR_FRAME_SINK_H_
6 #define CC_SURFACES_DIRECT_COMPOSITOR_FRAME_SINK_H_ 6 #define CC_SURFACES_DIRECT_COMPOSITOR_FRAME_SINK_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/threading/thread_checker.h" 9 #include "base/threading/thread_checker.h"
10 #include "cc/output/compositor_frame_sink.h" 10 #include "cc/output/compositor_frame_sink.h"
11 #include "cc/scheduler/begin_frame_source.h" 11 #include "cc/scheduler/begin_frame_source.h"
12 #include "cc/surfaces/compositor_frame_sink_support.h" 12 #include "cc/surfaces/compositor_frame_sink_support.h"
13 #include "cc/surfaces/compositor_frame_sink_support_client.h" 13 #include "cc/surfaces/compositor_frame_sink_support_client.h"
14 #include "cc/surfaces/display_client.h" 14 #include "cc/surfaces/display_client.h"
15 #include "cc/surfaces/local_surface_id_allocator.h" 15 #include "cc/surfaces/local_surface_id_allocator.h"
16 #include "cc/surfaces/surface_factory.h"
17 #include "cc/surfaces/surface_factory_client.h"
18 #include "cc/surfaces/surfaces_export.h" 16 #include "cc/surfaces/surfaces_export.h"
19 17
20 namespace cc { 18 namespace cc {
21 class Display; 19 class Display;
22 class LocalSurfaceIdAllocator; 20 class LocalSurfaceIdAllocator;
23 class SurfaceManager; 21 class SurfaceManager;
24 22
25 // This class submits compositor frames to an in-process Display, with the 23 // This class submits compositor frames to an in-process Display, with the
26 // client's frame being the root surface of the Display. 24 // client's frame being the root surface of the Display.
27 class CC_SURFACES_EXPORT DirectCompositorFrameSink 25 class CC_SURFACES_EXPORT DirectCompositorFrameSink
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 gfx::Size last_swap_frame_size_; 84 gfx::Size last_swap_frame_size_;
87 bool is_lost_ = false; 85 bool is_lost_ = false;
88 std::unique_ptr<ExternalBeginFrameSource> begin_frame_source_; 86 std::unique_ptr<ExternalBeginFrameSource> begin_frame_source_;
89 87
90 DISALLOW_COPY_AND_ASSIGN(DirectCompositorFrameSink); 88 DISALLOW_COPY_AND_ASSIGN(DirectCompositorFrameSink);
91 }; 89 };
92 90
93 } // namespace cc 91 } // namespace cc
94 92
95 #endif // CC_SURFACES_DIRECT_COMPOSITOR_FRAME_SINK_H_ 93 #endif // CC_SURFACES_DIRECT_COMPOSITOR_FRAME_SINK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698