glutin v0.21.0-rc1 Release Notes
Release Date: 2019-04-07 // about 5 years ago-
- 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 ofContextWrapper
. - Breaking: Removed
new_windowed
andnew_headless
fromWindowedContext
andContext
, respectively. - Breaking: Added two new types,
NotCurrentContext
andPossiblyCurrentContext
, 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
. - Breaking: Added
DisplayLost
variant toContextError
. - 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.
- Breaking: Replaced