mirror of
https://github.com/swaywm/sway.git
synced 2026-04-19 06:46:40 -04:00
Add 16f option to render_bit_depth command
This change adds an option to let sway render onto XBGR16161616F buffers, assuming hardware and drivers support this. Such half-float formats may be used in the future for applications (including nested Sway) to submit high-dynamic-range buffers. Using this option is even more likely to reveal bugs in graphics drivers, monitors, and screenshot tools than 'render_bit_depth 10'.
This commit is contained in:
parent
6b97c4fa71
commit
1351c4e505
4 changed files with 13 additions and 3 deletions
|
|
@ -258,6 +258,7 @@ enum render_bit_depth {
|
|||
RENDER_BIT_DEPTH_DEFAULT, // the default is currently 8
|
||||
RENDER_BIT_DEPTH_8,
|
||||
RENDER_BIT_DEPTH_10,
|
||||
RENDER_BIT_DEPTH_16F,
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue