skia2/tests
Michael Ludwig c26cf6c2f5 Guard against width/height overflow in SkIRect::subtract
SkRectPriv::Subtract had assumed that Sk[I]Rect::Intersects returns
false if either argument is empty. However, when an SkIRect with
overflowing dimensions is intersected with a non-overflowing SkIRect,
then the intersection can be valid and the remainder of the impl's
expectations are violated because dimensions are "negative".

Since these overflowing rects are considered empty anyways, this just
explicitly checks for that.

Bug: chromium:1243206
Change-Id: I8b69731e8d8ae467cf98c906da3aaa657dfe7994
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/442277
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
2021-08-27 17:48:16 +00:00
..
sksl Fix assertion when calling a built-in function at global scope. 2021-08-27 17:05:21 +00:00
AAClipTest.cpp Enable ClangTidy flag bugprone-suspicious-string-compare. 2020-08-16 03:54:08 +00:00
AdvancedBlendTest.cpp Delete mixed samples 2021-04-22 20:11:34 +00:00
AndroidCodecTest.cpp Deprecate (and ignore) SkAndroidCodec::ExifOrientation 2021-01-15 23:08:46 +00:00
AnimatedImageTest.cpp SkAnimatedImage: consider exif orientation 2021-05-11 13:59:48 +00:00
AnnotationTest.cpp IWYU for tests A-D. 2019-05-07 14:24:15 +00:00
ApplyGammaTest.cpp drawBitmap is deprecated 2021-01-24 17:39:15 +00:00
ArenaAllocTest.cpp extract fibonacci allocator block code 2020-12-17 00:01:53 +00:00
AsADashTest.cpp
BackendAllocationTest.cpp Reland "Add sRGB 8888 colortype" 2021-08-24 12:56:32 +00:00
BackendSurfaceMutableStateTest.cpp Have GrVkTexture not derive from GrVkImage. 2021-03-15 15:18:55 +00:00
BadIcoTest.cpp Move skbug5883.gif to a better test 2021-03-17 19:44:10 +00:00
BitmapCopyTest.cpp Fix cases of variable shadowing in /tests/. 2021-08-12 16:11:39 +00:00
BitmapGetColorTest.cpp
BitmapTest.cpp Remove "sanity"/"insane" to comply with Android's inclusive language guidance 2020-07-31 19:21:04 +00:00
BitSetTest.cpp Fix use-after-free error discovered by the fuzzer. 2020-11-03 17:59:02 +00:00
BlendTest.cpp Expose ManagedBackendTexture from BackendTextureImageFactory. 2020-10-08 20:35:32 +00:00
BlitMaskClip.cpp
BlurTest.cpp Expose bounds for maskfilters 2021-06-16 21:24:30 +00:00
BRDTest.cpp Move SkBitmapRegionCodec into client_utils/android 2020-05-20 20:06:48 +00:00
BulkRectTest.cpp Move GrOpsTask to gpu/ops and the the skgpu::v1 namespace 2021-08-25 18:32:17 +00:00
CachedDataTest.cpp
CachedDecodingPixelRefTest.cpp filter-quality is deprecated, pass sampling to drawImage 2021-01-28 03:22:51 +00:00
CanvasStateHelpers.cpp Improve CanvasState cross-library tests 2020-12-04 22:03:25 +00:00
CanvasStateHelpers.h Improve CanvasState cross-library tests 2020-12-04 22:03:25 +00:00
CanvasStateTest.cpp Use SkClipOp::kFoo instead of kFoo_SkClipOp from SkClipOpPriv 2021-08-03 18:08:21 +00:00
CanvasTest.cpp Reland "In SkCanvas destructor, discard (rather than blit) unbalanced layers" 2021-08-20 19:35:57 +00:00
ChecksumTest.cpp Fix SkOpts::hash_fn slightly 2021-07-26 18:08:56 +00:00
ClearTest.cpp Move GrOpsTask to gpu/ops and the the skgpu::v1 namespace 2021-08-25 18:32:17 +00:00
ClipCubicTest.cpp use pathbuilder 2020-08-25 16:29:48 +00:00
ClipperTest.cpp Reland "Add format-specifier warnings to SkDebugf." 2021-06-25 17:57:43 +00:00
ClipStackTest.cpp Delete GrClipStackClip and GrReducedClip 2021-08-09 18:53:58 +00:00
CodecAnimTest.cpp Expose more info in SkCodec::FrameInfo 2020-12-02 22:37:20 +00:00
CodecExactReadTest.cpp SkIcoCodec: Read the entire stream into data 2020-06-01 21:14:09 +00:00
CodecPartialTest.cpp Have SkWuffsCodec use one Wuffs decoder 2020-12-15 17:42:32 +00:00
CodecPriv.h
CodecRecommendedTypeTest.cpp
CodecTest.cpp Split up Codec 'check' into multiple helper functions. 2021-08-11 20:04:43 +00:00
ColorFilterTest.cpp impl WorkingFormatCF::getFlags() 2021-02-17 21:25:58 +00:00
ColorMatrixTest.cpp IWYU for tests A-D. 2019-05-07 14:24:15 +00:00
ColorPrivTest.cpp
ColorSpaceTest.cpp more careful SkColorSpace hash collision detection 2020-08-13 19:25:32 +00:00
ColorTest.cpp IWYU for tests A-D. 2019-05-07 14:24:15 +00:00
CompressedBackendAllocationTest.cpp Reland "Remove GrBackendFormat's textureType use from isFormatTexturable call." 2021-08-13 22:37:13 +00:00
CopySurfaceTest.cpp Fission GrSurfaceFillContext into skgpu:: and skgpu::v1:: versions (take 2) 2021-08-04 19:40:55 +00:00
CTest.cpp Enable ClangTidy check modernize-use-nullptr. 2020-08-14 16:14:30 +00:00
CubicMapTest.cpp IWYU for tests A-D. 2019-05-07 14:24:15 +00:00
CullTestTest.cpp Add a GrCullTest class 2021-05-13 17:30:58 +00:00
DashPathEffectTest.cpp Move patheffect details to (private) base subclass 2021-05-22 01:55:43 +00:00
DataRefTest.cpp Remove unused SkRWBuffer 2020-12-02 15:29:06 +00:00
DebugLayerManagerTest.cpp Remove uses of SkCanvas::flush 2020-11-20 21:42:38 +00:00
DefaultPathRendererTest.cpp Move several more PathRenderers to skgpu::v1 namespace 2021-08-17 22:19:11 +00:00
DeferredDisplayListTest.cpp Update tests for a V1-only skgpu::v1::SurfaceDrawContext 2021-07-30 16:33:41 +00:00
DequeTest.cpp move SkDeque.h into private 2020-02-18 02:05:08 +00:00
DescriptorTest.cpp Make allocation of SkDescriptor do initialization 2019-12-16 19:55:42 +00:00
DeviceTest.cpp Start using skgpu::v1 and skgpu::v2 namespaces 2021-07-06 18:28:54 +00:00
DiscardableMemoryPoolTest.cpp
DiscardableMemoryTest.cpp Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
DMSAATest.cpp Rename GrSurfaceDrawContext to skgpu::v1::SurfaceDrawContext 2021-07-28 20:12:10 +00:00
DrawBitmapRectTest.cpp filter-quality is deprecated, pass sampling to drawImage 2021-01-28 03:22:51 +00:00
DrawOpAtlasTest.cpp Update tests for a V1-only skgpu::v1::SurfaceDrawContext 2021-07-30 16:33:41 +00:00
DrawPathTest.cpp
DrawTextTest.cpp don't draw strings that have no glyphs 2021-05-03 19:27:54 +00:00
EGLImageTest.cpp Rename GrSurfaceContext -> skgpu::SurfaceContext 2021-08-10 19:24:53 +00:00
EmptyPathTest.cpp Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
EncodedInfoTest.cpp
EncodeTest.cpp Remove ableist language 2021-06-16 21:37:21 +00:00
ExifTest.cpp Parse out the orientation in the SubIFD of EXIF 2020-10-12 13:50:27 +00:00
ExtendedSkColorTypeTests.cpp ComparePixels helper takes GrCPixmaps 2021-03-31 20:38:22 +00:00
F16StagesTest.cpp
FakeStreams.h Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
FillPathTest.cpp Revert "SkPathView for ownerless (can live on stack) SkPaths" 2020-10-28 15:25:41 +00:00
FitsInTest.cpp
FlattenableFactoryToName.cpp Use bitmap.asImage() 2020-12-23 17:41:47 +00:00
FlattenableNameToFactory.cpp
FlattenDrawableTest.cpp Clean up unflattening paints 2021-08-09 17:43:37 +00:00
Float16Test.cpp
FloatingPointTextureTest.cpp Cruft leftover from GrSurfaceContext hierarchy v1/v2 split 2021-08-11 14:17:49 +00:00
FontHostStreamTest.cpp
FontHostTest.cpp add copytable method to typefaces 2019-07-24 19:20:46 +00:00
FontMgrAndroidParserTest.cpp Bitmap.asImage() 2020-12-23 15:54:57 +00:00
FontMgrFontConfigTest.cpp Bitmap.asImage() 2020-12-23 15:54:57 +00:00
FontMgrTest.cpp Improve typeface test assert information. 2021-05-04 21:16:55 +00:00
FontNamesTest.cpp Remove SkMin32/SkMax32 2020-02-06 17:31:51 +00:00
FontTest.cpp SkCustomTypefaceBuilder to set SkFontStyle 2020-08-19 00:09:55 +00:00
FrontBufferedStreamTest.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
GeometryTest.cpp Fix additional cases of variable shadowing in /tests/. 2021-08-13 16:13:27 +00:00
GifTest.cpp Pass sampling to drawImage 2021-01-29 18:53:48 +00:00
GLBackendSurfaceTest.cpp Remove SkImage_Base::peekProxy. 2021-02-23 19:59:31 +00:00
GlyphRunTest.cpp remove unused code SkGlyphIDSet 2021-03-15 15:31:15 +00:00
GpuDrawPathTest.cpp Move several more PathRenderers to skgpu::v1 namespace 2021-08-17 22:19:11 +00:00
GpuRectanizerTest.cpp Reland GrRectanizerPow2 2020-05-19 18:35:13 +00:00
GradientTest.cpp GrConvertPixels takes pixmaps 2021-03-31 00:23:17 +00:00
GrAHardwareBufferTest.cpp drawBitmap is deprecated 2021-01-28 19:37:45 +00:00
GrClipStackTest.cpp Move GrClipStack to skgpu::v1 namespace 2021-08-18 13:58:45 +00:00
GrContextAbandonTest.cpp Update unit tests to accept GrDirectContext 2020-07-06 15:45:12 +00:00
GrContextFactoryTest.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
GrContextOOM.cpp Update unit tests to accept GrDirectContext 2020-07-06 15:45:12 +00:00
GrDDLImageTest.cpp Use bitmap.asImage() 2020-12-23 17:41:47 +00:00
GrFinishedFlushTest.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
GrGLExtensionsTest.cpp Reland fully delineate GL usage w/ skia_use_gl. 2019-11-12 21:43:44 +00:00
GrMemoryPoolTest.cpp Fix cases of variable shadowing in /tests/. 2021-08-12 16:11:39 +00:00
GrMeshTest.cpp Store the correct number of samples in GrProgramInfo 2021-08-26 17:24:47 +00:00
GrMipMappedTest.cpp Rename GrSurfaceDrawContext to skgpu::v1::SurfaceDrawContext 2021-07-28 20:12:10 +00:00
GrOpListFlushTest.cpp Move GrOpsTask to gpu/ops and the the skgpu::v1 namespace 2021-08-25 18:32:17 +00:00
GrPathUtilsTest.cpp Chop tessellated curves that don't fit in a patch 2021-05-21 23:01:43 +00:00
GrPipelineDynamicStateTest.cpp Store the correct number of samples in GrProgramInfo 2021-08-26 17:24:47 +00:00
GrPorterDuffTest.cpp Switch GrMeshDrawOp::Target to be the stand alone GrMeshDrawTarget class 2021-06-17 19:57:43 +00:00
GrQuadBufferTest.cpp Remove "sanity"/"insane" to comply with Android's inclusive language guidance 2020-07-31 19:21:04 +00:00
GrQuadCropTest.cpp Fix overdraw from unstable perspective math 2021-05-13 19:37:53 +00:00
GrRenderTaskClusterTest.cpp Fix write-after-read in clustering 2021-01-28 22:46:00 +00:00
GrStyledShapeTest.cpp Use SkClipOp::kFoo instead of kFoo_SkClipOp from SkClipOpPriv 2021-08-03 18:08:21 +00:00
GrSubmittedFlushTest.cpp Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
GrSurfaceTest.cpp Reroute SurfaceContext factories through RecordingContextPriv 2021-08-17 13:36:57 +00:00
GrTextBlobTest.cpp return void* instead of char* from alignedBytes 2021-02-24 17:23:54 +00:00
GrTextureMipMapInvalidationTest.cpp Remove SkImage_Base::peekProxy. 2021-02-23 19:59:31 +00:00
GrThreadSafeCacheTest.cpp Store the correct number of samples in GrProgramInfo 2021-08-26 17:24:47 +00:00
GrVxTest.cpp Use SIMD to update hw tessellation tolerances 2021-02-25 00:33:48 +00:00
HashTest.cpp Fix cases of variable shadowing in test code. 2021-08-11 20:38:09 +00:00
HighContrastFilterTest.cpp refactor high-contrast filter 2021-02-23 20:22:07 +00:00
HSVRoundTripTest.cpp
ICCTest.cpp Move skcms.h to include/third_party/skcms 2019-04-29 15:02:45 +00:00
ImageBitmapTest.cpp Use bitmap.asImage() 2020-12-23 17:41:47 +00:00
ImageCacheTest.cpp Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
ImageFilterCacheTest.cpp Remove GrBitmapTextureMaker. 2021-04-28 17:24:56 +00:00
ImageFilterTest.cpp Allow image filters to require a translation-only layer transform 2021-06-09 21:34:44 +00:00
ImageFrom565Bitmap.cpp Use bitmap.asImage() 2020-12-23 17:41:47 +00:00
ImageGeneratorTest.cpp Remove SkYUVASizeInfo, make SkYUVAIndex a private part of SkYUVAInfo 2021-01-12 15:06:26 +00:00
ImageIsOpaqueTest.cpp Update unit tests to accept GrDirectContext 2020-07-06 15:45:12 +00:00
ImageNewShaderTest.cpp Bitmap.asImage() 2020-12-23 15:54:57 +00:00
ImageTest.cpp Reflatten YUVA image on each request. 2021-04-19 14:52:04 +00:00
IncrTopoSortTest.cpp Update SkTQSort to use half-open ranges. 2020-07-14 22:13:59 +00:00
IndexedPngOverflowTest.cpp drawBitmap is deprecated, use drawImage 2021-01-25 01:44:55 +00:00
InfRectTest.cpp more rect api simplifications 2019-08-25 10:12:57 +00:00
InsetConvexPolyTest.cpp
InvalidIndexedPngTest.cpp
IsClosedSingleContourTest.cpp use pathbuilder 2020-08-25 22:27:20 +00:00
JSONTest.cpp Move ccpr headers for display list out of include/private. 2019-05-20 14:50:56 +00:00
LazyProxyTest.cpp Update LazySurfaceDesc to take a GrTextureType. 2021-08-16 14:17:58 +00:00
LListTest.cpp Reland "Remove SkTLList" 2021-08-10 17:57:41 +00:00
LRUCacheTest.cpp Enable ClangTidy check modernize-make-unique. 2020-08-03 17:53:52 +00:00
M44Test.cpp Add unit test to cover incorrect image filter layer bounds bug 2021-08-13 14:25:14 +00:00
MallocPixelRefTest.cpp Remove "sanity"/"insane" to comply with Android's inclusive language guidance 2020-07-31 19:21:04 +00:00
MaskCacheTest.cpp
MathTest.cpp impl SkTPin with std::{min,max} 2020-10-16 21:01:01 +00:00
MatrixClipCollapseTest.cpp Remove SkMin32/SkMax32 2020-02-06 17:31:51 +00:00
MatrixColorFilterTest.cpp Add flag to hide non-sampling imageshader factories 2020-12-08 20:33:23 +00:00
MatrixTest.cpp Add unit test to cover incorrect image filter layer bounds bug 2021-08-13 14:25:14 +00:00
MD5Test.cpp
MemoryTest.cpp
MemsetTest.cpp
MessageBusTest.cpp Expand SkMessageBus to support different unique key types 2021-03-11 20:38:00 +00:00
MetaDataTest.cpp re-run tools/rewrite_includes.py 2019-07-25 15:40:33 +00:00
MipMapTest.cpp filter-quality is deprecated, pass sampling to drawImage 2021-01-28 03:22:51 +00:00
MtlBackendAllocationTest.mm Use ManagedBackendTexture in backend allocation tests 2020-12-17 02:50:43 +00:00
MtlCopySurfaceTest.mm Reland "Remove GrBackendFormat's textureType use from isFormatTexturable call." 2021-08-13 22:37:13 +00:00
MultiPictureDocumentTest.cpp GrConvertPixels takes pixmaps 2021-03-31 00:23:17 +00:00
NdkDecodeTest.cpp Add platform image encoder for using NDK APIs 2020-08-13 15:21:41 +00:00
NdkEncodeTest.cpp Add platform image encoder for using NDK APIs 2020-08-13 15:21:41 +00:00
NonlinearBlendingTest.cpp DCI-P3 -> Display P3 in Skia 2020-01-16 21:24:16 +00:00
OffsetSimplePolyTest.cpp More polyutils fixes 2019-05-01 18:02:05 +00:00
OnceTest.cpp
OpChainTest.cpp Move GrOpsTask to gpu/ops and the the skgpu::v1 namespace 2021-08-25 18:32:17 +00:00
OSPathTest.cpp
OverAlignedTest.cpp
PaintTest.cpp Clean up unflattening paints 2021-08-09 17:43:37 +00:00
ParametricStageTest.cpp Starting to hack up HDR transfer function support 2019-10-16 18:40:16 +00:00
ParseColorTest.cpp Fix SkParse::FindNamedColor OOB 2020-06-17 14:23:14 +00:00
ParsePathTest.cpp Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
PathBuilderTest.cpp Set SkPath.fLastMoveToIndex field from SkPathBuilder 2021-08-06 14:12:11 +00:00
PathCoverageTest.cpp Remove SkMin32/SkMax32 2020-02-06 17:31:51 +00:00
PathMeasureTest.cpp Hide shrinkToFit -- not needed now that we have pathbuilder 2020-10-15 19:47:06 +00:00
PathOpsAngleIdeas.cpp Reland "Add format-specifier warnings to SkDebugf." 2021-06-25 17:57:43 +00:00
PathOpsAngleTest.cpp Reland "Add format-specifier warnings to SkDebugf." 2021-06-25 17:57:43 +00:00
PathOpsAsWindingTest.cpp remove dead code around old SkPath enums 2019-12-14 01:58:10 +00:00
PathOpsBattles.cpp remove SkTLS 2020-03-06 14:41:01 +00:00
PathOpsBoundsTest.cpp more rect api simplifications 2019-08-25 10:12:57 +00:00
PathOpsBuilderConicTest.cpp Remove "dummy" to comply with Android's inclusive language guidance 2020-07-31 19:11:23 +00:00
PathOpsBuilderTest.cpp Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
PathOpsBuildUseTest.cpp remove SkTLS 2020-03-06 14:41:01 +00:00
PathOpsChalkboardTest.cpp Fix implicit fallthroughs throughout Skia. 2020-06-11 22:29:53 +00:00
PathOpsConicIntersectionTest.cpp Reland "Add format-specifier warnings to SkDebugf." 2021-06-25 17:57:43 +00:00
PathOpsConicLineIntersectionTest.cpp Reland "Add format-specifier warnings to SkDebugf." 2021-06-25 17:57:43 +00:00
PathOpsConicQuadIntersectionTest.cpp
PathOpsCubicConicIntersectionTest.cpp
PathOpsCubicIntersectionTest.cpp Fix cases of variable shadowing in /tests/. 2021-08-12 16:11:39 +00:00
PathOpsCubicIntersectionTestData.cpp Fix cases of variable shadowing in /tests/. 2021-08-12 16:11:39 +00:00
PathOpsCubicIntersectionTestData.h Fix cases of variable shadowing in /tests/. 2021-08-12 16:11:39 +00:00
PathOpsCubicLineIntersectionIdeas.cpp Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
PathOpsCubicLineIntersectionTest.cpp
PathOpsCubicQuadIntersectionTest.cpp
PathOpsCubicReduceOrderTest.cpp Fix cases of variable shadowing in /tests/. 2021-08-12 16:11:39 +00:00
PathOpsDCubicTest.cpp
PathOpsDebug.cpp Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
PathOpsDebug.h
PathOpsDLineTest.cpp
PathOpsDPointTest.cpp
PathOpsDRectTest.cpp
PathOpsDVectorTest.cpp
PathOpsExtendedTest.cpp Fix cases of variable shadowing in test code. 2021-08-11 20:38:09 +00:00
PathOpsExtendedTest.h remove SkTLS 2020-03-06 14:41:01 +00:00
PathOpsFuzz763Test.cpp remove SkTLS 2020-03-06 14:41:01 +00:00
PathOpsInverseTest.cpp Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
PathOpsIssue3651.cpp remove SkTLS 2020-03-06 14:41:01 +00:00
PathOpsLineIntersectionTest.cpp Fix additional cases of variable shadowing in /tests/. 2021-08-13 16:13:27 +00:00
PathOpsLineParametetersTest.cpp
PathOpsOpCircleThreadedTest.cpp Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
PathOpsOpCubicThreadedTest.cpp remove SkTLS 2020-03-06 14:41:01 +00:00
PathOpsOpLoopThreadedTest.cpp remove SkTLS 2020-03-06 14:41:01 +00:00
PathOpsOpRectThreadedTest.cpp Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
PathOpsOpTest.cpp Remove ableist language 2021-06-16 21:37:21 +00:00
PathOpsQuadIntersectionTest.cpp
PathOpsQuadIntersectionTestData.cpp
PathOpsQuadIntersectionTestData.h
PathOpsQuadLineIntersectionTest.cpp Reland "Add format-specifier warnings to SkDebugf." 2021-06-25 17:57:43 +00:00
PathOpsQuadLineIntersectionThreadedTest.cpp
PathOpsQuadReduceOrderTest.cpp
PathOpsSimplifyDegenerateThreadedTest.cpp Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
PathOpsSimplifyFailTest.cpp remove dead code around old SkPath enums 2019-12-14 01:58:10 +00:00
PathOpsSimplifyQuadralateralsThreadedTest.cpp Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
PathOpsSimplifyQuadThreadedTest.cpp Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
PathOpsSimplifyRectThreadedTest.cpp Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
PathOpsSimplifyTest.cpp Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
PathOpsSimplifyTrianglesThreadedTest.cpp remove SkTLS 2020-03-06 14:41:01 +00:00
PathOpsSkpTest.cpp remove SkTLS 2020-03-06 14:41:01 +00:00
PathOpsTestCommon.cpp Update SkTQSort to use half-open ranges. 2020-07-14 22:13:59 +00:00
PathOpsTestCommon.h
PathOpsThreadedCommon.cpp
PathOpsThreadedCommon.h Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
PathOpsThreeWayTest.cpp
PathOpsTigerTest.cpp
PathOpsTightBoundsTest.cpp Include the SkTSort header only where it is used. 2020-07-14 14:19:06 +00:00
PathOpsTSectDebug.h
PathOpsTypesTest.cpp
PathRendererCacheTests.cpp Move GrPathRenderer and GrPathRendererChain to skgpu::v1 namespace 2021-08-19 18:26:57 +00:00
PathTest.cpp Fix a couple Wshadow warnings 2021-08-17 15:09:14 +00:00
PDFDeflateWStreamTest.cpp Fix cases of variable shadowing in /tests/. 2021-08-12 16:11:39 +00:00
PDFDocumentTest.cpp drawBitmap is deprecated, use drawImage 2021-01-25 01:44:55 +00:00
PDFGlyphsToUnicodeTest.cpp Remove accidentally repeated bit-index expression. 2020-10-07 17:20:01 +00:00
PDFJpegEmbedTest.cpp filter-quality is deprecated, pass sampling to drawImage 2021-01-28 03:22:51 +00:00
PDFMetadataAttributeTest.cpp
PDFOpaqueSrcModeToSrcOverTest.cpp
PDFPrimitivesTest.cpp Remove ableist language 2021-06-16 21:37:21 +00:00
PDFTaggedLinkTest.cpp Add support for tagging link annotations in PDFs. 2020-03-24 15:52:55 +00:00
PDFTaggedPruningTest.cpp PDF without annotations skips structure tree. 2020-07-09 00:14:38 +00:00
PDFTaggedTableTest.cpp Add appendNodeIdArray to avoid code duplication. 2020-06-23 14:25:33 +00:00
PDFTaggedTest.cpp drawBitmap is deprecated, use drawImage 2021-01-25 01:44:55 +00:00
PictureBBHTest.cpp make SkBBH a public interface 2020-02-12 16:31:05 +00:00
PictureShaderTest.cpp Must pass filtering to picture shader 2021-03-18 22:18:47 +00:00
PictureTest.cpp Use SkClipOp::kFoo instead of kFoo_SkClipOp from SkClipOpPriv 2021-08-03 18:08:21 +00:00
PinnedImageTest.cpp Revert "Reland "Reland "Use SkImage_Raster's unique ID to cache textures.""" 2021-06-08 18:07:47 +00:00
PixelRefTest.cpp Prevent unbounded listener growth on SkPixelRefs. 2020-03-02 22:32:09 +00:00
Point3Test.cpp
PointTest.cpp
PolyUtilsTest.cpp
PremulAlphaRoundTripTest.cpp Bitmap.asImage() 2020-12-23 15:54:57 +00:00
PrimitiveProcessorTest.cpp Store the correct number of samples in GrProgramInfo 2021-08-26 17:24:47 +00:00
ProcessorTest.cpp Fix additional cases of variable shadowing in /tests/. 2021-08-13 16:13:27 +00:00
ProgramsTest.cpp Move ProgramImpl definitions into Processor subclass headers. 2021-08-11 19:45:56 +00:00
PromiseImageTest.cpp Reland "Remove GrBackendFormat's textureType use from isFormatTexturable call." 2021-08-13 22:37:13 +00:00
ProxyConversionTest.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
ProxyRefTest.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
ProxyTest.cpp Reland "Remove GrBackendFormat's textureType use from isFormatTexturable call." 2021-08-13 22:37:13 +00:00
QuickRejectTest.cpp don't use drawBitmap 2021-01-26 02:24:21 +00:00
RandomTest.cpp Update SkTQSort to use half-open ranges. 2020-07-14 22:13:59 +00:00
ReadPixelsTest.cpp GrConvertPixels takes pixmaps 2021-03-31 00:23:17 +00:00
ReadWritePixelsGpuTest.cpp Reland "Add sRGB 8888 colortype" 2021-08-24 12:56:32 +00:00
RecordDrawTest.cpp Alias canComputeFastBounds to affectsTransparentBlack 2021-08-04 19:11:19 +00:00
RecorderTest.cpp More hiding of legacy drawImage calls 2021-01-22 13:53:42 +00:00
RecordingXfermodeTest.cpp don't use drawBitmap 2021-01-26 02:24:21 +00:00
RecordOptsTest.cpp Fix additional cases of variable shadowing in /tests/. 2021-08-13 16:13:27 +00:00
RecordPatternTest.cpp
RecordTest.cpp
RecordTestUtils.h
RectangleTextureTest.cpp Rename GrSurfaceContext -> skgpu::SurfaceContext 2021-08-10 19:24:53 +00:00
RectTest.cpp Guard against width/height overflow in SkIRect::subtract 2021-08-27 17:48:16 +00:00
RefCntTest.cpp Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
RegionTest.cpp Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
RepeatedClippedBlurTest.cpp filter-quality is deprecated, pass sampling to drawImage 2021-01-28 03:22:51 +00:00
ResourceAllocatorTest.cpp Update LazySurfaceDesc to take a GrTextureType. 2021-08-16 14:17:58 +00:00
ResourceCacheTest.cpp Reland "Remove GrBackendFormat's textureType use from isFormatTexturable call." 2021-08-13 22:37:13 +00:00
RoundRectTest.cpp Fix additional cases of variable shadowing in /tests/. 2021-08-13 16:13:27 +00:00
RRectInPathTest.cpp Reland "Add format-specifier warnings to SkDebugf." 2021-06-25 17:57:43 +00:00
RTreeTest.cpp make SkBBH a public interface 2020-02-12 16:31:05 +00:00
RuntimeBlendTest.cpp Reland "Add unit test confirming Runtime Blends match native blends." 2021-07-15 15:19:14 +00:00
SafeMathTest.cpp
SamplingTest.cpp Don't use sprite-blit if cubic sampling 2020-12-21 16:10:42 +00:00
ScalarTest.cpp more rect api simplifications 2019-08-25 10:12:57 +00:00
ScaleToSidesTest.cpp don't use out of range float values in the test 2020-08-11 23:33:00 +00:00
SerializationTest.cpp Move more virtuals into ...Base to hide them from public api 2021-06-18 20:20:06 +00:00
SerialProcsTest.cpp Must pass filtering to picture shader 2021-03-18 22:18:47 +00:00
ShaderImageFilterTest.cpp Add SkImageFilters::Shader in place of Paint factory 2020-10-08 22:51:13 +00:00
ShaderOpacityTest.cpp Remove supported for (removed) inheriting paint filter-quality 2021-03-09 00:58:09 +00:00
ShaderTest.cpp Use bitmap.asImage() 2020-12-23 17:41:47 +00:00
ShadowTest.cpp Fix shadow directional light bounds. 2020-12-17 18:04:15 +00:00
ShaperTest.cpp Enable ClangTidy check modernize-make-unique. 2020-08-03 17:53:52 +00:00
SizeTest.cpp
SkBase64Test.cpp Make SkBase64 interface less unpleasant. 2021-01-08 20:28:19 +00:00
SkBlockAllocatorTest.cpp Silence clang-tidy warnings around SkBlockAllocator 2021-08-25 18:34:17 +00:00
Skbug5221.cpp Update unit tests to accept GrDirectContext 2020-07-06 15:45:12 +00:00
Skbug6389.cpp Hide legacy imagefilters::image using filter-quality 2021-02-14 14:58:00 +00:00
Skbug6653.cpp don't use drawBitmap 2021-01-26 02:24:21 +00:00
Skbug12214.cpp Fix crash when drawing a GPU-backed surface onto raster. 2021-07-16 15:12:43 +00:00
SkColor4fTest.cpp
SkColorSpaceXformStepsTest.cpp Fix range-based for loops which copy the loop variable unnecessarily. 2020-07-31 01:02:21 +00:00
SkDOMTest.cpp
SkDSLRuntimeEffectTest.cpp Further unified error handling between SkSL and DSL 2021-08-13 22:26:10 +00:00
SkFixed15Test.cpp
SkGaussFilterTest.cpp
SkGlyphBufferTest.cpp Revert "Revert "move onto new factories for SkMatrix"" 2020-05-21 16:58:39 +00:00
SkGlyphTest.cpp introduce SkGlyphRect specialized for union & intersect 2020-09-28 18:31:33 +00:00
skia_test.cpp Remove more references to "master" 2020-07-28 13:06:07 +00:00
SkImageTest.cpp filter-quality is deprecated, pass sampling to drawImage 2021-01-28 03:22:51 +00:00
SkNxTest.cpp remove SkNx::rsqrt() 2021-04-14 20:54:08 +00:00
SkPathRangeIterTest.cpp Return the contour's final point from SkPath::RangeIter in kClose 2020-11-24 03:24:43 +00:00
SkRasterPipelineTest.cpp Fix cases of variable shadowing in rasterization. 2021-08-03 19:00:58 +00:00
SkRemoteGlyphCacheTest.cpp Start using skgpu::v1 and skgpu::v2 namespaces 2021-07-06 18:28:54 +00:00
SkResourceCacheTest.cpp filter-quality is deprecated, pass sampling to drawImage 2021-01-28 03:22:51 +00:00
SkRuntimeEffectTest.cpp Convert internal sample() calls to shade/filter/blend 2021-08-24 21:03:44 +00:00
SkScalerCacheTest.cpp Reland "direct mask biased to (0,0)" 2020-05-18 15:58:37 +00:00
SkShaperJSONWriterTest.cpp Move SkSpan to include/, for use in public API 2021-05-12 13:19:32 +00:00
SkSharedMutexTest.cpp Revert "replace SkSharedMutex" 2020-04-29 18:50:39 +00:00
SkSLCross.cpp Move ProgramImpl definitions into Processor subclass headers. 2021-08-11 19:45:56 +00:00
SkSLDSLErrorLineNumbers.cpp Further unified error handling between SkSL and DSL 2021-08-13 22:26:10 +00:00
SkSLDSLOnlyTest.cpp Broke DSLVar into separate subclasses 2021-07-15 15:40:06 +00:00
SkSLDSLTest.cpp SkSL: Use type-specific sampling intrinsics, rather than fn-call syntax 2021-08-24 18:18:46 +00:00
SkSLGLSLTestbed.cpp Move ProgramKind and ProgramSettings types out of SkSL::Program. 2021-02-16 19:30:48 +00:00
SkSLInterpreterTest.cpp Reland "Reland "uniform Ptr (UPtr) is a sub class of Ptr"" 2021-08-11 16:42:10 +00:00
SkSLMemoryLayoutTest.cpp Further unified error handling between SkSL and DSL 2021-08-13 22:26:10 +00:00
SkSLMetalTestbed.cpp Move ProgramKind and ProgramSettings types out of SkSL::Program. 2021-02-16 19:30:48 +00:00
SkSLSPIRVTestbed.cpp Move ProgramKind and ProgramSettings types out of SkSL::Program. 2021-02-16 19:30:48 +00:00
SkSLTest.cpp Reland "Add ES3 intrinsics isinf/isnan to public SkSL ES3." 2021-08-25 19:01:22 +00:00
SkSLTypeTest.cpp Further unified error handling between SkSL and DSL 2021-08-13 22:26:10 +00:00
SkStrikeCacheTest.cpp Check fullness and purge on every strike lookup 2020-03-16 19:59:56 +00:00
SkStringViewTest.cpp Added skstd::string_view 2021-06-07 21:48:37 +00:00
SkTBlockListTest.cpp Move GrBlockAllocator and GrTBlockList to src/core/ 2021-08-25 13:21:32 +00:00
SkTOptionalTest.cpp Add skstd::optional::emplace. 2021-08-26 19:03:29 +00:00
SkUTFTest.cpp
SkVMTest.cpp Reland "Reland "uniform Ptr (UPtr) is a sub class of Ptr"" 2021-08-11 16:42:10 +00:00
SkVxTest.cpp remove skvx::{rsqrt,rcp} 2020-10-13 15:52:56 +00:00
SortTest.cpp Update SkTQSort to use half-open ranges. 2020-07-14 22:13:59 +00:00
SpecialImageTest.cpp Remove GrBitmapTextureMaker. 2021-04-28 17:24:56 +00:00
SpecialSurfaceTest.cpp Remove last two uses of SkGpuDevice's GrSurfaceDrawContext-based factory 2021-05-21 14:51:56 +00:00
SrcOverTest.cpp Remove SkMin32/SkMax32 2020-02-06 17:31:51 +00:00
SrcSrcOverBatchTest.cpp Update unit tests to accept GrDirectContext 2020-07-06 15:45:12 +00:00
SRGBReadWritePixelsTest.cpp Reroute SurfaceContext factories through RecordingContextPriv 2021-08-17 13:36:57 +00:00
SRGBTest.cpp clean up legacy sRGB stages 2020-05-24 19:47:08 +00:00
StreamBufferTest.cpp Fix range-based for loops which copy the loop variable unnecessarily. 2020-07-31 01:02:21 +00:00
StreamTest.cpp Mark SkStringPrintf as SK_PRINTF_LIKE 2020-05-12 15:22:14 +00:00
StringTest.cpp Fix cross-platform deviations in SkStrAppendScalar for inf/nan. 2021-01-06 14:12:19 +00:00
StrokerTest.cpp Fix cases of variable shadowing in /tests/. 2021-08-12 16:11:39 +00:00
StrokeTest.cpp Relax SkStrokeRec::hasEqualEffect 2020-09-15 20:05:40 +00:00
SubsetPath.cpp Remove SkPath::RawIter from tests/tools/samplecode 2020-05-06 16:31:53 +00:00
SubsetPath.h
SurfaceDrawContextTest.cpp Rename GrSurfaceDrawContext to skgpu::v1::SurfaceDrawContext 2021-07-28 20:12:10 +00:00
SurfaceSemaphoreTest.cpp Copy on write for wrapped backend texture surfaces. 2021-03-05 19:50:05 +00:00
SurfaceTest.cpp Rename GrSurfaceContext -> skgpu::SurfaceContext 2021-08-10 19:24:53 +00:00
SVGDeviceTest.cpp [svgcanvas] Add support for relative path encoding 2021-05-11 17:44:59 +00:00
SwizzlerTest.cpp
TArrayTest.cpp re-enable tests on GCC (and Clang o_O) 2020-11-09 18:20:49 +00:00
TDPQueueTest.cpp Fix cases of variable shadowing in /tests/. 2021-08-12 16:11:39 +00:00
TemplatesTest.cpp Fix data() method and add unit test. 2020-10-07 13:46:50 +00:00
Test.cpp
Test.h Use SkClipOp::kFoo instead of kFoo_SkClipOp from SkClipOpPriv 2021-08-03 18:08:21 +00:00
TestTest.cpp Clean up some GrContext in tests 2020-07-20 13:09:51 +00:00
TestUtils.cpp Reroute SurfaceContext factories through RecordingContextPriv 2021-08-17 13:36:57 +00:00
TestUtils.h Reroute SurfaceContext factories through RecordingContextPriv 2021-08-17 13:36:57 +00:00
TextBlobCacheTest.cpp Bitmap.asImage() 2020-12-23 15:54:57 +00:00
TextBlobTest.cpp Fix cases of variable shadowing in /tests/. 2021-08-12 16:11:39 +00:00
TextureBindingsResetTest.cpp Reland "Remove GrBackendFormat's textureType use from isFormatTexturable call." 2021-08-13 22:37:13 +00:00
TextureOpTest.cpp Move GrOpsTask to gpu/ops and the the skgpu::v1 namespace 2021-08-25 18:32:17 +00:00
TextureProxyTest.cpp Use attachment in GrMtlTexture rather than raw id<MTLTexture>. 2021-07-13 20:47:40 +00:00
TextureStripAtlasManagerTest.cpp filter-quality is deprecated, pass sampling to drawImage 2021-01-28 03:22:51 +00:00
Time.cpp Remove "sanity"/"insane" to comply with Android's inclusive language guidance 2020-07-31 19:21:04 +00:00
TLazyTest.cpp Enable ClangTidy check performance-unnecessary-copy-initialization. 2020-08-07 22:20:36 +00:00
TopoSortTest.cpp Update the TopoSort test ... 2020-11-18 12:39:15 +00:00
TraceMemoryDumpTest.cpp Rename glrt::fRTFBOID -> fMultisampleFBOID 2021-04-08 16:03:04 +00:00
TracingTest.cpp Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
TransferPixelsTest.cpp Reland "Remove GrBackendFormat's textureType use from isFormatTexturable call." 2021-08-13 22:37:13 +00:00
TriangulatingPathRendererTests.cpp Move GrPathRenderer and GrPathRendererChain to skgpu::v1 namespace 2021-08-19 18:26:57 +00:00
TypefaceMacTest.cpp Reland "Reland "Test mac system font variations."" 2021-02-22 18:48:49 +00:00
TypefaceTest.cpp Purge 2020 picture versions 2021-07-19 19:35:49 +00:00
UnicodeTest.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
UtilsTest.cpp Move SkSpan to include/, for use in public API 2021-05-12 13:19:32 +00:00
VerticesTest.cpp Remove custom SkVertices data and runtime effect varying support 2021-04-19 17:49:25 +00:00
VkBackendSurfaceTest.cpp Update tests for a V1-only skgpu::v1::SurfaceDrawContext 2021-07-30 16:33:41 +00:00
VkDrawableTest.cpp Remove GrGpu::testingOnly_flushGpuAndSync 2021-02-12 19:33:59 +00:00
VkHardwareBufferTest.cpp Remove GrGpu::testingOnly_flushGpuAndSync 2021-02-12 19:33:59 +00:00
VkPriorityExtensionTest.cpp Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
VkProtectedContextTest.cpp Move to sampling for async-rescale routines 2021-01-05 15:46:51 +00:00
VkWrapTests.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
VkYcbcrSamplerTest.cpp Update more tests to use the GrDirectContext/GrRecordingContext pair 2020-07-27 15:08:31 +00:00
VptrTest.cpp Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
WangsFormulaTest.cpp Make GrWangsFormula::conic take "precision" instead of "tolerance" 2021-06-02 18:58:06 +00:00
WebpTest.cpp Bitmap.asImage() 2020-12-23 15:54:57 +00:00
WindowRectanglesTest.cpp work around GCC 8 mips release bug? 2019-12-04 21:14:13 +00:00
WrappedSurfaceCopyOnWriteTest.cpp Move GrOpsTask to gpu/ops and the the skgpu::v1 namespace 2021-08-25 18:32:17 +00:00
WritePixelsTest.cpp Limit texture attached to FBO workaround on Adreno 4xxx by driver ver. 2021-04-06 14:52:45 +00:00
Writer32Test.cpp Fix additional cases of variable shadowing in /tests/. 2021-08-13 16:13:27 +00:00
YUVCacheTest.cpp Split SkYUVAInfo::PlanarConfig into PlaneConfig and Subsampling enums 2020-11-11 22:42:36 +00:00
YUVTest.cpp Remove SkYUVASizeInfo, make SkYUVAIndex a private part of SkYUVAInfo 2021-01-12 15:06:26 +00:00