You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://github.com/servo/mozangle compiles ANGLE, on Windows with an EGL implementation. To avoid the complication of shipping .dll files separately, it is linked as a static library.
Glutin supports EGL on Windows, but loads it from a dynamic library like libEGL.dll. What do you think of adding support for statically-linked EGL?
Conditionally having something like extern { fn eglGetProcAddress(…) } directly in Glutin would require a compile-time flag, which isn’t great. So maybe that function could be (optionally) provided by users:
The original motivating example of https://github.com/servo/mozangle/ is no longer relevant. We have since modified the build to generate a libEGL.dll on Windows if desired.
https://github.com/servo/mozangle compiles ANGLE, on Windows with an EGL implementation. To avoid the complication of shipping
.dll
files separately, it is linked as a static library.Glutin supports EGL on Windows, but loads it from a dynamic library like
libEGL.dll
. What do you think of adding support for statically-linked EGL?Conditionally having something like
extern { fn eglGetProcAddress(…) }
directly in Glutin would require a compile-time flag, which isn’t great. So maybe that function could be (optionally) provided by users:Since this is only relevant on Windows, maybe it should be in a
glutin::os::windows::ContextBuilderExt
trait.Or maybe something more automagic could be made with weak symbols, but those don’t seem to be available in Stable Rust.
Thoughts?
The text was updated successfully, but these errors were encountered: