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 with CreationErrors.
    • โž• Added Clone to ContextBuilder.
    • โž• 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 to HeadlessContextExt. Added functions
      for using egl-surfaceless.
    • ๐Ÿ’ฅ Breaking : Changed WindowedContext and RawContext into typedefs of
      ContextWrapper.
    • ๐Ÿ’ฅ Breaking : Removed new_windowed and new_headless from WindowedContext
      and Context, respectively.
    • ๐Ÿ’ฅ Breaking : Added two new types, NotCurrent and PossiblyCurrent,
      which RawContext, WindowedContext, ContextBuilder and Context are now
      generic over.
    • Added {make,treat_as}_not_current function to {Raw,Windowed,}Context.
    • We now load libGL.so instead of libGLX.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 EGLDisplays while they are still in use by
      others. Angry and/or salty rant can be found in glutin/src/api/egl/mod.rs,
      you can't miss it.
    • ๐Ÿ’ฅ Breaking : WindowedContexts now deref to Context, not Window.
      Please use .window() to access the window.