skia2/include/ports
Leon Scroggins III f21d6b9b71 Reland "Add an SkImageGenerator that uses NDK APIs"
This reverts commit 07438b0cda.

Bug: skia:10369
Bug: skia:10371

This will allow Skia clients developing for Android 11+ to rely on
Android's NDK APIs for decoding, which will allow them to decode
without including their own decoding libraries (e.g. libjpeg-turbo).
Using these APIs also provides support for static HEIF images.

Run ImageGenSrc in kPlatform_Mode on Android to verify decoding
visually.

Add tests and a grayscale png.

Update some test bots running Android R to specify ndk_api so they will
run the new code.

Change-Id: I4ca07d832dbd6a9d8cff0faea975fd70da00718f
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/308185
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Leon Scroggins <scroggo@google.com>
2020-08-05 18:55:30 +00:00
..
SkCFObject.h Change GrCFResource to sk_cf_obj and move to include/ports. 2019-06-10 18:44:28 +00:00
SkFontConfigInterface.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkFontMgr_android.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkFontMgr_directory.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkFontMgr_empty.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkFontMgr_fontconfig.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkFontMgr_FontConfigInterface.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkFontMgr_fuchsia.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkFontMgr_indirect.h Update DataEntry struct to properly support move semantics. 2020-07-27 23:27:31 +00:00
SkFontMgr_mac_ct.h Split out coretext fontmgr factory. 2020-06-06 04:06:32 +00:00
SkImageGeneratorCG.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkImageGeneratorNDK.h Reland "Add an SkImageGenerator that uses NDK APIs" 2020-08-05 18:55:30 +00:00
SkImageGeneratorWIC.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkRemotableFontMgr.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkTypeface_mac.h Remove CGFontRef parameter from SkMakeTypefaceFromCTFont 2020-01-31 18:35:10 +00:00
SkTypeface_win.h Move SkLeanWindows.h to src. 2019-05-21 13:48:00 +00:00