Add Vulkan support in SkiaOutputSurfaceImpl::YUVAPromiseTextureHelper

Previously SkiaOutputSurfaceImpl::YUVAPromiseTextureHelper was always
trying to create GL GrBackendFormat to makeYUVAPromiseTexture() even
when Vulkan is being used by the renderer. As the result it was failing
to render video. Updated it to use GrBackendFormat::MakeVk() when using
Vulkan backend.

Bug: 942370
Change-Id: I3806ec1ea8e728639599e3844eb5b9f7a0fadecb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1525410
Commit-Queue: Sergey Ulanov <sergeyu@chromium.org>
Auto-Submit: Sergey Ulanov <sergeyu@chromium.org>
Reviewed-by: Antoine Labour <piman@chromium.org>
Reviewed-by: Peng Huang <penghuang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#641322}
2 files changed