| Index: ui/compositor/compositor.cc
|
| diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc
|
| index 91302734c727812b0170acef6a2794d2ba0a699c..561c9b73132d936a5263ed5bb6dbfd1189188c49 100644
|
| --- a/ui/compositor/compositor.cc
|
| +++ b/ui/compositor/compositor.cc
|
| @@ -34,6 +34,8 @@
|
| #include "ui/gl/gl_context.h"
|
| #include "ui/gl/gl_switches.h"
|
|
|
| +extern char GetZCopy();
|
| +
|
| namespace {
|
|
|
| const double kDefaultRefreshRate = 60.0;
|
| @@ -241,6 +243,11 @@ Compositor::Compositor(gfx::AcceleratedWidget widget)
|
| settings.initial_debug_state.SetRecordRenderingStats(
|
| command_line->HasSwitch(cc::switches::kEnableGpuBenchmarking));
|
|
|
| + if (GetZCopy()) {
|
| + settings.impl_side_painting = true;
|
| + settings.use_map_image = true;
|
| + }
|
| +
|
| base::TimeTicks before_create = base::TimeTicks::Now();
|
| if (!!g_compositor_thread) {
|
| host_ = cc::LayerTreeHost::CreateThreaded(
|
|
|