|
1 | 1 | # Unreleased |
2 | 2 |
|
3 | | -# Version 0.30.0-beta.3 |
| 3 | +# Version 0.30.0 |
4 | 4 |
|
5 | | -- `Config` doesn't force OpenGL `Api` by default. |
6 | | -- `Display::create_context` now uses the most recent available `Api` from the `Config` when `ContextApi` is not specified in `ContextAttributes`. |
7 | | -- **Breaking:** `PossiblyCurrentGlContext::get_proc_address` method was moved to `GlDisplay::get_proc_address`. |
8 | | -- **Breaking:** `ConfigTemplateBuilder::with_sample_buffers` now called `ConfigTemplateBuilder::with_multisampling`. |
9 | | -- **Breaking:** `GlConfig::sample_buffers` now called `GlConfig::num_samples` and returns the amount of samples in multisample buffer. |
| 5 | +- **This version of `glutin` has been rewritten from the ground and no longer depends on `winit`, the `raw-window-handle` is now used instead of it.** |
| 6 | +- The Api is now built around `Display`, `Surface`, `Config`, and `Surface`. For more info see crate documentation and examples. |
10 | 7 | - **Breaking:** Bump MSRV from `1.57` to `1.60`. |
11 | | -- Fix `GlProfile::Core` requesting without explicit version. |
12 | | -- Pick the latest available profile on macOS. |
13 | | -- When using `ContextApi::Gles(None)` in `ContextAttributesBuilder` the latest known supported `major` ES version will be picked. |
14 | | -- Fix `Eq` implementation for `Config` on `CGL`. |
15 | | -- Add `GetDisplayExtensions` trait to obtain api display extensions implemented on `EGL`, `WGL`, and `GLX`. |
16 | | -- Fallback to `Surface::swap_buffers` when `Surface::swap_buffers_with_damage` is not supported on `EGL`. |
17 | | -- Add missing `GetGlConfig` implementation for `NotCurrentContext` and `PossiblyCurrentContext`. |
18 | | -- Implement `Clone` for builders. |
19 | | -- **Breaking:** move `DamageRect` into `surface::Rect`. |
20 | | -- Add `GlDisplay::version_string` to help with logging the display information. |
21 | | -- Rename `NotCurrentGlContext::treat_as_current` to `NotCurrentGlContext::treat_as_possibly_current`. |
22 | | -- Rename `Display::from_raw` to `Display::new`. |
23 | | -- Added `GlDisplay::supported_features` to allow checking for extensions support beforehand. |
24 | | -- **Breaking:** renamed `ReleaseBehaviour` to `ReleaseBehavior`. |
25 | | -- Fix GLX not working with nvidia binary drivers. |
26 | | -- Fix crash in `glx::surface::Surface::set_swap_interval`. |
27 | | - |
28 | | -# Version 0.30.0-beta.2 (2022-09-03) |
29 | | - |
30 | | -- macOS: Fix memory leak in `Surface`. |
31 | | - |
32 | | -# Version 0.30.0-beta.1 (2022-09-03) |
33 | | - |
34 | | -- Replace `winit` dependency with `raw-window-handle`. |
35 | | -- The Api is now built around `Display`, `Surface`, `Config`, and `Surface` for more info see crate documentation and examples. |
36 | 8 | - The ios support was removed for the lack of maintainance for now. In case there's a need for it, contributions are welcome. |
37 | 9 | - The context creation is no longer limited to winit's supported platforms. |
38 | 10 | - The underlying Api providers are publically exposed now, so glutin could be used with just e.g. `EGL`. |
39 | 11 | - Fixed soundness issues with `Surface` MT safety, since before `EGLSurface` could be sent to a different thread, which is not safe. |
| 12 | +- Fallback to `Surface::swap_buffers` when `Surface::swap_buffers_with_damage` is not supported on `EGL`. |
40 | 13 |
|
41 | 14 | # Version 0.29.1 (2022-08-10) |
42 | 15 |
|
|
0 commit comments