Fix Vulkan Video Failures
The crash in gpu::ImageReaderGLOwner::UpdateTexImage() is because ImageReaderGLOwner only allows one image ref, SharedImageVideo doesn't release the image ref when read access is finished. It releases the ref when the SharedImageVideo is destroyed. Fix the problem by releasing the image ref in EndReadAccess(). Bug: 1059461 Change-Id: I4ccc509bd48dfd6bb576212df32bd411f521e281 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2096777Reviewed-by:Zhenyao Mo <zmo@chromium.org> Reviewed-by:
Khushal <khushalsagar@chromium.org> Commit-Queue: Peng Huang <penghuang@chromium.org> Cr-Commit-Position: refs/heads/master@{#748845}
Showing
Please register or sign in to comment