skia2/tests
John Stiles 28054added Optimize ternary tests that check a const variable.
This enables the ternary to be optimized away in code like:
   const bool SHINY = true;
   color = SHINY ? add_shine(x) : x; // to --> `color = add_shine(x);`

Without constant propagation.

Also, I added a unit test for ternary expression simplification; I
wasn't able to find an existing one.

When the optimization flag is disabled, this CL actually removes the
optimization of `true ? x : y` --> `x` entirely; previously, this
substitution would be made regardless of optimization settings.

Change-Id: I93a8b9d4027902d35f8a19cfd6417170b209d056
Bug: skia:11343
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/379297
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2021-03-05 21:41:05 +00:00
..
sksl Optimize ternary tests that check a const variable. 2021-03-05 21:41:05 +00:00
AAClipTest.cpp Enable ClangTidy flag bugprone-suspicious-string-compare. 2020-08-16 03:54:08 +00:00
AdvancedBlendTest.cpp Plumb mixed samples through GrXPFactory::GetAnalysisProperties 2020-12-03 16:33:21 +00:00
AndroidCodecTest.cpp Deprecate (and ignore) SkAndroidCodec::ExifOrientation 2021-01-15 23:08:46 +00:00
AnimatedImageTest.cpp SkAnimatedImage: Always respect exif orientation 2020-12-21 16:39:12 +00:00
AnnotationTest.cpp
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 Have GrVkRenderTarget only use GrVkAttachments and not derive from GrVkImage. 2021-03-05 20:52:15 +00:00
BackendSurfaceMutableStateTest.cpp Remove SkImage_Base::peekProxy. 2021-02-23 19:59:31 +00:00
BadIcoTest.cpp
BitmapCopyTest.cpp more cleanup after removing volatile from bitmap 2020-07-12 19:37:29 +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 Hide (unused) SkDrawLooper 2021-02-07 12:49:53 +00:00
BRDTest.cpp Move SkBitmapRegionCodec into client_utils/android 2020-05-20 20:06:48 +00:00
BulkRectTest.cpp GrRenderTargetContext->GrSurfaceDrawContext 2020-12-10 18:51:19 +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 Remove support for deprecated kDontClipToLayer_SaveLayerFlag 2020-12-05 00:00:13 +00:00
CanvasTest.cpp Bitmap should use sampling options 2020-12-12 15:36:21 +00:00
ChecksumTest.cpp Revert "restore murmur3 for older iOS devices" 2020-12-02 22:39:01 +00:00
ClearTest.cpp GrSurfaceContext::read/writePixels takes GrPixmap 2020-12-29 16:31:56 +00:00
ClipBoundsTest.cpp GrClips know their device dimensions 2020-06-11 22:41:24 +00:00
ClipCubicTest.cpp use pathbuilder 2020-08-25 16:29:48 +00:00
ClipperTest.cpp Enable ClangTidy flag bugprone-suspicious-string-compare. 2020-08-16 03:54:08 +00:00
ClipStackTest.cpp Revert "Migrate uses of deferred proxies to lazy proxies" 2021-02-10 14:52:53 +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 Migrate to drawImage w/ sampling 2021-01-22 22:38:02 +00:00
ColorFilterTest.cpp impl WorkingFormatCF::getFlags() 2021-02-17 21:25:58 +00:00
ColorMatrixTest.cpp
ColorPrivTest.cpp
ColorSpaceTest.cpp more careful SkColorSpace hash collision detection 2020-08-13 19:25:32 +00:00
ColorTest.cpp
CompressedBackendAllocationTest.cpp Migrate to drawImage w/ sampling 2021-01-22 22:38:02 +00:00
CopySurfaceTest.cpp Make render task targets be just a proxy. 2021-01-21 17:16:06 +00:00
CTest.cpp Enable ClangTidy check modernize-use-nullptr. 2020-08-14 16:14:30 +00:00
CubicMapTest.cpp
DashPathEffectTest.cpp
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 GrSurfaceContext::read/writePixels takes GrPixmap 2020-12-29 16:31:56 +00:00
DeferredDisplayListTest.cpp Reland "Support sharing promise images between DDLs" 2021-03-04 13:10:37 +00:00
DequeTest.cpp
DescriptorTest.cpp
DeviceTest.cpp Use bitmap.asImage() 2020-12-23 17:41:47 +00:00
DiscardableMemoryPoolTest.cpp
DiscardableMemoryTest.cpp Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
DrawBitmapRectTest.cpp filter-quality is deprecated, pass sampling to drawImage 2021-01-28 03:22:51 +00:00
DrawOpAtlasTest.cpp GrRenderTargetContext->GrSurfaceDrawContext 2020-12-10 18:51:19 +00:00
DrawPathTest.cpp
DrawTextTest.cpp
EGLImageTest.cpp Revert "Remove deferred proxy machinery" 2021-02-10 12:28:42 +00:00
EmptyPathTest.cpp
EncodedInfoTest.cpp
EncodeTest.cpp Add GrDirectContext arg to SkImage::readPixels 2020-08-27 19:26:29 +00:00
ExifTest.cpp Parse out the orientation in the SubIFD of EXIF 2020-10-12 13:50:27 +00:00
ExtendedSkColorTypeTests.cpp Take origin when creating/updating backend texture using pixmaps. 2020-12-07 20:31:10 +00:00
F16StagesTest.cpp
FakeStreams.h
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 Hide (unused) SkDrawLooper 2021-02-07 12:49:53 +00:00
Float16Test.cpp
FloatingPointTextureTest.cpp GrSurfaceContext::read/writePixels takes GrPixmap 2020-12-29 16:31:56 +00:00
FontHostStreamTest.cpp
FontHostTest.cpp
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 Make onCreateScalerContext return unique_ptr. 2020-12-28 17:31:09 +00:00
FontNamesTest.cpp
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 Optimize SkChopCubicAt to chop at two points at once 2020-10-26 21:36:25 +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
GpuDrawPathTest.cpp Update unit tests to accept GrDirectContext 2020-07-06 15:45:12 +00:00
GpuRectanizerTest.cpp Reland GrRectanizerPow2 2020-05-19 18:35:13 +00:00
GradientTest.cpp Pass samplingoptions to GrArgs 2020-12-28 21:19:21 +00:00
GrAHardwareBufferTest.cpp drawBitmap is deprecated 2021-01-28 19:37:45 +00:00
GrBlockAllocatorTest.cpp Reland "Add memsets to the GrBlockAllocator unit tests." 2020-11-06 17:23:14 +00:00
GrCCPRTest.cpp Reland "Disable the MSAA atlas mode for CCPR" 2021-01-20 23:16:23 +00:00
GrClipStackTest.cpp GrRenderTargetContext->GrSurfaceDrawContext 2020-12-10 18:51:19 +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
GrMemoryPoolTest.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
GrMeshTest.cpp Remove shims for reordering indirect draw command signatures 2021-02-11 00:19:35 +00:00
GrMipMappedTest.cpp Remove SkImage_Base::peekProxy. 2021-02-23 19:59:31 +00:00
GrOpListFlushTest.cpp filter-quality is deprecated, pass sampling to drawImage 2021-01-28 03:22:51 +00:00
GrPathUtilsTest.cpp Move cubic cusp existence test into GrStrokeHardwareTessellator.cpp 2021-02-24 08:24:53 +00:00
GrPipelineDynamicStateTest.cpp GrSurfaceContext::read/writePixels takes GrPixmap 2020-12-29 16:31:56 +00:00
GrPorterDuffTest.cpp Add unaffectedByDstValue() to GrProcessorSet::Analysis 2020-12-03 20:24:41 +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 Simplify common case for recttorect 2021-01-15 18:37:46 +00:00
GrRenderTaskClusterTest.cpp Fix write-after-read in clustering 2021-01-28 22:46:00 +00:00
GrStyledShapeTest.cpp Simplify common case for recttorect 2021-01-15 18:37:46 +00:00
GrSubmittedFlushTest.cpp Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
GrSurfaceTest.cpp Remove texture idle proc mechanism 2021-02-25 22:23:20 +00:00
GrTBlockListTest.cpp Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +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 Remove public getter for GrSurfaceDrawContext on SkSCanvas. 2020-12-23 16:13:07 +00:00
GrVxTest.cpp Use SIMD to update hw tessellation tolerances 2021-02-25 00:33:48 +00:00
HashTest.cpp Reland "Add support for range-based for loops to SkTHashSet/Map." 2020-12-22 20:53:53 +00:00
HighContrastFilterTest.cpp refactor high-contrast filter 2021-02-23 20:22:07 +00:00
HSVRoundTripTest.cpp
ICCTest.cpp
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 Use bitmap.asImage() 2020-12-23 17:41:47 +00:00
ImageFilterTest.cpp Hide legacy imagefilters::image using filter-quality 2021-02-14 14:58:00 +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 Remove SkImage_Base::peekProxy. 2021-02-23 19:59:31 +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
InsetConvexPolyTest.cpp
InterpolatorTest.cpp move SkTPin to include/private 2020-10-16 19:45:11 +00:00
InvalidIndexedPngTest.cpp
IsClosedSingleContourTest.cpp use pathbuilder 2020-08-25 22:27:20 +00:00
JSONTest.cpp
LazyProxyTest.cpp Make GrGLSLFragmentProcessors be created as std::unique_ptr. 2021-02-23 19:31:01 +00:00
LListTest.cpp
LRUCacheTest.cpp Enable ClangTidy check modernize-make-unique. 2020-08-03 17:53:52 +00:00
M44Test.cpp separate m44 tests 2020-04-16 10:53:37 +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
Matrix44Test.cpp Enable ClangTidy check modernize-use-nullptr. 2020-08-14 16:14:30 +00:00
MatrixClipCollapseTest.cpp
MatrixColorFilterTest.cpp Add flag to hide non-sampling imageshader factories 2020-12-08 20:33:23 +00:00
MatrixTest.cpp Simplify common case for recttorect 2021-01-15 18:37:46 +00:00
MD5Test.cpp
MemoryTest.cpp
MemsetTest.cpp
MessageBusTest.cpp Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
MetaDataTest.cpp
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 Make render task targets be just a proxy. 2021-01-21 17:16:06 +00:00
MultiPictureDocumentTest.cpp filter-quality is deprecated, pass sampling to drawImage 2021-01-28 03:22:51 +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
OctoBoundsTest.cpp Remove "sanity"/"insane" to comply with Android's inclusive language guidance 2020-07-31 19:21:04 +00:00
OffsetSimplePolyTest.cpp
OnceTest.cpp
OnFlushCallbackTest.cpp GrSurfaceContext::read/writePixels takes GrPixmap 2020-12-29 16:31:56 +00:00
OpChainTest.cpp Pass in the color load op to GrProgramInfo. 2020-11-20 16:29:56 +00:00
OSPathTest.cpp
OverAlignedTest.cpp
PaintTest.cpp Don't use filter-quality 2021-01-30 16:09:23 +00:00
ParametricStageTest.cpp
ParseColorTest.cpp Fix SkParse::FindNamedColor OOB 2020-06-17 14:23:14 +00:00
ParsePathTest.cpp
PathBuilderTest.cpp SkPathBuider::addPath() 2021-01-26 03:53:49 +00:00
PathCoverageTest.cpp
PathMeasureTest.cpp Hide shrinkToFit -- not needed now that we have pathbuilder 2020-10-15 19:47:06 +00:00
PathOpsAngleIdeas.cpp Update SkTQSort to use half-open ranges. 2020-07-14 22:13:59 +00:00
PathOpsAngleTest.cpp move SkArenaAlloc reset to its own class 2020-08-07 18:48:53 +00:00
PathOpsAsWindingTest.cpp
PathOpsBattles.cpp
PathOpsBoundsTest.cpp
PathOpsBuilderConicTest.cpp Remove "dummy" to comply with Android's inclusive language guidance 2020-07-31 19:11:23 +00:00
PathOpsBuilderTest.cpp
PathOpsBuildUseTest.cpp
PathOpsChalkboardTest.cpp Fix implicit fallthroughs throughout Skia. 2020-06-11 22:29:53 +00:00
PathOpsConicIntersectionTest.cpp
PathOpsConicLineIntersectionTest.cpp
PathOpsConicQuadIntersectionTest.cpp
PathOpsCubicConicIntersectionTest.cpp
PathOpsCubicIntersectionTest.cpp
PathOpsCubicIntersectionTestData.cpp
PathOpsCubicIntersectionTestData.h
PathOpsCubicLineIntersectionIdeas.cpp
PathOpsCubicLineIntersectionTest.cpp
PathOpsCubicQuadIntersectionTest.cpp
PathOpsCubicReduceOrderTest.cpp
PathOpsDCubicTest.cpp
PathOpsDebug.cpp
PathOpsDebug.h
PathOpsDLineTest.cpp
PathOpsDPointTest.cpp
PathOpsDRectTest.cpp
PathOpsDVectorTest.cpp
PathOpsExtendedTest.cpp Remove RawIter usages from pathops 2020-05-07 19:38:50 +00:00
PathOpsExtendedTest.h
PathOpsFuzz763Test.cpp
PathOpsInverseTest.cpp
PathOpsIssue3651.cpp
PathOpsLineIntersectionTest.cpp
PathOpsLineParametetersTest.cpp
PathOpsOpCircleThreadedTest.cpp
PathOpsOpCubicThreadedTest.cpp
PathOpsOpLoopThreadedTest.cpp
PathOpsOpRectThreadedTest.cpp
PathOpsOpTest.cpp Enable ClangTidy check modernize-use-nullptr. 2020-08-14 16:14:30 +00:00
PathOpsQuadIntersectionTest.cpp
PathOpsQuadIntersectionTestData.cpp
PathOpsQuadIntersectionTestData.h
PathOpsQuadLineIntersectionTest.cpp
PathOpsQuadLineIntersectionThreadedTest.cpp
PathOpsQuadReduceOrderTest.cpp
PathOpsSimplifyDegenerateThreadedTest.cpp
PathOpsSimplifyFailTest.cpp
PathOpsSimplifyQuadralateralsThreadedTest.cpp
PathOpsSimplifyQuadThreadedTest.cpp
PathOpsSimplifyRectThreadedTest.cpp
PathOpsSimplifyTest.cpp
PathOpsSimplifyTrianglesThreadedTest.cpp
PathOpsSkpTest.cpp
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 whole-word replace renderTargetContext with surfaceDrawContext 2020-12-11 23:24:40 +00:00
PathTest.cpp Simplify isconvex 2021-02-01 18:28:09 +00:00
PDFDeflateWStreamTest.cpp
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 Move deprecated image filter headers out of include/ and into src/ 2021-01-28 00:41:21 +00:00
PDFTaggedLinkTest.cpp
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
PictureShaderTest.cpp Cache image behind picture-shader 2021-03-04 20:48:30 +00:00
PictureTest.cpp Update bad_bitmap test 2021-01-28 17:10:19 +00:00
PinnedImageTest.cpp Reland "Remove SkImage_Base::refPinnedImage(), use refView() instead." 2021-02-01 21:06:26 +00:00
PixelRefTest.cpp
Point3Test.cpp
PointTest.cpp
PolyUtilsTest.cpp
PremulAlphaRoundTripTest.cpp Bitmap.asImage() 2020-12-23 15:54:57 +00:00
PrimitiveProcessorTest.cpp how to use SkArenaAlloc with no friends 2020-12-15 01:23:18 +00:00
ProcessorTest.cpp Make GrGLSLFragmentProcessors be created as std::unique_ptr. 2021-02-23 19:31:01 +00:00
ProgramsTest.cpp Make GrGLSLFragmentProcessors be created as std::unique_ptr. 2021-02-23 19:31:01 +00:00
PromiseImageTest.cpp Change PromiseImage API to take GrContextThreadSafeProxy 2021-02-19 21:52:59 +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 Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +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 Consistently fail readPixels when rowbytes not a multiple of bpp 2021-02-01 21:31:58 +00:00
ReadWritePixelsGpuTest.cpp Consistently fail readPixels when rowbytes not a multiple of bpp 2021-02-01 21:31:58 +00:00
RecordDrawTest.cpp remove dead code from old drawimage virtuals 2021-01-21 01:26:15 +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 remove (unused) clipmask from savelayer 2020-06-15 14:26:44 +00:00
RecordPatternTest.cpp
RecordTest.cpp
RecordTestUtils.h
RectangleTextureTest.cpp Make render task targets be just a proxy. 2021-01-21 17:16:06 +00:00
RectTest.cpp Add halfWidth/halfHeight functions to SkRectPriv 2020-12-22 20:42:43 +00:00
RefCntTest.cpp Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
RegionTest.cpp
RenderTargetContextTest.cpp Reland "Write pixels goes through GrRenderTask system." 2021-01-26 21:18:35 +00:00
RepeatedClippedBlurTest.cpp filter-quality is deprecated, pass sampling to drawImage 2021-01-28 03:22:51 +00:00
ResourceAllocatorTest.cpp Remove the partial-flush machinery from GrResourceAllocator 2021-02-11 23:35:39 +00:00
ResourceCacheTest.cpp Reland "Only store resources in the GrResourceCache::fScratchMap that are available to be scratch." 2021-02-10 14:54:29 +00:00
RoundRectTest.cpp Fix SkRRect::ConservativeIntersect when inputs share corner 2020-09-08 21:01:16 +00:00
RRectInPathTest.cpp Revert "Revert "move onto new factories for SkMatrix"" 2020-05-21 16:58:39 +00:00
RTreeTest.cpp
SafeMathTest.cpp
SamplePatternDictionaryTest.cpp
SamplingTest.cpp Don't use sprite-blit if cubic sampling 2020-12-21 16:10:42 +00:00
ScalarTest.cpp
ScaleToSidesTest.cpp don't use out of range float values in the test 2020-08-11 23:33:00 +00:00
SerializationTest.cpp filter-quality is deprecated, pass sampling to drawImage 2021-01-28 03:22:51 +00:00
SerialProcsTest.cpp filter-quality is deprecated, pass sampling to drawImage 2021-01-28 03:22:51 +00:00
ShaderImageFilterTest.cpp Add SkImageFilters::Shader in place of Paint factory 2020-10-08 22:51:13 +00:00
ShaderOpacityTest.cpp Bitmap should use sampling options 2020-12-12 15:36:21 +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
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
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
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 Fix implicit fallthroughs throughout Skia. 2020-06-11 22:29:53 +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
SkRemoteGlyphCacheTest.cpp Reland "rename GrSDFTOptions to GrSDFTControl" 2021-03-05 15:24:35 +00:00
SkResourceCacheTest.cpp filter-quality is deprecated, pass sampling to drawImage 2021-01-28 03:22:51 +00:00
SkRuntimeEffectTest.cpp Revert "Disable control-flow analysis in SkSL. (Performance experiment)" 2021-03-04 15:20:09 +00:00
SkScalerCacheTest.cpp Reland "direct mask biased to (0,0)" 2020-05-18 15:58:37 +00:00
SkShaperJSONWriterTest.cpp remove SkMakeSpan use ctor parameter deduction 2020-10-02 01:41:03 +00:00
SkSharedMutexTest.cpp Revert "replace SkSharedMutex" 2020-04-29 18:50:39 +00:00
SkSLCross.cpp Make GrGLSLFragmentProcessors be created as std::unique_ptr. 2021-02-23 19:31:01 +00:00
SkSLDSLErrorLineNumbers.cpp Made SkSL DSL into public API 2021-03-04 21:03:58 +00:00
SkSLDSLTest.cpp Optimize Swizzles inside Swizzle::Make. 2021-03-05 20:09:55 +00:00
SkSLFPTestbed.cpp Move ProgramKind and ProgramSettings types out of SkSL::Program. 2021-02-16 19:30:48 +00:00
SkSLGLSLTestbed.cpp Move ProgramKind and ProgramSettings types out of SkSL::Program. 2021-02-16 19:30:48 +00:00
SkSLInterpreterTest.cpp Move ProgramKind and ProgramSettings types out of SkSL::Program. 2021-02-16 19:30:48 +00:00
SkSLMemoryLayoutTest.cpp Move shader caps into SkSL context. 2021-02-24 20:00:54 +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 Optimize ternary tests that check a const variable. 2021-03-05 21:41:05 +00:00
SkStrikeCacheTest.cpp
SkUTFTest.cpp
SkVMTest.cpp add fast_mul(F32,F32) 2021-02-11 01:13:01 +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 SpecialImage draw takes sampling, not filter-quality 2021-01-23 03:41:52 +00:00
SpecialSurfaceTest.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
SrcOverTest.cpp
SrcSrcOverBatchTest.cpp Update unit tests to accept GrDirectContext 2020-07-06 15:45:12 +00:00
SRGBReadWritePixelsTest.cpp Reland "Write pixels goes through GrRenderTask system." 2021-01-26 21:18:35 +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
StrokeIndirectTest.cpp Use SIMD to update hw tessellation tolerances 2021-02-25 00:33:48 +00:00
StrokerTest.cpp
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
SurfaceSemaphoreTest.cpp Copy on write for wrapped backend texture surfaces. 2021-03-05 19:50:05 +00:00
SurfaceTest.cpp Remove SkImage_Base::peekProxy. 2021-02-23 19:59:31 +00:00
SVGDeviceTest.cpp Use explicit sampling param 2020-12-10 14:01:58 +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 Remove "dummy" to comply with Android's inclusive language guidance 2020-07-31 19:11:23 +00:00
TemplatesTest.cpp Fix data() method and add unit test. 2020-10-07 13:46:50 +00:00
Test.cpp
Test.h Run the Programs unit test on all rendering backends 2021-02-18 17:40:58 +00:00
TestTest.cpp Clean up some GrContext in tests 2020-07-20 13:09:51 +00:00
TestUtils.cpp Make render task targets be just a proxy. 2021-01-21 17:16:06 +00:00
TestUtils.h Make render task targets be just a proxy. 2021-01-21 17:16:06 +00:00
TextBlobCacheTest.cpp Bitmap.asImage() 2020-12-23 15:54:57 +00:00
TextBlobTest.cpp Make TextBlob 'Text' allocators public. 2021-02-24 18:48:44 +00:00
TextureBindingsResetTest.cpp Work on hiding filter-quality 2020-12-23 17:05:17 +00:00
TextureOpTest.cpp replace GrOpMemoryPool with GrMemoryPool 2020-10-27 16:15:11 +00:00
TextureProxyTest.cpp Have GrVkRenderTarget only use GrVkAttachments and not derive from GrVkImage. 2021-03-05 20:52:15 +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 GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
TracingTest.cpp Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
TransferPixelsTest.cpp Pass sk_sps through the GrGpu transferPixels* calls. 2021-02-01 21:46:28 +00:00
TriangulatingPathRendererTests.cpp Make GrTriangulator immutable 2021-01-28 02:38:51 +00:00
TypefaceMacTest.cpp Reland "Reland "Test mac system font variations."" 2021-02-22 18:48:49 +00:00
TypefaceTest.cpp Use current variation position in cloning typeface. 2021-02-16 18:06:19 +00:00
UnicodeTest.cpp
UtilsTest.cpp remove SkMakeSpan use ctor parameter deduction 2020-10-02 01:41:03 +00:00
VerticesTest.cpp Enable ClangTidy flag bugprone-suspicious-string-compare. 2020-08-16 03:54:08 +00:00
VkBackendSurfaceTest.cpp Remove SkImage_Base::peekProxy. 2021-02-23 19:59:31 +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
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 Improve conic Wang's formula correctness tests 2021-02-08 17:49:24 +00:00
WebpTest.cpp Bitmap.asImage() 2020-12-23 15:54:57 +00:00
WindowRectanglesTest.cpp
WrappedSurfaceCopyOnWriteTest.cpp Copy on write for wrapped backend texture surfaces. 2021-03-05 19:50:05 +00:00
WritePixelsTest.cpp Bitmap.asImage() 2020-12-23 15:54:57 +00:00
Writer32Test.cpp Remove SkReader32, and some API from SkWriter32 2020-06-10 16:45:56 +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