skia2/gyp
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
..
android_deps.gyp Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:14:13 +00:00
android_system.gyp Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:14:13 +00:00
angle.gyp Add ANGLE to DEPS, integrate build 2012-09-04 16:45:05 +00:00
animator.gyp Build Skia as a static library 2012-10-10 19:45:51 +00:00
apptype_console.gypi Improve NaCl support 2012-11-01 17:43:44 +00:00
bench.gyp Build Skia as a static library 2012-10-10 19:45:51 +00:00
bench.gypi add bench for hairlines 2012-10-25 17:32:10 +00:00
common_conditions.gypi Improve NaCl support 2012-11-01 17:43:44 +00:00
common_variables.gypi Improve NaCl support 2012-11-01 17:43:44 +00:00
common.gypi Improve NaCl support 2012-11-01 17:43:44 +00:00
core.gyp Improve NaCl support 2012-11-01 17:43:44 +00:00
core.gypi Adding SkTileGrid: a new subclass of BBoxHierarchy, optimized for tiled playback. 2012-11-06 18:58:43 +00:00
debugger.gyp Add profiling to debugger 2012-11-15 14:57:57 +00:00
effects.gyp Build Skia as a static library 2012-10-10 19:45:51 +00:00
effects.gypi Break out SkOffsetImageFilter into its own file, and derive it from 2012-11-06 20:29:39 +00:00
everything.gyp Improve NaCl support 2012-11-01 17:43:44 +00:00
experimental.gyp Revert 3538. 2012-03-29 14:51:56 +00:00
FileReaderApp.gyp Build Skia as a static library 2012-10-10 19:45:51 +00:00
freetype.gyp Improve NaCl support 2012-11-01 17:43:44 +00:00
gm.gyp Build Skia as a static library 2012-10-10 19:45:51 +00:00
gmslides.gypi add gm for srcmode (and clearmode) in prep for optimization work 2012-11-15 13:46:47 +00:00
gpu.gyp Fix Linux link errors for some targets by adding -lX11 to gpu.gyp's 2012-11-12 20:55:02 +00:00
gpu.gypi Replace GrMatrix with SkMatrix. 2012-11-01 18:02:54 +00:00
images.gyp Improve NaCl support 2012-11-01 17:43:44 +00:00
libjpeg.gyp Disable warning emitted in libjpg build 2012-09-25 19:14:14 +00:00
most.gyp add a "most" target, and make it the default 2012-10-18 16:10:56 +00:00
nacl.gyp Sanitizing source files in Skia_Periodic_House_Keeping 2012-11-02 02:01:24 +00:00
opts.gyp Improve NaCl support 2012-11-01 17:43:44 +00:00
pdf.gyp Build Skia as a static library 2012-10-10 19:45:51 +00:00
pixman_test.gyp more pixman work in progress 2012-10-16 12:32:33 +00:00
ports.gyp Improve NaCl support 2012-11-01 17:43:44 +00:00
SampleApp.gyp Improve NaCl support 2012-11-01 17:43:44 +00:00
sfnt.gyp Build Skia as a static library 2012-10-10 19:45:51 +00:00
shapeops_demo.gyp shape ops work in progress 2012-10-16 12:06:27 +00:00
shapeops_edge.gyp shape ops work in progress 2012-10-16 12:06:27 +00:00
shapeops_tool.gyp checkpoint for shape ops 2012-10-09 14:11:58 +00:00
SimpleCocoaApp.gyp Build Skia as a static library 2012-10-10 19:45:51 +00:00
SimpleiOSApp.gyp Build Skia as a static library 2012-10-10 19:45:51 +00:00
skia_base_libs.gyp Build Skia as a static library 2012-10-10 19:45:51 +00:00
svg.gyp Build Skia as a static library 2012-10-10 19:45:51 +00:00
tests.gyp In SkBitmapHeap, defer adding owners for new bitmaps. 2012-11-16 20:34:37 +00:00
tools.gyp Update filter tool to allow input directory. 2012-11-13 18:50:33 +00:00
utils.gyp Split off SkConsistentChecksum from SkChecksum 2012-11-02 18:35:04 +00:00
views_animated.gyp Remove SkListWidget.cpp, which has not been compiled for 18 months 2012-09-25 18:24:41 +00:00
views.gyp Fix NoGPU build 2012-11-01 18:01:08 +00:00
xml.gyp Improve NaCl support 2012-11-01 17:43:44 +00:00
xps.gyp Build Skia as a static library 2012-10-10 19:45:51 +00:00
zlib.gyp Improve NaCl support 2012-11-01 17:43:44 +00:00