skia2/experimental
Leon Scroggins III 94aaf7cdf5 Split building encoding from decoding
Bug: skia:9756

In CanvasKit, a large part of the binary is for encoding. Clients
would be happier with a smaller binary and no webp/jpeg encoding. Make
this an option by splitting up the GN arguments.

Split SK_HAS_WEBP_LIBRARY into SK_CODEC_DECODES_WEBP (to match the
existing SK_CODEC_DECODES_RAW) and SK_ENCODE_WEBP. Same for JPEG and
PNG.

Update CanvasKit compile script to disable webp and jpeg encoding.
Update debugger compile script to disable all encoding.

Change IsPng signature to match other SkCodecs.

Change-Id: Iec8466ee1b76bc3d1e377c24201068b776cd7718
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/273768
Commit-Queue: Leon Scroggins <scroggo@google.com>
Reviewed-by: Derek Sollenberger <djsollen@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Nathaniel Nifong <nifong@google.com>
2020-03-06 18:50:40 +00:00
..
c-api-example Fix small memory leak in c-api example 2019-12-16 16:03:04 +00:00
docs runs some sample animations side by side in canvas and svg 2015-11-16 13:36:08 -08:00
documentation experimental/tools/gerrit_percent_encode 2019-08-05 16:11:45 +00:00
ffmpeg Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
minimal_ios_mtl_skia_app skottie_ios_app: Add OpenGL. 2020-01-14 16:16:32 +00:00
Networking rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
pvg add pvg experiment 2018-11-02 15:35:21 +00:00
svg/model Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
tools decs/examples: Support more fiddle types: offscreen, srgb 2020-01-30 16:31:58 +00:00
wasm-skp-debugger Split building encoding from decoding 2020-03-06 18:50:40 +00:00
xform Move a bunch of gpu files out of include/private and into src/gpu. 2019-06-18 14:24:42 +00:00
xps_to_png experimental/xps_to_png: pass in DPI as program argument 2016-11-14 15:39:09 +00:00