gallium: Add PIPE_VIDEO_CAP_SKIP_CLEAR_SURFACE

Used to skip calling clear_render_target when creating surface.

Reviewed-by: Leo Liu <leo.liu@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31677>
This commit is contained in:
David Rosca 2024-10-15 18:55:27 +02:00 committed by Marge Bot
parent 47a1565c3d
commit 76df53f59b

View file

@ -91,6 +91,7 @@ enum pipe_video_cap
PIPE_VIDEO_CAP_STACKED_FRAMES = 9,
PIPE_VIDEO_CAP_MAX_MACROBLOCKS = 10,
PIPE_VIDEO_CAP_MAX_TEMPORAL_LAYERS = 11,
PIPE_VIDEO_CAP_SKIP_CLEAR_SURFACE = 12,
PIPE_VIDEO_CAP_ENC_MAX_SLICES_PER_FRAME = 13,
PIPE_VIDEO_CAP_ENC_SLICES_STRUCTURE = 14,
PIPE_VIDEO_CAP_ENC_MAX_REFERENCES_PER_FRAME = 15,