mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-12 04:28:18 -05:00
render: don't infer luminance multipliers from color TF
Make scene pass them explicitly instead. Ref #3995
This commit is contained in:
parent
68052f34d3
commit
5a40da7e15
6 changed files with 36 additions and 23 deletions
|
|
@ -372,7 +372,6 @@ struct wlr_vk_frag_texture_pcr_data {
|
|||
|
||||
struct wlr_vk_frag_output_pcr_data {
|
||||
float matrix[4][4]; // only a 3x3 subset is used
|
||||
float luminance_multiplier;
|
||||
float lut_3d_offset;
|
||||
float lut_3d_scale;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -109,6 +109,8 @@ struct wlr_render_texture_options {
|
|||
enum wlr_color_encoding color_encoding;
|
||||
/* Color range of the source texture */
|
||||
enum wlr_color_range color_range;
|
||||
/* Default: 1.0 */
|
||||
const float *luminance_multiplier;
|
||||
|
||||
/* Wait for a timeline synchronization point before texturing.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue