Go to file
scroggo@google.com 013c5d9107 In SkBitmapHeap, defer adding owners for new bitmaps.
When using an SkFlatDictionary to flatten shaders, the
dictionary can try to insert a duplicate bitmap shader
that uses a bitmap which has been removed from the
bitmap heap.

This change was originally suggested by junov in
https://codereview.appspot.com/6713048/.

Add a test to verify that deferring the owners works.
Without the change to bitmap heap the test would fail
(and crash in debug mode).

Also remove an unused function from SkFlatDictionary.

BUG=http://code.google.com/p/chromium/issues/detail?id=143923

Review URL: https://codereview.appspot.com/6842051

git-svn-id: http://skia.googlecode.com/svn/trunk@6471 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-11-16 20:34:37 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Sanitizing source files in Skia_Periodic_House_Keeping 2012-11-16 02:01:17 +00:00
debugger Sanitizing source files in Skia_Periodic_House_Keeping 2012-11-16 02:01:17 +00:00
experimental shape ops work in progress 2012-11-16 20:16:50 +00:00
forth remove uses of setBitmapDevice (DEPRECATED) 2012-09-26 13:44:13 +00:00
gm flag the GM if we're in deferred-canvas mode, to work-around bug trying to 2012-11-16 13:41:45 +00:00
gyp In SkBitmapHeap, defer adding owners for new bitmaps. 2012-11-16 20:34:37 +00:00
include Extract transform_scanline_XXXX functions into transform_scanline.h for code-sharing 2012-11-16 18:44:18 +00:00
samplecode Sanitizing source files in Skia_Periodic_House_Keeping 2012-11-16 02:01:17 +00:00
src In SkBitmapHeap, defer adding owners for new bitmaps. 2012-11-16 20:34:37 +00:00
tests In SkBitmapHeap, defer adding owners for new bitmaps. 2012-11-16 20:34:37 +00:00
third_party Add BSON implementation to third_party 2012-06-13 18:22:09 +00:00
tools Update filter tool to allow input directory. 2012-11-13 18:50:33 +00:00
trybots_to_run Added cros_daisy to build bots list 2012-08-27 17:57:58 +00:00
.gitignore Do not git ignore files like /debugger/QT/moc_*. 2012-10-16 17:25:36 +00:00
DEPS Improve NaCl support 2012-11-01 17:43:44 +00:00
Doxyfile Pointing to http://skia-autogen.googlecode.com/svn/docs/html/index.html in Doxyfile 2012-07-03 11:35:07 +00:00
gyp_skia add a "most" target, and make it the default 2012-10-18 16:10:56 +00:00
LICENSE Manually update copyright notices in files that defied the automated process 2011-07-28 14:24:55 +00:00
make.bat Manually update copyright notices in files that defied the automated process 2011-07-28 14:24:55 +00:00
make.py gyp: generate "everything" and "most" targets instead of "all" 2012-10-25 16:32:07 +00:00
Makefile gyp: generate "everything" and "most" targets instead of "all" 2012-10-25 16:32:07 +00:00
Makefile.old Higher resolution timers for bench. 2011-06-07 19:16:02 +00:00
README whitespace commit to trigger buildbot 2011-07-15 14:11:58 +00:00
skia.gyp gyp: generate "everything" and "most" targets instead of "all" 2012-10-25 16:32:07 +00:00
whitespace.txt whitespace 2012-11-15 16:32:15 +00:00

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

See full details, and build instructions, at http://code.google.com/p/skia/wiki/DocRoot