[Webkit-unassigned] [Bug 197971] GLContextEGL should check the supported EGL version at compile time
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat May 18 08:13:12 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=197971
Adrian Perez <aperez at igalia.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aperez at igalia.com
--- Comment #10 from Adrian Perez <aperez at igalia.com> ---
Comment on attachment 370161
--> https://bugs.webkit.org/attachment.cgi?id=370161
Fix to check the EGL version at compile time
I don't understand why it is needed to have guards for EGL
version 1.5: The call to “.eglCheckVersion()” can be done
regardless of the version, and if at runtime the check fails
then we are already falling back to check for 1.4 anyway. I
am failing to see how this can be useful and/or needed.
I can make a case for having *only* checks at runtime being
better. Imagine the case in which a distributor packages
WebKit using for building headers from a version of Mesa
which does NOT define EGL_VERSION_1_5; then Mesa is updated
to a new release that happens to support EGL version 1.5 and
new packages available. With a build-time check, the WebKit
package would need to be rebuilt to take advantage of new
features, with a runtime check things will just start working
automatically.
(Not to mention that usual “modus operandi” of OpenGL, EGL,
and related APIs is to provide a common base guaranteed to
work, and have applications check at run time by querying
extensions, versions, and so on.)
--
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/20190518/62150b50/attachment.html>
More information about the webkit-unassigned
mailing list