Skip to content

Commit

Permalink
send flag on main tranche
Browse files Browse the repository at this point in the history
  • Loading branch information
vaxerski committed Jul 20, 2024
1 parent f472dcd commit be4051e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/protocols/LinuxDMABUF.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,9 @@ void CLinuxDMABUFFeedbackResource::sendDefault() {
// Main tranche
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_init(&indices);
for (size_t i = 0; i < feedback->formats.size(); ++i) {
Expand Down

0 comments on commit be4051e

Please sign in to comment.