skia2/include/gpu
Sergey Ulanov cc4573dfed Enable YCbCr sampler support on platforms other than Android
Previously YCbCr Vulkan samplers were supported only on Android for
external images, while Vulkan requires YCbCr sampler for I420 YUV image
formats such as VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM,
VK_FORMAT_G8_B8R8_2PLANE_420_UNORM.
This CL:
 - Adds VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM and
   VK_FORMAT_G8_B8R8_2PLANE_420_UNORM as supported Vulkan formats
 - Updates GrVkYcbcrConversionInfo to add fFormat field and allow
   fExternalFormat=0.
 - Removes assertions format=VK_FORMAT_UNDEFINED for all images that
   have ycbcr info.

Bug: chromium:981022
Change-Id: I3989f72e918a257a081b81ae20429a6771229ad6
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/230918
Commit-Queue: Sergey Ulanov <sergeyu@chromium.org>
Commit-Queue: Greg Daniel <egdaniel@google.com>
Auto-Submit: Sergey Ulanov <sergeyu@chromium.org>
Reviewed-by: Greg Daniel <egdaniel@google.com>
2019-08-09 18:01:13 +00:00
..
dawn First draft of Dawn backend: clears are working. 2019-07-18 18:09:12 +00:00
gl Rework how backend-specific formats are retrieved from GrBackendFormat. 2019-08-08 17:20:34 +00:00
mock Make rest of GrGpu::wrapBackend* methods take a GrColorType (take 2) 2019-07-23 16:13:30 +00:00
mtl Change GrCFResource to sk_cf_obj and move to include/ports. 2019-06-10 18:44:28 +00:00
vk Enable YCbCr sampler support on platforms other than Android 2019-08-09 18:01:13 +00:00
GrBackendDrawableInfo.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrBackendSemaphore.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrBackendSurface.h Enable YCbCr sampler support on platforms other than Android 2019-08-09 18:01:13 +00:00
GrBlend.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrConfig.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrContext.h Expose GrContext::dump() when SK_ENABLE_DUMP_GPU is defined. 2019-08-09 14:13:01 +00:00
GrContextOptions.h Rework how initial clearing of texture works. 2019-07-16 16:36:41 +00:00
GrContextThreadSafeProxy.h Add protected status to SkSurfaceCharacterization 2019-07-10 16:30:35 +00:00
GrDriverBugWorkarounds.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrDriverBugWorkaroundsAutogen.h Add disable_texture_storage workaround 2018-08-22 23:56:23 +00:00
GrGpuResource.h Swap GrSurfaceProxy over to being held via sk_sp 2019-06-20 11:43:45 +00:00
GrRenderTarget.h Pass size and GrPixelConfig to GrSurface/Texture/RenderTarget constructors 2019-08-05 19:08:07 +00:00
GrSamplerState.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrSurface.h Pass size and GrPixelConfig to GrSurface/Texture/RenderTarget constructors 2019-08-05 19:08:07 +00:00
GrTexture.h Pass size and GrPixelConfig to GrSurface/Texture/RenderTarget constructors 2019-08-05 19:08:07 +00:00
GrTypes.h First draft of Dawn backend: clears are working. 2019-07-18 18:09:12 +00:00