skia2/tools/gpu
Sergey Ulanov 2739fd2f09 Reland: 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: Id4d81b20d9fda4d9ad0831f77e6025eed3db2bfd
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/233776
Commit-Queue: Greg Daniel <egdaniel@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
Auto-Submit: Sergey Ulanov <sergeyu@chromium.org>
2019-08-12 14:21:01 +00:00
..
atlastext Revert "De-GL-ify tests, gm and tools" 2019-05-22 20:23:56 +00:00
dawn re-run tools/rewrite_includes.py 2019-07-25 15:40:33 +00:00
gl Skip non-D3D11 test contexts on Windows-on-ARM bots 2019-07-25 15:13:02 +00:00
mock rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
mtl Create FenceSync implementation that works for all Metal configs 2019-06-04 14:30:32 +00:00
vk Reland: Enable YCbCr sampler support on platforms other than Android 2019-08-12 14:21:01 +00:00
FenceSync.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GpuTimer.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrContextFactory.cpp First draft of Dawn backend: clears are working. 2019-07-18 18:09:12 +00:00
GrContextFactory.h Add SkUNREACHABLE to definition of SK_ABORT. 2019-08-09 20:43:39 +00:00
GrTest.cpp Eliminate mixed samples as an FBO type or AA type 2019-06-24 04:08:45 +00:00
MemoryCache.cpp Normalize storage of shader strings in the cache 2019-04-25 15:27:59 +00:00
MemoryCache.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
ProxyUtils.cpp Propagate GrRenderable flag to GrCaps::getBackendFormatFromColorType 2019-07-30 17:45:45 +00:00
ProxyUtils.h Add kRGBA_8888_SRGB GrColorType and remove GrSRGBEncoded. 2019-07-11 15:22:23 +00:00
TestContext.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
TestContext.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
YUVUtils.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
YUVUtils.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00