This reads from the format list, which is not yet filled in.
d2e107b26 xwayland: Add get_drawable_modifiers implementation
hw/xwayland/xwayland-glamor-eglstream.c | 2 +-
hw/xwayland/xwayland-glamor-gbm.c | 2 +-
hw/xwayland/xwayland-glamor.c | 109 ++++++++++++++++++++++++++++----
hw/xwayland/xwayland-glamor.h | 2 +
hw/xwayland/xwayland-window.h | 1 +
5 files changed, 102 insertions(+), 14 deletions(-)
Upstream: cgit.freedesktop.org