glutin v0.20.0 Release Notes

Release Date: 2019-04-02 // about 5 years ago
    • We no longer load libEGL.so and libGL.so multiple times.
    • ๐Ÿ›  Fixes Context::is_current incorrectly returning false.
    • Made ContextBuilder's pf_reqs public.
    • ๐Ÿ’ฅ Breaking: Renamed GlContext{,Ext} to ContextTrait{,Ext}.
    • ๐Ÿ’ฅ Breaking: Renamed GlWindow to WindowedContext.
    • ๐Ÿง Implemented context sharing support for Windows and Linux.
    • โž• Added support for contexts made from raw parts for Windows and Linux.
    • ๐Ÿ’ฅ Breaking: Removed shareable_with_windowed_contexts. Now you must build OsMesa contexts via a separate extension.
    • โž• Added ContextBuilder::build_{windowed,headless} methods.
    • ๐Ÿ’ฅ Breaking: Renamed Context::new to Context::new_headless. new_headless now accepts dimensions for the off-screen surface backing it.
    • ๐Ÿ’ฅ Breaking: Renamed GlWindow::new to WindowedContext::new_windowed.
    • On X11 and Wayland, you can now use shared contexts, however, one limitation of the Wayland backend is that all shared contexts must use the same events pool as each other.
    • โž• Added context sharing support to windows.
    • ๐Ÿ‘Œ Improved docs.
    • ๐Ÿ”จ Refactored code to be more consistent/cleaner. Ran rustfmt on everything.
    • โž• Added NetBSD support.
    • ๐Ÿ’ฅ Breaking: Removed new_shared function from Context and GlWindow, in favor of new.
    • โž• Added build method to ContextBuilder.
    • Added get_egl_display method to GlContextExt trait and its implementation for platforms.
    • โœ‚ Removed minimum supported Rust version guarantee.
    • ๐Ÿ”€ NoBackendAvailable is now Sync, as a result CreationError is also Sync.
    • โšก๏ธ Update winit dependency to 0.19.0. See winit's CHANGELOG for more info.