Victor Berger
454f874284
cargo fmt
2018-09-25 00:32:09 +02:00
Colin Benner
4598ba0b48
address a bunch of clippy warnings
2018-06-28 11:33:49 +02:00
Victor Berger
de373074fd
Update winit to 0.14
2018-05-12 12:55:37 +02:00
Victor Berger
422e8b33e0
backend.winit: migrate to wayland-rs 0.20
2018-04-18 09:58:32 +02:00
Drakulix
d051e141cf
Refactor PointerAxisEvent to handle multiple axis
2018-03-22 16:10:32 +01:00
Drakulix
d005cd4fc6
Replace time stub with proper timestamps
2018-03-17 18:15:34 +01:00
Drakulix
4ee34fe43a
Fix winit transformed input for negative positions
2018-03-13 18:41:37 +01:00
Drakulix
a6d8b2a802
Fix winit transformed input
2018-03-09 17:37:27 +01:00
Drakulix
ef0cfb9f2c
Add names to backend seats
2018-02-19 12:49:55 +01:00
Drakulix
d3a454ad72
Add winit events handler
2018-02-18 23:42:33 +01:00
Drakulix
b53ff34aab
Add option to access underlying window
2018-02-18 23:42:02 +01:00
Drakulix
a9c75656a2
Add event_loop to `InputBackend` and `InputHandler` traits
2018-01-12 16:41:33 +01:00
Drakulix
66c011c942
Use new rustfmt-preview
2018-01-07 22:30:38 +01:00
Drakulix
efaadb8882
Fix a bunch of warnings
2018-01-07 20:24:40 +01:00
Drakulix
c5f475ebb5
Make unbind_egl_display into Drop implementation for EGLDisplay
2018-01-07 13:02:26 +01:00
Drakulix
a527456ba6
Fixup drm backends for egl hardware-acceleration
...
- Decouple DrmBackend and DrmDevice through Weak references
- Move EGL-WlBuffer related functionality into it's own trait
- Impl new trait by every struct that can theoretically bind the display although it is no rendering target (no EGLGraphicsBackend), e.g. DrmDevice
- Move texture binding into own struct `EGLDisplay` created by `bind_wl_display` that can be passed around freely
- Add device num to DrmDevice for HashMap storage
- Fixup and enable acceleration on drm and udev examples made possible by the previous changes.
2018-01-05 20:04:46 +01:00
Drakulix
6c6d54064d
Get it to work...
2017-12-28 15:30:53 +01:00
Drakulix
5d7e96103d
Rework EGL module
2017-12-24 14:29:45 +01:00
Drakulix
4207611e6d
rustfmt code
2017-12-15 19:22:44 +01:00
Drakulix
96bb3570ba
Get input working
2017-11-29 22:28:14 +01:00
Drakulix
c7682e77de
Udev backend
2017-11-29 22:28:13 +01:00
Demur Rumed
ce844ba9f8
Cargo.toml: include repo, update nix/image
2017-10-09 15:17:19 +02:00
Jonas Platte
4946017c0c
Apply a bunch of clippy suggestions
2017-10-07 18:40:59 +02:00
Victor Berger
5a0713feb9
Fix winit backend on wayland
...
We were trying to swap_buffers while the xdg_surface had not been
configured yet, which is a protocol error.
2017-09-29 17:22:19 +02:00
Drakulix
7f45283759
cargo fmt
2017-09-21 20:50:10 +02:00
Drakulix
fa6742fb5f
The glory of error-chain
2017-09-20 15:56:11 +02:00
Drakulix
0698775153
drm: Introduce the Drm Backend
...
- new backend rendering via egl via gbm directly on a drm device
- refine EGLContext and EGLSurface dependencies through lifetimes
- fixup the old winit backend to work with these changes
- add new example using the drm backend instead
- change GliumDrawer to be static for the drm example
2017-09-20 15:50:14 +02:00
Victor Berger
88773cf1b3
cargo fmt
2017-09-05 19:51:05 +02:00
Victor Berger
b19fafa1a0
Update winit dependency
2017-06-24 10:31:36 +02:00
Victor Berger
030261116d
winit's Event has more variants now
2017-06-23 16:14:33 +02:00
Drakulix
206007f5a5
rustfmt 0.9 update
2017-06-20 11:31:18 +02:00
Drakulix
eef617258e
rustfmt
2017-06-10 23:29:09 +02:00
Drakulix
2d255fd48d
Decouple EGLSurface from EGLContext
2017-06-10 23:28:09 +02:00
Drakulix
11e9999cb9
Better wording for winit make_current
2017-06-05 14:06:58 +02:00
Drakulix
83b98ba77b
Run cargo fmt
2017-06-04 23:13:19 +02:00
Drakulix
2453545329
Added logging to egl&winit + small bugfixes
...
- Added logging to winit & egl
- Fixed winit pointer scroll event only yielding horizontal events
- Fixed unsupported double_buffering for egl
2017-06-04 23:11:26 +02:00
Drakulix
a7628610d4
Remove robustness for now
2017-06-02 15:32:31 +02:00
Drakulix
115eb4d200
Update winit
2017-06-02 13:54:34 +02:00
Drakulix
dbaf4f7746
Rename variable to avoid confusion
2017-05-23 11:03:03 +02:00
Drakulix
94d6a0f987
Fix broken robost implementation
2017-05-23 11:02:39 +02:00
Drakulix
786d719dad
rustfmt fixes
2017-05-21 22:50:50 +02:00
Drakulix
5bc641852f
Bugfixes
2017-05-21 22:40:15 +02:00
Drakulix
b950714c03
First EGL Rework draft
2017-05-18 22:28:02 +02:00