Skip to content

Commit f0240d2

Browse files
committed
vo/gpu/context: add preferred_ref_luma function
1 parent 4b5111c commit f0240d2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

video/out/gpu/context.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ struct ra_ctx_params {
7777
// Preferred device color space. Optional.
7878
pl_color_space_t (*preferred_csp)(struct ra_ctx *ctx);
7979

80+
// See ra_swapchain_fns.target_ref_luma. Optional.
81+
float (*preferred_ref_luma)(struct ra_ctx *ctx);
82+
8083
// See ra_swapchain_fns.set_color. Optional.
8184
bool (*set_color)(struct ra_ctx *ctx, struct mp_image_params *params);
8285

0 commit comments

Comments
 (0)