frontends/va: Don't flush before resource_get_handle
resource_get_handle will flush if needed. Reviewed-by: Ruijing Dong <ruijing.dong@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33165>
This commit is contained in:
@@ -455,7 +455,6 @@ vlVaAcquireBufferHandle(VADriverContextP ctx, VABufferID buf_id,
|
||||
struct winsys_handle whandle;
|
||||
|
||||
mtx_lock(&drv->mutex);
|
||||
drv->pipe->flush(drv->pipe, NULL, 0);
|
||||
|
||||
memset(&whandle, 0, sizeof(whandle));
|
||||
whandle.type = WINSYS_HANDLE_TYPE_FD;
|
||||
|
||||
Reference in New Issue
Block a user