skia2/gm
mtklein 04cd368cb4 Fix memory leak in etc1bitmap GM.
We never drop our first ref on fileData. (All our ref counts start at one).
SkAutoTUnref<T> is almost always the right thing to use for refcounted types.

BUG=skia:2635
R=krajcevski@google.com, mtklein@google.com

Author: mtklein@chromium.org

Review URL: https://codereview.chromium.org/310793003
2014-06-03 09:04:34 -07:00
..
rebaseline_server rebaseline_server: apply ignored-tests.txt within rebaseline_server, not just on the bots 2014-05-14 18:04:46 +00:00
tests add some .gitignores related to gm and tools 2014-04-11 14:49:50 +00:00
viewer Create AJAX live-viewer of expected-vs-actual GM results 2013-08-02 19:08:52 +00:00
__init__.py rebaseline.py: if --tests is not specified, get test list from actual-results.json 2013-06-05 15:43:37 +00:00
aaclip.cpp Disable cgimage GM 2014-04-23 18:05:36 +00:00
aarectmodes.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
alphagradients.cpp Remove unused (by clients) SkUnitMapper 2014-05-22 12:27:41 +00:00
androidfallback.cpp gather GM tests which are disabled on Android 2014-03-24 20:07:44 +00:00
arcofzorro.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
arithmode.cpp add legacy/helper allocN32Pixels, and convert gm to use it 2014-01-25 16:46:20 +00:00
beziereffects.cpp SK_SUPPORT_LEGACY_GRTYPES to hide duplicate types from SkTypes.h 2014-03-28 17:58:28 +00:00
bicubicfilter.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
bigblurs.cpp move common blur types into central header 2014-04-28 16:25:35 +00:00
bigmatrix.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
bigtext.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
bitmapcopy.cpp Revert of Revert of Rename kPMColor_SkColorType to kN32_SkColorType. (https://codereview.chromium.org/234243002/) 2014-04-11 17:15:40 +00:00
bitmapfilters.cpp Revert of Revert of Rename kPMColor_SkColorType to kN32_SkColorType. (https://codereview.chromium.org/234243002/) 2014-04-11 17:15:40 +00:00
bitmapmatrix.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
bitmappremul.cpp Revert of Revert of Rename kPMColor_SkColorType to kN32_SkColorType. (https://codereview.chromium.org/234243002/) 2014-04-11 17:15:40 +00:00
bitmaprect.cpp using real tiles when simulating tiling 2014-05-30 15:06:24 +00:00
bitmaprecttest.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
bitmapscroll.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
bitmapshader.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
bitmapsource.cpp Factory methods for heap-allocated SkImageFilter objects. 2014-03-10 10:51:58 +00:00
bleed.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
blurcircles.cpp New GM for testing circle blur optimization 2014-05-07 17:50:03 +00:00
blurquickreject.cpp move common blur types into central header 2014-04-28 16:25:35 +00:00
blurrect.cpp Shut up windows build errors on new GM 2014-05-28 22:42:31 +00:00
blurroundrect.cpp Remove brackets from gm names. 2014-06-03 06:50:26 -07:00
blurs.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
canvasstate.cpp flag to make kClipToLayer_SaveFlag the default behavior 2014-03-10 19:47:58 +00:00
circles.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
circularclips.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
clippedbitmapshaders.cpp Move SkShader::fLocalMatrix into SkShader constructor. 2014-04-28 14:55:39 +00:00
cmykjpeg.cpp Sanitizing source files in Housekeeper-Nightly 2013-05-30 07:01:29 +00:00
coloremoji.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
colorfilterimagefilter.cpp Factory methods for heap-allocated SkImageFilter objects. 2014-03-10 10:51:58 +00:00
colorfilters.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
colormatrix.cpp Factory methods for heap-allocated SkColorFilter objects. 2014-02-21 18:46:30 +00:00
colortype.cpp Remove unused (by clients) SkUnitMapper 2014-05-22 12:27:41 +00:00
complexclip2.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
complexclip.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
composeshader.cpp Sanitizing source files in Housekeeper-Nightly 2014-05-06 03:06:53 +00:00
conicpaths.cpp Sanitizing source files in Housekeeper-Nightly 2013-06-21 07:00:53 +00:00
convexpaths.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
convexpolyclip.cpp Remove unused (by clients) SkUnitMapper 2014-05-22 12:27:41 +00:00
convexpolyeffect.cpp support direct writing to top layer, and hide getTopLayer() 2014-03-12 18:28:35 +00:00
copyTo4444.cpp add new copyTo version to SkBitmap, which takes SkColorType 2014-02-23 03:59:35 +00:00
cubicpaths.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
dashcubics.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
dashing.cpp Real fix for Widnows build errors for GrDashingEffect 2014-05-19 14:59:04 +00:00
degeneratesegments.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
deviceproperties.cpp add peekPixels to SkCanvas and SkSurface 2014-02-13 17:14:46 +00:00
discard.cpp Fix int->scalar warning on windows 2014-04-24 21:23:37 +00:00
displacement.cpp Factory methods for heap-allocated SkImageFilter objects. 2014-03-10 10:51:58 +00:00
display_json_results.py gm_json.py: add ability to load JSON file from a string, not just a local file 2013-06-04 17:50:36 +00:00
distantclip.cpp Staging for cleanup of SkPicture-related headers 2014-04-18 18:04:41 +00:00
downsamplebitmap.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
drawbitmaprect.cpp Remove unused (by clients) SkUnitMapper 2014-05-22 12:27:41 +00:00
drawlooper.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
dropshadowimagefilter.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
drrect.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
emptypath.cpp Change old PRG to be SkLCGRandom; change new one to SkRandom 2013-09-09 20:09:12 +00:00
etc1bitmap.cpp Fix memory leak in etc1bitmap GM. 2014-06-03 09:04:34 -07:00
extractbitmap.cpp remove SkCanvas::createCompatibleDevice, and add SkCanvas::newSurface 2014-02-05 15:32:21 +00:00
factory.cpp hide discardable factory from public imagegenerator api 2014-05-27 14:14:22 +00:00
fatpathfill.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
filltypes.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
filltypespersp.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
filterbitmap.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
filterindiabox.cpp Make image scaling have floating point scales. Third attempt to land this 2014-05-28 17:30:02 +00:00
fontcache.cpp Sanitizing source files in Housekeeper-Nightly 2013-10-10 07:01:40 +00:00
fontmgr.cpp Pass the IDWriteFactory instead of relying on a global creator. 2014-03-31 19:18:07 +00:00
fontscaler.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
gammatext.cpp Revert of Revert of Rename kPMColor_SkColorType to kN32_SkColorType. (https://codereview.chromium.org/234243002/) 2014-04-11 17:15:40 +00:00
getpostextpath.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
giantbitmap.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
gm_error.h Add SkPDFDeviceFlatenner which extends SkPDFDevice to add support to flatten the path and the text when we have perspective. 2013-10-14 13:42:12 +00:00
gm_expectations.cpp Generate gm/Android.mk, minus JSON. 2014-05-16 17:56:43 +00:00
gm_expectations.h replace config() with colorType() 2014-05-29 15:57:47 +00:00
gm_json.py make compare_rendered_pictures process render_pictures's new JSON output format 2014-05-06 15:31:31 +00:00
gm.cpp DM: also run benches once. 2014-02-26 23:01:57 +00:00
gm.h DM: also run benches once. 2014-02-26 23:01:57 +00:00
gmmain.cpp Revert "Revert of setConfig -> setInfo (https://codereview.chromium.org/308683005/)" 2014-05-30 13:26:10 +00:00
gradient_matrix.cpp Remove unused (by clients) SkUnitMapper 2014-05-22 12:27:41 +00:00
gradientDirtyLaundry.cpp Remove unused (by clients) SkUnitMapper 2014-05-22 12:27:41 +00:00
gradients_2pt_conical.cpp Remove unused (by clients) SkUnitMapper 2014-05-22 12:27:41 +00:00
gradients_no_texture.cpp Remove unused (by clients) SkUnitMapper 2014-05-22 12:27:41 +00:00
gradients.cpp Remove unused (by clients) SkUnitMapper 2014-05-22 12:27:41 +00:00
gradtext.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
hairlines.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
hairmodes.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
hittestpath.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
image.cpp remove picture-backed surfaces 2014-04-11 18:34:35 +00:00
image.h check-point for image/surface work 2012-07-29 20:38:16 +00:00
imagealphathreshold.cpp Sanitizing source files in Housekeeper-Nightly 2014-01-08 07:01:49 +00:00
imageblur.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
imageblurtiled.cpp when getClipBounds returns false, the out-param is uninitialized 2014-04-10 21:15:30 +00:00
imagefiltersbase.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
imagefiltersclipped.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
imagefilterscropexpand.cpp Sanitizing source files in Housekeeper-Nightly 2014-03-15 03:02:32 +00:00
imagefilterscropped.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
imagefiltersgraph.cpp Remove some unnecessary uses of SkOnce. 2014-05-27 16:28:43 +00:00
imagefiltersscaled.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
imagemagnifier.cpp Factory methods for heap-allocated SkImageFilter objects. 2014-03-10 10:51:58 +00:00
imageresizetiled.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
internal_links.cpp Fix pipe/annotation. 2013-10-29 19:23:26 +00:00
inversepaths.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
lcdtext.cpp 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
lerpmode.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
lighting.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
linepaths.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
lumafilter.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
matrixconvolution.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
matriximagefilter.cpp Speculative Mac 10.6 fix: disable medium & high filter quality tests. 2014-03-25 21:12:18 +00:00
megalooper.cpp move common blur types into central header 2014-04-28 16:25:35 +00:00
mixedxfermodes.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
modecolorfilters.cpp add legacy/helper allocN32Pixels, and convert gm to use it 2014-01-25 16:46:20 +00:00
morphology.cpp Factory methods for heap-allocated SkImageFilter objects. 2014-03-10 10:51:58 +00:00
nested.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
ninepatchstretch.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
nonclosedpaths.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
offsetimagefilter.cpp Factory methods for heap-allocated SkImageFilter objects. 2014-03-10 10:51:58 +00:00
optimizations.cpp Staging for cleanup of SkPicture-related headers 2014-04-18 18:04:41 +00:00
ovals.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
patheffects.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
pathfill.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
pathinterior.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
pathopsinverse.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
pathopsskpclip.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
pathreverse.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
peekpixels.cpp Revert "Revert of add colortable support to imagegenerator (https://codereview.chromium.org/304443003/)" 2014-05-29 15:57:20 +00:00
perlinnoise.cpp Sanitizing source files in Housekeeper-Nightly 2014-05-13 03:06:05 +00:00
pictureimagefilter.cpp Staging for cleanup of SkPicture-related headers 2014-04-18 18:04:41 +00:00
pictureshader.cpp Remove setLocalMatrix calls from picture shader GM. 2014-05-02 21:23:52 +00:00
points.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
poly2poly.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
polygons.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
quadpaths.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
rects.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
resizeimagefilter.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
roundrects.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
rrect.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
rrects.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
samplerstress.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
selftest.cpp gm: record IntentionallySkipped tests 2013-04-10 12:17:34 +00:00
shaderbounds.cpp Remove unused (by clients) SkUnitMapper 2014-05-22 12:27:41 +00:00
shadertext2.cpp Remove unused (by clients) SkUnitMapper 2014-05-22 12:27:41 +00:00
shadertext3.cpp Remove unused (by clients) SkUnitMapper 2014-05-22 12:27:41 +00:00
shadertext.cpp Sanitizing source files in Housekeeper-Nightly 2014-05-23 03:03:34 +00:00
shadows.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
shallowgradient.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
show_gm_changes.py Add show_gm_changes script: show change revisions and hashes for a GM 2014-04-01 19:03:19 +00:00
simpleaaclip.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
skbug1719.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
spritebitmap.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
srcmode.cpp use some helper Make functions to initialize SkImageInfo 2014-01-15 02:38:22 +00:00
stringart.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
strokefill.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
strokerect.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
strokerects.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
strokes.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
stroketext.cpp tweak stroketext GM to actually test dashing 2014-05-22 17:59:51 +00:00
system_preferences_default.cpp Set LCD font smoothing to "medium" for gm on Mac, regardless of system settings 2012-02-14 14:53:59 +00:00
system_preferences_mac.mm gm: Include system_preferences.h in mac file. 2012-09-26 15:41:42 +00:00
system_preferences.h Set LCD font smoothing to "medium" for gm on Mac, regardless of system settings 2012-02-14 14:53:59 +00:00
tablecolorfilter.cpp add legacy/helper allocN32Pixels, and convert gm to use it 2014-01-25 16:46:20 +00:00
techtalk1.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
testimagefilters.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
texdata.cpp support direct writing to top layer, and hide getTopLayer() 2014-03-12 18:28:35 +00:00
texteffects.cpp move common blur types into central header 2014-04-28 16:25:35 +00:00
texturedomaineffect.cpp clear bitmap in texture domain gm 2014-04-07 21:18:46 +00:00
thinrects.cpp Sanitizing source files in Housekeeper-Nightly 2013-05-15 07:01:09 +00:00
thinstrokedrects.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
tileimagefilter.cpp Implement bounds traversals for tile and matrix convolution filters. 2014-04-29 15:20:39 +00:00
tilemodes_scaled.cpp Remove unused (by clients) SkUnitMapper 2014-05-22 12:27:41 +00:00
tilemodes.cpp Remove unused (by clients) SkUnitMapper 2014-05-22 12:27:41 +00:00
tinybitmap.cpp replace SkBitmap::Config with SkColorType in gms 2014-02-17 21:21:46 +00:00
twopointradial.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
typeface.cpp fix more 64bit warnings 2014-01-27 13:42:58 +00:00
vertices.cpp new vertices gm to test alpha 2014-05-05 20:41:21 +00:00
verttext2.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
verttext.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
verylargebitmap.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
xfermodeimagefilter.cpp Factory methods for heap-allocated SkImageFilter objects. 2014-03-10 10:51:58 +00:00
xfermodes2.cpp Move SkShader::fLocalMatrix into SkShader constructor. 2014-04-28 14:55:39 +00:00
xfermodes3.cpp Move SkShader::fLocalMatrix into SkShader constructor. 2014-04-28 14:55:39 +00:00
xfermodes.cpp Move SkShader::fLocalMatrix into SkShader constructor. 2014-04-28 14:55:39 +00:00