Go to file
Leon Scroggins III 674a1848ae Add SkCodec::Result indicating error in the data
Previously, SkGifCodec treated an error in the LZW data as incomplete,
since we can still draw the partially decoded image. But a client doing
incremental decodes needs to distinguish this from truly incomplete
data. In the case of an error, the client should not attempt to provide
more data and decode again.

Add kErrorInInput, and return it when SkGifCodec sees a fatal error.
Treat it the same as kIncompleteInput when it comes to filling and DM.

Bug: skia:6825
Change-Id: Ic6ce3a62c0b065ed34dcd8006309e43272a3db9f
Reviewed-on: https://skia-review.googlesource.com/21530
Commit-Queue: Leon Scroggins <scroggo@google.com>
Reviewed-by: Mike Reed <reed@google.com>
Reviewed-by: Chris Blume <cblume@chromium.org>
2017-07-06 16:49:36 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench SkPDF: Change some identifiers. 2017-07-06 15:52:35 +00:00
bin bin/fetch-clang-format 2017-03-08 16:43:49 +00:00
debugger Retract GrTexture*.h & GrRenderTarget*.h from other headers 2017-06-13 17:21:41 +00:00
dm Add SkCodec::Result indicating error in the data 2017-07-06 16:49:36 +00:00
example Revert "Revert "Plumb the use of GrBackendRenderTarget throughout Skia"" 2017-05-01 14:14:50 +00:00
experimental experimental/documentation/gerrit.md: fix error 2017-07-04 17:23:04 +00:00
fuzz Add SkCodec::Result indicating error in the data 2017-07-06 16:49:36 +00:00
gm srgb conversion needs to be in unpremul 2017-07-06 12:51:24 +00:00
gn Make mock GrContext unit testable. 2017-07-06 15:25:35 +00:00
include Add SkCodec::Result indicating error in the data 2017-07-06 16:49:36 +00:00
infra GR_TEST_UTILS fixes 2017-07-06 14:35:45 +00:00
platform_tools Enable ios on Raspberry Pi 2017-04-25 16:56:41 +00:00
resources Make SkCodec more flexible about its required frame 2017-06-07 20:15:17 +00:00
samplecode add srgb gamma colorfilters 2017-07-05 20:16:27 +00:00
site build regenerating SkJumper stages into GN 2017-06-28 18:22:16 +00:00
src Add SkCodec::Result indicating error in the data 2017-07-06 16:49:36 +00:00
tests Add SkCodec::Result indicating error in the data 2017-07-06 16:49:36 +00:00
third_party Roll ANGLE 2017-06-12 16:00:07 +00:00
tools Make mock GrContext unit testable. 2017-07-06 15:25:35 +00:00
.clang-format Mark flatennable macros as block beginning/ending in .clang-format 2017-01-09 15:31:36 +00:00
.gitignore [infra] Move Android and GPU maps into gen_tasks.go. 2017-06-14 13:17:43 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Added support for building for tvOS 2017-03-14 22:55:04 +00:00
BUILD.gn Make mock GrContext unit testable. 2017-07-06 15:25:35 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00: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 Roll ANGLE 2017-06-22 12:46:04 +00:00
Doxyfile Make the housekeeper upload doxygen to a newer bucket 2016-10-04 13:23:57 -07:00
LICENSE BUG=skia:5602 2016-09-02 11:19:34 -07:00
PRESUBMIT.py Update CQ extra trybots after switch to Debian 2017-06-29 19:35:40 +00:00
public.bzl remove SkImageEncoder_none.cpp 2017-06-21 14:52:30 +00: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
whitespace.txt Marker for Win AMD driver update. 2017-05-22 17:21:14 +00:00

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

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