Implement drm (egl) buffer attaching

This commit is contained in:
nyorain 2017-08-09 21:25:34 +02:00
parent 750d0ad458
commit 67369173aa
19 changed files with 308 additions and 23 deletions

View file

@ -52,6 +52,8 @@ static bool wlr_wl_backend_init(struct wlr_backend_state* state) {
}
wlr_egl_init(&state->egl, EGL_PLATFORM_WAYLAND_EXT, state->remote_display);
wlr_egl_bind_display(&state->egl, state->local_display);
for (size_t i = 0; i < state->requested_outputs; ++i) {
wlr_wl_output_create(state->backend);
}