summaryrefslogtreecommitdiff
path: root/hw/xwayland/xwayland-output.c
diff options
context:
space:
mode:
authorJonas Ådahl <jadahl@gmail.com>2023-03-07 18:21:22 +0100
committerJonas Ådahl <jadahl@gmail.com>2023-03-08 16:54:50 +0100
commit4e20d96e8dfc9d19b5730c23ae3cc8da811c346e (patch)
treec92995c62dd213d364a1964abb5a9a13f927eeed /hw/xwayland/xwayland-output.c
parent9bd83c02a8e02b902303a145de15c13ee650b910 (diff)
downloadxserver-4e20d96e8dfc9d19b5730c23ae3cc8da811c346e.tar.gz
xwayland/glamor: Track if a xwl_pixmap uses explicit modifiers
If we allocated with implicit modifiers, then we shouldn't use the modifier returned by gbm_bo when checking whether the modifier is supported or not, since it won't be if the compositor only advertises implicit modifiers, nor should we use the modifier when creating the Wayland buffer object, as it wasn't explicitly advertised. Fixes: c6f2598a4 ("xwayland: don't fall back to wl_drm with explicit modifier") Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
Diffstat (limited to 'hw/xwayland/xwayland-output.c')
0 files changed, 0 insertions, 0 deletions