mirror of
https://github.com/labwc/labwc.git
synced 2025-11-30 06:59:52 -05:00
parent
34947b7791
commit
052035e7d9
1 changed files with 7 additions and 0 deletions
|
|
@ -13,6 +13,7 @@
|
||||||
#include <wlr/types/wlr_foreign_toplevel_management_v1.h>
|
#include <wlr/types/wlr_foreign_toplevel_management_v1.h>
|
||||||
#include <wlr/types/wlr_fractional_scale_v1.h>
|
#include <wlr/types/wlr_fractional_scale_v1.h>
|
||||||
#include <wlr/types/wlr_gamma_control_v1.h>
|
#include <wlr/types/wlr_gamma_control_v1.h>
|
||||||
|
#include <wlr/types/wlr_linux_drm_syncobj_v1.h>
|
||||||
#include <wlr/types/wlr_presentation_time.h>
|
#include <wlr/types/wlr_presentation_time.h>
|
||||||
#include <wlr/types/wlr_primary_selection_v1.h>
|
#include <wlr/types/wlr_primary_selection_v1.h>
|
||||||
#include <wlr/types/wlr_screencopy_v1.h>
|
#include <wlr/types/wlr_screencopy_v1.h>
|
||||||
|
|
@ -530,6 +531,12 @@ server_init(struct server *server)
|
||||||
wlr_log(WLR_DEBUG, "unable to initialize dmabuf");
|
wlr_log(WLR_DEBUG, "unable to initialize dmabuf");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (wlr_renderer_get_drm_fd(server->renderer) >= 0 &&
|
||||||
|
server->renderer->features.timeline) {
|
||||||
|
wlr_linux_drm_syncobj_manager_v1_create(server->wl_display, 1,
|
||||||
|
wlr_renderer_get_drm_fd(server->renderer));
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Autocreates an allocator for us. The allocator is the bridge between
|
* Autocreates an allocator for us. The allocator is the bridge between
|
||||||
* the renderer and the backend. It handles the buffer creation,
|
* the renderer and the backend. It handles the buffer creation,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue