skia2/include
Leon Scroggins III ae79f32e79 Call initializeColorXform inside SkCodec
Make initializeColorXform private, and only call in the base class.
Add virtual method to skip initializeColorXform, for classes that do
not need one.

Change SkCodec::FrameInfo's SkAlphaType to an SkEncodedInfo::Alpha.
This allows proper checking internally whether SkCodec needs to do a
color correct premultiply.

Depends on https://chromium-review.googlesource.com/c/620947, for this
API change.

(Separated from review.skia.org/25746)

Bug: skia:5609
Bug: skia:6839
Change-Id: Icb0d46659c546060c34d32eaf792c86708726c7a
Reviewed-on: https://skia-review.googlesource.com/35880
Reviewed-by: Chris Blume <cblume@chromium.org>
Reviewed-by: Derek Sollenberger <djsollen@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Leon Scroggins <scroggo@google.com>
2017-08-18 19:46:59 +00:00
..
android Move calls to conversion_possible to SkCodec 2017-08-17 16:09:31 +00:00
c C API: document sk_matrix_t 2017-03-21 18:04:34 +00:00
codec Call initializeColorXform inside SkCodec 2017-08-18 19:46:59 +00:00
config Revert "Revert "SkUserConfig.h: remove out-of-date comment on SK_SFNTLY_SUBSETTER"" 2017-01-27 14:40:01 +00:00
core Add SK_API to SkOverdrawCanvas and SkOverdrawColorFilter. 2017-08-18 16:53:49 +00:00
effects Add SK_API to SkOverdrawCanvas and SkOverdrawColorFilter. 2017-08-18 16:53:49 +00:00
encode Add comments support for PNG encoder 2017-06-09 17:24:03 +00:00
gpu Replace SkFAIL with SK_ABORT. 2017-08-16 15:37:54 +00:00
pathops use reversePathTo in place of addPathReverse 2016-11-07 05:09:28 -08:00
ports remove unneeded include 2017-06-09 12:44:54 +00:00
private Remove uses of sk_throw. 2017-08-17 19:45:01 +00:00
svg no need for SK_SUPPORT_LEGACY_CANVAS_IS_REFCNT anymore 2016-12-07 22:28:04 +00:00
utils clean up useage of SkFloatBits 2017-08-07 02:49:29 +00:00
views Revert "pass surface to device-manager" 2017-07-24 15:00:49 +00:00