From 325de7fe7ed77025284be5cba0274fda1d9879d8 Mon Sep 17 00:00:00 2001 From: David Rosca Date: Wed, 13 Aug 2025 09:53:14 +0200 Subject: [PATCH] pipe: Remove now unused is_video_target_buffer_supported Reviewed-by: Ruijing Dong Part-of: --- src/gallium/include/pipe/p_screen.h | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/gallium/include/pipe/p_screen.h b/src/gallium/include/pipe/p_screen.h index 4f1c9d5a5da..6d6f6548ef1 100644 --- a/src/gallium/include/pipe/p_screen.h +++ b/src/gallium/include/pipe/p_screen.h @@ -798,24 +798,6 @@ struct pipe_screen { enum pipe_format format, uint32_t rate, int max, uint64_t *modifiers, int *count); - /** - * Check if the given \p target buffer is supported as output (or input for - * encode) for this \p profile and \p entrypoint. - * - * If \p format is different from target->buffer_format this function - * checks if the \p target buffer can be converted to \p format as part - * of the given operation (eg. encoder accepts RGB input and converts - * it to YUV). - * - * \return true if the buffer is supported for given operation, false - * otherwise. - */ - bool (*is_video_target_buffer_supported)(struct pipe_screen *screen, - enum pipe_format format, - struct pipe_video_buffer *target, - enum pipe_video_profile profile, - enum pipe_video_entrypoint entrypoint); - /** * Allocates a cut-out in the GPU's VM space. */