Skip to content

Releases: rust-windowing/glutin

Glutin Version v0.30.0-beta.2

03 Sep 18:21
v0.30.0-beta.2
e903a35
Compare
Choose a tag to compare
Pre-release
  • macOS: Fix memory leak in Surface.

Glutin Version v0.30.0-beta.1

03 Sep 14:56
v0.30.0-beta.1
0e37613
Compare
Choose a tag to compare
Pre-release
  • Replace winit dependency with raw-window-handle.
  • The Api is now built around Display, Surface, Config, and Surface for more info see crate documentation and examples.
  • The ios support was removed for the lack of maintainance for now. In case there's a need for it, contributions are welcome.
  • The context creation is no longer limited to winit's supported platforms.
  • The underlying Api providers are publically exposed now, so glutin could be used with just e.g. EGL.
  • Fixed soundness issues with Surface MT safety, since before EGLSurface could be sent to a different thread, which is not safe.

Glutin Version v0.29.1

10 Aug 12:27
v0.29.1
2f8bdfc
Compare
Choose a tag to compare
  • Fix build failures when building from crates.io

Glutin Version v0.29.0

30 Jul 19:26
v0.29.0
9cf99a2
Compare
Choose a tag to compare
  • Fix crash when creating OpenGLES context without explicit version.
  • Add buffer_age method on WindowedContext.
  • Return an Err instead of panicking when surfaceless GLX context creation fails on Linux.
  • Fix compilation on Android:
    • Switch from StaticStructGenerator to StructGenerator to dynamically load symbols.
    • Replace android_glue dependency with raw-window-handle, and remove broken lifecycle event handling.
    • Glutin can now be used on Android, however, the application must ensure it only creates the Context following a winit Event::Resumed event, and destroys the Context in response to a Event::Suspended event.
  • Updated winit dependency to 0.27.0. See winit's CHANGELOG for more info.
  • On Windows, build_raw_context now uses isize for hwnd to follow winit change.

Glutin Version v0.28.0

02 Dec 11:30
927f776
Compare
Choose a tag to compare
  • On Windows, fixed a panic for headless contexts because of active drag-and-drop (OleInitialize failed! Result was: RPC_E_CHANGED_MODE)
  • Updated winit dependency to 0.26.0. See winit's CHANGELOG for more info.

v0.27.0

22 Jun 05:59
16e0a22
Compare
Choose a tag to compare

Glutin Version 0.26.0

10 Dec 23:46
9d15e0b
Compare
Choose a tag to compare

Glutin Version 0.25.1

09 Oct 16:44
fef5c51
Compare
Choose a tag to compare
  • X11 and Wayland are now optional features (enabled by default)

v0.25.0

02 Oct 23:20
e3553a5
Compare
Choose a tag to compare
  • Updated winit dependency to 0.23.0. See winit's CHANGELOG for more info.
  • Avoid loading libEGL.dll from PATH on Windows.

v0.21.0

03 May 23:19
c8bf494
Compare
Choose a tag to compare
  • 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.