Implement version 4 of linux-dmabuf
This implements version 4 of the linux-dmabuf protocol,
and at the same time, identifies it as stable, since
this is stable upstream. This is required on some new
drivers.
The unstable plugin is kept around to avoid disrupting
systems where this is already in use. It just creates
a version 3 instance of the same code.
[ChangeLog][Plugins] Added support for linux-dmabuf-v1
stable protocol, version 4. To use it, select
"linux-dmabuf-v1" as the client buffer integration.
The old (version 3) implementation can still be used
under the name "linux-dmabuf-unstable-v1" for
compatibility.
Fixes: QTBUG-144800
Change-Id: I49a714b0046f030b88c38905276be7d2b16cef8b
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
| commit | a8cd817904075b6297e5854859904ecc7488b79e |
| parent | 102a8b04a1d41f600fd3ae0dc83955cb37bce007 |
| author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> |
| committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> |
| commit time | Fri, 27 Mar 2026 16:05:15 +0100 |
- M README
- M src/compositor/compositor_api/qwaylandcompositor.cpp
- M src/compositor/configure.cmake
- R066 src/hardwareintegration/compositor/linux-dmabuf-unstable-v1/linuxdmabuf.cpp
- R075 src/hardwareintegration/compositor/linux-dmabuf-unstable-v1/linuxdmabuf.h
- R086 src/hardwareintegration/compositor/linux-dmabuf-unstable-v1/linuxdmabufclientbufferintegration.cpp
- R093 src/hardwareintegration/compositor/linux-dmabuf-unstable-v1/linuxdmabufclientbufferintegration.h
- M src/plugins/hardwareintegration/compositor/CMakeLists.txt
- M src/plugins/hardwareintegration/compositor/linux-dmabuf-unstable-v1/CMakeLists.txt
- M src/plugins/hardwareintegration/compositor/linux-dmabuf-unstable-v1/main.cpp
- A src/plugins/hardwareintegration/compositor/linux-dmabuf-v1/CMakeLists.txt
- A src/plugins/hardwareintegration/compositor/linux-dmabuf-v1/linux-dmabuf-v1.json
- A src/plugins/hardwareintegration/compositor/linux-dmabuf-v1/main.cpp