mirror of
https://github.com/labwc/labwc.git
synced 2026-04-06 07:15:40 -04:00
Drop wl_drm
Xwayland + VA-API + amdvlk now all support linux-dmabuf-v1. Ref: - https://github.com/swaywm/sway/pull/8247
This commit is contained in:
parent
3128f50a25
commit
b110e03cd4
1 changed files with 1 additions and 6 deletions
|
|
@ -10,7 +10,6 @@
|
|||
#include <wlr/types/wlr_alpha_modifier_v1.h>
|
||||
#include <wlr/types/wlr_data_control_v1.h>
|
||||
#include <wlr/types/wlr_data_device.h>
|
||||
#include <wlr/types/wlr_drm.h>
|
||||
#include <wlr/types/wlr_drm_lease_v1.h>
|
||||
#include <wlr/types/wlr_export_dmabuf_v1.h>
|
||||
#include <wlr/types/wlr_ext_data_control_v1.h>
|
||||
|
|
@ -516,11 +515,7 @@ server_init(void)
|
|||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
if (wlr_renderer_get_texture_formats(
|
||||
server.renderer, WLR_BUFFER_CAP_DMABUF)) {
|
||||
if (wlr_renderer_get_drm_fd(server.renderer) >= 0) {
|
||||
wlr_drm_create(server.wl_display, server.renderer);
|
||||
}
|
||||
if (wlr_renderer_get_texture_formats(server.renderer, WLR_BUFFER_CAP_DMABUF)) {
|
||||
server.linux_dmabuf = wlr_linux_dmabuf_v1_create_with_renderer(
|
||||
server.wl_display,
|
||||
LAB_WLR_LINUX_DMABUF_VERSION,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue