Commit Graph

460 Commits

Author SHA1 Message Date
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
Victor Berger 502a99c5f9 Remove debug printlns 2017-09-29 17:22:19 +02:00
Victor Berger ec4a9a0578 Merge pull request #39 from vberger/seat_global
Global handler for seat
2017-09-23 19:15:58 +02:00
Victor Berger 31f39ed61a seat: increase logger metadata 2017-09-23 18:31:39 +02:00
Victor Berger 8251fe0623 travis: actually, we need to rebuild rustfmt
Every nightly update breaks the cached version.
2017-09-22 18:56:31 +02:00
Victor Berger da3983856b fix examples 2017-09-22 18:49:58 +02:00
Victor Berger 532cb6b78e seat: doc & warnings & fmt & cleanup methods 2017-09-22 18:42:52 +02:00
Victor Berger 4b01b55f75 seat.keyboard: fix sym peek with +8 offset 2017-09-22 15:03:23 +02:00
Victor Berger cfb388561f examples: reduce warnings 2017-09-22 15:00:29 +02:00
Victor Berger 4b4097d56d examples: input for winit 2017-09-22 14:58:20 +02:00
Victor Berger e6eb03c184 examples: introduce window_map 2017-09-22 14:56:59 +02:00
Victor Berger e3cb52d06b update winit 2017-09-22 14:54:34 +02:00
Victor Berger e1ade4e2e9 seat: implementation 2017-09-22 14:54:18 +02:00
Victor Berger bb7d389be6 utils: fmt 2017-09-22 14:53:39 +02:00
Victor Berger 648da00c6a compositor: allow the choice or iteration direction in subsurface trees 2017-09-22 14:53:07 +02:00
Victor Berger 3dd559cdf1 Move Rectangle to utils module. 2017-09-22 10:54:16 +02:00
Victor Berger e6600dfbe9 seat.keyboard: handle repeat-info 2017-09-21 21:40:11 +02:00
Victor Berger 5241b8f79e seat: directory structure 2017-09-21 21:08:30 +02:00
Victor Berger 2850def0f4 Rework keyboard handler 2017-09-21 21:08:30 +02:00
Victor Berger c5048fea71 Merge pull request #40 from Smithay/fix/borrow
Fix examples and expand travis
2017-09-21 21:07:47 +02:00
Drakulix 7f45283759 cargo fmt 2017-09-21 20:50:10 +02:00
Drakulix 74b56e6de2 Fix examples 2017-09-21 20:31:51 +02:00
Victor Berger 62be110265 Merge pull request #38 from Smithay/feature/drm
Fix drm doc test and Deref impl
2017-09-21 19:23:56 +02:00
Drakulix d2617becbf Fix drm doc test and Deref impl 2017-09-21 19:05:59 +02:00
Victor Brekenfeld 3386304bd4 Merge pull request #34 from Smithay/feature/drm
Drm Backend
2017-09-20 20:19:35 +02:00
Drakulix f09bdd0a30 cargo fmt 2017-09-20 20:06:58 +02:00
Drakulix 518f7dbdfc Store DrmBackend in EventLoop state 2017-09-20 19:48:58 +02:00
Drakulix 0758ec98ba Fix the drm backend for wayland-rs 0.10 2017-09-20 17:09:37 +02:00
Drakulix 457d6d1c35 Free framebuffers correctly 2017-09-20 15:56:57 +02:00
Drakulix fa6742fb5f The glory of error-chain 2017-09-20 15:56:11 +02:00
Drakulix a04bfcdd11 Add encoder detection to runtime manipulation 2017-09-20 15:54:16 +02:00
Drakulix 174e4b9d0b Fix encoder detection 2017-09-20 15:53:19 +02:00
Drakulix d3fca34475 Do a better job at finding a crtc in the example 2017-09-20 15:52:47 +02:00
Drakulix bdb91fc1f1 Better explaination of the drm module
- Explain the types involved and their role
- Link to the drm-rs documentation
2017-09-20 15:51:59 +02:00
Drakulix 67b3621be3 drm: reformat 2017-09-20 15:51:59 +02:00
Drakulix ab77a87725 drm: Check for valid encoder 2017-09-20 15:51:59 +02:00
Drakulix 660080c45d drm: Refine drm example commentary 2017-09-20 15:51:39 +02:00
Drakulix 10fd94f963 drm: add more logging 2017-09-20 15:51:39 +02:00
Drakulix 73d262e292 drm: reformat 2017-09-20 15:51:39 +02:00
Drakulix 9c71793b0e drm: Add more inline comments explaining the drm code 2017-09-20 15:51:39 +02:00
Drakulix 7bf4105050 drm: Add error for multi-use of a single crtc 2017-09-20 15:51:39 +02:00
Drakulix f2bff6172b drm: Documentation 2017-09-20 15:51:38 +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 24ea2a066a Merge pull request #35 from vberger/master
Migrate to wayland-server 0.10
2017-09-20 15:37:35 +02:00
Victor Berger 0de5694a18 Update example to new API 2017-09-20 15:03:58 +02:00
Victor Berger 32e60de4f3 shell: update to new wayland-server 2017-09-20 15:03:39 +02:00
Victor Berger 33f80a622f compositor: update to new wayland-server 2017-09-20 15:02:45 +02:00
Victor Berger bb86b1c3ed shm: update to wayland-server-0.10 2017-09-20 09:56:44 +02:00
Victor Berger b8f40325aa add vscode to gitignore 2017-09-19 17:02:16 +02:00
Victor Berger 1bea019bc5 Merge pull request #33 from vberger/shell
Update example to have weston-terminal not crashing
2017-09-08 17:59:50 +02:00