wayland: Remove EGL-dependent code.

This removes all EGL-specific code from the wayland backend.

Notable unresolved question: due to wayland design, the resizing
methods will only get/set the size of the drawn borders, not of the
actual content drawn. This latter size cannot be controlled by winit.
This commit is contained in:
Victor Berger 2016-05-08 09:11:15 +02:00
parent 524bc73039
commit 14323656b6
No known key found for this signature in database
GPG key ID: 3638519DDEAAD525
3 changed files with 21 additions and 29 deletions

View file

@ -57,7 +57,7 @@ impl WaylandContext {
let (mut inner_env, iterator) = InnerEnv::init(display);
let mut outputs_events = EventIterator::new();
let outputs_events = EventIterator::new();
let mut monitors = inner_env.globals.iter()
.flat_map(|&(id, _, _)| inner_env.rebind_id::<WlOutput>(id))