scene, render: use Gamma 2.2 TF as default

This commit is contained in:
Félix Poisot 2025-08-17 15:57:16 +00:00
parent c2d9ae2142
commit d8fb7adcf0
5 changed files with 14 additions and 16 deletions

View file

@ -31,8 +31,9 @@ struct wlr_render_timer;
struct wlr_buffer_pass_options {
/* Timer to measure the duration of the render pass */
struct wlr_render_timer *timer;
/* Color transform to apply to the output of the render pass,
* leave NULL to indicate sRGB/no custom transform */
/* Color transform to apply to the output of the render pass.
* Leave NULL to indicate the default transform (Gamma 2.2 encoding for
* sRGB monitors) */
struct wlr_color_transform *color_transform;
/** Primaries describing the color volume of the destination buffer */
const struct wlr_color_primaries *primaries;