glutin v0.20.0 Release Notes
Release Date: 2019-04-02 // about 5 years ago-
- We no longer load
libEGL.so
andlibGL.so
multiple times. - ๐ Fixes
Context::is_current
incorrectly returningfalse
. - Made
ContextBuilder
'spf_reqs
public. - ๐ฅ Breaking: Renamed
GlContext{,Ext}
toContextTrait{,Ext}
. - ๐ฅ Breaking: Renamed
GlWindow
toWindowedContext
. - ๐ง 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
toContext::new_headless
.new_headless
now accepts dimensions for the off-screen surface backing it. - ๐ฅ Breaking: Renamed
GlWindow::new
toWindowedContext::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 fromContext
andGlWindow
, in favor ofnew
. - โ Added
build
method toContextBuilder
. - Added
get_egl_display
method toGlContextExt
trait and its implementation for platforms. - โ Removed minimum supported Rust version guarantee.
- ๐
NoBackendAvailable
is nowSync
, as a resultCreationError
is alsoSync
. - โก๏ธ Update winit dependency to 0.19.0. See winit's CHANGELOG for more info.
- We no longer load