[Webkit-unassigned] [Bug 163595] [GTK] Does not use GLES2

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 24 01:22:11 PDT 2016


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

Carlos Garcia Campos <cgarcia at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cgarcia at igalia.com

--- Comment #5 from Carlos Garcia Campos <cgarcia at igalia.com> ---
(In reply to comment #2)
> According to a GTK+ dev, Webkit is supposed to request GLES - Gdk does not
> automatially detect the availability or preference.

That's not really possible I'm afraid. gdk_cairo_draw_from_gl() uses the paint gl context of the given window that is always created with a NULL sharing context and realized right after being created. On realize is when using ES is decided, and the only way to change that for the paint gl context is using the debug flags. I don't think using debug flags for this is the right way. I think there should be a way to tell GDK to use ES globally, maybe in GdkWindow to use that when creating the paint context. Or maybe there's actually a way that is not the debug flags, but I haven't found it reading the code.

-- 
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/20161024/9e2b5d82/attachment.html>


More information about the webkit-unassigned mailing list