skia2/include
scroggo 05245900bf Add scanline decoding to SkCodec.
Add an interface for decoding scanlines, and implement that interface
in the PNG decoder.

Use a separate method to determine whether an image that used a type
with alpha was actually opaque.

SkScanlineDecoder.h:
New interface for decoding scanlines.

SkCodec.h:
Add getScanlineDecoder.
Add a virtual function (with non-virtual caller) for determining
whether the image truly had alpha. The client can call this to
determine if the image was actually opaque if it reported having alpha.
Remove code to sneakily change the passed in alpha type.

SkCodec_libpng.*:
Split up code onGetPixels into helper functions that can be shared with
the scanline decoder.
Implement scanline decoding.
Implement onReallyHasAlpha.

SkSwizzler.*:
Add a new SrcConfig as a default, which is invalid.
Add a function for setting fDstRow directly.
Assert fDstRow is not NULL.

BUG=skia:3257

Review URL: https://codereview.chromium.org/1010903003
2015-03-25 11:11:52 -07:00
..
animator Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
c add stroke params to c api 2015-01-10 17:59:31 -08:00
codec Add scanline decoding to SkCodec. 2015-03-25 11:11:52 -07:00
config SK_NO_FLATE 2015-02-17 13:10:43 -08:00
core Move SkMatrixImageFilter.h into src/core. 2015-03-24 07:51:30 -07:00
device/xps Revert[6] of Change device creation to see the (optional) layer-paint 2015-03-14 10:54:31 -07:00
effects Revert of Revert of remove colorfilter native-565 support. complicating w/ no real value. (patchset #1 id:1 of https://codereview.chromium.org/1022673007/) 2015-03-24 06:35:23 -07:00
gpu Let text contexts fall back directly to paths 2015-03-20 10:30:14 -07:00
images Make SkStream *not* ref counted. 2015-01-21 12:09:53 -08:00
pathops Revert of pathops version two (patchset #16 id:150001 of https://codereview.chromium.org/1002693002/) 2015-03-24 13:55:33 -07:00
pipe "NULL !=" = NULL 2014-09-05 13:34:00 -07:00
ports Remove SkFontHost includes and friends. 2015-02-23 08:25:00 -08:00
svg Add SkSVGCanvas 2015-02-06 12:51:10 -08:00
utils [Skia] Add SK_API to SkParse. 2015-03-02 07:51:17 -08:00
views First cut at cleaning up Sergio's example code and moving some common code to SkWindow. 2015-01-30 12:37:02 -08:00
xml [SVGDevice] Text whitespace unittest 2015-02-20 13:54:40 -08:00