skia2/gm
egdaniel ed3af6648f Use Color Processor for color bitmap text draws on gpu.
This change is here since previously color bitmap text was rendered using a
geometry processor in the coverage stage. The problem with this is that we
cannot correctly do xfer modes with this method. So I now make color bitmap text
draw using a color stage in the same was as a draw bitmap call.

One issue that arrises from this fix is that we end up adding this final color
processor after any previous color processors. Thus if we have a custom blend
implemented as a color processor it will be before this text one and we won't
blend correctly. This issue will get fixed once an xfer processor is fully
implemented. I have hacked a test locally to show that if we can add the text
color processor to the begining of the color stages we do blend correctly in all
cases (so the xfer processor will be a fix).

BUG=skia:

Review URL: https://codereview.chromium.org/689923004
2014-10-31 06:55:45 -07:00
..
rebaseline_server Refactored frontend for the rebaseline server. 2014-09-05 13:51:24 -07:00
tests make gm self-tests launch python unittests automatically 2014-07-16 08:28:23 -07: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 Cleanup: Get rid of make_isize() function from gm.h. 2014-06-09 23:59:03 -07:00
alphagradients.cpp Remove unused (by clients) SkUnitMapper 2014-05-22 12:27:41 +00:00
arcofzorro.cpp Cleanup: Get rid of make_isize() function from gm.h. 2014-06-09 23:59:03 -07:00
arithmode.cpp use platform-independent font for gm 2014-06-23 11:25:00 -07:00
astcbitmap.cpp Add astcbitmap to gm slides. 2014-08-07 12:58:38 -07:00
beziereffects.cpp Patch to create a distinct geometry processor. The vast majority of this patch 2014-09-23 09:50:21 -07:00
beziers.cpp Turn SkCanvasStateUtils into a class with static functions. 2014-10-10 06:19:09 -07:00
bigblurs.cpp Cleanup: Get rid of make_isize() function from gm.h. 2014-06-09 23:59:03 -07:00
bigmatrix.cpp Add always-threaded SkRecord quilt tests. 2014-07-07 10:41:04 -07:00
bigtext.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
bitmapcopy.cpp use platform-independent font for gm 2014-06-23 11:25:00 -07:00
bitmapfilters.cpp use platform-independent font for gm 2014-06-23 11:25:00 -07:00
bitmapmatrix.cpp Cleanup: Get rid of make_isize() function from gm.h. 2014-06-09 23:59:03 -07: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 Revert to enabling all of -O2 as it exposes a bug in the toolchain. 2014-09-03 13:38:32 -07:00
bitmaprecttest.cpp Add always-threaded SkRecord quilt tests. 2014-07-07 10:41:04 -07:00
bitmapscroll.cpp Skip tiling on bitmapscroll: 2014-07-16 14:19:54 -04:00
bitmapshader.cpp Add always-threaded SkRecord quilt tests. 2014-07-07 10:41:04 -07:00
bitmapsource.cpp use platform-independent font for gm 2014-06-23 11:25:00 -07:00
bleed.cpp "NULL !=" = NULL 2014-09-05 13:34:00 -07: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 Add always-threaded SkRecord quilt tests. 2014-07-07 10:41:04 -07:00
blurroundrect.cpp Add always-threaded SkRecord quilt tests. 2014-07-07 10:41:04 -07:00
blurs.cpp use platform-independent font for gm 2014-06-23 11:25:00 -07:00
circles.cpp Cleanup: Get rid of make_isize() function from gm.h. 2014-06-09 23:59:03 -07:00
circularclips.cpp optimize circularclips to act as a bench, fix null-check bug in etcbench 2014-06-20 11:33:59 -07:00
clip_strokerect.cpp Outset the stroke width when computing the bounds for drawing a stroked rect, or 1 if it's a hairline 2014-09-09 11:33:57 -07:00
clippedbitmapshaders.cpp Move SkShader::fLocalMatrix into SkShader constructor. 2014-04-28 14:55:39 +00:00
cmykjpeg.cpp Cleanup usage of GetResourcePath() after commit bcbc1788b4. 2014-07-01 12:35:49 -07:00
colorcube.cpp Adding 3D lut color filter 2014-10-09 05:27:23 -07:00
coloremoji.cpp Add always-threaded SkRecord quilt tests. 2014-07-07 10:41:04 -07: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 Cleanup: Get rid of make_isize() function from gm.h. 2014-06-09 23:59:03 -07:00
colortype.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
colortypexfermode.cpp Use Color Processor for color bitmap text draws on gpu. 2014-10-31 06:55:45 -07:00
colorwheel.cpp add gm: colorwheel 2014-10-26 05:23:53 -07:00
complexclip2.cpp Cleanup: Get rid of make_isize() function from gm.h. 2014-06-09 23:59:03 -07:00
complexclip.cpp use platform-independent font for gm 2014-06-23 11:25:00 -07:00
composeshader.cpp Add always-threaded SkRecord quilt tests. 2014-07-07 10:41:04 -07:00
conicpaths.cpp Sanitizing source files in Housekeeper-Nightly 2013-06-21 07:00:53 +00:00
convexpaths.cpp Cleanup: Get rid of make_isize() function from gm.h. 2014-06-09 23:59:03 -07:00
convexpolyclip.cpp "NULL !=" = NULL 2014-09-05 13:34:00 -07:00
convexpolyeffect.cpp Patch to create a distinct geometry processor. The vast majority of this patch 2014-09-23 09:50:21 -07:00
copy_config.py create copy_config.py and rename_config.py for skbug 2752 2014-07-17 08:22:12 -07:00
copyTo4444.cpp Cleanup usage of GetResourcePath() after commit bcbc1788b4. 2014-07-01 12:35:49 -07:00
cubicpaths.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
dashcubics.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
dashing.cpp Use vertex attributes for dash effect in gpu 2014-06-12 10:24:21 -07:00
degeneratesegments.cpp use platform-independent font for gm 2014-06-23 11:25:00 -07:00
dftext.cpp Add color emoji fallback for distance field text. 2014-10-20 13:12:55 -07:00
discard.cpp allow SkUserConfig.h to control NOGPU 2014-10-30 11:34:15 -07:00
displacement.cpp use platform-independent font for gm 2014-06-23 11:25:00 -07: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 Change SkPicture::draw to playback 2014-09-04 08:42:50 -07:00
downsamplebitmap.cpp Don't use MIP filter mode on compressed textures 2014-10-23 14:17:46 -07:00
drawbitmaprect.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
drawlooper.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
dropshadowimagefilter.cpp Adding an option to render only the shadow in SkDropShadowImageFilter 2014-10-23 13:59:52 -07:00
drrect.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
emboss.cpp make set3DMask virtual, so we can safely notify the shadercontext 2014-09-10 10:20:24 -07:00
emptypath.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
etc1bitmap.cpp Revert of Added test for non cached ETC1 (patchset #2 id:20001 of https://codereview.chromium.org/564493002/) 2014-09-10 14:59:59 -07:00
extractbitmap.cpp Cleanup: Get rid of make_isize() function from gm.h. 2014-06-09 23:59:03 -07:00
factory.cpp "NULL !=" = NULL 2014-09-05 13:34:00 -07:00
fatpathfill.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
filltypes.cpp Cleanup: Get rid of make_isize() function from gm.h. 2014-06-09 23:59:03 -07:00
filltypespersp.cpp Cleanup: Get rid of make_isize() function from gm.h. 2014-06-09 23:59:03 -07:00
filterbitmap.cpp add gm: filterbitmap_image_color_wheel 2014-10-27 10:32:18 -07:00
filterindiabox.cpp Temporarily disable tiling another GM that produces errors with the existing 64-bit ARM toolchain. 2014-09-04 09:51:33 -04:00
fontcache.cpp Update fontcache GM to stress the font atlas. 2014-09-03 08:44:59 -07:00
fontmgr.cpp Update fontMgr to take list of bcp47 language tags. 2014-10-23 07:08:06 -07:00
fontscaler.cpp Fix scaling issue with distance field text. 2014-09-16 05:45:19 -07:00
gammatext.cpp extend SkShader to report a luminance-color to be used for gamma correction 2014-08-22 08:30:20 -07:00
getpostextpath.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
giantbitmap.cpp On Android, skip tiling for all giantbitmap variants. 2014-09-03 13:22:46 -07:00
glyph_pos_align.cpp Send less transform data when drawing text with nvpr 2014-07-25 14:13:57 -07:00
glyph_pos.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04: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 Cleanup: Rename SkOSPath functions. 2014-07-28 19:26:58 -07:00
gm_expectations.h In Android framework, make tools depend on jsoncpp 2014-06-18 10:31:40 -07:00
gm_json.py Add ability to output ImageBaseGSUrl to render_picture and use in rebaseline server. 2014-08-22 04:46:30 -07:00
gm.cpp Refactor how we handle resources path in Tests. 2014-06-18 14:32:49 -07:00
gm.h add gm: colorwheel 2014-10-26 05:23:53 -07:00
gmmain.cpp rename GrTextureDesc->GrSurfaceDesc, GrTextureFlags->GrSurfaceFlags 2014-10-28 14:33:06 -07:00
gradient_matrix.cpp Remove unused (by clients) SkUnitMapper 2014-05-22 12:27:41 +00:00
gradientDirtyLaundry.cpp Add always-threaded SkRecord quilt tests. 2014-07-07 10:41:04 -07:00
gradients_2pt_conical.cpp Add always-threaded SkRecord quilt tests. 2014-07-07 10:41:04 -07:00
gradients_no_texture.cpp Cleanup: Get rid of make_isize() function from gm.h. 2014-06-09 23:59:03 -07:00
gradients.cpp Add always-threaded SkRecord quilt tests. 2014-07-07 10:41:04 -07:00
gradtext.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
hairlines.cpp Cleanup: Get rid of make_isize() function from gm.h. 2014-06-09 23:59:03 -07:00
hairmodes.cpp Cleanup: Get rid of make_isize() function from gm.h. 2014-06-09 23:59:03 -07:00
hittestpath.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
image.cpp SkCanvas::drawImage is the new way for drawing a SkImage to a Canvas 2014-09-24 13:03:30 -07:00
image.h check-point for image/surface work 2012-07-29 20:38:16 +00:00
imagealphathreshold.cpp Cleanup: Get rid of make_isize() function from gm.h. 2014-06-09 23:59:03 -07:00
imageblur2.cpp 2D kernel initial wiring for Guassian 2014-08-11 13:55:34 -07:00
imageblur.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
imageblurtiled.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
imagefiltersbase.cpp Adding an option to render only the shadow in SkDropShadowImageFilter 2014-10-23 13:59:52 -07:00
imagefiltersclipped.cpp Adding an option to render only the shadow in SkDropShadowImageFilter 2014-10-23 13:59:52 -07:00
imagefilterscropexpand.cpp Adding an option to render only the shadow in SkDropShadowImageFilter 2014-10-23 13:59:52 -07:00
imagefilterscropped.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
imagefiltersgraph.cpp "NULL !=" = NULL 2014-09-05 13:34:00 -07:00
imagefiltersscaled.cpp Adding an option to render only the shadow in SkDropShadowImageFilter 2014-10-23 13:59:52 -07:00
imagemagnifier.cpp Fix imagemagnifier GM quality and speed. 2014-10-23 15:00:12 -07:00
imageresizetiled.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
internal_links.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
inversepaths.cpp Cleanup: Get rid of make_isize() function from gm.h. 2014-06-09 23:59:03 -07:00
lcdtext.cpp fix prev change to tooBigForLCD, and add test 2014-10-01 13:59:34 -07:00
lerpmode.cpp Add always-threaded SkRecord quilt tests. 2014-07-07 10:41:04 -07:00
lighting.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
linepaths.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
lumafilter.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
matrixconvolution.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
matriximagefilter.cpp Cleanup: Get rid of make_isize() function from gm.h. 2014-06-09 23:59:03 -07:00
megalooper.cpp move common blur types into central header 2014-04-28 16:25:35 +00:00
mixedxfermodes.cpp Cleanup: Get rid of make_isize() function from gm.h. 2014-06-09 23:59:03 -07:00
modecolorfilters.cpp Cleanup: Get rid of make_isize() function from gm.h. 2014-06-09 23:59:03 -07:00
morphology.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
multipicturedraw.cpp Fix multipicturedraw_biglayer GM 2014-10-06 11:50:31 -07:00
nested.cpp Cleanup: Get rid of make_isize() function from gm.h. 2014-06-09 23:59:03 -07:00
ninepatchstretch.cpp Add always-threaded SkRecord quilt tests. 2014-07-07 10:41:04 -07:00
nonclosedpaths.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
offsetimagefilter.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
ovals.cpp Cleanup: Get rid of make_isize() function from gm.h. 2014-06-09 23:59:03 -07:00
patch.cpp Proposal for the mesh gradient interface. Implemented as a grid of 2014-08-12 17:14:57 -07:00
patchgrid.cpp Proposal for the mesh gradient interface. Implemented as a grid of 2014-08-12 17:14:57 -07:00
patheffects.cpp Cleanup: Get rid of make_isize() function from gm.h. 2014-06-09 23:59:03 -07:00
pathfill.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
pathinterior.cpp Add always-threaded SkRecord quilt tests. 2014-07-07 10:41:04 -07:00
pathopsinverse.cpp Add always-threaded SkRecord quilt tests. 2014-07-07 10:41:04 -07:00
pathopsskpclip.cpp Add always-threaded SkRecord quilt tests. 2014-07-07 10:41:04 -07:00
pathreverse.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04: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 Fix tiled perlin noise. 2014-06-12 11:24:20 -07:00
picture.cpp add drawPicture variant that takes a matrix and paint 2014-08-09 11:08:05 -07:00
pictureimagefilter.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
pictureshader.cpp Try out scalar picture sizes 2014-08-29 08:03:56 -07:00
pictureshadertile.cpp Try out scalar picture sizes 2014-08-29 08:03:56 -07:00
points.cpp Cleanup: Get rid of make_isize() function from gm.h. 2014-06-09 23:59:03 -07:00
poly2poly.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
polygons.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
quadpaths.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
rects.cpp Cleanup: Get rid of make_isize() function from gm.h. 2014-06-09 23:59:03 -07:00
rename_config.py create copy_config.py and rename_config.py for skbug 2752 2014-07-17 08:22:12 -07:00
resizeimagefilter.cpp Revert to enabling all of -O2 as it exposes a bug in the toolchain. 2014-09-03 13:38:32 -07:00
roundrects.cpp Cleanup: Get rid of make_isize() function from gm.h. 2014-06-09 23:59:03 -07:00
rrect.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
rrects.cpp Patch to create a distinct geometry processor. The vast majority of this patch 2014-09-23 09:50:21 -07:00
samplerstress.cpp "NULL !=" = NULL 2014-09-05 13:34:00 -07:00
selftest.cpp Cleanup: Get rid of make_isize() function from gm.h. 2014-06-09 23:59:03 -07:00
shaderbounds.cpp Cleanup: Get rid of make_isize() function from gm.h. 2014-06-09 23:59:03 -07:00
shadertext2.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
shadertext3.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
shadertext.cpp don't use local static bitmap -- racy and unnecessary 2014-09-04 13:18:36 -07:00
shadows.cpp Add always-threaded SkRecord quilt tests. 2014-07-07 10:41:04 -07:00
shallowgradient.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
simpleaaclip.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
skbug1719.cpp Add always-threaded SkRecord quilt tests. 2014-07-07 10:41:04 -07:00
smallarc.cpp Draw more accurate thick-stroked Beziers (disabled) 2014-10-09 05:36:04 -07:00
spritebitmap.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
srcmode.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
stringart.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
strokefill.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
strokerect.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
strokerects.cpp Cleanup: Get rid of make_isize() function from gm.h. 2014-06-09 23:59:03 -07:00
strokes.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
stroketext.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
surface.cpp Introduce Props to surface (patchset #27 id:520001 of https://codereview.chromium.org/551463004/)" 2014-09-22 07:29:03 -07: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
test_all.py make gm self-tests launch python unittests automatically 2014-07-16 08:28:23 -07:00
testimagefilters.cpp Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
texdata.cpp rename GrTextureDesc->GrSurfaceDesc, GrTextureFlags->GrSurfaceFlags 2014-10-28 14:33:06 -07:00
textblob.cpp Ensure blob typeface information survives SkGPipe serialization. 2014-09-16 17:58:34 -07:00
textblobshader.cpp SkTextBlob shader space workaround. 2014-09-19 11:40:51 -07:00
texteffects.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
texturedomaineffect.cpp Add SkIRect bounds() convenience method to SkImageInfo and SkBitmap. 2014-10-24 12:54:53 -07:00
thinrects.cpp Cleanup: Get rid of make_isize() function from gm.h. 2014-06-09 23:59:03 -07:00
thinstrokedrects.cpp Add always-threaded SkRecord quilt tests. 2014-07-07 10:41:04 -07:00
tiledscaledbitmap.cpp Fix the way we patch up the matrix for scaled images that aren't 2014-10-27 10:32:07 -07:00
tileimagefilter.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
tilemodes_scaled.cpp Revert to enabling all of -O2 as it exposes a bug in the toolchain. 2014-09-03 13:38:32 -07:00
tilemodes.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
tinybitmap.cpp Cleanup: Get rid of make_isize() function from gm.h. 2014-06-09 23:59:03 -07:00
twopointradial.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
typeface.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
variedtext.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
vertices.cpp new vertices gm to test alpha 2014-05-05 20:41:21 +00:00
verttext2.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
verttext.cpp Cleanup: Get rid of make_isize() function from gm.h. 2014-06-09 23:59:03 -07:00
verylargebitmap.cpp Add always-threaded SkRecord quilt tests. 2014-07-07 10:41:04 -07:00
xfermodeimagefilter.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
xfermodes2.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
xfermodes3.cpp rename GrTextureDesc->GrSurfaceDesc, GrTextureFlags->GrSurfaceFlags 2014-10-28 14:33:06 -07:00
xfermodes.cpp Add standard fonts to all GMs. 2014-07-31 08:58:44 -04:00
yuvtorgbeffect.cpp GrResourceCache2 manages scratch texture. 2014-10-08 08:40:09 -07:00