skia2/tests
tomhudson@google.com 4c4337291d If we try to clip against a path and the path only contains a rect, treat it as a clip against a rect.
(Works around a performance issue: JavaScript Canvas2D API only provides canvas.clipPath(), and we don't
optimize path clips nearly as much as we can rects; this shows up more in Ganesh than in the software
rasterizer.)

http://codereview.appspot.com/5795044/



git-svn-id: http://skia.googlecode.com/svn/trunk@3355 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-09 16:48:20 +00:00
..
TestXCode/Tests.xcodeproj migrate more legacy unittests into tests/ 2009-03-07 03:39:23 +00:00
AAClipTest.cpp fix bug and add test for aaclip when blitV is called 2012-02-29 13:59:15 +00:00
BitmapCopyTest.cpp Revert r3036. This change breaks loading images as 2012-02-17 14:42:22 +00:00
BitmapGetColorTest.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
BitSetTest.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
BlitRowTest.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
BlurTest.cpp Remove warnings (trailing \, signed vs unsigned, parenthesization). 2011-10-27 15:27:51 +00:00
CanvasTest.cpp Modify SkDeferredCanvas so that it uses its inherited SkCanvas to track matrix and clipping state 2012-02-24 21:54:07 +00:00
ClampRangeTest.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
ClipCubicTest.cpp inject a 32767 bounded cliprect before using SuperSampler blitter, to avoid 2012-01-30 17:09:45 +00:00
ClipperTest.cpp Fix SkScalar values in ClipperTest.cpp; these were breaking one Windows buildbot 2012-01-11 20:43:29 +00:00
ClipStackTest.cpp If we try to clip against a path and the path only contains a rect, treat it as a clip against a rect. 2012-03-09 16:48:20 +00:00
ColorFilterTest.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
ColorTest.cpp Interpolate vertical linear gradients for improved quality. 2012-01-18 21:28:01 +00:00
DataRefTest.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
DeferredCanvasTest.cpp Adding missing SkIntToScalar to resolve DeferredCanvas unit test failures with fixed-point build 2012-02-13 22:27:58 +00:00
DequeTest.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
DrawBitmapRectTest.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
DrawPathTest.cpp always allocate (only) the width of the clip for the AA row, since it will 2012-02-23 19:20:19 +00:00
DrawTextTest.cpp Subpixel text 3/8 of a pixel too far to the right. 2012-01-13 15:02:58 +00:00
EmptyPathTest.cpp Towards enabling -Werror in skia on Linux 2012-01-06 19:22:11 +00:00
FillPathTest.cpp enable soft clipping (yikes) 2011-10-24 12:19:46 +00:00
FlateTest.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
FontHostTest.cpp Fix memory leak in GetTableData() and add unittests for it 2012-02-23 16:15:58 +00:00
GeometryTest.cpp remove fragile assert 2012-02-29 21:57:36 +00:00
GLInterfaceValidation.cpp Move GL-specific include files to their own subdirectory, to better 2012-02-14 15:11:59 +00:00
GLProgramsTest.cpp Add two files missed in r3165; most critically the gyp! 2012-02-10 21:35:06 +00:00
InfRectTest.cpp rename hasValidCoordinates to isFinite (on SkRect) and reimplement for speed 2011-12-06 18:56:37 +00:00
MathTest.cpp add experimental test for blending math (disabled for now) 2011-11-09 17:12:08 +00:00
Matrix44Test.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
MatrixTest.cpp Remove warnings (trailing \, signed vs unsigned, parenthesization). 2011-10-27 15:27:51 +00:00
MemsetTest.cpp add unittest for sk_memset16 and sk_memset32 2012-01-07 03:49:13 +00:00
MetaDataTest.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
PackBitsTest.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
PaintTest.cpp Fix Paint == comparison on Android. 2011-12-01 17:09:21 +00:00
ParsePathTest.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
PathCoverageTest.cpp Make SkMath.h less visible in public header files. 2011-09-27 17:38:17 +00:00
PathMeasureTest.cpp Fixing the behavior of SkPathMeasure to reflect changes in SkPath::Iter. 2012-01-18 18:02:10 +00:00
PathTest.cpp Fix line endings. 2012-02-23 14:54:49 +00:00
PDFPrimitivesTest.cpp Fix copy paste error in test ref counting. 2012-03-05 19:14:37 +00:00
PointTest.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
PremulAlphaRoundTripTest.cpp GPU device preserves pixel values across read/write/read of unpremul pixel values 2012-02-23 15:39:54 +00:00
QuickRejectTest.cpp don't quickReject bitmaps if there is a looper or other possible bounds-modifier 2011-11-21 15:16:16 +00:00
Reader32Test.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
ReadPixelsTest.cpp Turn on read pixels test for raster backend 2012-02-09 13:53:48 +00:00
RefDictTest.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
RegionTest.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
ScalarTest.cpp Towards enabling -Werror in skia on Linux 2012-01-06 19:22:11 +00:00
ShaderOpacityTest.cpp Adding isOpaque method to skia shader classes 2011-12-09 15:48:03 +00:00
Sk64Test.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
skia_test.cpp add header to document debug-vs-release, fixed-vs-float 2011-10-26 15:25:18 +00:00
SortTest.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SrcOverTest.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
StreamTest.cpp add tests for read/writePackedUInt, and fix a bug there. 2011-10-18 11:49:52 +00:00
StringTest.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
Test.cpp Move GL-specific include files to their own subdirectory, to better 2012-02-14 15:11:59 +00:00
Test.h Adding more unit testing for SkCanvas and derived classes. 2012-02-22 21:00:42 +00:00
TestClassDef.h Skip test GLPrograms test when GL or Gr context can't be created. 2011-08-24 03:29:11 +00:00
TestSize.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
ToUnicode.cpp Fix ToUnicode generation bug. 2012-01-03 18:35:39 +00:00
TriangulationTest.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
UnicodeTest.cpp add SkUnichar_IsVariationSelector() 2011-12-21 15:21:32 +00:00
UtilsTest.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
WArrayTest.cpp Change append to appendf for call sites with no format arguments. 2012-02-21 18:53:39 +00:00
WritePixelsTest.cpp Fix warnings 2011-11-23 15:01:08 +00:00
Writer32Test.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
XfermodeTest.cpp add test for IsMode 2011-11-17 02:27:26 +00:00