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

Unified Diff: blimp/client/support/compositor/blimp_embedder_compositor.h

Issue 2383373002: Reduce SurfaceIdAllocator usage and tie SurfaceFactory to a single FrameSinkId (Closed)
Patch Set: Rebased Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: blimp/client/support/compositor/blimp_embedder_compositor.h
diff --git a/blimp/client/support/compositor/blimp_embedder_compositor.h b/blimp/client/support/compositor/blimp_embedder_compositor.h
index 6df30e0a40d8c28cc1ce7a243be9f80d0cf5aaf1..687559c1fff206d3636a3891fec08cb91632109d 100644
--- a/blimp/client/support/compositor/blimp_embedder_compositor.h
+++ b/blimp/client/support/compositor/blimp_embedder_compositor.h
@@ -9,6 +9,7 @@
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "cc/layers/layer.h"
+#include "cc/surfaces/frame_sink_id.h"
#include "cc/trees/layer_tree_host_client.h"
#include "cc/trees/layer_tree_host_single_thread_client.h"
#include "ui/gfx/geometry/size.h"
@@ -16,7 +17,6 @@
namespace cc {
class Display;
class LayerTreeHost;
-class SurfaceIdAllocator;
class SurfaceManager;
} // namespace cc
@@ -76,9 +76,10 @@ class BlimpEmbedderCompositor : public cc::LayerTreeHostClient,
CompositorDependencies* compositor_dependencies_;
+ cc::FrameSinkId frame_sink_id_;
+
scoped_refptr<cc::ContextProvider> context_provider_;
- std::unique_ptr<cc::SurfaceIdAllocator> surface_id_allocator_;
bool compositor_frame_sink_request_pending_;
std::unique_ptr<cc::Display> display_;
« no previous file with comments | « blimp/client/core/compositor/blimp_compositor.cc ('k') | blimp/client/support/compositor/blimp_embedder_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698