mesa/src/gallium/frontends/va
David Rosca 09977d687d frontents/va: Use PIPE_USAGE_STAGING for coded buffer
Coded buffer will only be read on CPU, setting
PIPE_USAGE_STAGING instead of PIPE_USAGE_STREAM
makes the CPU reads much faster.

On 6700XT this reduces the CPU copy by around
3ms to 0.3 ms on average while under high GPU
load - real-time game streaming.

Signed-off-by: David Rosca <nowrep@gmail.com>
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20989>
2023-01-31 10:22:05 +00:00
..
buffer.c frontends/va: Add windows VA frontend support via vl_winsys_win32 and libva-win32 2022-10-19 00:45:48 +00:00
config.c frontends/va: return proper error for unsupported profile 2022-12-05 15:51:47 +00:00
context.c frontend/va: Fix WIN32 VA_DRIVER_INIT_FUNC declaration. Remove declspec as it uses .def file 2022-11-15 20:25:12 +00:00
display.c frontends/va: Fix test_va_api VAAPIDisplayAttribs tests 2021-09-30 17:28:44 +00:00
image.c frontends/va: Add windows VA frontend support via vl_winsys_win32 and libva-win32 2022-10-19 00:45:48 +00:00
meson.build frontends/va: Add AV1 parameter buffers functions 2021-08-13 09:24:01 -04:00
picture.c frontends: va: fix vaQuerySurfaceStatus and vaSyncSurface for decode 2023-01-11 19:34:33 +00:00
picture_av1.c frontneds/va: use current_display_picture from VA for film grain 2022-12-08 21:59:24 +00:00
picture_h264.c frontends/va: improve enc quality interface change 2022-08-23 15:56:07 +00:00
picture_h264_enc.c frontents/va: Use PIPE_USAGE_STAGING for coded buffer 2023-01-31 10:22:05 +00:00
picture_hevc.c frontends/va: partially updating RefPicList depends on slice type 2022-12-01 18:14:23 +00:00
picture_hevc_enc.c frontents/va: Use PIPE_USAGE_STAGING for coded buffer 2023-01-31 10:22:05 +00:00
picture_mjpeg.c
picture_mpeg4.c
picture_mpeg12.c
picture_vc1.c
picture_vp9.c frontends/va: Add VP9 decode ref/mode_deltas information 2022-10-11 15:15:11 +00:00
postproc.c frontends/va/postproc: yuv422 to nv12 2023-01-12 14:04:48 +00:00
subpicture.c
surface.c frontends/va: revert commit 0b02db30 2023-01-26 14:11:10 +00:00
va_private.h frontends: va: fix vaQuerySurfaceStatus and vaSyncSurface for decode 2023-01-11 19:34:33 +00:00