skia2/tests
Florin Malita c274f8f942 Prevent unnecessary/unbounded growth of SkTDynamicHash capacity
SkTDynamicHash doesn't immediately recycle slots for removed entries,
but instead just marks them as deleted.

The only way to reclaim deleted slots currently is when an exponential
grow/resize is triggered.

A consequence of this is that the capacity/allocated storage can grow
indefinitely when the hash is long-lived and churning -- even if the
number of active entries is small/stable.

To prevent this, I propose we only grow the capacity when the number of
active slots constitutes a significant portion.  Otherwise (when most
slots are deleted), we trigger a "purge" (resize to the same capacity)
to clear the tombstones.

Bug: chromium:832482
Change-Id: Iefdcd7439f7d62ac021e176b71007d207c8bc876
Reviewed-on: https://skia-review.googlesource.com/122082
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Florin Malita <fmalita@chromium.org>
2018-04-18 21:46:33 +00:00
..
AAClipTest.cpp IWYU for test files starting with 'A'. 2018-03-02 22:39:59 +00:00
AndroidCodecTest.cpp IWYU for test files starting with 'A'. 2018-03-02 22:39:59 +00:00
AnimatedImageTest.cpp Fix drawing SkAnimatedImages with transparency 2018-03-06 13:39:35 +00:00
AnnotationTest.cpp IWYU for test files starting with 'A'. 2018-03-02 22:39:59 +00:00
ApplyGammaTest.cpp IWYU for test files starting with 'A'. 2018-03-02 22:39:59 +00:00
ArenaAllocTest.cpp IWYU for test files starting with 'A'. 2018-03-02 22:39:59 +00:00
AsADashTest.cpp IWYU for test files starting with 'A'. 2018-03-02 22:39:59 +00:00
BadIcoTest.cpp IWYU for test files starting with 'B'. 2018-03-09 20:19:02 +00:00
BitmapCopyTest.cpp IWYU for test files starting with 'B'. 2018-03-09 20:19:02 +00:00
BitmapGetColorTest.cpp IWYU for test files starting with 'B'. 2018-03-09 20:19:02 +00:00
BitmapTest.cpp IWYU for test files starting with 'B'. 2018-03-09 20:19:02 +00:00
BitSetTest.cpp IWYU for test files starting with 'B'. 2018-03-09 20:19:02 +00:00
BlendTest.cpp IWYU for test files starting with 'B'. 2018-03-09 20:19:02 +00:00
BlitMaskClip.cpp IWYU for test files starting with 'B'. 2018-03-09 20:19:02 +00:00
BlitMaskTest.cpp Convert A8 D32 mask blitters to Sk4px 2018-04-18 19:52:53 +00:00
BlurTest.cpp remove unused/dumb methods from SkRect 2018-04-11 19:40:57 +00:00
CachedDataTest.cpp IWYU for some test files starting with 'C'. 2018-03-13 15:16:22 +00:00
CachedDecodingPixelRefTest.cpp IWYU for some test files starting with 'C'. 2018-03-13 15:16:22 +00:00
CanvasStateHelpers.cpp IWYU for some test files starting with 'C'. 2018-03-13 15:16:22 +00:00
CanvasStateHelpers.h
CanvasStateTest.cpp consolidate SaveLayerFlag internal references 2018-03-13 19:36:12 +00:00
CanvasTest.cpp rewrite iterator to make msvc happy 2018-04-13 20:41:25 +00:00
ChecksumTest.cpp IWYU for some test files starting with 'C'. 2018-03-13 15:16:22 +00:00
ClearTest.cpp IWYU for some test files starting with 'C'. 2018-03-13 15:16:22 +00:00
ClipBoundsTest.cpp IWYU for some test files starting with 'C'. 2018-03-13 15:16:22 +00:00
ClipCubicTest.cpp IWYU for some test files starting with 'C'. 2018-03-13 15:16:22 +00:00
ClipperTest.cpp IWYU for some test files starting with 'C'. 2018-03-13 15:16:22 +00:00
ClipStackTest.cpp IWYU for some test files starting with 'C'. 2018-03-13 15:16:22 +00:00
CodecAnimTest.cpp IWYU for some test files starting with 'C'. 2018-03-13 15:16:22 +00:00
CodecExactReadTest.cpp IWYU for some test files starting with 'C'. 2018-03-13 15:16:22 +00:00
CodecPartialTest.cpp IWYU for some test files starting with 'C'. 2018-03-13 15:16:22 +00:00
CodecPriv.h Respect repetition count in SkAnimatedImage 2018-01-22 18:53:47 +00:00
CodecRecommendedTypeTest.cpp IWYU for some test files starting with 'C'. 2018-03-13 15:16:22 +00:00
CodecTest.cpp Only include png.h for png. 2018-03-14 20:39:26 +00:00
ColorFilterTest.cpp IWYU for some more test files starting with 'C'. 2018-04-17 19:33:14 +00:00
ColorMatrixTest.cpp IWYU for some more test files starting with 'C'. 2018-04-17 19:33:14 +00:00
ColorPrivTest.cpp IWYU for some more test files starting with 'C'. 2018-04-17 19:33:14 +00:00
ColorSpaceTest.cpp IWYU for some more test files starting with 'C'. 2018-04-17 19:33:14 +00:00
ColorSpaceXformTest.cpp IWYU for some more test files starting with 'C'. 2018-04-17 19:33:14 +00:00
ColorTest.cpp IWYU for some more test files starting with 'C'. 2018-04-17 19:33:14 +00:00
CopySurfaceTest.cpp IWYU for some more test files starting with 'C'. 2018-04-17 19:33:14 +00:00
CPlusPlusEleven.cpp IWYU for some more test files starting with 'C'. 2018-04-17 19:33:14 +00:00
CTest.cpp IWYU for some more test files starting with 'C'. 2018-04-17 19:33:14 +00:00
DashPathEffectTest.cpp limit the number of points in SkDashPathEffect::asPoints 2016-07-21 09:37:59 -07:00
DataRefTest.cpp Add smartptr SkRWBuffer snapshot methods 2017-06-01 16:00:45 +00:00
DefaultPathRendererTest.cpp Move internal calls from GrContext to GrContextPriv 2018-03-06 14:23:45 +00:00
DeferredDisplayListTest.cpp Don't allow ganesh to allocate mip maps for wrapped textures. 2018-04-16 17:05:20 +00:00
DequeTest.cpp
DetermineDomainModeTest.cpp Remove GrSurfaceOrigin from GrSurfaceDesc. 2018-03-05 18:50:25 +00:00
DeviceTest.cpp Revert "Revert "Revert "Revert "Revert "Revert "Redefine the meaning of sample counts in GPU backend."""""" 2018-02-03 01:59:59 +00:00
DFPathRendererTest.cpp Rename GrAADistanceFieldPathRenderer to GrSmallPathRenderer 2017-03-16 13:22:31 +00:00
DiscardableMemoryPoolTest.cpp SkDiscardableMemoryPool: always have a mutex for testing 2017-05-05 15:10:13 +00:00
DiscardableMemoryTest.cpp Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
DrawBitmapRectTest.cpp Revert[4] "guard old apis for querying byte-size of a bitmap/imageinfo/pixmap" 2017-10-03 20:03:35 +00:00
DrawFilterTest.cpp tests: s/SkAutoTUnref/sk_sp/ 2016-11-04 16:55:38 +00:00
DrawOpAtlasTest.cpp Small cleanups suggested by ClangTidy 2018-03-12 14:44:18 +00:00
DrawPathTest.cpp Allow printf style var args for messages in REPORTER_ASSERT. 2018-01-29 15:17:09 +00:00
DrawTextTest.cpp Draw glyphs from paths if they have an empty path. 2018-03-06 16:07:56 +00:00
DynamicHashTest.cpp Prevent unnecessary/unbounded growth of SkTDynamicHash capacity 2018-04-18 21:46:33 +00:00
EGLImageTest.cpp Update getBackendInfo calls on GrBackendTexture to support VkImageLayout better. 2018-04-10 14:20:22 +00:00
EmptyPathTest.cpp Revert "Revert "Reland: Remove SkLights include from SkCanvas.h"" 2017-05-03 19:17:11 +00:00
EncodeTest.cpp remove kRW_LegacyBitmapMode 2018-02-08 13:34:49 +00:00
ExifTest.cpp resources: orgainize directory. 2017-12-08 17:16:00 +00:00
F16StagesTest.cpp increase alignment of half-float pixels in F16Stages test 2018-01-22 16:55:17 +00:00
FakeStreams.h GIF: Avoid copying/storing data when possible 2016-12-19 15:25:13 +00:00
FillPathTest.cpp Make SkBlitter hierarchy explicit about what needs to be implemented. 2016-06-10 13:01:27 -07:00
FitsInTest.cpp
FlattenableCustomFactory.cpp add virtual to confirm flattenable type 2017-12-11 18:50:00 +00:00
FlattenableFactoryToName.cpp add helper makeShader for the common Clamp case 2017-04-28 15:36:14 +00:00
FlattenableNameToFactory.cpp Use equal_range for factory lookups 2018-01-19 21:17:56 +00:00
FlattenDrawableTest.cpp move the guts of SkMaskFilter.h into SkMaskFilterBase.h 2018-01-23 21:14:20 +00:00
Float16Test.cpp Revert[4] "guard old apis for querying byte-size of a bitmap/imageinfo/pixmap" 2017-10-03 20:03:35 +00:00
FloatingPointTextureTest.cpp Initial texture data is never flipped when uploaded. 2018-03-07 18:22:40 +00:00
FontHostStreamTest.cpp Add GetTypefaceOrDefault to SkPaintPriv 2018-03-06 15:50:26 +00:00
FontHostTest.cpp Allow printf style var args for messages in REPORTER_ASSERT. 2018-01-29 15:17:09 +00:00
FontMgrAndroidParserTest.cpp resources: optionally link them into our binary 2017-12-11 22:06:38 +00:00
FontMgrTest.cpp Remove unused variables from test 2017-10-19 22:29:25 +00:00
FontNamesTest.cpp Allow printf style var args for messages in REPORTER_ASSERT. 2018-01-29 15:17:09 +00:00
FontObjTest.cpp SkTypeface::MakeFromName to take SkFontStyle. 2016-05-31 11:42:37 -07:00
FrontBufferedStreamTest.cpp Revert "Revert "use unique_ptr for stream api"" 2017-09-16 02:04:23 +00:00
GeometryTest.cpp Harden SkClassifyCubic 2017-11-09 16:08:44 +00:00
GifTest.cpp Revert "Revert "resources: remove most uses of GetResourcePath()"" 2017-12-09 01:27:50 +00:00
GLProgramsTest.cpp Move internal calls from GrContext to GrContextPriv 2018-03-06 14:23:45 +00:00
GpuDrawPathTest.cpp Revert "Revert "Revert "Revert "Revert "Revert "Redefine the meaning of sample counts in GPU backend."""""" 2018-02-03 01:59:59 +00:00
GpuLayerCacheTest.cpp Add discard support to Vulkan 2016-06-30 08:23:30 -07:00
GpuRectanizerTest.cpp
GradientTest.cpp add decal tilemode to shaders 2018-02-16 23:19:47 +00:00
GrAllocatorTest.cpp
GrCCPRTest.cpp Always call endFlush on opLists that might survive a flush 2018-04-18 20:00:53 +00:00
GrContextAbandonTest.cpp Use GrContextFactories that produce a single GrContext in unit tests. 2017-11-15 22:03:07 +00:00
GrContextFactoryTest.cpp Move internal calls from GrContext to GrContextPriv 2018-03-06 14:23:45 +00:00
GrGLExtensionsTest.cpp Ensure that removing last extension from GrGLExtension doesn't assert. 2017-11-15 20:25:42 +00:00
GrMemoryPoolTest.cpp Make GrMemoryPool play nice with bucketing allocators. 2016-11-29 06:50:35 -08:00
GrMeshTest.cpp Move internal calls from GrContext to GrContextPriv 2018-03-06 14:23:45 +00:00
GrMipMappedTest.cpp No long require copy as draw for vulkan wrapped resources. 2018-04-17 18:36:44 +00:00
GrPipelineDynamicStateTest.cpp Move internal calls from GrContext to GrContextPriv 2018-03-06 14:23:45 +00:00
GrPorterDuffTest.cpp Make GrGpu::deleteTestingOnlyBackendTexture() take const GrBackendTexture& 2018-03-09 18:20:40 +00:00
GrShapeTest.cpp Make TestCase class in GrShapeTest heap allocate its GrShapes 2018-04-16 15:13:49 +00:00
GrSKSLPrettyPrintTest.cpp Switch SkSL to std::string 2017-08-14 21:24:55 +00:00
GrSurfaceTest.cpp Support GL_RGB textures and render targets. 2018-03-22 14:49:44 +00:00
GrTextureMipMapInvalidationTest.cpp Add hint to SkSurface::MakeRenderTarget that we will use mips 2017-10-23 20:25:59 +00:00
GrTRecorderTest.cpp Use GrContextFactories that produce a single GrContext in unit tests. 2017-11-15 22:03:07 +00:00
HashTest.cpp Fix SkTHashTable dangling values 2017-03-10 17:28:04 +00:00
HighContrastFilterTest.cpp Revert "Revert "Reland: Remove SkLights include from SkCanvas.h"" 2017-05-03 19:17:11 +00:00
HSVRoundTripTest.cpp Make SkColorToHSV and SkHSVToColor "perfect" inverses 2017-01-11 18:12:36 +00:00
ICCTest.cpp Remove obsolete comment 2018-01-03 16:10:39 +00:00
image-bitmap.cpp images with offset bitmap don't share genid 2016-03-24 09:18:14 -07:00
ImageCacheTest.cpp SkDiscardableMemoryPool: always have a mutex for testing 2017-05-05 15:10:13 +00:00
ImageFilterCacheTest.cpp Add GrBackendTexture accessor to SkImage (take 2) 2018-04-04 20:34:28 +00:00
ImageFilterTest.cpp remove SK_IGNORE_TO_STRING 2018-04-05 23:52:23 +00:00
ImageFrom565Bitmap.cpp hide lockpixels api behind flag 2017-04-17 15:33:36 +00:00
ImageGeneratorTest.cpp Revert "Revert "Add 1010102 support to Ganesh"" 2018-03-02 18:19:50 +00:00
ImageIsOpaqueTest.cpp remove imageinfo flatten altogether 2018-03-19 21:28:46 +00:00
ImageNewShaderTest.cpp Revert[4] "guard old apis for querying byte-size of a bitmap/imageinfo/pixmap" 2017-10-03 20:03:35 +00:00
ImageTest.cpp Add SK_SUPPORT_LEGACY_BACKEND_OBJECTS 2018-04-12 14:56:10 +00:00
IndexedPngOverflowTest.cpp switch surface to sk_sp 2016-03-23 18:59:25 -07:00
InfRectTest.cpp remove unused/dumb methods from SkRect 2018-04-11 19:40:57 +00:00
InsetConvexPolyTest.cpp Rename SkInsetConvexPolygon to SkOffsetPolygon. 2018-03-28 14:49:14 +00:00
InterpolatorTest.cpp quiet some annoying logging in unit tests 2017-03-27 19:16:59 +00:00
InvalidIndexedPngTest.cpp Fix bug in SkGifCodec / Switch SkImageDec tests to use Codec 2016-03-01 12:12:27 -08:00
IsClosedSingleContourTest.cpp
LayerDrawLooperTest.cpp Revert[6] "Remove SkDraw from device-draw methods, and enable device-centric clipping."""""" 2017-03-07 15:43:03 +00:00
LazyProxyTest.cpp Don't allow ganesh to allocate mip maps for wrapped textures. 2018-04-16 17:05:20 +00:00
LListTest.cpp Add a concat method to SkTInternalLList 2017-06-21 22:19:16 +00:00
LRUCacheTest.cpp Added SkLRUCache.h and converted GPU program cache to use it. 2016-12-15 21:09:57 +00:00
MallocPixelRefTest.cpp Revert[4] "guard old apis for querying byte-size of a bitmap/imageinfo/pixmap" 2017-10-03 20:03:35 +00:00
MaskCacheTest.cpp hide SkBlurMaskFilter and SkBlurQuality 2018-03-14 17:27:36 +00:00
MathTest.cpp exact divide by 255 with NEON 2018-03-14 02:38:52 +00:00
Matrix44Test.cpp convert mapHomogeneousPoints to SkPoint3 2017-10-18 16:09:46 +00:00
MatrixClipCollapseTest.cpp
MatrixTest.cpp GOOGLE3 -> SK_BUILD_FOR_GOOGLE3 2017-12-19 14:42:16 +00:00
MD5Test.cpp SkMD5: .update() -> .write() 2016-04-25 10:29:36 -07:00
MemoryTest.cpp
MemsetTest.cpp Remove SkChunckAlloc 2017-03-08 20:06:15 +00:00
MessageBusTest.cpp
MetaDataTest.cpp
MipMapTest.cpp Rename SkSourceGammaTreatment to SkDestinationSurfaceColorMode 2016-11-09 01:05:07 +00:00
OffsetSimplePolyTest.cpp Add initial support for simple concave shadows. 2018-04-10 16:31:32 +00:00
OnceTest.cpp Modernize and trim down SkOnce. 2016-04-18 08:09:11 -07:00
OnFlushCallbackTest.cpp Move internal calls from GrContext to GrContextPriv 2018-03-06 14:23:45 +00:00
OSPathTest.cpp Revert "allow both slash types" 2018-01-05 18:21:55 +00:00
OverAlignedTest.cpp OverAlignedTest: use sk_ malloc and free. 2016-09-27 16:12:13 +00:00
PackBitsTest.cpp
PackedConfigsTextureTest.cpp Support GL_RGB textures and render targets. 2018-03-22 14:49:44 +00:00
PaintBreakTextTest.cpp Allow printf style var args for messages in REPORTER_ASSERT. 2018-01-29 15:17:09 +00:00
PaintImageFilterTest.cpp IWYU -- SkShader.h 2018-01-23 18:08:30 +00:00
PaintTest.cpp hide SkBlurMaskFilter and SkBlurQuality 2018-03-14 17:27:36 +00:00
ParametricStageTest.cpp convert over to 2d-mode 2017-07-20 19:50:32 +00:00
ParsePathTest.cpp Improved optional command handling in SkParsePath::FromSVGString() 2016-09-14 10:14:08 -07:00
PathCoverageTest.cpp move parts of SkPoint to SkPointPriv 2017-11-08 18:25:17 +00:00
PathMeasureTest.cpp Reland "fix nextContour bug" 2018-03-20 17:23:08 +00:00
PathOpsAngleIdeas.cpp Enable conditional-uninitialized flag 2018-01-05 18:03:25 +00:00
PathOpsAngleTest.cpp SkSTArenaAlloc 2017-05-24 19:20:45 +00:00
PathOpsBattles.cpp Convert NULL and 0 to nullptr. 2017-08-28 17:48:57 +00:00
PathOpsBoundsTest.cpp
PathOpsBuilderConicTest.cpp formalize host debugging 2016-10-24 05:10:14 -07:00
PathOpsBuilderTest.cpp fix builder fuzz 2016-07-21 08:53:32 -07:00
PathOpsBuildUseTest.cpp Convert NULL and 0 to nullptr. 2017-08-28 17:48:57 +00:00
PathOpsChalkboardTest.cpp Convert NULL and 0 to nullptr. 2017-08-28 17:48:57 +00:00
PathOpsConicIntersectionTest.cpp SkImageEncoder: simplify API 2016-11-23 16:40:32 +00:00
PathOpsConicLineIntersectionTest.cpp fix fuzzers 2016-10-20 08:32:18 -07:00
PathOpsConicQuadIntersectionTest.cpp some fuzzer fixes 2018-03-09 14:54:30 +00:00
PathOpsCubicConicIntersectionTest.cpp some fuzzer fixes 2018-03-09 14:54:30 +00:00
PathOpsCubicIntersectionTest.cpp handle degenerate cubic loops 2018-02-02 20:39:09 +00:00
PathOpsCubicIntersectionTestData.cpp fix fuzzers 2016-10-20 08:32:18 -07:00
PathOpsCubicIntersectionTestData.h fix fuzzers 2016-10-20 08:32:18 -07:00
PathOpsCubicLineIntersectionIdeas.cpp fix fuzzers 2016-10-20 08:32:18 -07:00
PathOpsCubicLineIntersectionTest.cpp fix fuzzers 2016-10-20 08:32:18 -07:00
PathOpsCubicQuadIntersectionTest.cpp fix fuzzers 2016-10-20 08:32:18 -07:00
PathOpsCubicReduceOrderTest.cpp fix fuzzers 2016-10-20 08:32:18 -07:00
PathOpsDCubicTest.cpp fix fuzzers 2016-10-20 08:32:18 -07:00
PathOpsDebug.cpp fix pathops fuzzers and debugging 2018-03-15 17:07:16 +00:00
PathOpsDLineTest.cpp
PathOpsDPointTest.cpp
PathOpsDRectTest.cpp fix fuzzers 2016-10-20 08:32:18 -07:00
PathOpsDVectorTest.cpp
PathOpsExtendedTest.cpp fix pathops_unittest test strings 2017-04-14 14:37:16 +00:00
PathOpsExtendedTest.h Revert "offset angle check edge in common" 2017-01-23 15:31:25 +00:00
PathOpsFuzz763Test.cpp Convert NULL and 0 to nullptr. 2017-08-28 17:48:57 +00:00
PathOpsInverseTest.cpp
PathOpsIssue3651.cpp Convert NULL and 0 to nullptr. 2017-08-28 17:48:57 +00:00
PathOpsLineIntersectionTest.cpp
PathOpsLineParametetersTest.cpp fix fuzzers 2016-10-20 08:32:18 -07:00
PathOpsOpCircleThreadedTest.cpp remove SkMemoryWStream -- unused externally 2017-01-08 03:06:06 +00:00
PathOpsOpCubicThreadedTest.cpp remove SkMemoryWStream -- unused externally 2017-01-08 03:06:06 +00:00
PathOpsOpLoopThreadedTest.cpp remove SkMemoryWStream -- unused externally 2017-01-08 03:06:06 +00:00
PathOpsOpRectThreadedTest.cpp remove SkMemoryWStream -- unused externally 2017-01-08 03:06:06 +00:00
PathOpsOpTest.cpp move divide by zero inside guard 2017-12-13 20:22:30 +00:00
PathOpsQuadIntersectionTest.cpp nc seal breaks simplify 2016-10-24 08:19:07 -07:00
PathOpsQuadIntersectionTestData.cpp fix fuzzers 2016-10-20 08:32:18 -07:00
PathOpsQuadIntersectionTestData.h fix fuzzers 2016-10-20 08:32:18 -07:00
PathOpsQuadLineIntersectionTest.cpp fix fuzzers 2016-10-20 08:32:18 -07:00
PathOpsQuadLineIntersectionThreadedTest.cpp fix fuzzers 2016-10-20 08:32:18 -07:00
PathOpsQuadReduceOrderTest.cpp fix fuzzers 2016-10-20 08:32:18 -07:00
PathOpsSimplifyDegenerateThreadedTest.cpp remove SkMemoryWStream -- unused externally 2017-01-08 03:06:06 +00:00
PathOpsSimplifyFailTest.cpp fix pathops fuzzers and debugging 2018-03-15 17:07:16 +00:00
PathOpsSimplifyQuadralateralsThreadedTest.cpp remove SkMemoryWStream -- unused externally 2017-01-08 03:06:06 +00:00
PathOpsSimplifyQuadThreadedTest.cpp remove SkMemoryWStream -- unused externally 2017-01-08 03:06:06 +00:00
PathOpsSimplifyRectThreadedTest.cpp remove SkMemoryWStream -- unused externally 2017-01-08 03:06:06 +00:00
PathOpsSimplifyTest.cpp handle degenerate cubic loops 2018-02-02 20:39:09 +00:00
PathOpsSimplifyTrianglesThreadedTest.cpp remove SkMemoryWStream -- unused externally 2017-01-08 03:06:06 +00:00
PathOpsSkpTest.cpp Convert NULL and 0 to nullptr. 2017-08-28 17:48:57 +00:00
PathOpsTestCommon.cpp fix op fuzz 2018-03-19 14:06:25 +00:00
PathOpsTestCommon.h fix fuzzers 2016-10-20 08:32:18 -07:00
PathOpsThreadedCommon.cpp clean up more dead code 2016-02-16 19:06:15 -08:00
PathOpsThreadedCommon.h Remove TLS glyph cache calls. 2018-03-09 19:32:22 +00:00
PathOpsThreeWayTest.cpp fix fuzzers 2016-10-20 08:32:18 -07:00
PathOpsTigerTest.cpp Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
PathOpsTightBoundsTest.cpp Scale the result of TightBounds when path was inverse-scaled 2017-01-04 13:47:24 +00:00
PathOpsTSectDebug.h fix pathops fuzzers and debugging 2018-03-15 17:07:16 +00:00
PathOpsTypesTest.cpp chmod -x *.cpp *.h 2016-10-27 16:41:14 +00:00
PathRendererCacheTests.cpp Move internal calls from GrContext to GrContextPriv 2018-03-06 14:23:45 +00:00
PathTest.cpp fix path is rect flaw exposed by gold 2018-04-18 17:46:03 +00:00
PDFDeflateWStreamTest.cpp SkDynamicMemoryWStream::detachAsStream() returns unique_ptr 2017-03-15 19:25:45 +00:00
PDFDocumentTest.cpp SkPDF: encode metadata strings correctly 2018-02-28 19:52:43 +00:00
PDFGlyphsToUnicodeTest.cpp BUILD.gn: skia_enable_pdf 2017-01-03 14:25:12 +00:00
PDFJpegEmbedTest.cpp SkPDF: smarter Jpeg when libjpeg-turbo is present 2018-04-07 14:25:30 +00:00
PDFMetadataAttributeTest.cpp Moving extra options/parameters into PDFMetadata 2017-12-14 21:20:27 +00:00
PDFOpaqueSrcModeToSrcOverTest.cpp Remove SkDynamicMemoryWStream::getOffset. 2016-12-16 19:02:53 +00:00
PDFPrimitivesTest.cpp remove SK_IGNORE_TO_STRING 2018-04-05 23:52:23 +00:00
PictureBBHTest.cpp move largest apis into private 2018-01-08 20:42:27 +00:00
PictureShaderTest.cpp Purge cached SkPictureShader entries on shader deletion 2017-07-14 14:19:34 +00:00
PictureTest.cpp Some iwyu for tests which will otherwise break. 2018-03-14 21:07:15 +00:00
PinnedImageTest.cpp Add unit test for pinned SkImages 2017-09-29 20:04:54 +00:00
PipeTest.cpp resources: orgainize directory. 2017-12-08 17:16:00 +00:00
PixelRefTest.cpp guard references to SkColorTable 2017-07-18 15:50:43 +00:00
Point3Test.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
PointTest.cpp move parts of SkPoint to SkPointPriv 2017-11-08 18:25:17 +00:00
PremulAlphaRoundTripTest.cpp add writePixels to SkSurface --> so we can remove it from canvas 2018-02-08 19:34:50 +00:00
PrimitiveProcessorTest.cpp Move internal calls from GrContext to GrContextPriv 2018-03-06 14:23:45 +00:00
ProcessorTest.cpp Initial texture data is never flipped when uploaded. 2018-03-07 18:22:40 +00:00
PromiseImageTest.cpp Add DoneProc to Promise Images 2018-03-16 19:27:46 +00:00
ProxyConversionTest.cpp Add testing-only backend render target support to GrVkGpu. 2018-03-13 15:02:57 +00:00
ProxyRefTest.cpp Alter GrSurface/GrSurfaceProxy flags to prepare for GrTexture/GrTextureProxy -specific flags 2018-03-19 12:21:05 +00:00
ProxyTest.cpp Alter GrSurface/GrSurfaceProxy flags to prepare for GrTexture/GrTextureProxy -specific flags 2018-03-19 12:21:05 +00:00
QuickRejectTest.cpp can't abort looper loop, as saveCount won't be balanced 2018-04-12 22:02:11 +00:00
RandomTest.cpp
Reader32Test.cpp must check for zero-length in reader32::read() before calling memcpy 2017-03-15 18:16:30 +00:00
ReadPixelsTest.cpp Support GL_RGB textures and render targets. 2018-03-22 14:49:44 +00:00
ReadWriteAlphaTest.cpp Revert "Revert "New read pixels implementation that is simpler but does all conversions on CPU."" 2018-03-19 21:17:15 +00:00
RecordDrawTest.cpp remove canvas internal private 2018-03-06 19:06:16 +00:00
RecorderTest.cpp switch surface to sk_sp 2016-03-23 18:59:25 -07:00
RecordingXfermodeTest.cpp Allow printf style var args for messages in REPORTER_ASSERT. 2018-01-29 15:17:09 +00:00
RecordOptsTest.cpp Revert "Revert "SaveLayerRec::fClipMask -> raw pointer"" 2017-05-01 21:36:43 +00:00
RecordPatternTest.cpp
RecordTest.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
RecordTestUtils.h clean up GCC 6.3 workaround 2017-06-30 16:54:24 +00:00
RectangleTextureTest.cpp Add texture-specific flags for External & Rectangle textures 2018-03-21 17:04:18 +00:00
RectTest.cpp check that rect is finite before jamming our bounds 2018-01-29 21:16:44 +00:00
RefCntTest.cpp remove SkThread, using std::thread instead 2017-10-30 16:45:29 +00:00
RefDictTest.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
RegionTest.cpp fix crasher in path-->region 2018-02-27 21:03:49 +00:00
RenderTargetContextTest.cpp Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
ResourceAllocatorTest.cpp Make GrGpu::deleteTestingOnlyBackendTexture() take const GrBackendTexture& 2018-03-09 18:20:40 +00:00
ResourceCacheTest.cpp Dump additional details about the gpu resources. 2018-03-29 18:08:15 +00:00
RoundRectTest.cpp make rrect's more self-consistent, check drawable index 2018-01-19 17:59:13 +00:00
RRectInPathTest.cpp hide complex versions of isOval and isRRect 2018-02-20 19:33:53 +00:00
RTreeTest.cpp
SafeMathTest.cpp SkSafeMath for tracking size_t overflow 2017-08-11 19:23:06 +00:00
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 Add API for SkTextBlob serialization into caller's memory. 2018-04-04 01:25:11 +00:00
SerialProcsTest.cpp Change behavior of custom image serial/deserial 2018-03-08 21:50:51 +00:00
SGTest.cpp handle large rects, rename helper 2018-01-17 17:38:57 +00:00
ShaderOpacityTest.cpp IWYU -- SkShader.h 2018-01-23 18:08:30 +00:00
ShaderTest.cpp Fix single leg Compose Shader crash. 2017-02-28 16:49:41 +00:00
ShadowTest.cpp Remove tonal color from DrawShadow internals 2018-01-19 16:32:13 +00:00
SizeTest.cpp SkSize can be aggregate-initialized 2017-04-11 18:57:20 +00:00
Sk4x4fTest.cpp Sk4x4f 2016-03-22 17:17:44 -07:00
SkBase64Test.cpp
skbug5221.cpp skbug5221 unit test should not require N32 support from GPU 2017-06-23 16:30:55 +00:00
skbug6389.cpp hide SkBlurMaskFilter and SkBlurQuality 2018-03-14 17:27:36 +00:00
skbug6653.cpp don't rely on canvas->readPixels 2017-07-21 18:49:05 +00:00
SkColor4fTest.cpp make SkXfermode.h go away 2016-11-16 15:38:11 +00:00
SkColorSpace_NewTest.cpp remove append_from_srgb() 2017-12-18 19:48:43 +00:00
SkDOMTest.cpp [SkXMLParser] Initial text node support 2016-07-18 14:47:30 -07:00
SkFixed15Test.cpp add and test SkFixed15::to_u8() 2017-01-17 16:05:11 +00:00
SkGaussFilterTest.cpp Remove api call from SkGaussFilter 2017-11-17 19:10:16 +00:00
skia_test.cpp Remove unused private field 2017-12-08 16:22:40 +00:00
SkImageTest.cpp don't rely on canvas->readPixels 2017-07-21 18:49:05 +00:00
SkLiteDLTest.cpp keep SkRSXforms aligned in SkLiteDL 2017-10-11 13:06:19 +00:00
SkNxTest.cpp ccpr: Implement conics 2018-04-18 20:43:54 +00:00
SkPEGTest.cpp Reland: Experimental parsing expression grammar (PEG) template library 2016-08-25 08:44:35 -07:00
SkRasterPipelineTest.cpp align f16 buffers in SkRasterPipeline_tail test 2018-02-26 19:51:48 +00:00
SkResourceCacheTest.cpp Convert NULL and 0 to nullptr. 2017-08-28 17:48:57 +00:00
SkSharedMutexTest.cpp
SkSLErrorTest.cpp fixed type mismatches in SkSL comparison operators 2018-03-29 13:41:25 +00:00
SkSLFPTest.cpp Make generated effects from sksl fp files not need SK_SUPPORT_GPU 2018-04-06 18:27:53 +00:00
SkSLGLSLTest.cpp workaround for buggy macOS GLSL shader compiler 2018-04-12 20:26:51 +00:00
SkSLJITTest.cpp initial SkSLJIT checkin 2018-03-27 18:39:13 +00:00
SkSLMemoryLayoutTest.cpp Revert "Revert "Switch to the new SkSL lexer."" 2017-09-11 21:45:20 +00:00
SkSLSPIRVTest.cpp Fixed SkSL use-after-free fuzzer bug and added defensive code to catch such problems in the future. 2018-03-01 20:42:04 +00:00
SortTest.cpp
SpecialImageTest.cpp Add GrBackendTexture/RenderTarget accessors to SkSurface 2018-04-05 14:21:07 +00:00
SpecialSurfaceTest.cpp Revert "Revert "Add 1010102 support to Ganesh"" 2018-03-02 18:19:50 +00:00
SrcOverTest.cpp make most of SkColorPriv.h private 2017-09-15 16:31:35 +00:00
SRGBMipMapTest.cpp Initial texture data is never flipped when uploaded. 2018-03-07 18:22:40 +00:00
SRGBReadWritePixelsTest.cpp Revert "Revert "New read pixels implementation that is simpler but does all conversions on CPU."" 2018-03-19 21:17:15 +00:00
SRGBTest.cpp remove append_from_srgb() 2017-12-18 19:48:43 +00:00
StreamBufferTest.cpp dm: require tmpDir, reasonable defaults 2017-12-12 18:22:39 +00:00
StreamTest.cpp dm: require tmpDir, reasonable defaults 2017-12-12 18:22:39 +00:00
StringTest.cpp Compile with GCC 7.2.0. 2018-03-13 22:18:18 +00:00
StrokerTest.cpp move parts of SkPoint to SkPointPriv 2017-11-08 18:25:17 +00:00
StrokeTest.cpp Remove assert from SkStroke.cpp 2018-02-05 14:44:46 +00:00
SubsetPath.cpp Revert "implement SkTDArray with std::vector" 2018-04-02 20:37:52 +00:00
SubsetPath.h Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
SurfaceSemaphoreTest.cpp Add SK_SUPPORT_LEGACY_BACKEND_OBJECTS 2018-04-12 14:56:10 +00:00
SurfaceTest.cpp Remove extra Vulkan submitCommandBuffer from deleteTestingOnlyBackendTexture 2018-04-10 15:06:21 +00:00
SVGDeviceTest.cpp Remove include/svg from public.bzl includes. 2018-03-27 16:36:29 +00:00
SwizzlerTest.cpp move a bunch of helpers from SkImageInfo.h into priv 2018-02-09 20:38:32 +00:00
TableColorFilterTest.cpp hide virtual and rename to onMakeComposed 2018-02-19 19:40:14 +00:00
TArrayTest.cpp Make SkTArray maintain reserve count 2017-06-16 12:17:19 +00:00
TDPQueueTest.cpp Add method to GrContext to purge unlocked resources. 2017-05-26 18:14:33 +00:00
TemplatesTest.cpp make SkAutoTMalloc self-move safe 2017-04-07 19:06:12 +00:00
TessellatingPathRendererTests.cpp Reland "Fix handling of MaskFilter matrices" 2018-04-11 20:13:22 +00:00
Test.cpp eliminate SK_BUILD_FOR_WIN32 2018-01-26 19:52:04 +00:00
Test.h Allow printf style var args for messages in REPORTER_ASSERT. 2018-01-29 15:17:09 +00:00
TestConfigParsing.cpp Add GM configs that test rendering to a GL backend texture and render target 2018-03-09 16:32:10 +00:00
TestTest.cpp Use GrContextFactories that produce a single GrContext in unit tests. 2017-11-15 22:03:07 +00:00
TestUtils.cpp Initial texture data is never flipped when uploaded. 2018-03-07 18:22:40 +00:00
TestUtils.h Add GrProxyProvider 2018-01-08 19:05:31 +00:00
TextBlobCacheTest.cpp Move internal calls from GrContext to GrContextPriv 2018-03-06 14:23:45 +00:00
TextBlobTest.cpp Remove SkPaint::kGenA8FromLCD_Flag. 2018-04-16 21:11:10 +00:00
TextureProxyTest.cpp Alter GrSurface/GrSurfaceProxy flags to prepare for GrTexture/GrTextureProxy -specific flags 2018-03-19 12:21:05 +00:00
TextureStripAtlasManagerTest.cpp Fix GrTextureStripAtlasManager cleanup order bug 2018-03-19 15:36:26 +00:00
Time.cpp Unit Tests: eliminate stray SkDebugf()s. 2016-02-24 17:59:16 -08:00
TLazyTest.cpp Fix SkTCopyOnFirstWrite copy semantics 2018-04-11 17:25:07 +00:00
TopoSortTest.cpp Move control of explicit GPU resource allocation to GrContextOptions 2018-02-08 12:36:29 +00:00
ToSRGBColorFilter.cpp Handle null colorspace in SkToSRGBColorFilter. 2017-11-27 18:00:56 +00:00
TraceMemoryDumpTest.cpp Allow SkTraceMemoryDump to exclude wrapped objects 2018-03-19 20:37:25 +00:00
TracingTest.cpp Add support for object creation/snapshot/deletion events 2017-08-03 17:10:08 +00:00
TransferPixelsTest.cpp Remove GrSurfaceOrigin from GrSurfaceDesc. 2018-03-05 18:50:25 +00:00
TypefaceTest.cpp Avoid serializing to 'typ1' on Mac. 2018-03-09 15:03:20 +00:00
UnicodeTest.cpp
UtilsTest.cpp validate text during deserialization 2017-12-21 21:06:44 +00:00
VerticesTest.cpp handle clipping large triangles 2018-01-30 15:56:35 +00:00
VkBackendSurfaceTest.cpp Add SK_SUPPORT_LEGACY_BACKEND_OBJECTS 2018-04-12 14:56:10 +00:00
VkHeapTests.cpp Revert "Revert "Fixes to alignment issues with regards to mapped vulkan memory."" 2018-02-26 18:59:38 +00:00
VkMakeCopyPipelineTest.cpp Correctly discard or load RT when doing copies as draws in Vulkan 2018-03-16 20:54:26 +00:00
VkUploadPixelsTests.cpp Support GL_RGB textures and render targets. 2018-03-22 14:49:44 +00:00
VkWrapTests.cpp Update getBackendInfo calls on GrBackendTexture to support VkImageLayout better. 2018-04-10 14:20:22 +00:00
VptrTest.cpp add SkVptr() 2017-12-06 19:37:27 +00:00
WindowRectanglesTest.cpp handle large rects, rename helper 2018-01-17 17:38:57 +00:00
WritePixelsTest.cpp Support GL_RGB textures and render targets. 2018-03-22 14:49:44 +00:00
Writer32Test.cpp SkTypes.h : move SkAutoMalloc into SkAutoMalloc.h 2017-01-11 18:55:34 +00:00
YUVCacheTest.cpp Update Skia's YUV API 2016-03-10 05:44:43 -08:00
YUVTest.cpp resources: orgainize directory. 2017-12-08 17:16:00 +00:00