Repository navigation
v0.3.5
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
- Add new WindowHandle::adjust_size helper function by @prokopyl in #338
- Update
clackin examples to v0.2 by @prokopyl in #339 - X11: Implement frame pacing using Present Notify Extension by @prokopyl in #323
- X11: Implement EGL support by @prokopyl in #325
- MacOS: Prevent automatic rescaling on resize events by @davemollen in #336
- macOS: Add missing auto-release pools by @prokopyl in #341
New Contributors
- @davemollen made their first contribution in #336
Full Changelog: v0.3.4...v0.3.5