skia2/tests
mtklein d9dd428211 Modernize and trim down SkOnce.
The API and implementation are very much simplified.
You may not want to bother reading the diff.

As is our trend, SkOnce now uses <atomic> directly.

Member initialization means we don't need SK_DECLARE_STATIC_ONCE.
SkSpinlock already works this same way.

All uses of the old API taking an external bool* and Lock* were pessimal,
so I have not carried this sort of API forward.  It's simpler, faster,
and more space-efficient to always use this single SkOnce class interface.

SkOnce weighs 2 bytes: a done bool and an SkSpinlock, also a bool internally.
This API refactoring opens up the opportunity to fuse those into a single
three-state byte if we'd like.

No public API changes.
TBR=reed@google.com

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1894893002

Review URL: https://codereview.chromium.org/1894893002
2016-04-18 08:09:11 -07:00
..
AAClipTest.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
AnnotationTest.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
ARGBImageEncoderTest.cpp Switch SkAutoMalloc to SkAutoTMalloc to avoid cast 2015-12-10 10:44:13 -08:00
AsADashTest.cpp Reland of "switch patheffects over to sk_sp (patchset #5 id:80001 of https://codereview.chromium.org/1813553005/ )" 2016-03-18 11:22:57 -07:00
AtomicTest.cpp Remove SkThread::setProcessorAffinity() 2015-10-20 11:05:06 -07:00
BadIcoTest.cpp detach -> release 2016-03-16 13:53:35 -07:00
BitmapCopyTest.cpp Make more unit tests run on Vulkan 2016-04-12 09:59:58 -07:00
BitmapGetColorTest.cpp
BitmapHeapTest.cpp Reland of "more shader-->sp conversions (patchset #5 id:80001 of https://codereview.chromium.org/1789633002/ )" 2016-03-13 14:13:58 -07:00
BitmapTest.cpp Unit Tests: eliminate stray SkDebugf()s. 2016-02-24 17:59:16 -08:00
BitSetTest.cpp
BlendTest.cpp switch xfermodes over to sk_sp 2016-03-29 11:32:50 -07:00
BlitMaskClip.cpp Initialize memory for BitMask and Clip test. 2015-11-20 13:37:37 -08:00
BlitRowTest.cpp Reland of "more shader-->sp conversions (patchset #5 id:80001 of https://codereview.chromium.org/1789633002/ )" 2016-03-13 14:13:58 -07:00
BlurTest.cpp Make existing unit tests only run on GL contexts 2016-04-06 14:02:39 -07:00
CachedDataTest.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
CachedDecodingPixelRefTest.cpp update callsites for Make image factories 2016-03-17 10:51:11 -07:00
CanvasStateHelpers.cpp
CanvasStateHelpers.h
CanvasStateTest.cpp Add SK_SUPPORT_LEGACY_DRAWFILTER guard around calls to SkCanvas::(get|set)DrawFilter. 2016-01-22 09:45:14 -08:00
CanvasTest.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
ChecksumTest.cpp Switch uses of SkChecksum::Compute to Murmur3. 2015-11-16 11:16:23 -08:00
ClampRangeTest.cpp Fix code that left shifts a negative value. This has undefined behavior. 2015-11-11 08:46:34 -08:00
ClearTest.cpp Make more unit tests run on Vulkan 2016-04-12 09:59:58 -07:00
ClipBoundsTest.cpp Make more unit tests run on Vulkan 2016-04-12 09:59:58 -07:00
ClipCubicTest.cpp IWYU: 'core' target, files starting A-C. 2015-08-05 13:57:49 -07:00
ClipperTest.cpp
ClipStackTest.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
CodecPriv.h Fix bug in SkGifCodec / Switch SkImageDec tests to use Codec 2016-03-01 12:12:27 -08:00
CodexTest.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
ColorFilterTest.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
ColorMatrixTest.cpp Reland of [2] of "switch colorfilters to sk_sp (patchset #11 id:200001 of https://codereview.chromium.o… (patchset #1 id:1 of https://codereview.chromium.org/1821103004/ ) 2016-03-22 10:17:23 -07:00
ColorPrivTest.cpp
ColorSpaceTest.cpp Don't crash when resource path is omitted 2016-03-25 21:38:09 -04:00
ColorTest.cpp
CopySurfaceTest.cpp Make more unit tests run on Vulkan 2016-04-12 09:59:58 -07:00
CPlusPlusEleven.cpp Use std::unique_ptr. 2016-03-16 10:28:35 -07:00
CTest.cpp C API: Add SK_API, also documentation of an example. 2015-09-01 10:01:38 -07:00
DashPathEffectTest.cpp Reland of "switch patheffects over to sk_sp (patchset #5 id:80001 of https://codereview.chromium.org/1813553005/ )" 2016-03-18 11:22:57 -07:00
DataRefTest.cpp Revert of Fixes for SkRWBuffer (patchset #5 id:80001 of https://codereview.chromium.org/1871953002/ ) 2016-04-14 14:57:01 -07:00
DequeTest.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
DeviceLooperTest.cpp Add SkSpecialImage::extractSubset & NewFromPixmap 2016-03-17 06:58:39 -07:00
DiscardableMemoryPoolTest.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
DiscardableMemoryTest.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
DrawBitmapRectTest.cpp switch surface to sk_sp 2016-03-23 18:59:25 -07:00
DrawFilterTest.cpp switch surface to sk_sp 2016-03-23 18:59:25 -07:00
DrawPathTest.cpp switch surface to sk_sp 2016-03-23 18:59:25 -07:00
DrawTextTest.cpp Increment text pointer when the width is zero in the subpixel with center and right alignment. 2015-11-12 08:53:42 -08:00
DynamicHashTest.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
EGLImageTest.cpp Make existing unit tests only run on GL contexts 2016-04-06 14:02:39 -07:00
EmptyPathTest.cpp Reland of more zero-length changes for svg compatibility (patchset #1 id:1 of https://codereview.chromium.org/1334543002/ ) 2015-09-09 13:20:49 -07:00
ErrorTest.cpp
ExifTest.cpp Don't crash when resource path is omitted 2016-03-25 21:38:09 -04:00
FillPathTest.cpp
FitsInTest.cpp
FlattenableFactoryToName.cpp Split AlphaThresholdEffect out into its own file 2016-04-18 07:20:05 -07:00
Float16Test.cpp Add SkSpecialImage::extractSubset & NewFromPixmap 2016-03-17 06:58:39 -07:00
FloatingPointTextureTest.cpp Make more unit tests run on Vulkan 2016-04-12 09:59:58 -07:00
FontHostStreamTest.cpp detach -> release 2016-03-16 13:53:35 -07:00
FontHostTest.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
FontMgrAndroidParserTest.cpp Reverse dependency between SkScalar.h and SkFixed.h. 2016-04-07 08:49:31 -07:00
FontMgrTest.cpp Revert "Revert of Pass effects directly to fontcache (patchset #8 id:140001 of https://codereview.chromium.org/1863013003/ )" 2016-04-12 06:47:05 -07:00
FontNamesTest.cpp
FontObjTest.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
FrontBufferedStreamTest.cpp detach -> release 2016-03-16 13:53:35 -07:00
GeometryTest.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
GifTest.cpp detach -> release 2016-03-16 13:53:35 -07:00
GLProgramsTest.cpp Make existing unit tests only run on GL contexts 2016-04-06 14:02:39 -07:00
GpuColorFilterTest.cpp Convert some unit tests from running on GL contexts to running on all contexts 2016-04-11 14:40:50 -07:00
GpuDrawPathTest.cpp Make existing unit tests only run on GL contexts 2016-04-06 14:02:39 -07:00
GpuLayerCacheTest.cpp Make more unit tests run on Vulkan 2016-04-12 09:59:58 -07:00
GpuRectanizerTest.cpp
GradientTest.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
GrAllocatorTest.cpp
GrContextAbandonTest.cpp One signature for creating unit tests that run on premade GrContexts 2016-04-05 12:59:06 -07:00
GrContextFactoryTest.cpp Vulkan config in dm 2016-04-11 14:21:33 -07:00
GrDrawTargetTest.cpp Convert some unit tests from running on GL contexts to running on all contexts 2016-04-11 14:40:50 -07:00
GrGetCoeffBlendKnownComponentsTest.cpp switch xfermodes over to sk_sp 2016-03-29 11:32:50 -07:00
GrGLSLPrettyPrintTest.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
GrMemoryPoolTest.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
GrPorterDuffTest.cpp Make existing unit tests only run on GL contexts 2016-04-06 14:02:39 -07:00
GrSurfaceTest.cpp Make existing unit tests only run on GL contexts 2016-04-06 14:02:39 -07:00
GrTextureMipMapInvalidationTest.cpp Make existing unit tests only run on GL contexts 2016-04-06 14:02:39 -07:00
GrTRecorderTest.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
HashTest.cpp SkTHash: hash from fnptr to functor type 2015-10-15 12:23:02 -07:00
image-bitmap.cpp images with offset bitmap don't share genid 2016-03-24 09:18:14 -07:00
ImageCacheTest.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
ImageFilterCacheTest.cpp Make more unit tests run on Vulkan 2016-04-12 09:59:58 -07:00
ImageFilterTest.cpp Move SkImageFilter over to storing sk_sps 2016-04-15 09:58:37 -07:00
ImageFilterTest.cpp.orig Make existing unit tests only run on GL contexts 2016-04-06 14:02:39 -07:00
ImageFilterTest.cpp.rej Update SkXfermodeImageFilter to sk_sp 2016-04-05 12:48:34 -07:00
ImageFrom565Bitmap.cpp update callsites for Make image factories 2016-03-17 10:51:11 -07:00
ImageGeneratorTest.cpp Update Skia's YUV API 2016-03-10 05:44:43 -08:00
ImageIsOpaqueTest.cpp Make existing unit tests only run on GL contexts 2016-04-06 14:02:39 -07:00
ImageNewShaderTest.cpp Make more unit tests run on Vulkan 2016-04-12 09:59:58 -07:00
ImageTest.cpp Make more unit tests run on Vulkan 2016-04-12 09:59:58 -07:00
IndexedPngOverflowTest.cpp switch surface to sk_sp 2016-03-23 18:59:25 -07:00
InfRectTest.cpp
InterpolatorTest.cpp test & doc for SkUnitCubicInterp 2016-01-07 11:33:15 -08:00
InvalidIndexedPngTest.cpp Fix bug in SkGifCodec / Switch SkImageDec tests to use Codec 2016-03-01 12:12:27 -08:00
IsClosedSingleContourTest.cpp Fix for GrAALinearizingConvexPathRenderer incorrectly drawing non-convex paths 2015-12-15 11:01:12 -08:00
LayerDrawLooperTest.cpp guard rasterizer and drawlooper setters 2016-03-21 13:25:16 -07:00
LayerRasterizerTest.cpp change flattenable factory to return sk_sp 2016-04-03 09:11:13 -07:00
LListTest.cpp Make block size a template parameter of SkTLList 2015-11-18 19:01:12 -08:00
MallocPixelRefTest.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
MaskCacheTest.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
MathTest.cpp Add pinned versions of *ToFixed. 2016-04-07 09:23:12 -07:00
Matrix44Test.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
MatrixClipCollapseTest.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
MatrixTest.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
MD5Test.cpp
MemoryTest.cpp
MemsetTest.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
MessageBusTest.cpp
MetaDataTest.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
MipMapTest.cpp SkMipMap::Build supports 1xN and Nx1 inputs, so remove the special case from the test harness. Update a no-longer-correct comment. 2016-03-25 12:55:52 -07:00
OncePtrTest.cpp If we swap its arguments, SkTaskGroup::batch() _is_ sk_parallel_for. 2016-01-04 19:13:19 -08:00
OnceTest.cpp Modernize and trim down SkOnce. 2016-04-18 08:09:11 -07:00
OSPathTest.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
PackBitsTest.cpp Remove unused PackBits methods and fix length checks 2015-06-04 15:10:37 -07:00
PaintBreakTextTest.cpp Cleanups related to SkFixed. 2016-02-25 10:28:11 -08:00
PaintImageFilterTest.cpp Switch SkLocalMatrixImageFilter and SkPaintImageFilter over to sk_sp 2016-03-30 07:32:28 -07:00
PaintTest.cpp switch maskfilters to sk_sp 2016-04-04 10:02:58 -07:00
ParsePathTest.cpp Add unit test to feed valid SVG sequences to make sure that 2016-02-09 10:30:22 -08:00
PathCoverageTest.cpp Revert of Revert of stop calling SkScalarDiv (patchset #1 id:1 of https://codereview.chromium.org/1138263002/) 2015-05-12 10:37:34 -07:00
PathMeasureTest.cpp fix circular dashing 2016-01-19 08:07:50 -08:00
PathOpsAngleIdeas.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
PathOpsAngleTest.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
PathOpsBattles.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
PathOpsBoundsTest.cpp Path ops formerly found the topmost unprocessed edge and determined its angle sort order to initialize the winding. This never worked correctly with cubics and was flaky with paths consisting mostly of vertical edges. 2015-05-11 07:21:28 -07:00
PathOpsBuilderConicTest.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
PathOpsBuilderTest.cpp path ops: check for deleted ends 2015-12-14 08:43:21 -08:00
PathOpsBuildUseTest.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
PathOpsConicIntersectionTest.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
PathOpsConicLineIntersectionTest.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
PathOpsCubicConicIntersectionTest.cpp Enabling clip stack flattening exercises path ops. 2015-10-16 09:03:38 -07:00
PathOpsCubicIntersectionTest.cpp Enabling clip stack flattening exercises path ops. 2015-10-16 09:03:38 -07:00
PathOpsCubicIntersectionTestData.cpp
PathOpsCubicIntersectionTestData.h
PathOpsCubicLineIntersectionIdeas.cpp Consolidate SK_CRASH and sk_throw into SK_ABORT 2016-01-29 08:51:04 -08:00
PathOpsCubicLineIntersectionTest.cpp remove unused code 2015-08-17 10:01:24 -07:00
PathOpsCubicQuadIntersectionTest.cpp Now, path ops natively intersect conics, quads, and cubics in any combination. There are still a class of cubic tests that fail and a handful of undiagnosed failures from skps and fuzz tests, but things are much better overall. 2015-04-20 08:31:59 -07:00
PathOpsCubicReduceOrderTest.cpp Path ops formerly found the topmost unprocessed edge and determined its angle sort order to initialize the winding. This never worked correctly with cubics and was flaky with paths consisting mostly of vertical edges. 2015-05-11 07:21:28 -07:00
PathOpsDCubicTest.cpp Path ops formerly found the topmost unprocessed edge and determined its angle sort order to initialize the winding. This never worked correctly with cubics and was flaky with paths consisting mostly of vertical edges. 2015-05-11 07:21:28 -07:00
PathOpsDebug.cpp Enabling clip stack flattening exercises path ops. 2015-10-16 09:03:38 -07:00
PathOpsDLineTest.cpp remove unused code 2015-08-17 10:01:24 -07:00
PathOpsDPointTest.cpp
PathOpsDRectTest.cpp
PathOpsDVectorTest.cpp Path ops formerly found the topmost unprocessed edge and determined its angle sort order to initialize the winding. This never worked correctly with cubics and was flaky with paths consisting mostly of vertical edges. 2015-05-11 07:21:28 -07:00
PathOpsExtendedTest.cpp Enabling clip stack flattening exercises path ops. 2015-10-16 09:03:38 -07:00
PathOpsExtendedTest.h Remove SkThread.h, include SkMutex.h or SkAtomics.h as appropriate. 2015-07-07 12:21:22 -07:00
PathOpsFuzz763Test.cpp clean up tests 2015-05-13 10:13:17 -07:00
PathOpsInverseTest.cpp
PathOpsIssue3651.cpp When three or more edges are coincident, the logic needs 2015-07-06 11:38:33 -07:00
PathOpsLineIntersectionTest.cpp
PathOpsLineParametetersTest.cpp
PathOpsOpCircleThreadedTest.cpp Style Change: SkNEW->new; SkDELETE->delete 2015-08-26 13:07:49 -07:00
PathOpsOpCubicThreadedTest.cpp Style Change: SkNEW->new; SkDELETE->delete 2015-08-26 13:07:49 -07:00
PathOpsOpLoopThreadedTest.cpp Style Change: SkNEW->new; SkDELETE->delete 2015-08-26 13:07:49 -07:00
PathOpsOpRectThreadedTest.cpp Style Change: SkNEW->new; SkDELETE->delete 2015-08-26 13:07:49 -07:00
PathOpsOpTest.cpp give up if huge paths have unresolvable coincidence 2016-04-05 07:28:48 -07:00
PathOpsQuadIntersectionTest.cpp Path ops formerly found the topmost unprocessed edge and determined its angle sort order to initialize the winding. This never worked correctly with cubics and was flaky with paths consisting mostly of vertical edges. 2015-05-11 07:21:28 -07:00
PathOpsQuadIntersectionTestData.cpp
PathOpsQuadIntersectionTestData.h
PathOpsQuadLineIntersectionTest.cpp
PathOpsQuadLineIntersectionThreadedTest.cpp Style Change: SkNEW->new; SkDELETE->delete 2015-08-26 13:07:49 -07:00
PathOpsQuadReduceOrderTest.cpp
PathOpsSimplifyDegenerateThreadedTest.cpp Style Change: SkNEW->new; SkDELETE->delete 2015-08-26 13:07:49 -07:00
PathOpsSimplifyFailTest.cpp Now, path ops natively intersect conics, quads, and cubics in any combination. There are still a class of cubic tests that fail and a handful of undiagnosed failures from skps and fuzz tests, but things are much better overall. 2015-04-20 08:31:59 -07:00
PathOpsSimplifyQuadralateralsThreadedTest.cpp Style Change: SkNEW->new; SkDELETE->delete 2015-08-26 13:07:49 -07:00
PathOpsSimplifyQuadThreadedTest.cpp Style Change: SkNEW->new; SkDELETE->delete 2015-08-26 13:07:49 -07:00
PathOpsSimplifyRectThreadedTest.cpp Appease valgrind wrt testing code initialization 2016-04-07 09:01:20 -07:00
PathOpsSimplifyTest.cpp fix coincident fuzzer 2015-12-07 12:18:02 -08:00
PathOpsSimplifyTrianglesThreadedTest.cpp Style Change: SkNEW->new; SkDELETE->delete 2015-08-26 13:07:49 -07:00
PathOpsSkpClipTest.cpp Change SkTime::GetMSecs to double; ensure values stored in SkMSec do not overflow. 2016-03-25 12:59:53 -07:00
PathOpsSkpTest.cpp Reland of path ops: fix conic weight and partial coincidence (patchset #1 id:1 of https://codereview.chromium.org/1408923003/ ) 2015-10-22 07:23:52 -07:00
PathOpsTestCommon.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
PathOpsTestCommon.h Enabling clip stack flattening exercises path ops. 2015-10-16 09:03:38 -07:00
PathOpsThreadedCommon.cpp clean up more dead code 2016-02-16 19:06:15 -08:00
PathOpsThreadedCommon.h clean up more dead code 2016-02-16 19:06:15 -08:00
PathOpsThreeWayTest.cpp
PathOpsTightBoundsTest.cpp Style Change: SkNEW->new; SkDELETE->delete 2015-08-26 13:07:49 -07:00
PathOpsTSectDebug.h Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
PathOpsTypesTest.cpp
PathTest.cpp switch surface to sk_sp 2016-03-23 18:59:25 -07:00
PDFDeflateWStreamTest.cpp SkPDF/Test: detailed error messages in PDFDeflateWStreamTest 2016-02-26 08:29:25 -08:00
PDFDocumentTest.cpp SkPDF: SkPDFDocument reorganized so that some objects can be serialized early. 2016-03-21 13:45:05 -07:00
PDFGlyphsToUnicodeTest.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
PDFInvalidBitmapTest.cpp Style Change: SkNEW->new; SkDELETE->delete 2015-08-26 13:07:49 -07:00
PDFJpegEmbedTest.cpp update callsites for Make image factories 2016-03-17 10:51:11 -07:00
PDFMetadataAttributeTest.cpp SkPDF: milestone in metadata, also SkMilestone.h 2016-03-29 09:09:29 -07:00
PDFOpaqueSrcModeToSrcOverTest.cpp SkPDF: clean up overuse of SK_SUPPORT_PDF 2015-08-11 13:35:12 -07:00
PDFPrimitivesTest.cpp Switch internal testing ImageFilters over to new onFilterImage interface 2016-04-04 12:07:47 -07:00
PictureBBHTest.cpp return pictures as sk_sp 2016-03-18 07:25:55 -07:00
PictureShaderTest.cpp return pictures as sk_sp 2016-03-18 07:25:55 -07:00
PictureTest.cpp Update SkColorFilterImageFilter to sk_sp 2016-04-05 11:50:42 -07:00
PixelRefTest.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
Point3Test.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
PointTest.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
PremulAlphaRoundTripTest.cpp Make more unit tests run on Vulkan 2016-04-12 09:59:58 -07:00
PrimitiveProcessorTest.cpp Make existing unit tests only run on GL contexts 2016-04-06 14:02:39 -07:00
QuickRejectTest.cpp change flattenable factory to return sk_sp 2016-04-03 09:11:13 -07:00
RandomTest.cpp ubsan shift fixes 2015-12-09 12:02:30 -08:00
Reader32Test.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
ReadPixelsTest.cpp Make existing unit tests only run on GL contexts 2016-04-06 14:02:39 -07:00
ReadWriteAlphaTest.cpp Make existing unit tests only run on GL contexts 2016-04-06 14:02:39 -07:00
RecordDrawTest.cpp Update DropShadowImageFilter to sk_sp 2016-04-06 08:40:59 -07:00
RecorderTest.cpp switch surface to sk_sp 2016-03-23 18:59:25 -07:00
RecordingXfermodeTest.cpp return pictures as sk_sp 2016-03-18 07:25:55 -07:00
RecordOptsTest.cpp Update SkBlurImageFilter to sk_sp 2016-04-04 04:31:25 -07:00
RecordPatternTest.cpp Modernize SkRecordPattern.h 2015-11-19 08:53:27 -08:00
RecordReplaceDrawTest.cpp Make more unit tests run on Vulkan 2016-04-12 09:59:58 -07:00
RecordTest.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
RecordTestUtils.h SkRecord: infer return type for visit() and mutate(). 2016-03-22 11:46:53 -07:00
RectangleTextureTest.cpp Make existing unit tests only run on GL contexts 2016-04-06 14:02:39 -07:00
RectTest.cpp SkScan_Antihair: assert in debug and potentialy lost last pixels 2015-11-02 13:28:51 -08:00
RefCntTest.cpp Convert SkRefCnt to std::atomic. 2016-04-08 06:58:52 -07:00
RefDictTest.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
RegionTest.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
ResourceCacheTest.cpp Make more unit tests run on Vulkan 2016-04-12 09:59:58 -07:00
RoundRectTest.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
RRectInPathTest.cpp add SkPath::isRRect 2015-11-19 14:47:44 -08:00
RTConfRegistryTest.cpp Enable NVPR with command buffer 2015-12-21 04:05:53 -08:00
RTreeTest.cpp unsigned -> int for counts and indices in picture-related code 2015-08-19 09:51:01 -07:00
RuntimeConfigTest.cpp
ScalarTest.cpp
ScaleToSidesTest.cpp Fix asserts found in SampleApp and update the tests with additional interesting numbers. 2016-02-19 16:54:12 -08:00
SerializationTest.cpp Update SkXfermodeImageFilter to sk_sp 2016-04-05 12:48:34 -07:00
ShaderOpacityTest.cpp Reland of "more shader-->sp conversions (patchset #5 id:80001 of https://codereview.chromium.org/1789633002/ )" 2016-03-13 14:13:58 -07:00
SizeTest.cpp
Sk4x4fTest.cpp Sk4x4f 2016-03-22 17:17:44 -07:00
SkBase64Test.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SkColor4fTest.cpp Fix context size for benchmakr. 2016-04-08 14:24:37 -07:00
skia_test.cpp Move SkGLContext and some GrGLInterface implementations to skgputest module 2016-03-30 18:56:20 -07:00
SkImageTest.cpp update callsites for Make image factories 2016-03-17 10:51:11 -07:00
SkLinearBitmapPipelineTest.cpp WIP: experimental bilerp pipeline. 2016-03-23 09:00:33 -07:00
SkNxTest.cpp SkNx refresh 2016-03-21 10:04:46 -07:00
SkpSkGrTest.cpp Rename enums in GrContextFactory to remove "GL" 2016-04-05 11:06:27 -07:00
SkResourceCacheTest.cpp switch surface to sk_sp 2016-03-23 18:59:25 -07:00
SkSharedMutexTest.cpp If we swap its arguments, SkTaskGroup::batch() _is_ sk_parallel_for. 2016-01-04 19:13:19 -08:00
SmallAllocatorTest.cpp remove align16 calls in skhader context sizes. will handle this elsewhere as needed 2016-03-04 07:38:12 -08:00
SortTest.cpp Remove include of stdlib.h from SkTypes.h. 2015-08-26 05:15:46 -07:00
SpecialImageTest.cpp Make more unit tests run on Vulkan 2016-04-12 09:59:58 -07:00
SpecialSurfaceTest.cpp Make existing unit tests only run on GL contexts 2016-04-06 14:02:39 -07:00
SrcOverTest.cpp Unit Tests: eliminate stray SkDebugf()s. 2016-02-24 17:59:16 -08:00
SRGBReadWritePixelsTest.cpp Make existing unit tests only run on GL contexts 2016-04-06 14:02:39 -07:00
StreamTest.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
StringTest.cpp Add config options to run different GPU APIs to dm and nanobench 2015-12-23 01:33:01 -08:00
StrokerTest.cpp Change SkTime::GetMSecs to double; ensure values stored in SkMSec do not overflow. 2016-03-25 12:59:53 -07:00
StrokeTest.cpp Fix SkStrokeRec == to report true for all fills 2015-05-13 00:02:26 -07:00
SubsetPath.cpp More conic-specific tests revealed a few conic-specific bugs. Because javascript / canvas make visualizing conics tricky, new native tools are required. 2015-10-30 12:03:06 -07:00
SubsetPath.h Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
SurfaceTest.cpp Make more unit tests run on Vulkan 2016-04-12 09:59:58 -07:00
SVGDeviceTest.cpp Style Change: NULL->nullptr 2015-08-27 07:41:16 -07:00
SwizzlerTest.cpp Publicly expose one accelerated swizzle. 2016-03-23 10:51:21 -07:00
TArrayTest.cpp rewrite TArray test to not delete an SkSTArray via a SkTArray pointer. 2016-03-03 09:48:53 -08:00
TDPQueueTest.cpp
TemplatesTest.cpp
TessellatingPathRendererTests.cpp Convert some unit tests from running on GL contexts to running on all contexts 2016-04-11 14:40:50 -07:00
Test.cpp Change SkTime::GetMSecs to double; ensure values stored in SkMSec do not overflow. 2016-03-25 12:59:53 -07:00
Test.h Make more unit tests run on Vulkan 2016-04-12 09:59:58 -07:00
TestConfigParsing.cpp Vulkan config in dm 2016-04-11 14:21:33 -07:00
TestingSpecialImageAccess.h Upgrade SkSpecialImage to have getTextureRef & getROPixels entry points 2016-04-08 12:10:42 -07:00
TestTest.cpp Make more unit tests run on Vulkan 2016-04-12 09:59:58 -07:00
TextBlobCacheTest.cpp Make existing unit tests only run on GL contexts 2016-04-06 14:02:39 -07:00
TextBlobTest.cpp SkTextBlob should store per-run text alignment 2015-11-17 11:39:32 -08:00
TextureCompressionTest.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
Time.cpp Unit Tests: eliminate stray SkDebugf()s. 2016-02-24 17:59:16 -08:00
TLSTest.cpp Convert SkRefCnt to std::atomic. 2016-04-08 06:58:52 -07:00
TopoSortTest.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
TraceMemoryDumpTest.cpp Add support for light dumps in SkTraceMemoryDump interface. 2015-09-30 04:31:23 -07:00
TracingTest.cpp
TypefaceTest.cpp Put SkEmptyTypeface in anonymous namespace. 2016-04-14 09:44:34 -07:00
UnicodeTest.cpp
UtilsTest.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
VarAllocTest.cpp Have SkVarAlloc::alloc() use sk_malloc_throw. 2015-09-14 11:11:17 -07:00
VkClearTests.cpp Vulkan config in dm 2016-04-11 14:21:33 -07:00
VkUploadPixelsTests.cpp Vulkan config in dm 2016-04-11 14:21:33 -07:00
VkWrapTests.cpp Vulkan config in dm 2016-04-11 14:21:33 -07:00
WArrayTest.cpp Unit Tests: eliminate stray SkDebugf()s. 2016-02-24 17:59:16 -08:00
WritePixelsTest.cpp Make existing unit tests only run on GL contexts 2016-04-06 14:02:39 -07:00
Writer32Test.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
XfermodeTest.cpp switch xfermodes over to sk_sp 2016-03-29 11:32:50 -07:00
YUVCacheTest.cpp Update Skia's YUV API 2016-03-10 05:44:43 -08:00
YUVTest.cpp detach -> release 2016-03-16 13:53:35 -07:00