speed(up) bump

This commit is contained in:
Heilig Benedek 2016-07-13 17:43:00 +02:00 committed by gellert
parent 4a0f0063a0
commit 5371921f8a
7 changed files with 530 additions and 348 deletions

View file

@ -353,9 +353,12 @@ void NativeWindowViews::RenderViewCreated(
render_view_host->GetProcess()->GetID(),
render_view_host->GetRoutingID());
if (impl) {
ui::Layer* layer = widget()->GetCompositor()->root_layer();
ui::Compositor* compositor_ = widget()->GetCompositor();
compositor_->RequestNewOutputSurface();
//auto win = new OffScreenWindow(impl);
/*auto view = widget()->GetContentsView();
view->AcquireLayer();
view->SetLayer(win->DelegatedFrameHostGetLayer());
win->DelegatedFrameHostGetLayer()->set_delegate(view);*/
}
}