[Webkit-unassigned] [Bug 146511] [GTK] ENABLE_OPENGL=OFF builds still include GL-specific files

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 3 13:28:58 PDT 2015


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

--- Comment #5 from Emanuele Aina <emanuele.aina at collabora.com> ---
Disabling GL would still leave AC enables, which ultimately leads to LayerTreeHost::create() being called and returning a null pointer which causes the WebProcess to segfault: https://trac.webkit.org/browser/trunk/Source/WebKit2/WebProcess/WebPage/LayerTreeHost.cpp#L49

Would it be appropriate to add an ASSERT_NOT_REACHED() in the "#else" in LayerTreeHost.cpp above, to make the intention more clear? As far as I can tell no LayerTreeHost::create() callsite checks for null, so an assertion would make things more clear.

Relatedly, would it make sense to turn off AC by default with ENABLE_OPENGL=OFF? At the moment AC requires GL (I plan to change that, but I have not even started to work on that), so you only get the segfault above with no GL and AC turned on.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150703/6fd2533b/attachment-0001.html>


More information about the webkit-unassigned mailing list