Victoria Brekenfeld
20051d384d
drm: Use EventMetadata to pass on frame timings
2022-01-27 21:18:37 +01:00
Victor Brekenfeld
9584219ffa
swapchain: Use `UserDataMap` instead of generic parameter
2021-11-24 18:57:49 +01:00
Victor Berger
c630bd9086
cargo fmt
2021-06-10 22:01:10 +02:00
Victor Berger
aaa6e625e9
Update to calloop 0.8, DrmDevice as an EventSource
2021-06-03 11:45:22 +02:00
Victor Brekenfeld
e008360bde
allocator: Let the allocator select the best modifier out of a given set.
...
This change fixes modifier selection by delegating this to the allocators
and thus to libgbm, which can ask the driver for an appropriate modifier
for scanout, that results in the best possible performance.
We do not have this information, the order in which modifiers are returned
by EGL has no meaning and this is far better then testing modifiers
non-deterministically at random and choosing the first one, that does
not error out...
2021-06-03 11:19:22 +02:00
Victor Brekenfeld
12e80ca2c6
cargo fmt
2021-05-26 19:12:45 +02:00
Victor Brekenfeld
2843c5c374
Address some review comments
2021-05-23 15:13:04 +02:00
Victor Brekenfeld
a4f66da69f
drm: Properly expose planes for surfaces
2021-05-20 01:06:16 +02:00
Victor Brekenfeld
149c923876
cargo fmt
2021-05-15 18:17:43 +02:00
Victor Brekenfeld
378f826c26
swapchain: do not convert buffers automatically anymore
2021-05-15 16:12:13 +02:00
Victor Brekenfeld
7e47d648d4
First pass of adding documentation
2021-05-15 16:12:12 +02:00
Victor Brekenfeld
52c01535d0
rustfmt
2021-05-15 16:12:12 +02:00
Victor Brekenfeld
05f11cffeb
examples: fix raw_drm
2021-05-15 16:12:12 +02:00
Victor Brekenfeld
74187f55fc
examples: move raw_drm to raw_legacy_drm
2020-04-21 20:18:34 +02:00
Victor Berger
6a7d933553
Replace `failure` and `error-chain` by `thiserror`
2020-04-13 13:20:59 +02:00
Victor Brekenfeld
f6b3d630ce
rustfmt
2020-04-10 19:18:58 +02:00
Victor Berger
d30d901771
Update raw_drm example
2020-04-10 16:59:01 +02:00
Victor Berger
89dce178c8
Make wayland support optional
2019-02-06 09:29:56 +01:00
Victor Brekenfeld
e5f8c351c7
Check for rust_2018_idioms
2018-12-16 19:31:38 +01:00
Victor Brekenfeld
f3c37de1c0
Fix example crates
2018-12-16 14:56:36 +01:00
Victor Brekenfeld
dc97e0ad03
Add reexports module
2018-12-14 14:26:50 +01:00
Victor Brekenfeld
a8343edbd7
legacy: add legacy drm example
2018-12-05 22:51:41 +01:00