Go to file
scroggo 950fb1ca24 Insert an empty image when we cannot decode
In SKP deserialization, if there is a 0 byte encoded image, we insert
an empty image into the output SkPicture so that we can continue
deserializing. Do the same when our decoder cannot decode it. This may
be the result of a bug in our decoder, or in the stream serialization.
But it should not mean the entire stream is invalid.

BUG=skia:4691
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1715853002

Review URL: https://codereview.chromium.org/1715853002
2016-02-19 12:08:41 -08:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Switch to pixmap in API. 2016-02-18 13:55:02 -08:00
bin bin/sync-and-gyp: better error checking 2016-02-17 13:07:37 -08:00
cmake Individually enable and disable SkCodecs 2016-02-17 08:26:32 -08:00
debugger Add gpu implementation of OverdrawXfermode 2016-01-27 05:00:04 -08:00
dm Make SkPicture/SkImageGenerator default to SkCodec 2016-02-17 10:02:29 -08:00
example There is an unused rowBytes parameter being passed along. 2016-02-16 13:00:02 -08:00
experimental Add GrShaderFlags enum 2016-02-11 12:49:47 -08:00
fuzz Remove FuzzPaeth now that we have some real Fuzzes. 2016-02-18 06:58:13 -08:00
gm remove xferu64 gm -- not needed now that the blitters are hooked up 2016-02-18 17:11:47 -08:00
gyp Update libpng to 1.6.22beta 2016-02-19 11:14:43 -08:00
include Revert of Use unorm shorts for texture coordinates when rendering text. (patchset #3 id:40001 of https://codereview.chromium.org/1713693002/ ) 2016-02-19 08:43:26 -08:00
infra Add luci-go isolate.sha1 files 2016-02-18 10:13:14 -08:00
platform_tools Use a statically linked libhwui for testing. 2016-02-16 09:19:36 -08:00
resources Updates Piex and uses it to obtain the DNG dimensions. 2016-02-17 08:04:00 -08:00
samplecode make SkComposeShader.h private 2016-02-15 08:27:14 -08:00
site Documantation: nanobench 2016-02-12 08:08:27 -08:00
src Insert an empty image when we cannot decode 2016-02-19 12:08:41 -08:00
tests Add GPU-backed SkImage case to ImageFilterCache unit test 2016-02-19 10:41:13 -08:00
third_party Update libpng to 1.6.22beta 2016-02-19 11:14:43 -08:00
tools add back some basic configs to MSAN bot 2016-02-19 09:08:50 -08:00
.gitignore bin/sync-and-gyp: start using gclient 2016-02-16 11:48:06 -08:00
AUTHORS use malloc/calloc/free instead of moz_malloc/moz_calloc/moz_free in ports/SkMemory_mozalloc.cpp 2015-11-23 10:30:14 -08: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 libpng to 1.6.22beta 2016-02-19 11:14:43 -08:00
Doxyfile Documentation: SkCanvas API 2015-05-19 10:21:29 -07:00
gyp_skia gyp_skia: use path python, be quiet 2016-02-19 11:43:57 -08:00
gyp_skia.py Roll gyp deps from 1765 to 1796. 2013-11-21 18:11:14 +00:00
LICENSE Include resources directory in google3 sync. 2015-10-20 13:00:48 -07:00
make.bat Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
make.py GYP: remove stale skia_scalar gyp variable 2015-11-10 13:25:12 -05:00
Makefile Add visualbench as valid target to Makefile 2015-12-18 08:05:06 -08:00
OWNERS add root files from chrome 2013-08-13 19:11:15 +00:00
PRESUBMIT.py Port Skia recipe to normal Python scripts, move to Skia repo 2016-02-18 08:05:48 -08:00
public.bzl Speculative fix for Google3 iOS build 2016-02-17 14:14:25 -08: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
SK_IMAGE_VERSION Update SK_IMAGE_VERSION to test RAW 2016-02-02 11:56:33 -08: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 2016-02-16 06:42:46 -08:00
whitespace.txt Test build scheduler. 2016-02-19 03:47:53 -08:00

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

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