skia2/tools/gpu
Brian Salomon be0e42cb8f New helpers for SkYUVAInfo when used with pixmaps.
SkYUVAPixmapInfo is a SkYUVAInfo with per-plane color types and row
bytes. It describes a set of pixmaps that make up a planar image.
Consolidates validity checks of the SkYUVAInfo with the color types
and row bytes. It can provide SkImageInfos for each plane and also
assist with configuring planes to share a common allocation.

SkYUVAPixmaps is a collection of SkPixmaps that are valid for a
SkYUVAInfo. It can either wrap existing SkPixmaps or allocate and
own the memory. It consolidates validity checking of SkPixmaps with
the SkYUVAInfo. Replaces sk_gpu_test::YUVAPixmaps.

Minor tweaks to SkYUVAInfo naming, parameter order consistency, adds a
hasAlpha() method.

Bug: skia:10632
Change-Id: Ib0f48b8448fff22805fd0c04e07887d0b7338b76
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/312886
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
Reviewed-by: Leon Scroggins <scroggo@google.com>
2020-08-27 15:39:56 +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 Add config "glesfakev2". It runs GLES with the version faked as 2. 2020-08-26 20:04:34 +00:00
mock Enable ClangTidy flag modernize-use-override. 2020-08-14 10:54:45 +00:00
mtl Revert "Remove ARC from Metal backend" 2020-08-24 17:16:54 +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 Add config "glesfakev2". It runs GLES with the version faked as 2. 2020-08-26 20:04:34 +00:00
GrContextFactory.h Add config "glesfakev2". It runs GLES with the version faked as 2. 2020-08-26 20:04:34 +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 New helpers for SkYUVAInfo when used with pixmaps. 2020-08-27 15:39:56 +00:00
YUVUtils.h New helpers for SkYUVAInfo when used with pixmaps. 2020-08-27 15:39:56 +00:00