Skip to content

Commit 3fdbac9

Browse files
client: vulkan: more dmabuf import debug
1 parent 447806d commit 3fdbac9

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

client/vulkan.cpp

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,16 @@ VkResult OverlayVK::import_dmabuf(dmabuf_ext* buf, unique_fd& fd, Fdinfo& fdinfo
162162
convert_colors_vk(sc->format, sc->colorspace),
163163
static_cast<unsigned long long>(fdinfo.modifier)
164164
);
165-
return r;
165+
166+
SPDLOG_DEBUG(
167+
"plane[0]: offset={} rowPitch={} w={} h={} usage=0x{:x}",
168+
static_cast<unsigned long long>(plane.offset),
169+
static_cast<unsigned long long>(plane.rowPitch),
170+
fdinfo.w,
171+
fdinfo.h,
172+
static_cast<unsigned>(ici.usage)
173+
);
174+
return r;
166175
}
167176

168177
static uint64_t idx = 0;

0 commit comments

Comments
 (0)