Skip to content

Commit 06045c7

Browse files
authored
Glutin version 0.30.0
1 parent ba8ec0f commit 06045c7

File tree

3 files changed

+7
-34
lines changed

3 files changed

+7
-34
lines changed

CHANGELOG.md

Lines changed: 4 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,15 @@
11
# Unreleased
22

3-
# Version 0.30.0-beta.3
3+
# Version 0.30.0
44

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.
107
- **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.
368
- The ios support was removed for the lack of maintainance for now. In case there's a need for it, contributions are welcome.
379
- The context creation is no longer limited to winit's supported platforms.
3810
- The underlying Api providers are publically exposed now, so glutin could be used with just e.g. `EGL`.
3911
- 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`.
4013

4114
# Version 0.29.1 (2022-08-10)
4215

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ A low-level library for OpenGL context creation.
77

88
```toml
99
[dependencies]
10-
glutin = "0.30.0-beta.3"
10+
glutin = "0.30.0"
1111
```
1212

1313
## [Documentation](https://docs.rs/glutin)
@@ -22,7 +22,7 @@ Join us in any of these:
2222
## Usage Examples
2323

2424
**Warning:** these are examples for master. For the latest released version you can
25-
find them [here](https://github.com/rust-windowing/glutin/releases/tag/v0.30.0-beta.3).
25+
find them [here](https://github.com/rust-windowing/glutin/releases/tag/v0.30.0).
2626

2727
The examples use [gl_generator](https://crates.io/crates/gl_generator) to
2828
generate OpenGL bindings.

glutin/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "glutin"
3-
version = "0.30.0-beta.3"
3+
version = "0.30.0"
44
authors = ["Kirill Chibisov <contact@kchibisov.com>"]
55
description = "Cross-platform OpenGL context provider."
66
keywords = ["windowing", "opengl", "egl"]

0 commit comments

Comments
 (0)