| Index: cc/surfaces/display.cc
|
| diff --git a/cc/surfaces/display.cc b/cc/surfaces/display.cc
|
| index 294dc5b4ff57d404f580f0efc6d155d539b1eaa1..654b37498f585e4a457092f56da32182642ab898 100644
|
| --- a/cc/surfaces/display.cc
|
| +++ b/cc/surfaces/display.cc
|
| @@ -122,7 +122,12 @@ void Display::InitializeRenderer() {
|
| }
|
|
|
| resource_provider_ = resource_provider.Pass();
|
| - aggregator_.reset(new SurfaceAggregator(manager_, resource_provider_.get()));
|
| + // TODO(jbauman): Outputting an incomplete quad list doesn't work when using
|
| + // overlays.
|
| + bool output_partial_list = renderer_->Capabilities().using_partial_swap &&
|
| + !output_surface_->GetOverlayCandidateValidator();
|
| + aggregator_.reset(new SurfaceAggregator(manager_, resource_provider_.get(),
|
| + output_partial_list));
|
| }
|
|
|
| void Display::DidLoseOutputSurface() {
|
|
|