[Webkit-unassigned] [Bug 146680] New: Replace OpenGL{, ES}Shims with libepoxy, and #if USE(OPENGL_ES_2) with runtime checks
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jul 7 05:59:04 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=146680
Bug ID: 146680
Summary: Replace OpenGL{,ES}Shims with libepoxy, and #if
USE(OPENGL_ES_2) with runtime checks
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: All
URL: https://github.com/anholt/libepoxy
OS: Linux
Status: NEW
Severity: Enhancement
Priority: P2
Component: WebCore Misc.
Assignee: webkit-unassigned at lists.webkit.org
Reporter: emmanuel.peyrot at collabora.com
CC: clopez at igalia.com
libepoxy is a library retrieving function pointers from a libGL, one of the many OpenGL wranglers you might have hard from.
What makes it better than the current solution is its automated aliasing of identical functions, and its ability to select a libGL or libGLESv2 at runtime instead of at compile-time, so no recompilation with -DENABLE_GLES2=ON and OFF required anymore to support both APIs on multiple drivers, everything in a single binary.
In most case, #if USE(OPENGL_ES_2) would be replaced with a cached if (!epoxy_is_desktop_gl()), cached to avoid a potential runtime string comparison everytime the function is called.
libepoxy is a dependency of GTK+ and Xorg (for GLAMOR), and probably some other widely used software, so this usually wonât add another dependency.
--
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/20150707/d920b441/attachment.html>
More information about the webkit-unassigned
mailing list