Go to file
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
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Fill incomplete images in SkCodec parent class 2015-10-09 11:07:34 -07:00
bin sync-and-gyp: Update shell script to correct the syntax of functions 2015-09-11 20:49:00 -04:00
cmake CMake for Windows 2015-09-30 11:06:53 -07:00
debugger Make SkGraphics::Term a no-op, stop calling it. 2015-09-09 07:35:42 -07:00
dm Fill incomplete images in SkCodec parent class 2015-10-09 11:07:34 -07:00
example Make SkGraphics::Term a no-op, stop calling it. 2015-09-09 07:35:42 -07:00
experimental Some iOS fixes to make SampleApp work better. 2015-10-02 09:12:05 -07:00
forth Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
gm Insert clip fragment processor outside GrCMM 2015-10-07 09:20:28 -07:00
gyp Fill incomplete images in SkCodec parent class 2015-10-09 11:07:34 -07:00
include Fill incomplete images in SkCodec parent class 2015-10-09 11:07:34 -07:00
infra Moved committer list to chrome-infra-auth and deleted it from the repo 2015-09-02 13:37:54 -07:00
platform_tools Update Android toolchains and streamline process. 2015-10-01 13:24:23 -07:00
resources Merge SkCodec with SkScanlineDecoder 2015-09-30 08:57:14 -07:00
samplecode Add DrawShipSim sample. 2015-10-07 10:43:05 -07:00
site Move code search info to sub-page. Add additional code search options. 2015-09-28 11:15:09 -07:00
src Fill incomplete images in SkCodec parent class 2015-10-09 11:07:34 -07:00
tests Fill incomplete images in SkCodec parent class 2015-10-09 11:07:34 -07:00
third_party Revert of Depend on ETC1 via DEPS instead of a direct third_party checkin. (patchset #1 id:1 of https://codereview.chromium.org/1296253003/ ) 2015-08-17 11:15:00 -07:00
tools Fill incomplete images in SkCodec parent class 2015-10-09 11:07:34 -07:00
.gitignore android/apps: Add CanvasProof App; 2015-09-23 12:40:34 -07:00
AUTHORS Optimize RGB16 blitV functions with NEON for ARM platform. 2015-07-15 07:07:30 -07:00
BUILD.public Update BUILD.public a bit. 2015-08-18 08:51:49 -07:00
codereview.settings Automatically add a docs preview link and NOTRY=true when there are only docs changes. 2015-02-26 10:16:13 -08:00
CONTRIBUTING Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
CQ_COMMITTERS Moved committer list to chrome-infra-auth and deleted it from the repo 2015-09-02 13:37:54 -07:00
DEPS Update libwebp and resume testing scaled webp 2015-10-01 10:56:08 -07:00
Doxyfile Documentation: SkCanvas API 2015-05-19 10:21:29 -07:00
gyp_skia Support SKIA_OUT on Mac and ChromeOS 2015-05-04 08:04:28 -07:00
gyp_skia.py Roll gyp deps from 1765 to 1796. 2013-11-21 18:11:14 +00:00
LICENSE Add files added to Skia HEAD in google3 to the Git repo. 2015-08-17 12:58:10 -07:00
make.bat Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
make.py Fix make.py: BUILDTYPE 2015-08-05 11:30:28 -04:00
Makefile Remove experimental/PdfViewer 2015-08-04 14:08:44 -07:00
OWNERS add root files from chrome 2013-08-13 19:11:15 +00:00
PRESUBMIT.py Automatically add TSAN bots to the CQ for changes affecting SkAtomics.h 2015-10-07 11:49:00 -07:00
README Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07:00
skia.gyp Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
SKP_VERSION Update SKP version 2015-10-04 00:22:10 -07:00
whitespace.txt whitespace change 2015-09-21 13:35:13 -07:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://skia.org.