summaryrefslogtreecommitdiffstats
path: root/cc/output/direct_renderer.cc
diff options
context:
space:
mode:
authorjbauman <jbauman@chromium.org>2014-11-20 14:17:12 -0800
committerCommit bot <commit-bot@chromium.org>2014-11-20 22:17:33 +0000
commitc5be44c904aa29a8a035819518c68db5a5cbe157 (patch)
tree26f2ef3221b65d3d155a99e6938b4cfa3bdaa2fd /cc/output/direct_renderer.cc
parentfb33a627c27a680f6bcb092ff25717602103fa6c (diff)
downloadchromium_src-c5be44c904aa29a8a035819518c68db5a5cbe157.zip
chromium_src-c5be44c904aa29a8a035819518c68db5a5cbe157.tar.gz
chromium_src-c5be44c904aa29a8a035819518c68db5a5cbe157.tar.bz2
Add cc::RendererSettings for use in with cc::Display
The settings are taken from the ui::Compositor's LayerTreeSettings. Previously it was just using the default LayerTreeSettings, which can be suboptimal. Review URL: https://codereview.chromium.org/675083002 Cr-Commit-Position: refs/heads/master@{#305087}
Diffstat (limited to 'cc/output/direct_renderer.cc')
-rw-r--r--cc/output/direct_renderer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/output/direct_renderer.cc b/cc/output/direct_renderer.cc
index 50d82d0..93d7fb1 100644
--- a/cc/output/direct_renderer.cc
+++ b/cc/output/direct_renderer.cc
@@ -125,7 +125,7 @@ gfx::Rect DirectRenderer::MoveFromDrawToWindowSpace(
}
DirectRenderer::DirectRenderer(RendererClient* client,
- const LayerTreeSettings* settings,
+ const RendererSettings* settings,
OutputSurface* output_surface,
ResourceProvider* resource_provider)
: Renderer(client, settings),