mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 19:40:10 +01:00
va: flush_resource before presentation
drivers require this to ensure presentation resources are present-able Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30984>
This commit is contained in:
parent
b40ec57e36
commit
3d79e51726
1 changed files with 2 additions and 0 deletions
|
|
@ -540,6 +540,8 @@ vlVaPutSurface(VADriverContextP ctx, VASurfaceID surface_id, void* draw, short s
|
|||
return status;
|
||||
}
|
||||
|
||||
drv->pipe->flush_resource(drv->pipe, tex);
|
||||
|
||||
/* flush before calling flush_frontbuffer so that rendering is flushed
|
||||
* to back buffer so the texture can be copied in flush_frontbuffer
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue