Commit Graph

78 Commits

Author SHA1 Message Date
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