aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/backend/multi.h
diff options
context:
space:
mode:
authorManuel Stoeckl <code@mstoeckl.com>2021-11-10 22:59:31 -0500
committerSimon Ser <contact@emersion.fr>2021-11-19 15:51:46 +0000
commit3d7d6ec06ff519e4b28198fd514d511c6d670b0b (patch)
tree9d395648ea5c5368bd25f4d943c8067126b0d701 /include/wlr/backend/multi.h
parent7508f87fcbfa8c9feb72fcd38f323113059c1b83 (diff)
output: use XRGB8888 format instead of ARGB8888
Most (and possibly all) compositors using wlroots only ever render fully opaque content. To provide better performance, this change switches the default format used by wlr_output buffers from ARGB8888 to the opaque XRGB8888. Compositors like mutter, kwin, and weston already default to XRGB8888, so this change is unlikely to expose any new bugs in underlying drivers and hardware. This does not affect the hardware cursor's buffer format, which is still ARGB8888 by default. As part of this change, the X11 backend (which does not support changing format at runtime) now picks a true color, 24 bit depth visual (i.e. XRGB8888) instead of a 32 bit depth (ARGB8888) one.
Diffstat (limited to 'include/wlr/backend/multi.h')
0 files changed, 0 insertions, 0 deletions