Commit Graph

7 Commits

Author SHA1 Message Date
Drakulix 518f7dbdfc Store DrmBackend in EventLoop state 2017-09-20 19:48:58 +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 88773cf1b3 cargo fmt 2017-09-05 19:51:05 +02:00
Victor Berger 4f6a852652 cargo fmt 2017-06-23 15:40:28 +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 19634f30ed example: actually draw some windows! 2017-06-23 15:20:09 +02:00