|
|
@ -4,7 +4,6 @@
|
|
|
|
#include <wlr/render/gles2.h>
|
|
|
|
#include <wlr/render/gles2.h>
|
|
|
|
#include <wlr/render/interface.h>
|
|
|
|
#include <wlr/render/interface.h>
|
|
|
|
#include <wlr/render/wlr_renderer.h>
|
|
|
|
#include <wlr/render/wlr_renderer.h>
|
|
|
|
#include <wlr/types/wlr_linux_dmabuf_v1.h>
|
|
|
|
|
|
|
|
#include <wlr/types/wlr_matrix.h>
|
|
|
|
#include <wlr/types/wlr_matrix.h>
|
|
|
|
#include <wlr/util/log.h>
|
|
|
|
#include <wlr/util/log.h>
|
|
|
|
#include "util/signal.h"
|
|
|
|
#include "util/signal.h"
|
|
|
@ -182,12 +181,6 @@ bool wlr_renderer_init_wl_display(struct wlr_renderer *r,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (r->impl->texture_from_dmabuf) {
|
|
|
|
|
|
|
|
if (wlr_linux_dmabuf_v1_create(wl_display, r) == NULL) {
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (r->impl->init_wl_display) {
|
|
|
|
if (r->impl->init_wl_display) {
|
|
|
|
if (!r->impl->init_wl_display(r, wl_display)) {
|
|
|
|
if (!r->impl->init_wl_display(r, wl_display)) {
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|