skia2/tests
John Stiles 1b27c3d7a3 Check array bounds when a constant array index is used.
This sort of error would be detected by most backend compilers. This
case was also detected by the bytecode generator. It's easy for us to do
a similar check during SkSL IR generation and report the error sooner.

Also, `convertIndex` had migrated a few hundred lines away from
`convertIndexExpression`, so I moved it back to live next to its parent.

Change-Id: I715d3abf42581782b55ba60df30d0296355667d4
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/341377
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2020-12-07 18:17:30 +00:00
..
sksl Check array bounds when a constant array index is used. 2020-12-07 18:17:30 +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 Reland "SkAndroidCodec: Support decoding all frames" 2020-11-16 16:55:48 +00:00
AnimatedImageTest.cpp SkAnimatedImage: Reject invalid crops 2020-11-12 20:24:21 +00:00
AnnotationTest.cpp IWYU for tests A-D. 2019-05-07 14:24:15 +00:00
ApplyGammaTest.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
ArenaAllocTest.cpp replace std::aligned_storage 2020-11-10 14:47:36 +00:00
AsADashTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
BackendAllocationTest.cpp Migrate away for heuristics for bicubic filtering 2020-11-19 18:12:04 +00:00
BackendSurfaceMutableStateTest.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
BadIcoTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
BitmapCopyTest.cpp more cleanup after removing volatile from bitmap 2020-07-12 19:37:29 +00:00
BitmapGetColorTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
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 rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
BlurTest.cpp Make small epsilons more rigorous for gpu gaussian blurs 2020-10-21 17:37:12 +00:00
BRDTest.cpp Move SkBitmapRegionCodec into client_utils/android 2020-05-20 20:06:48 +00:00
BulkRectTest.cpp Remove GrRenderTargetContextPriv and GrSurfaceContextPriv 2020-11-30 20:13:25 +00:00
CachedDataTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
CachedDecodingPixelRefTest.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +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 Revert "make quickReject treat empty rects and paths the same" 2020-11-12 16:10:39 +00:00
ChecksumTest.cpp Revert "restore murmur3 for older iOS devices" 2020-12-02 22:39:01 +00:00
ClearTest.cpp Fix bug in GrClearOp combining and remove some asserts (take 2) 2020-12-03 13:40:05 +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 Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +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 Enable ClangTidy flag bugprone-suspicious-string-compare. 2020-08-16 03:54:08 +00:00
CodecPriv.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
CodecRecommendedTypeTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
CodecTest.cpp Reland "SkAndroidCodec: Support decoding all frames" 2020-11-16 16:55:48 +00:00
ColorFilterTest.cpp Remove arbitrary limit on number of composed color filters 2020-03-27 15:01:32 +00:00
ColorMatrixTest.cpp IWYU for tests A-D. 2019-05-07 14:24:15 +00:00
ColorPrivTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
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 Migrate away for heuristics for bicubic filtering 2020-11-19 18:12:04 +00:00
CopySurfaceTest.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +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
DashPathEffectTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +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 Remove GrSurfaceContext::flush calls ... 2020-11-12 15:33:07 +00:00
DeferredDisplayListTest.cpp Simplify promise image callbacks. 2020-11-10 02:47:56 +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 Almost remove GrContext 2020-10-20 15:52:01 +00:00
DiscardableMemoryPoolTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
DiscardableMemoryTest.cpp Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
DrawBitmapRectTest.cpp IWYU for tests A-D. 2019-05-07 14:24:15 +00:00
DrawOpAtlasTest.cpp Pass in the color load op to GrProgramInfo. 2020-11-20 16:29:56 +00:00
DrawPathTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
DrawTextTest.cpp IWYU for tests A-D. 2019-05-07 14:24:15 +00:00
EGLImageTest.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
EmptyPathTest.cpp Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
EncodedInfoTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
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 Add GrDirectContext arg to SkImage::readPixels 2020-08-27 19:26:29 +00:00
F16StagesTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
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 rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
FlattenableFactoryToName.cpp Update tests to use new image filter factories 2019-08-05 15:15:45 +00:00
FlattenableNameToFactory.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
FlattenDrawableTest.cpp Move impl into SkColorFilterBase 2020-06-25 00:26:11 +00:00
Float16Test.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
FloatingPointTextureTest.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
FontHostStreamTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
FontHostTest.cpp add copytable method to typefaces 2019-07-24 19:20:46 +00:00
FontMgrAndroidParserTest.cpp Enable ClangTidy check readability-redundant-smartptr-get. 2020-08-16 15:56:48 +00:00
FontMgrFontConfigTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
FontMgrTest.cpp Add SkTypeface::getPostScriptName. 2020-10-06 15:35:06 +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 Optimize SkChopCubicAt to chop at two points at once 2020-10-26 21:36:25 +00:00
GifTest.cpp Expose more info in SkCodec::FrameInfo 2020-12-02 22:37:20 +00:00
GLBackendSurfaceTest.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
GlyphRunTest.cpp Use SkFontHinting instead of macros. 2019-05-08 12:16:37 +00:00
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 Fix color stop positions when computing degenerate gradient color 2020-11-19 20:13:20 +00:00
GrAHardwareBufferTest.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
GrBlockAllocatorTest.cpp Reland "Add memsets to the GrBlockAllocator unit tests." 2020-11-06 17:23:14 +00:00
GrCCPRTest.cpp Remove GrRenderTargetContextPriv and GrSurfaceContextPriv 2020-11-30 20:13:25 +00:00
GrClipStackTest.cpp Stop overflow of windows rects in GrClipStack 2020-11-30 18:12:24 +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 Remove unused factories that take characterizations. 2020-08-26 21:29:44 +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 Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
GrMeshTest.cpp Remove GrRenderTargetContextPriv and GrSurfaceContextPriv 2020-11-30 20:13:25 +00:00
GrMipMappedTest.cpp Make ManagedBackendTexture fail on invalid GrBackendTexture 2020-11-05 20:21:14 +00:00
GrOpListFlushTest.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
GrPathUtilsTest.cpp Add cusp detection to GrPathUtils::findCubicConvex180Chops 2020-11-24 16:57:27 +00:00
GrPipelineDynamicStateTest.cpp Remove GrRenderTargetContextPriv and GrSurfaceContextPriv 2020-11-30 20:13:25 +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 Revert "Revert "move onto new factories for SkMatrix"" 2020-05-21 16:58:39 +00:00
GrStyledShapeTest.cpp Don't simplify a stroked shape if it isn't closed 2020-09-18 16:20:59 +00:00
GrSubmittedFlushTest.cpp Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
GrSurfaceTest.cpp Simplify promise image callbacks. 2020-11-10 02:47:56 +00:00
GrTBlockListTest.cpp Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
GrTextBlobTest.cpp test for extents of SkTextBlob drawing 2020-11-06 16:29:14 +00:00
GrTextureMipMapInvalidationTest.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
GrThreadSafeCacheTest.cpp Remove GrRenderTargetContextPriv and GrSurfaceContextPriv 2020-11-30 20:13:25 +00:00
GrUploadPixelsTests.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
GrVxTest.cpp Simplify grvx::approx_angle_between_vectors signature 2020-12-01 16:16:42 +00:00
HashTest.cpp Implement assignment and copy-construction for SkTHashSet/Map. 2020-10-08 16:05:52 +00:00
HighContrastFilterTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
HSVRoundTripTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
ICCTest.cpp Move skcms.h to include/third_party/skcms 2019-04-29 15:02:45 +00:00
ImageBitmapTest.cpp Tests: re-sort gni, file name convention 2019-05-04 02:17:09 +00:00
ImageCacheTest.cpp Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
ImageFilterCacheTest.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
ImageFilterTest.cpp Add SkImageFilters::Blend rename for Xfermode filter 2020-10-13 14:28:26 +00:00
ImageFrom565Bitmap.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
ImageGeneratorTest.cpp Split SkYUVAInfo::PlanarConfig into PlaneConfig and Subsampling enums 2020-11-11 22:42:36 +00:00
ImageIsOpaqueTest.cpp Update unit tests to accept GrDirectContext 2020-07-06 15:45:12 +00:00
ImageNewShaderTest.cpp Add GrDirectContext arg to SkImage::readPixels 2020-08-27 19:26:29 +00:00
ImageTest.cpp fix test to use new api 2020-11-24 14:58:25 +00:00
IncrTopoSortTest.cpp Update SkTQSort to use half-open ranges. 2020-07-14 22:13:59 +00:00
IndexedPngOverflowTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
InfRectTest.cpp more rect api simplifications 2019-08-25 10:12:57 +00:00
InsetConvexPolyTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
InterpolatorTest.cpp move SkTPin to include/private 2020-10-16 19:45:11 +00:00
InvalidIndexedPngTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
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
LayerDrawLooperTest.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
LazyProxyTest.cpp Remove GrRenderTargetContextPriv and GrSurfaceContextPriv 2020-11-30 20:13:25 +00:00
LListTest.cpp Move ccpr headers for display list out of include/private. 2019-05-20 14:50:56 +00:00
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 rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
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 Remove SkMin32/SkMax32 2020-02-06 17:31:51 +00:00
MatrixColorFilterTest.cpp Update unit tests to accept GrDirectContext 2020-07-06 15:45:12 +00:00
MatrixTest.cpp Add rc accessor method to SkMatrix. 2020-09-22 21:32:20 +00:00
MD5Test.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
MemoryTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
MemsetTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
MessageBusTest.cpp Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
MetaDataTest.cpp re-run tools/rewrite_includes.py 2019-07-25 15:40:33 +00:00
MipMapTest.cpp move SkMipmapBuilder to private 2020-11-30 20:13:15 +00:00
MtlBackendAllocationTest.mm Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
MtlCopySurfaceTest.mm Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
MultiPictureDocumentTest.cpp remove DrawPictureMode enum 2020-08-24 17:52:33 +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
OctoBoundsTest.cpp Remove "sanity"/"insane" to comply with Android's inclusive language guidance 2020-07-31 19:21:04 +00:00
OffsetSimplePolyTest.cpp More polyutils fixes 2019-05-01 18:02:05 +00:00
OnceTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
OnFlushCallbackTest.cpp Remove GrRenderTargetContextPriv and GrSurfaceContextPriv 2020-11-30 20:13:25 +00:00
OpChainTest.cpp Pass in the color load op to GrProgramInfo. 2020-11-20 16:29:56 +00:00
OSPathTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
OverAlignedTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PackBitsTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PackedConfigsTextureTest.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
PaintTest.cpp Remove SkMaxScalar and SkMinScalar 2020-02-06 15:43:22 +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 Implement SkPathBuilder(SkPathFillType) 2020-11-04 18:17:23 +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 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 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 rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsConicLineIntersectionTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsConicQuadIntersectionTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsCubicConicIntersectionTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsCubicIntersectionTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsCubicIntersectionTestData.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsCubicIntersectionTestData.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsCubicLineIntersectionIdeas.cpp Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
PathOpsCubicLineIntersectionTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsCubicQuadIntersectionTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsCubicReduceOrderTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsDCubicTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsDebug.cpp Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
PathOpsDebug.h mark tests flaky for pathkit 2018-08-27 20:35:15 +00:00
PathOpsDLineTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsDPointTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsDRectTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsDVectorTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsExtendedTest.cpp Remove RawIter usages from pathops 2020-05-07 19:38:50 +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 Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
PathOpsLineParametetersTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
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 Enable ClangTidy check modernize-use-nullptr. 2020-08-14 16:14:30 +00:00
PathOpsQuadIntersectionTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsQuadIntersectionTestData.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsQuadIntersectionTestData.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsQuadLineIntersectionTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsQuadLineIntersectionThreadedTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsQuadReduceOrderTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
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 rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsThreadedCommon.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsThreadedCommon.h Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
PathOpsThreeWayTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsTigerTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsTightBoundsTest.cpp Include the SkTSort header only where it is used. 2020-07-14 14:19:06 +00:00
PathOpsTSectDebug.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsTypesTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathRendererCacheTests.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
PathTest.cpp work on better SkPath::dump 2020-12-06 19:47:31 +00:00
PDFDeflateWStreamTest.cpp Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
PDFDocumentTest.cpp Fix -Wstring-concatenation warnings in clang 12 2020-08-21 17:17:50 +00:00
PDFGlyphsToUnicodeTest.cpp Remove accidentally repeated bit-index expression. 2020-10-07 17:20:01 +00:00
PDFJpegEmbedTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PDFMetadataAttributeTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PDFOpaqueSrcModeToSrcOverTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PDFPrimitivesTest.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +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 Get rid of deprecated API to add children to PDF tag nodes. 2020-06-18 13:57:23 +00:00
PictureBBHTest.cpp make SkBBH a public interface 2020-02-12 16:31:05 +00:00
PictureShaderTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PictureTest.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
PinnedImageTest.cpp Update more tests to use the GrDirectContext/GrRecordingContext pair 2020-07-27 15:08:31 +00:00
PixelRefTest.cpp Prevent unbounded listener growth on SkPixelRefs. 2020-03-02 22:32:09 +00:00
Point3Test.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PointTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PolyUtilsTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PremulAlphaRoundTripTest.cpp Clean up some GrContext in tests 2020-07-20 13:09:51 +00:00
PrimitiveProcessorTest.cpp Remove GrRenderTargetContextPriv and GrSurfaceContextPriv 2020-11-30 20:13:25 +00:00
ProcessorTest.cpp Remove GrRenderTargetContextPriv and GrSurfaceContextPriv 2020-11-30 20:13:25 +00:00
ProgramsTest.cpp Remove GrRenderTargetContextPriv and GrSurfaceContextPriv 2020-11-30 20:13:25 +00:00
PromiseImageTest.cpp Simplify promise image callbacks. 2020-11-10 02:47:56 +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 Revert "Revert "move onto new factories for SkMatrix"" 2020-05-21 16:58:39 +00:00
RandomTest.cpp Update SkTQSort to use half-open ranges. 2020-07-14 22:13:59 +00:00
ReadPixelsTest.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
ReadWriteAlphaTest.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
RecordDrawTest.cpp deprecate getTotalMatrix 2020-12-03 17:37:35 +00:00
RecorderTest.cpp Clamp really big recording bounds to safe ints 2020-11-25 20:07:57 +00:00
RecordingXfermodeTest.cpp Enable ClangTidy flag bugprone-suspicious-string-compare. 2020-08-16 03:54:08 +00:00
RecordOptsTest.cpp remove (unused) clipmask from savelayer 2020-06-15 14:26:44 +00:00
RecordPatternTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
RecordTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
RecordTestUtils.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
RectangleTextureTest.cpp Remove GrRenderTargetContextPriv and GrSurfaceContextPriv 2020-11-30 20:13:25 +00:00
RectTest.cpp Add rect subtraction utility function+tests 2020-04-15 21:44:36 +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
RenderTargetContextTest.cpp Remove GrRenderTargetContextPriv and GrSurfaceContextPriv 2020-11-30 20:13:25 +00:00
RepeatedClippedBlurTest.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
ResourceAllocatorTest.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
ResourceCacheTest.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +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 make SkBBH a public interface 2020-02-12 16:31:05 +00:00
SafeMathTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SamplePatternDictionaryTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +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 Add SkImageFilters::Blend rename for Xfermode filter 2020-10-13 14:28:26 +00:00
SerialProcsTest.cpp Enable ClangTidy flag bugprone-suspicious-string-compare. 2020-08-16 03:54:08 +00:00
ShaderImageFilterTest.cpp Add SkImageFilters::Shader in place of Paint factory 2020-10-08 22:51:13 +00:00
ShaderOpacityTest.cpp hide legacy scalePixels and makeShader 2020-11-24 00:41:33 +00:00
ShaderTest.cpp Revert "Revert "move onto new factories for SkMatrix"" 2020-05-21 16:58:39 +00:00
ShadowTest.cpp Improve SkVerticesPriv ergonomics 2020-03-31 16:10:07 +00:00
ShaperTest.cpp Enable ClangTidy check modernize-make-unique. 2020-08-03 17:53:52 +00:00
SizeTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkBase64Test.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
Skbug5221.cpp Update unit tests to accept GrDirectContext 2020-07-06 15:45:12 +00:00
Skbug6389.cpp Update tests to use new image filter factories 2019-08-05 15:15:45 +00:00
Skbug6653.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
SkColor4fTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkColorSpaceXformStepsTest.cpp Fix range-based for loops which copy the loop variable unnecessarily. 2020-07-31 01:02:21 +00:00
SkDOMTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkFixed15Test.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkGaussFilterTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
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 rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +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 work around GCC false positive warning? 2019-12-04 17:07:46 +00:00
SkRemoteGlyphCacheTest.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
SkResourceCacheTest.cpp Fix bug in SkMipmapCache::AddAndRef factory selection. 2020-08-07 16:42:37 +00:00
SkRuntimeEffectTest.cpp Runtime effects: Fix error when mutating main's coords 2020-11-11 16:56:25 +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 Remove GrRenderTargetContextPriv and GrSurfaceContextPriv 2020-11-30 20:13:25 +00:00
SkSLFPTestbed.cpp Move GrShaderCaps from Program::Settings to Compiler 2020-11-04 19:38:33 +00:00
SkSLGLSLTestbed.cpp Convert remaining Metal tests to golden outputs. 2020-11-16 16:32:56 +00:00
SkSLInterpreterTest.cpp Check array bounds when a constant array index is used. 2020-12-07 18:17:30 +00:00
SkSLMemoryLayoutTest.cpp Revamped handling of SkSL node kinds 2020-09-08 15:00:10 +00:00
SkSLMetalTestbed.cpp Convert remaining Metal tests to golden outputs. 2020-11-16 16:32:56 +00:00
SkSLSPIRVTestbed.cpp Migrate dedicated SPIR-V tests to golden outputs. 2020-11-30 15:05:54 +00:00
SkStrikeCacheTest.cpp Check fullness and purge on every strike lookup 2020-03-16 19:59:56 +00:00
SkUTFTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkVMTest.cpp add missing unit test for 128-bit ops 2020-12-03 22:25: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 Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
SpecialSurfaceTest.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +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 Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +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 Enable ClangTidy check performance-unnecessary-copy-initialization. 2020-08-07 22:20:36 +00:00
StrokerTest.cpp Remove SkTMin and SkTMax 2020-02-07 18:40:09 +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 rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SurfaceSemaphoreTest.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
SurfaceTest.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
SVGDeviceTest.cpp [svgdevice] Handle text path effects 2020-03-13 16:19:06 +00:00
SwizzlerTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
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 rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
Test.h Add GrStagingBufferManager and use GrGpuBuffers to manage caching. 2020-07-15 14:17:50 +00:00
TestTest.cpp Clean up some GrContext in tests 2020-07-20 13:09:51 +00:00
TestUtils.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
TestUtils.h Revert "Reland "Revert "Use ManagedBackendTexture in place of TestUtils backend texture helpers.""" 2020-10-13 01:22:13 +00:00
TextBlobCacheTest.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
TextBlobTest.cpp Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
TextureBindingsResetTest.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
TextureOpTest.cpp replace GrOpMemoryPool with GrMemoryPool 2020-10-27 16:15:11 +00:00
TextureProxyTest.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
TextureStripAtlasManagerTest.cpp Update unit tests to accept GrDirectContext 2020-07-06 15:45:12 +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 GrMipMapped boolean down to GrResourceProvider::createTexture 2020-12-07 18:08:29 +00:00
TriangulatingPathRendererTests.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
TypefaceTest.cpp Fix DWrite axis design parameters. 2020-12-01 15:00:33 +00:00
UnicodeTest.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
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 Revert "Reland "Revert "Use ManagedBackendTexture in place of TestUtils backend texture helpers.""" 2020-10-13 01:22:13 +00:00
VkDrawableTest.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
VkHardwareBufferTest.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
VkPriorityExtensionTest.cpp Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
VkProtectedContextTest.cpp Use BackendSurfaceFactory in Vk protected unit tests. 2020-10-09 17:54:03 +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 Add test for quadratic Wang's formula 2020-12-02 20:50:27 +00:00
WindowRectanglesTest.cpp work around GCC 8 mips release bug? 2019-12-04 21:14:13 +00:00
WritePixelsTest.cpp Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +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 Split SkYUVAInfo::PlanarConfig into PlaneConfig and Subsampling enums 2020-11-11 22:42:36 +00:00