DescriptionInitialize RendererSettings in ContextFactory
Implementations of ContextFactory initialize RendererSettings based on switches
on the command line. ui::Compositor gets RendererSettings via
ContextFactory::GetRendererSettings.
ui::Compositor::GetRendererSettings and
ContextFactory::GetImageTextureTarget is removed since it is no longer
being used.
By centralizing the initialization of RendererSettings into ContextFactory,
there is no longer any usage of LayerTreeSettings::renderer_settings outside of
LayerTreeHostImpl. Therefore, this CL brings us one step closer to having
separate LayerTreeSettings and RendererSettings.
BUG=711146
Review-Url: https://codereview.chromium.org/2879463002
Cr-Commit-Position: refs/heads/master@{#471445}
Committed: https://chromium.googlesource.com/chromium/src/+/3f98e54b610b6f3ddbf07cc610380a77e554c7c5
Patch Set 1 #Patch Set 2 : Rebase #Patch Set 3 : Fix FakeContextFactory #
Total comments: 10
Patch Set 4 : Address comments #
Total comments: 13
Patch Set 5 : Address comments #
Total comments: 4
Patch Set 6 : const RendererSettings #
Messages
Total messages: 43 (29 generated)
|