xwayland: Send PresentCompleteModeSuboptimalCopy if dmabuf feedback was resent

Graphics / X.Org / X.Org Server - Austin Shafer [nvidia.com] - 20 January 2023 17:56 UTC

If the dmabuf protocol's feedback object gave us a new list of modifiers, send PresentCompleteModeSuboptimalCopy to the client to inform them that they need to call GetSupportedModifiers.

d67383a69 xwayland: Send PresentCompleteModeSuboptimalCopy if dmabuf feedback was resent
hw/xwayland/xwayland-glamor.c | 1 +
hw/xwayland/xwayland-present.c | 29 ++++++++++++++++++++++++++++-
hw/xwayland/xwayland-window.h | 7 +++++++
3 files changed, 36 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share