Skip to content

Commit

Permalink
v0.17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Drakulix committed Dec 2, 2024
1 parent 9b5ab6a commit e3f8bb5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 0.17.0

- `Surface`/`BufferObject` now take strong references to the underlying `gbm_device`
- Fixes a segfault when dropping the `Device` before it's derived objects
- Removes `DeviceDestroyedError`, `InvalidDeviceError` and `FdError`
- Removes the `device`-argument from `BufferObject::map` and `BufferObject::map_mut`

## 0.16.1

- `Device`/`Surface`/`BufferObject` are now `Sync`
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description = "libgbm bindings for rust"
license = "MIT"
documentation = "https://docs.rs/gbm"
repository = "https://github.com/Smithay/gbm.rs"
version = "0.16.1"
version = "0.17.0"
keywords = ["wayland", "gbm", "drm", "bindings"]
categories = ["external-ffi-bindings"]
authors = ["Victoria Brekenfeld <[email protected]>"]
Expand Down
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,12 @@ provided through the `drm-support` feature.
Add to your Cargo.toml

```toml
gbm = "0.16.1"
gbm = "0.17.0"
```

## Example

```rust
extern crate drm;
extern crate gbm;

use drm::control::{self, crtc, framebuffer};
use gbm::{BufferObjectFlags, Device, Format};

Expand Down

0 comments on commit e3f8bb5

Please sign in to comment.