skia2/include
Leon Scroggins III 326b98981e Add platform image encoder for using NDK APIs
Bug: skia:10369

Add SkEncodeImageWithNDK, mirroring the CG and WIC versions, for
encoding with the NDK APIs added to R.

Rename SK_ENABLE_NDK_DECODING to SK_ENABLE_NDK_IMAGES and use it for
both encoding and decoding.

Move code for converting to/from NDK types into a common location.

Update encode_platform.cpp to use NDK encoding APIs when available and
to use both types of webp (lossy and lossless). Add tests specifically
for the new implementation.

Update NdkDecodeTest to use ToolUtils::equal_pixels for comparing
pixels.

Change-Id: Ic62f89af27372ccce90b8e028e01c388a135a68c
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/308800
Commit-Queue: Leon Scroggins <scroggo@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
2020-08-13 15:21:41 +00:00
..
android androidFramework_replaceClip proposal 2020-06-25 21:54:11 +00:00
c Remove subset parameter from making encoded/generator images 2020-07-28 17:33:12 +00:00
codec Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
config rm SkPreConfig.h and SkPostConfig.h 2020-02-06 19:16:43 +00:00
core Reland "Migrate SkImage::MakeFromTexture to GrRecordingContext" 2020-08-12 18:35:51 +00:00
docs Add appendNodeIdArray to avoid code duplication. 2020-06-23 14:25:33 +00:00
effects Remove 'in' variables from SkRuntimeEffect 2020-08-10 22:00:44 +00:00
encode Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
gpu Make the GrSmallPathAtlasMgr a flush-time object 2020-08-12 13:30:56 +00:00
pathops rm SkPreConfig.h and SkPostConfig.h 2020-02-06 19:16:43 +00:00
ports Add platform image encoder for using NDK APIs 2020-08-13 15:21:41 +00:00
private SkPathView for ownerless (can live on stack) SkPaths 2020-08-07 20:39:38 +00:00
svg [svgcanvas] Add flag to suppress newlines and tabs in XML 2019-08-21 20:17:37 +00:00
third_party Roll skcms from c21106442079 to f73242142ce5 (1 revision) 2020-07-16 21:50:37 +00:00
utils Add missing recordingContext override to SkPaintFilterCanvas 2020-07-09 13:35:52 +00:00