mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-25 07:09:48 +01:00
send flag on main tranche
This commit is contained in:
parent
f472dcd67b
commit
be4051e923
1 changed files with 3 additions and 0 deletions
|
@ -303,6 +303,9 @@ void CLinuxDMABUFFeedbackResource::sendDefault() {
|
||||||
// Main tranche
|
// Main tranche
|
||||||
resource->sendTrancheTargetDevice(&deviceArr);
|
resource->sendTrancheTargetDevice(&deviceArr);
|
||||||
|
|
||||||
|
// Technically, on a single-gpu system, this is correct I believe.
|
||||||
|
resource->sendTrancheFlags(ZWP_LINUX_DMABUF_FEEDBACK_V1_TRANCHE_FLAGS_SCANOUT);
|
||||||
|
|
||||||
wl_array indices;
|
wl_array indices;
|
||||||
wl_array_init(&indices);
|
wl_array_init(&indices);
|
||||||
for (size_t i = 0; i < feedback->formats.size(); ++i) {
|
for (size_t i = 0; i < feedback->formats.size(); ++i) {
|
||||||
|
|
Loading…
Reference in a new issue