Go to file
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
animations
bench Remove use of GrColorType on GrCaps::getRenderTargetSampleCount. 2019-08-08 13:15:28 +00:00
bin Add bin/try-clients to trigger client tryjobs 2019-06-11 16:55:53 +00:00
build_overrides Update to Dawn ToT. 2019-07-22 16:20:36 +00:00
dm Add GrProtected parameter to all createBackendTexture variants 2019-07-01 19:46:18 +00:00
docker fix Dockerfile? 2019-06-24 16:34:59 +00:00
docs/examples Update docs and samplecode to use new image filter factories 2019-08-02 14:47:35 +00:00
example ModifierKey unifies sk_app::Window::ModifierKey & Sample::Click::ModifierKey 2019-07-09 16:16:41 +00:00
experimental experimental/editor: shape.h to unify all shaping code 2019-08-09 14:20:10 +00:00
fuzz Move SkImageFilter functionality into private SkImageFilter_Base 2019-08-02 18:56:39 +00:00
gm Reland "add a stub for running fiddles as GMs" 2019-08-09 16:22:51 +00:00
gn Enable YCbCr sampler support on platforms other than Android 2019-08-09 18:01:13 +00:00
include Enable YCbCr sampler support on platforms other than Android 2019-08-09 18:01:13 +00:00
infra Roll recipe dependencies (trivial). 2019-08-09 16:03:11 +00:00
modules Paragraph cache: caching the shaped results only. 2019-08-09 16:51:41 +00:00
platform_tools SkQP: Refactor Java method SkQP.runTests() 2019-07-24 13:54:15 +00:00
resources [skottie] Initial Hue/Saturate effect support 2019-08-02 18:04:14 +00:00
samplecode Paragraph cache: caching the shaped results only. 2019-08-09 16:51:41 +00:00
site documentation/build, BUILDCONFIG: Visual Studio Build Tools 2019 2019-07-12 14:17:16 +00:00
specs [img-decode] Start on proposed new spec 2019-05-06 17:39:19 +00:00
src Enable YCbCr sampler support on platforms other than Android 2019-08-09 18:01:13 +00:00
tests Enable YCbCr sampler support on platforms other than Android 2019-08-09 18:01:13 +00:00
third_party Roll third_party/externals/angle2 1ebe6014389e..1dbbc7b3e232 (5 commits) 2019-08-02 01:12:49 +00:00
tools Enable YCbCr sampler support on platforms other than Android 2019-08-09 18:01:13 +00:00
.clang-format restore .clang-format 2019-03-21 15:52:32 +00:00
.clang-tidy add google-build-namespaces to clang-tidy checks 2018-12-12 16:33:59 +00:00
.gitignore clean up some .gitignores 2019-05-15 19:55:45 +00:00
.gn
AUTHORS Fix Metal includes breaking macOS local builds 2019-07-08 14:02:47 +00:00
BUILD.gn Reland "add a stub for running fiddles as GMs" 2019-08-09 16:22:51 +00:00
codereview.settings
CONTRIBUTING
CQ_COMMITTERS
DEPS Roll third_party/externals/angle2 7424fe8b79c3..eb0479e245f0 (16 commits) 2019-08-09 05:26:10 +00:00
go.mod Update Go deps 2019-08-09 05:24:40 +00:00
go.sum Update Go deps 2019-08-09 05:24:40 +00:00
LICENSE
OWNERS
PRESUBMIT.py rewrite_includes.py: make it work on windows 2019-08-05 16:14:35 +00:00
public.bzl Reland "add a stub for running fiddles as GMs" 2019-08-09 16:22:51 +00:00
README
README.chromium
RELEASE_NOTES.txt Enable YCbCr sampler support on platforms other than Android 2019-08-09 18:01:13 +00:00
whitespace.txt Whitespace test 2019-05-18 13:05:29 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://skia.org.