Commit Graph

221 Commits

Author SHA1 Message Date
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
Victor Berger 33272a2275 Update example to have weston-terminal not crashing 2017-09-08 17:25:36 +02:00
Victor Berger f5ce5caa97 Merge pull request #32 from vberger/shell
First draft of shell backend
2017-09-08 14:09:00 +02:00
Victor Berger 22a2f4649f shell: fix doc typos 2017-09-08 13:13:07 +02:00
Victor Berger 08e6187e47 shell: module-level documentation 2017-09-06 16:35:49 +02:00
Victor Berger eeb6373ded Silence example warnings. 2017-09-06 16:33:35 +02:00
Victor Berger 3171160cff shell: fix warnings 2017-09-06 15:21:12 +02:00
Victor Berger 6dec2cb5da shell: types documentation 2017-09-06 14:41:59 +02:00
Victor Berger 30c0628959 examples: randomise window location in simple.rs 2017-09-05 21:23:40 +02:00
Victor Berger db6bad1676 compositor: return value from Token::with_surface_data 2017-09-05 21:23:17 +02:00
Victor Berger aab56047f0 Update example to use shell global 2017-09-05 21:09:50 +02:00
Victor Berger a86b3d6d67 travis: fix argument nesting 2017-09-05 20:11:26 +02:00
Victor Berger 88773cf1b3 cargo fmt 2017-09-05 19:51:05 +02:00
Victor Berger 00c9a0c695 travis: use rustfmt-nightly 2017-09-05 19:50:41 +02:00
Victor Berger 3128585fc9 shell: shell backend first draft 2017-09-05 19:50:22 +02:00
Victor Berger 70f7b19940 compositor: add missing token method 2017-09-05 12:05:42 +02:00
Victor Berger 55516428da Merge pull request #31 from vberger/rework_roles
compositor: rework roles
2017-09-04 13:55:42 +02:00
Victor Berger 5c46ba73e9 compositor: rework roles 2017-09-04 13:15:20 +02:00
Victor Berger 571d2ed511 Merge pull request #24 from vberger/master
Update winit dependency
2017-06-24 13:58:10 +02:00
Victor Berger b19fafa1a0 Update winit dependency 2017-06-24 10:31:36 +02:00
Victor Berger ce70cda374 Merge pull request #19 from vberger/compositor
First draft of the compositor/subcompositor global handler
2017-06-23 17:20:45 +02:00
Victor Berger 030261116d winit's Event has more variants now 2017-06-23 16:14:33 +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 bffc02c5f1 glium: impl Facade 2017-06-23 15:20:09 +02:00
Victor Berger d819e15e29 compositor: Handler is now parametred by user data 2017-06-23 15:20:09 +02:00
Victor Berger afd9ca5656 shm: rename ShmGlobalToken to ShmToken 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
Victor Berger e009651371 compositor: various doc fixes 2017-06-23 15:19:27 +02:00
Victor Berger 267847eebf compositor: add logging 2017-06-23 15:19:27 +02:00
Victor Berger f2698ec39a Fix cargo.toml 2017-06-23 15:19:27 +02:00
Victor Berger 627008dbce compositor: module documentation 2017-06-23 15:19:27 +02:00
Victor Berger 9fe6f16af3 compositor: provide default noop impls from Handler 2017-06-23 15:19:27 +02:00
Victor Berger 43d1812e1f Donc use default features for glium
It pulls two versions of winit as deps for nothing.
2017-06-23 15:19:27 +02:00
Victor Berger deb072afbb compositor: give access to surface children and region metadata 2017-06-23 15:19:27 +02:00