Commit Graph

92 Commits

Author SHA1 Message Date
Victor Berger 8934bf19dc examples: add output to winit example 2017-10-01 22:47:30 +02:00
Drakulix 51886fbf00 Update to stable drm-rs version 2017-10-01 22:25:52 +02:00
Victor Berger 2fbb45273f cargo fmt 2017-09-30 12:05:28 +02:00
Victor Berger 15ce7134fc Move wayland utilities to their own module. 2017-09-29 17:24:20 +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
Victor Berger da3983856b fix examples 2017-09-22 18:49:58 +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
Drakulix 7f45283759 cargo fmt 2017-09-21 20:50:10 +02:00
Drakulix 74b56e6de2 Fix examples 2017-09-21 20:31:51 +02:00
Drakulix d2617becbf Fix drm doc test and Deref impl 2017-09-21 19:05:59 +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 d3fca34475 Do a better job at finding a crtc in the example 2017-09-20 15:52:47 +02:00
Drakulix 660080c45d drm: Refine drm example commentary 2017-09-20 15:51:39 +02:00
Drakulix 73d262e292 drm: reformat 2017-09-20 15:51:39 +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 0de5694a18 Update example to new API 2017-09-20 15:03:58 +02:00
Victor Berger 33272a2275 Update example to have weston-terminal not crashing 2017-09-08 17:25:36 +02:00
Victor Berger eeb6373ded Silence example warnings. 2017-09-06 16:33:35 +02:00
Victor Berger 30c0628959 examples: randomise window location in simple.rs 2017-09-05 21:23:40 +02:00
Victor Berger aab56047f0 Update example to use shell global 2017-09-05 21:09:50 +02:00
Victor Berger 88773cf1b3 cargo fmt 2017-09-05 19:51:05 +02:00
Victor Berger 5c46ba73e9 compositor: rework roles 2017-09-04 13:15:20 +02:00
Victor Berger 4f6a852652 cargo fmt 2017-06-23 15:40:28 +02:00
Victor Berger 9d2f03943e replace unsafe impls from wayland-server with declare_handler macro 2017-06-23 15:24:23 +02:00
Victor Berger c2c5716524 example: use Texture2d to have correct gamma correction
This mimicks what weston does.
2017-06-23 15:24:23 +02:00
Victor Berger d475435fcb cargo fmt 2017-06-23 15:24:23 +02:00
Victor Berger a487c5963a compositor: TraversalAction for tree traversal 2017-06-23 15:20:09 +02:00
Victor Berger 19634f30ed example: actually draw some windows! 2017-06-23 15:20:09 +02:00
Victor Berger bf9ee9a395 cargo fmt 2017-06-23 15:20:09 +02:00
Victor Berger 712fc5b8b8 examples: improve simple.rs 2017-06-23 15:20:09 +02:00
Drakulix 206007f5a5 rustfmt 0.9 update 2017-06-20 11:31:18 +02:00
Drakulix e28b237c16 Fix example formatting 2017-06-02 16:21:29 +02:00
Drakulix ca5076a453 Provide a little more fleshed out and working example 2017-06-02 15:32:20 +02:00
Drakulix b2f7d6fbfc rustfmt example 2017-05-21 22:51:38 +02:00
Drakulix 5bc641852f Bugfixes 2017-05-21 22:40:15 +02:00
Drakulix a0b8f53e03 Fix example formatting 2017-03-20 15:53:45 +01:00
Drakulix ae375624ac Fix formatting 2017-03-20 14:33:27 +01:00
Drakulix 369c8a980e Updated example 2017-03-19 21:56:10 +01:00
Drakulix ec8149b084 Initial glutin backend implementation 2017-03-14 19:34:48 +01:00