Go to file
Takahiro.Aizawa b5b50a07ab SkGIFMovie: Fix corrupted background color
The 'paintingColor' in onGetBitmap() was used to save the entire
gif's background color while filling the 1st frame of a gif image,
since it is 'static' qualified, so when re-entering this function
for subsequent frames, this saved value will be used directly without
re-obtaining it.
But if asynchronous playing multi gif files in single process without
being controlled, this 'static' will make the 'paintingColor'
corrupted, because the different SkGIFMovie instances hold the same
reference of 'paintingColor'.

Signed-off-by: Lu Tong <lu.x.tong@sonymobile.com>;

BUG=skia:

Review URL: https://codereview.chromium.org/1184083002
2015-06-15 02:52:46 -07:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Remove overly-promiscuous SkNx syntax sugar. 2015-06-10 08:57:28 -07:00
bin sync-and-gyp: make smarter 2015-05-26 08:01:19 -07:00
debugger Get debugger compiling again 2015-05-04 10:42:05 -07:00
dm Update DM to respect blacklists for tests 2015-06-12 12:06:22 -07:00
example C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla} 2015-03-25 18:17:32 -07:00
experimental delete experimental path renderers 2015-05-29 07:09:09 -07:00
forth Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
gm make drawlooper portable 2015-06-12 13:41:02 -07:00
gyp The correct case of 'sdl' directory in gyp. 2015-06-12 17:24:51 -04:00
include Import functionality for new GL backend 2015-06-12 13:56:46 -07:00
infra Added CQ config to skia repo 2015-06-08 05:12:56 -07:00
platform_tools Visual bench on native android 2015-06-12 12:51:44 -07:00
resources Add cmap 3,0 (symbol) as Unicode fallback. 2015-06-05 13:38:12 -07:00
samplecode Implement support for mixed sampled render targets 2015-06-12 08:59:45 -07:00
site SkiaLab doc: add another step for new Android devices 2015-06-12 07:22:26 -07:00
src SkGIFMovie: Fix corrupted background color 2015-06-15 02:52:46 -07:00
tests Import functionality for new GL backend 2015-06-12 13:56:46 -07:00
third_party Enable both static and dynamically linked libpng 2015-04-03 12:35:27 -07:00
tools Visual bench on native android 2015-06-12 12:51:44 -07:00
.gitignore git: add skps to .gitignore 2015-02-13 18:57:33 -08:00
AUTHORS Return cropBitmap 2015-04-15 05:48:54 -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 Add benjaminwagner@ to CQ_COMMITTERS. 2015-06-08 10:22:34 -07:00
DEPS Roll third_party/externals/gyp dd831fd:08429da 2015-06-01 07:25:18 -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
HASHTAGS Fix cr SKPs naming 2015-03-31 08:03:02 -07:00
LICENSE Manually update copyright notices in files that defied the automated process 2011-07-28 14:24:55 +00:00
make.bat Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
make.py Run gyp on Win with --no-parallel -G config=$(BUILDTYPE), fix pylint 2015-03-03 13:15:38 -05:00
Makefile Run gyp with --no-parallel -G config=$(BUILDTYPE) 2015-03-03 06:05:56 -08:00
OWNERS add root files from chrome 2013-08-13 19:11:15 +00:00
PRESUBMIT.py Presubmit: add PRESUBMIT=false to non-master branch changes 2015-06-04 15:15:42 -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-06-14 00:20:12 -07:00
whitespace.txt whitespace change to trigger android bots 2015-06-02 10:35:04 -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.