Skip to content

v0.3.5

Choose a tag to compare

@prokopyl prokopyl released this 30 Sep 12:27
· 22 commits to master since this release

This release brings a variety of small improvements, especially on macOS and X11. Here are a couple highlights!

New WindowHandle::adjust_size function

This function adjusts a given size to match the window's minimum/maximum size constraints (and possibly aspect ratio constraints in a future release). It is useful to control a user's live resize, and is designed to be used to simply implement CLAP's adjust_size and VST3's checkSizeConstraint.

EGL support for X11

This release allows creating OpenGL contexts on X11 using the current EGL API instead of the now obsolete GLX.
This brings a small reduction in CPU usage, and also shaves off a couple dozen megabytes off of baseview's RAM footprint!

In the future, we can optionally rely on more recent features of EGL to completely get rid of the runtime dependency on Xlib altogether!

Note that GLX/Xlib OpenGL context creation will still remain in baseview, as a fallback in case EGL context creation fails, or in case EGL is not present on the system.

What's Changed

New Contributors

Full Changelog: v0.3.4...v0.3.5