skia2/gm
senorblanco@chromium.org 1e95d715d0 Clean up the use of AutoScratchTexture in the gaussian blur and morphology
filters.  Instead of passing in AutoScratchTextures for temporaries, we allocate
them inside the function and detach() after rendering.  Since the functions now
return a ref()'ed texture, we no longer ref() the result in filter_texture().

Also, the imageblur gm was passing a paint with an image filter both to
saveLayer()/restore(), and to every text draw call.  Back when only restore()
was applying filters, this was fine, but since we're now applying filters on all
draw calls, this means we're double-blurring in this GM.

I've reverted the Mac baselines for the imageblur GM to their previous versions;
hopefully this will be correct.



git-svn-id: http://skia.googlecode.com/svn/trunk@4659 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-18 19:52:53 +00:00
..
resources Fix for CMYK jpeg decoding issue (69 - unable to read some jpeg files on android) 2012-03-20 14:51:47 +00:00
aaclip.cpp fix warnings on Mac in gm 2012-06-06 12:10:45 +00:00
aarectmodes.cpp fix warnings on Mac in gm 2012-06-06 12:10:45 +00:00
arithmode.cpp fix warnings on Mac in gm 2012-06-06 12:10:45 +00:00
bigmatrix.cpp fix warnings on Mac in gm 2012-06-06 12:10:45 +00:00
bitmapcopy.cpp Fix miscellaneous compiler warnings from Visual Studio 2010. 2012-04-10 17:42:21 +00:00
bitmapfilters.cpp Provide static global initializers for SkColorTable and SkComposeShader. 2012-07-02 19:07:57 +00:00
bitmapscroll.cpp delay any drawing until first call to onDraw (eases debugging) 2012-03-22 14:09:28 +00:00
blurs.cpp Only skip pipe playback for blurs GM in FIXED mode. 2012-06-29 19:25:21 +00:00
circles.cpp Add file missing from r3682 checkin 2012-04-16 14:19:32 +00:00
cmykjpeg.cpp fix warnings on Mac in gm 2012-06-06 12:10:45 +00:00
colormatrix.cpp remove mutable apis on SkColorMatrixFilter, must use constructor. 2012-06-04 19:07:41 +00:00
complexclip2.cpp Updated AAClips Sample slide and complexclip2 GM to exercise AA clipping 2012-05-15 17:03:16 +00:00
complexclip.cpp Fixed calling SkIntToScalar on a float error 2012-07-13 15:17:53 +00:00
composeshader.cpp Provide static global initializers for SkColorTable and SkComposeShader. 2012-07-02 19:07:57 +00:00
convexpaths.cpp Preserve convex control point polygon in cubic->quadratic approximation 2012-07-10 19:53:34 +00:00
cubicpaths.cpp Removing path drawing gm tests that produce either an entirely 2012-01-04 00:18:53 +00:00
dashcubics.cpp don't add circles on chopped cubics 2012-07-13 15:55:15 +00:00
dashing.cpp remove bogus nearlyzero checks 2012-05-21 16:47:43 +00:00
degeneratesegments.cpp Add the ability to iterate through a path without modification. This change is 2012-01-04 21:05:51 +00:00
drawbitmaprect.cpp Temporarily disable failing GM tests on Android 2012-06-25 21:03:04 +00:00
emptypath.cpp Import all GMs as Samples. 2011-10-31 14:18:20 +00:00
extractbitmap.cpp Ensure that SkDeferredCanvas::onCreateCompatibleDevice unrefs its temp device. 2012-07-03 15:16:30 +00:00
filltypes.cpp defer drawing/work until first draw, to make debugging easier and speedup 2012-03-30 20:04:21 +00:00
filltypespersp.cpp defer drawing/work until first draw, to make debugging easier and speedup 2012-03-30 20:04:21 +00:00
fontscaler.cpp Re-enable gm fontscaler for Android 2012-06-26 17:23:52 +00:00
gammatext.cpp fix warnings on Mac in gm 2012-06-06 12:10:45 +00:00
giantbitmap.cpp update test 2012-03-14 20:15:47 +00:00
gm.cpp Adding CMYK jpeg changes w/o .gyp alterations 2012-03-20 17:40:58 +00:00
gm.h Make the GM tool run GMs through an SkGPipe. 2012-06-04 17:17:36 +00:00
gmmain.cpp Added annotation for gm's -wp flag 2012-07-12 15:42:37 +00:00
gradients.cpp Added conical gradient to gm gradients test, and added two variants of that test, one with perspective applied to the local matrices of the gradients and the other with perspective applied to the overall view matrix. 2012-07-09 14:42:16 +00:00
gradtext.cpp Change TextContext handling of stages and draw targets; this allows us to 2012-07-11 14:41:19 +00:00
hairmodes.cpp fix warnings on Mac in gm 2012-06-06 12:10:45 +00:00
hittestpath.cpp add SkPath::contains(x, y) 2012-07-11 01:51:33 +00:00
imageblur.cpp Clean up the use of AutoScratchTexture in the gaussian blur and morphology 2012-07-18 19:52:53 +00:00
imagefiltersbase.cpp don't leak filters 2012-06-27 14:00:06 +00:00
lcdtext.cpp Import all GMs as Samples. 2011-10-31 14:18:20 +00:00
lighting.cpp Raster implementation of diffuse and specular lighting filters. Externally, 2012-06-22 21:01:23 +00:00
linepaths.cpp Removing path drawing gm tests that produce either an entirely 2012-01-04 00:18:53 +00:00
morphology.cpp Clamp dilate and erode radius to image width and height. 2012-04-10 17:25:44 +00:00
ninepatchstretch.cpp Import all GMs as Samples. 2011-10-31 14:18:20 +00:00
nocolorbleed.cpp Import all GMs as Samples. 2011-10-31 14:18:20 +00:00
patheffects.cpp fix warnings on Mac in gm 2012-06-06 12:10:45 +00:00
pathfill.cpp Better fix for rev. 4214 (inverse-fill and clipping). This fix avoids changing 2012-06-11 17:30:33 +00:00
pathreverse.cpp fix warnings on Mac in gm 2012-06-06 12:10:45 +00:00
points.cpp Import all GMs as Samples. 2011-10-31 14:18:20 +00:00
poly2poly.cpp Import all GMs as Samples. 2011-10-31 14:18:20 +00:00
quadpaths.cpp Removing path drawing gm tests that produce either an entirely 2012-01-04 00:18:53 +00:00
samplerstress.cpp Reenable running samplerstress GM in pipe mode. 2012-06-06 19:13:46 +00:00
shaderbounds.cpp Fix some fixed-point bugs. 2012-04-17 21:46:18 +00:00
shadertext.cpp Temporarily disable failing GM tests on Android 2012-06-25 21:03:04 +00:00
shadows.cpp Fix type errors and a few warnings for Visual Studio 2010 64-bit build. 2012-05-17 15:38:00 +00:00
shapes.cpp Import all GMs as Samples. 2011-10-31 14:18:20 +00:00
simpleaaclip.cpp Fixed simpleaaclip gm - it wasn't showing xor case 2012-07-17 15:37:15 +00:00
strokefill.cpp Compile with c++0x. 2012-03-19 21:04:52 +00:00
strokerects.cpp Import all GMs as Samples. 2011-10-31 14:18:20 +00:00
strokes.cpp add gm (no images yet) for two-point-radial gradients 2012-06-05 16:14:23 +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 fix warnings on Mac in gm 2012-06-06 12:10:45 +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 Addressed more Windows compiler complaint issues 2012-04-16 15:50:18 +00:00
testimagefilters.cpp add filterImage() entry-point to SkDevice, to allow it to specialize on subclasses 2012-01-05 21:15:07 +00:00
texdata.cpp Added GrContext::AutoClipStack to encapsulate setting\resetting of clip stack 2012-07-11 20:57:46 +00:00
tilemodes.cpp Import all GMs as Samples. 2011-10-31 14:18:20 +00:00
tinybitmap.cpp Import all GMs as Samples. 2011-10-31 14:18:20 +00:00
twopointradial.cpp Added pdf implementation of conical gradient. 2012-07-10 20:05:23 +00:00
valgrind.supp Close an (incidental) memory leak in gmmain. 2012-03-15 13:39:51 +00:00
verttext2.cpp more SkInstCnt plumbing 2012-06-26 19:24:50 +00:00
verttext.cpp update verttext to remove leading space from image name 2011-11-30 14:58:16 +00:00
xfermodes.cpp can't pass const to setPixels :( 2011-12-20 14:35:32 +00:00