glutin v0.21.0 Release Notes
Release Date: 2019-05-03 // almost 5 years ago-
- Added
treat_as_current
function. - ๐ฅ Breaking: Replaced
CreationErrorPair
enum variant withCreationErrors
. - โ Added
Clone
toContextBuilder
. - โ Added headless example.
- โ Removed internal code relating to libcaca.
- Implemented
Debug
on all public facing types. - โฌ๏ธ Dropping contexts on platforms using egl and/or glx no longer resets the
current context, if the context dropped wasn't the current context. - โ Added context sharing support to MacOS.
- ๐ฅ Breaking : Removed
ContextTrait
. - ๐ฅ Breaking : Renamed
OsMesaContextExt
toHeadlessContextExt
. Added functions
for using egl-surfaceless. - ๐ฅ Breaking : Changed
WindowedContext
andRawContext
into typedefs of
ContextWrapper
. - ๐ฅ Breaking : Removed
new_windowed
andnew_headless
fromWindowedContext
andContext
, respectively. - ๐ฅ Breaking : Added two new types,
NotCurrent
andPossiblyCurrent
,
whichRawContext
,WindowedContext
,ContextBuilder
andContext
are now
generic over. - Added
{make,treat_as}_not_current
function to{Raw,Windowed,}Context
. - We now load
libGL.so
instead oflibGLX.so
. - ๐ Fixed bug where we drop the hidden window belonging to a headless context on
on X11 and/or Wayland before the actual context. - ๐ "Fixed" bug where we will close
EGLDisplay
s while they are still in use by
others. Angry and/or salty rant can be found inglutin/src/api/egl/mod.rs
,
you can't miss it. - ๐ฅ Breaking :
WindowedContext
s now deref toContext
, notWindow
.
Please use.window()
to access the window.
- Added