Commit Graph

197 Commits

Author SHA1 Message Date
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
Victor Berger a5ae27be84 Implement wl_subsurface.place_{above,below}. 2017-06-23 15:19:27 +02:00
Victor Berger 1e960af5f2 Add subhandler for wl_surface.{commit,frame} 2017-06-23 15:19:27 +02:00
Victor Berger 8809f182b5 Fuse CompositorGlobal and CompositorHandler 2017-06-23 15:19:27 +02:00
Victor Berger 13d0479264 First draft of compositor global. 2017-06-23 15:19:27 +02:00
Victor Berger 0e88a6d28b gitignore rustfmt's .bk files 2017-06-23 15:19:27 +02:00
Victor Berger 3363846d84 Merge pull request #22 from Drakulix/refactor/egl_surface
Decouple EGLSurface from EGLContext
2017-06-20 11:47:29 +02:00
Drakulix 206007f5a5 rustfmt 0.9 update 2017-06-20 11:31:18 +02:00
Drakulix b131f8168e Shorten surface type matching 2017-06-20 10:50:20 +02:00
Drakulix f70cc6bf55 rustfmt 2017-06-18 19:20:23 +02:00
Drakulix 57833f2b2d Bugfix surface_attribute termination 2017-06-15 13:34:01 +02:00
Drakulix 40e49ad7e9 Fix typos 2017-06-15 13:33:43 +02:00
Drakulix 5155b44946 Check if surface type is matching context type 2017-06-15 13:33: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
Victor Berger 9ddce76d7f Merge pull request #21 from Drakulix/update/input
Update libinput bindings
2017-06-08 10:45:40 +02:00
Drakulix ac4ae3ebe4 Update libinput bindings 2017-06-08 01:14:56 +02:00
Victor Berger 84e6630767 Merge pull request #20 from Drakulix/fix/egl-logging
Fix/Add winit&egl logging
2017-06-05 14:49:49 +02:00
Drakulix 11e9999cb9 Better wording for winit make_current 2017-06-05 14:06:58 +02:00
Drakulix 7a0639fae6 Reorder egl library loading 2017-06-04 23:22:51 +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 4053d2bc30 Fixed copy&paste logging message errors 2017-06-04 23:10:50 +02:00
Victor Berger 1925dc9ea8 Merge pull request #17 from Drakulix/feature/egl_on_winit
EGL Rework
2017-06-02 16:31:16 +02:00
Drakulix e28b237c16 Fix example formatting 2017-06-02 16:21:29 +02:00