Commit Graph

185 Commits

Author SHA1 Message Date
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
Drakulix a7628610d4 Remove robustness for now 2017-06-02 15:32:31 +02:00
Drakulix ca5076a453 Provide a little more fleshed out and working example 2017-06-02 15:32:20 +02:00
Drakulix f890b4011d Fix egl initialization segfaults
- Don't initialize a surface twice, if context creation fails for one
version
- Don't let the loaded egl library go out of scope and thus invalidating
the function pointers
2017-06-02 15:25:16 +02:00
Drakulix e191c08186 Move glium.rs 2017-06-02 13:55:34 +02:00
Drakulix 2c9f6a7479 Flesh out glium compatibility 2017-06-02 13:55:28 +02:00
Drakulix 115eb4d200 Update winit 2017-06-02 13:54:34 +02:00
Drakulix dbaf4f7746 Rename variable to avoid confusion 2017-05-23 11:03:03 +02:00
Drakulix 94d6a0f987 Fix broken robost implementation 2017-05-23 11:02:39 +02:00
Drakulix b2f7d6fbfc rustfmt example 2017-05-21 22:51:38 +02:00
Drakulix 786d719dad rustfmt fixes 2017-05-21 22:50:50 +02:00
Drakulix 5bc641852f Bugfixes 2017-05-21 22:40:15 +02:00
Drakulix b950714c03 First EGL Rework draft 2017-05-18 22:28:02 +02:00