speed(up) bump
This commit is contained in:
parent
4a0f0063a0
commit
5371921f8a
7 changed files with 530 additions and 348 deletions
|
@ -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);*/
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue