Move cc::RendererSettings to Viz
RendererSettings is consumed by DirectRenderer and its subclasses.
Renderers are part of viz so RenderSettings should also be in viz. It
is moved to common because browser is going to send RendererSettings
initialized via command line flags to Viz. The rest of the CL updates
includes, forward declarations and namespaces as appropriate.
Bug: 722935, 732825
Change-Id: Iaf9ec362f3987b25fc1a1157bd07f62a17cee271
[email protected], [email protected], [email protected]
Change-Id: Iaf9ec362f3987b25fc1a1157bd07f62a17cee271
Reviewed-on: https://chromium-review.googlesource.com/579592
Commit-Queue: Xingyu Zhang <[email protected]>
Reviewed-by: Bo Liu <[email protected]>
Reviewed-by: danakj <[email protected]>
Reviewed-by: Fady Samuel <[email protected]>
Cr-Commit-Position: refs/heads/master@{#488379}
diff --git a/cc/layers/texture_layer_unittest.cc b/cc/layers/texture_layer_unittest.cc
index cdbc20e..867a306 100644
--- a/cc/layers/texture_layer_unittest.cc
+++ b/cc/layers/texture_layer_unittest.cc
@@ -637,7 +637,7 @@
TextureLayerImplWithMailboxThreadedCallback() = default;
std::unique_ptr<viz::TestLayerTreeFrameSink> CreateLayerTreeFrameSink(
- const RendererSettings& renderer_settings,
+ const viz::RendererSettings& renderer_settings,
double refresh_rate,
scoped_refptr<viz::ContextProvider> compositor_context_provider,
scoped_refptr<viz::ContextProvider> worker_context_provider) override {