mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-17 06:46:39 -04:00
render/vulkan: don't assume a default EOTF
All color-management decisions, including the use of a linear space for blending, are now moved up to wlr_scene
This commit is contained in:
parent
03d3041fba
commit
bf8b6a7127
3 changed files with 68 additions and 50 deletions
|
|
@ -31,9 +31,7 @@ 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 the default transform (Gamma 2.2 encoding for
|
||||
* sRGB monitors) */
|
||||
/* Color transform to apply to the output of the render pass */
|
||||
struct wlr_color_transform *color_transform;
|
||||
|
||||
/* Signal a timeline synchronization point when the render pass completes.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue