skia2/tools/gpu
Brian Salomon 87d42e5d12 A new way to specify YUVA planar data from SkCodec to SkImage_Lazy
Tunnels through SkImageGenerator as well.

The new SkCodec interface doesn't assume three 8 bit planes.

New SkYUVASpec more clearly defines chroma subsampling and siting of
the planes.

The intent is to use this for other YUVA APIs as well, in particular
SkImage factories in the future.

In this change we convert to the SkYUVASpec to SkYUVASizeInfo
and SkYUVAIndex[4] representation. But the intent is to use
the SkYUVASpec representation throughout the pipeline once
legacy APIs are removed.

orientation GM is replicated to test a variety of chroma
subsampling configs.

Bug: skia:10632

Change-Id: I3fad35752b87cac16c51b24824331f2ae7d458d3
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/309658
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
Reviewed-by: Leon Scroggins <scroggo@google.com>
2020-08-24 14:25:32 +00:00
..
d3d Add Context factories to GrDirectContext 2020-07-14 12:40:46 +00:00
dawn Add Context factories to GrDirectContext 2020-07-14 12:40:46 +00:00
gl [canvaskit] Remove getproc when creating WebGL interface 2020-08-20 14:55:50 +00:00
mock Enable ClangTidy flag modernize-use-override. 2020-08-14 10:54:45 +00:00
mtl Add Context factories to GrDirectContext 2020-07-14 12:40:46 +00:00
vk Add image usage flags to GrVkImageInfo 2020-08-21 16:34:20 +00:00
BackendTextureImageFactory.cpp Reland "Remove more GrContext imports & usage" 2020-07-21 11:36:05 +00:00
BackendTextureImageFactory.h Reland "Remove more GrContext imports & usage" 2020-07-21 11:36:05 +00:00
FenceSync.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
FlushFinishTracker.cpp Update additional tools to take a GrDirectContext 2020-07-01 20:42:25 +00:00
FlushFinishTracker.h Update additional tools to take a GrDirectContext 2020-07-01 20:42:25 +00:00
GpuTimer.h Replace skstd::exchange with std::exchange 2020-04-30 11:14:20 +00:00
GrContextFactory.cpp Enable ClangTidy check readability-redundant-smartptr-get. 2020-08-16 15:56:48 +00:00
GrContextFactory.h Update unit tests to accept GrDirectContext 2020-07-06 15:45:12 +00:00
GrTest.cpp move GrAtlasTextOp creation to GrRenderTargetContext 2020-07-10 20:01:29 +00:00
MemoryCache.cpp Reland "Switch persistent cache to use SkReadBuffer/SkWriteBuffer" 2020-06-10 14:55:37 +00:00
MemoryCache.h Fix caching of GL program binaries 2020-06-05 15:54:19 +00:00
ProxyUtils.cpp sk_gpu_test::MakeTextureProxyFromData -> MakeTextureProxyViewFromData 2020-08-12 20:43:41 +00:00
ProxyUtils.h sk_gpu_test::MakeTextureProxyFromData -> MakeTextureProxyViewFromData 2020-08-12 20:43:41 +00:00
TestContext.cpp Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
TestContext.h Add Context factories to GrDirectContext 2020-07-14 12:40:46 +00:00
TestOps.cpp Update GrPaint APIs to reflect lack of multiple color processors. 2020-07-21 17:09:58 +00:00
TestOps.h Move GrRecordingContext.h and GrDirectContext.h into include/gpu 2020-07-01 17:32:14 +00:00
YUVUtils.cpp A new way to specify YUVA planar data from SkCodec to SkImage_Lazy 2020-08-24 14:25:32 +00:00
YUVUtils.h A new way to specify YUVA planar data from SkCodec to SkImage_Lazy 2020-08-24 14:25:32 +00:00