skia2/include
msarett e6dd004c1b Fill incomplete images in SkCodec parent class
Rather than implementing some sort of "fill" in every
SkCodec subclass for incomplete images, let's make the
parent class handle this situation.

This includes an API change to SkCodec.h

SkCodec::getScanlines() now returns the number of lines it
read successfully, rather than an SkCodec::Result enum.
getScanlines() most often fails on an incomplete input, in
which case it is useful to know how many lines were
successfully decoded - this provides more information than
kIncomplete vs kSuccess.  We do lose information when the
API is used improperly, as we are no longer able to return
kInvalidParameter or kScanlineNotStarted.

Known Issues:
Does not work for incomplete fFrameIsSubset gifs.
Does not work for incomplete icos.

BUG=skia:

Review URL: https://codereview.chromium.org/1332053002
2015-10-09 11:07:34 -07:00
..
animator
c Documentation: C API comments 2015-09-01 10:45:09 -07:00
codec Fill incomplete images in SkCodec parent class 2015-10-09 11:07:34 -07:00
config remove SkInstCnt 2015-06-26 11:45:03 -07:00
core remove internalDrawBitmap, as it is no longer shared with any other caller, and can be folded into onDrawBitmap 2015-10-08 09:22:02 -07:00
device/xps C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla} 2015-03-25 18:17:32 -07:00
effects Revert "Revert of factories should return baseclass, allowing the impl to specialize (patchset #4 id:60001 of https://codereview.chromium.org/1390523005/ )" 2015-10-06 14:05:32 -07:00
gpu Updates nvpr text blobs to not store a direct reference to the 2015-10-08 08:04:09 -07:00
images remove SkInstCnt 2015-06-26 11:45:03 -07:00
pathops Revert of Revert of remove SK_SUPPORT_LEGACY_PATHOP_ENUMS (patchset #1 id:1 of https://codereview.chromium.org/1203983003/) 2015-06-26 10:23:07 -07:00
pipe Fixing leaky handling of SkImage in SkDeferredCanvas. 2015-06-02 11:47:45 -07:00
ports Move Mutexy things to private. 2015-09-29 11:47:45 -07:00
private SkPath::fFirstDirection: seq-cst -> relaxed 2015-10-07 12:46:43 -07:00
svg Remove SK_OFFSETOF from SkTypes, clean up offsetof usage. 2015-08-25 12:05:55 -07:00
utils Move SkTemplates.h to private. 2015-08-19 11:56:48 -07:00
views Skia: Add Command Buffer support to Linux/Mac 2015-10-01 18:29:34 -07:00
xml Move SkTemplates.h to private. 2015-08-19 11:56:48 -07:00