[Webkit-unassigned] [Bug 140494] REGRESSION(r177075): [GTK] Creating a second web view disables accelerated compositing in existing web view

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 15 03:11:30 PST 2015


https://bugs.webkit.org/show_bug.cgi?id=140494

--- Comment #5 from Gustavo Noronha (kov) <gns at gnome.org> ---
Comment on attachment 244683
  --> https://bugs.webkit.org/attachment.cgi?id=244683
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=244683&action=review

>>> Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.cpp:691
>>> +    m_webPage.corePage()->settings().setAcceleratedCompositingEnabled(true);
>> 
>> Wouldn't it be better to enable this unconditionally in WebKitSettings's constructed? This looks a bit hackish.
> 
> That would be a problem if the required X extensions are not present and SetNativeSurfaceHandleForCompositing message is not sent. The web process would enter AC mode but we wouldn't render anything. I think this is the safest approach, the setting is disabled by default, and should only be enabled when the web process has a native surface handle.

okidoki

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150115/86c029ff/attachment-0002.html>


More information about the webkit-unassigned mailing list