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

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

Issue 2802023002: Remove SurfaceFactory And SurfaceFactoryClient (Closed)
Patch Set: Rebase SurfaceSynchronizationTest Created 3 years, 7 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
« no previous file with comments | « cc/surfaces/compositor_frame_sink_support_unittest.cc ('k') | cc/surfaces/frame_sink_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 gfx::Size last_swap_frame_size_; 83 gfx::Size last_swap_frame_size_;
86 bool is_lost_ = false; 84 bool is_lost_ = false;
87 std::unique_ptr<ExternalBeginFrameSource> begin_frame_source_; 85 std::unique_ptr<ExternalBeginFrameSource> begin_frame_source_;
88 86
89 DISALLOW_COPY_AND_ASSIGN(DirectCompositorFrameSink); 87 DISALLOW_COPY_AND_ASSIGN(DirectCompositorFrameSink);
90 }; 88 };
91 89
92 } // namespace cc 90 } // namespace cc
93 91
94 #endif // CC_SURFACES_DIRECT_COMPOSITOR_FRAME_SINK_H_ 92 #endif // CC_SURFACES_DIRECT_COMPOSITOR_FRAME_SINK_H_
OLDNEW
« no previous file with comments | « cc/surfaces/compositor_frame_sink_support_unittest.cc ('k') | cc/surfaces/frame_sink_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698