skia2/tests
Mike Klein 7b3999edcb convert to phi nodes
Convert our n+args stack homes to phi nodes,
essentially performing mem2reg ourselves,
eliminating the need for it at runtime.

Also, use b.getInt64(k) to create integer constants.

Also, print verifyModule() errors to stdout (instead of nowhere).

Also, update unit test to make sure we don't run off the end.

Bitcode still looks good:
    define void @skvm-jit-211960346(i64, i8*) {
    enter:
      br label %testK

    testK:                                            ; preds = %loopK, %enter
      %2 = phi i64 [ %0, %enter ], [ %6, %loopK ]
      %3 = phi i8* [ %1, %enter ], [ %7, %loopK ]
      %4 = icmp uge i64 %2, 16
      br i1 %4, label %loopK, label %test1

    loopK:                                            ; preds = %testK
      %5 = bitcast i8* %3 to <16 x i32>*
      store <16 x i32> <i32 42, i32 42, i32 42, i32 42, i32 42, i32 42, i32 42, i32 42, i32 42, i32 42, i32 42, i32 42, i32 42, i32 42, i32 42, i32 42>, <16 x i32>* %5, align 1
      %6 = sub i64 %2, 16
      %7 = getelementptr i8, i8* %3, i64 64
      br label %testK

    test1:                                            ; preds = %loop1, %testK
      %8 = phi i64 [ %2, %testK ], [ %12, %loop1 ]
      %9 = phi i8* [ %3, %testK ], [ %13, %loop1 ]
      %10 = icmp uge i64 %8, 1
      br i1 %10, label %loop1, label %leave

    loop1:                                            ; preds = %test1
      %11 = bitcast i8* %9 to i32*
      store i32 42, i32* %11, align 1
      %12 = sub i64 %8, 1
      %13 = getelementptr i8, i8* %9, i64 4
      br label %test1

    leave:                                            ; preds = %test1
      ret void
    }

and the final assembly looks the same:

    0x10a3f5000: movabsq $0x10a3f6000, %rax        ; imm = 0x10A3F6000
    0x10a3f500a: vbroadcastss (%rax), %zmm0
    0x10a3f5010: cmpq   $0xf, %rdi
    0x10a3f5014: jbe    0x10a3f504d
    0x10a3f5016: nopw   %cs:(%rax,%rax)
    0x10a3f5020: vmovups %zmm0, (%rsi)
    0x10a3f5026: addq   $-0x10, %rdi
    0x10a3f502a: addq   $0x40, %rsi
    0x10a3f502e: cmpq   $0xf, %rdi
    0x10a3f5032: ja     0x10a3f5020
    0x10a3f5034: jmp    0x10a3f504d
    0x10a3f5036: nopw   %cs:(%rax,%rax)
    0x10a3f5040: movl   $0x2a, (%rsi)
    0x10a3f5046: decq   %rdi
    0x10a3f5049: addq   $0x4, %rsi
    0x10a3f504d: testq  %rdi, %rdi
    0x10a3f5050: jne    0x10a3f5040
    0x10a3f5052: vzeroupper
    0x10a3f5055: retq

Change-Id: I12d11c7d5786c4c3df28a49bb3044be10f0770e0
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/273753
Reviewed-by: Mike Klein <mtklein@google.com>
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2020-02-27 17:04:05 +00:00
..
AAClipTest.cpp more rect api simplifications 2019-08-25 10:12:57 +00:00
AdvancedBlendTest.cpp Make GrBlend.h private 2019-08-15 13:34:57 +00:00
AndroidCodecTest.cpp DCI-P3 -> Display P3 in Skia 2020-01-16 21:24:16 +00:00
AnimatedImageTest.cpp IWYU for tests A-D. 2019-05-07 14:24:15 +00:00
AnnotationTest.cpp IWYU for tests A-D. 2019-05-07 14:24:15 +00:00
ApplyGammaTest.cpp Remove GrSurfaceDesc 2020-02-07 19:48:13 +00:00
ArenaAllocTest.cpp Move ccpr headers for display list out of include/private. 2019-05-20 14:50:56 +00:00
AsADashTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
BackendAllocationTest.cpp Start adding D3D backend 2020-02-18 20:14:15 +00:00
BadIcoTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
BitmapCopyTest.cpp Reland "Reland "SkSurface asynchronous read APIs allow client to extend pixel lifetime"" 2019-10-03 19:14:22 +00:00
BitmapGetColorTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
BitmapTest.cpp Make SkImageInfo::validRowBytes consider alignment 2020-01-22 16:40:34 +00:00
BitSetTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
BlendTest.cpp Remove GrSurfaceDesc 2020-02-07 19:48:13 +00:00
BlitMaskClip.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
BlurTest.cpp Remove SkClampMax 2020-02-06 19:49:53 +00:00
BulkRectTest.cpp Remove origin from GrSurfaceProxy. 2020-02-14 16:52:58 +00:00
CachedDataTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
CachedDecodingPixelRefTest.cpp use std::make_unique 2019-12-12 22:32:45 +00:00
CanvasStateHelpers.cpp Match CanvasStateHelpers.cpp change in Android repo 2019-08-30 13:49:11 +00:00
CanvasStateHelpers.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
CanvasStateTest.cpp update test to allow dumping images 2019-09-03 17:48:15 +00:00
CanvasTest.cpp Make SkImageInfo::validRowBytes consider alignment 2020-01-22 16:40:34 +00:00
ChecksumTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
ClearTest.cpp Reland "Move makeDeferredRenderTargetContext calls to factory on RTC." 2020-01-08 19:13:14 +00:00
ClipBoundsTest.cpp IWYU for tests A-D. 2019-05-07 14:24:15 +00:00
ClipCubicTest.cpp Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
ClipperTest.cpp IWYU for tests A-D. 2019-05-07 14:24:15 +00:00
ClipStackTest.cpp Update GrClipStackClip and GrDeviceSpaceTextureDecalFP to use views. 2020-02-11 15:23:37 +00:00
CodecAnimTest.cpp use std::make_unique 2019-12-12 22:32:45 +00:00
CodecExactReadTest.cpp use std::make_unique 2019-12-12 22:32:45 +00:00
CodecPartialTest.cpp Remove SkTMin and SkTMax 2020-02-07 18:40:09 +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 Allow decoding without color conversion - part 2 2020-02-07 19:24:33 +00:00
ColorFilterTest.cpp stage naming change in colorfilter 2019-04-26 01:52:53 +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 DCI-P3 -> Display P3 in Skia 2020-01-16 21:24:16 +00:00
ColorTest.cpp IWYU for tests A-D. 2019-05-07 14:24:15 +00:00
CompressedBackendAllocationTest.cpp Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
CopySurfaceTest.cpp Update copy and blitTexture calls to not query origin off of proxies. 2020-02-10 16:19:49 +00:00
CTest.cpp IWYU for tests A-D. 2019-05-07 14:24:15 +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 test data.equals with empty 2020-02-17 17:53:49 +00:00
DebugLayerManagerTest.cpp Parse android layer annotations in debugger, play back layers 2019-12-12 16:32:44 +00:00
DefaultPathRendererTest.cpp Reland "Move makeDeferredRenderTargetContext calls to factory on RTC." 2020-01-08 19:13:14 +00:00
DeferredDisplayListTest.cpp Move SkDeferredDisplayList.h into include\core (take 2) 2020-02-21 21:26:02 +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
DetermineDomainModeTest.cpp Remove origin from GrSurfaceProxy. 2020-02-14 16:52:58 +00:00
DeviceTest.cpp Remove unused dstColorSpace parameter from makeTextureImage 2019-08-14 19:09:05 +00:00
DiscardableMemoryPoolTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
DiscardableMemoryTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
DrawBitmapRectTest.cpp IWYU for tests A-D. 2019-05-07 14:24:15 +00:00
DrawOpAtlasTest.cpp Use a monotonic counter for atlas and plot generations 2020-01-28 21:01:36 +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
DynamicHashTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
EGLImageTest.cpp Remove origin from GrSurfaceProxy. 2020-02-14 16:52:58 +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 Check for uninitialized memory during jpeg encode 2019-07-09 12:48:17 +00:00
ExifTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
ExtendedSkColorTypeTests.cpp Update wacky_yuv_formats GM to demonstrate YUV resizing on the GPU 2020-01-29 14:16:36 +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 "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +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 rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
Float16Test.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
FloatingPointTextureTest.cpp Update GrSurface/RenderTargetContexts to take and store GrSurfaceProxyViews. 2020-01-14 15:31:07 +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 Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
FontMgrFontConfigTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
FontMgrTest.cpp Move scaler context fallback to GDI 2020-02-11 19:50:27 +00:00
FontNamesTest.cpp Remove SkMin32/SkMax32 2020-02-06 17:31:51 +00:00
FontTest.cpp add flatten test to SkFont 2019-11-08 18:49:15 +00:00
FrontBufferedStreamTest.cpp Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
GeometryTest.cpp more rect api simplifications 2019-08-25 10:12:57 +00:00
GifTest.cpp Enable Codec_GifInterlacedTruncated test for Wuffs 2019-09-24 16:48:33 +00:00
GLBackendSurfaceTest.cpp Switch SkImage_Base asTextureProxyRef to return view instead. 2020-02-06 15:38:21 +00:00
GlyphRunTest.cpp Use SkFontHinting instead of macros. 2019-05-08 12:16:37 +00:00
GpuDrawPathTest.cpp Revert "Reland "Revert "Use flat version of path-direction enum""" 2019-11-22 19:09:54 +00:00
GpuRectanizerTest.cpp Reland "Specialize SkRectanzier to SkRectanizerSkyline" 2020-01-23 15:28:26 +00:00
GradientTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrAHardwareBufferTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrAllocatorTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrCCPRTest.cpp Improve the mechanism to suppress warning messages during testing 2020-02-19 16:34:09 +00:00
GrContextAbandonTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrContextFactoryTest.cpp Expose GrContext::dump() when SK_ENABLE_DUMP_GPU is defined. 2019-08-09 14:13:01 +00:00
GrFinishedFlushTest.cpp Add TransferBuffer and AsyncRead support to Metal. 2019-10-01 14:37:51 +00:00
GrGLExtensionsTest.cpp Reland fully delineate GL usage w/ skia_use_gl. 2019-11-12 21:43:44 +00:00
GrMemoryPoolTest.cpp Make Gr[Op]MemoryPool allocate itself into its initial block. 2019-12-12 20:33:40 +00:00
GrMeshTest.cpp Add GrOpsRenderPass::bindPipeline() 2020-02-20 16:47:13 +00:00
GrMipMappedTest.cpp Remove origin from GrSurfaceProxy. 2020-02-14 16:52:58 +00:00
GrOpListFlushTest.cpp Reland "Merge GrOpList and GrRTOpList and rename to GrOpsTask." 2019-08-22 20:52:09 +00:00
GrPipelineDynamicStateTest.cpp Add GrOpsRenderPass::bindPipeline() 2020-02-20 16:47:13 +00:00
GrPorterDuffTest.cpp Remove origin from GrSurfaceProxy. 2020-02-14 16:52:58 +00:00
GrQuadBufferTest.cpp Allow Tessellator to operate on provided GrQuads 2019-11-26 14:57:44 +00:00
GrQuadCropTest.cpp Use DrawQuad struct to group device+local coords 2020-02-07 15:25:58 +00:00
GrShapeTest.cpp Reland x3 "Remove most of GrConfig.h" 2019-12-18 17:14:45 +00:00
GrSurfaceTest.cpp Remove origin from GrSurfaceProxy. 2020-02-14 16:52:58 +00:00
GrTestingBackendTextureUploadTest.cpp Remove origin from GrSurfaceProxy. 2020-02-14 16:52:58 +00:00
GrTextureMipMapInvalidationTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrTRecorderTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrUploadPixelsTests.cpp Update GrSurface/RenderTargetContexts to take and store GrSurfaceProxyViews. 2020-01-14 15:31:07 +00:00
HashTest.cpp Add filter to SkTHashTable and SkTHashMap 2019-12-12 22:55:35 +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 rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
ImageFilterCacheTest.cpp Rename various getters related to GrSurfaceProxyView. 2020-02-05 14:29:08 +00:00
ImageFilterTest.cpp Remove SkMaxScalar and SkMinScalar 2020-02-06 15:43:22 +00:00
ImageFrom565Bitmap.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
ImageGeneratorTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
ImageIsOpaqueTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
ImageNewShaderTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
ImageTest.cpp Revert "Revert "Remove copies for wrap modes in GrTextureProducer."" 2020-02-25 14:06:21 +00:00
IncrTopoSortTest.cpp Remove SkTMin and SkTMax 2020-02-07 18:40:09 +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 rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
InvalidIndexedPngTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
IsClosedSingleContourTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
JSONTest.cpp Move ccpr headers for display list out of include/private. 2019-05-20 14:50:56 +00:00
LayerDrawLooperTest.cpp Rename SkDevice::ctm() to localToDevice() 2019-10-18 18:04:31 +00:00
LazyProxyTest.cpp Remove origin from GrSurfaceProxy. 2020-02-14 16:52:58 +00:00
LListTest.cpp Move ccpr headers for display list out of include/private. 2019-05-20 14:50:56 +00:00
LRUCacheTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
MallocPixelRefTest.cpp Make SkImageInfo::validRowBytes consider alignment 2020-01-22 16:40:34 +00:00
MaskCacheTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
MathTest.cpp Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
Matrix44Test.cpp Make SkM44 public 2020-02-21 15:50:31 +00:00
MatrixClipCollapseTest.cpp Remove SkMin32/SkMax32 2020-02-06 17:31:51 +00:00
MatrixColorFilterTest.cpp Fix GrColorMatrixFragmentProcessor handling of premul transparent black. 2020-01-02 14:55:06 +00:00
MatrixTest.cpp hide/remove obsolete/tricky SkMatrix methods 2019-12-18 22:29:52 +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 Move SkMessageBus.h into src/core 2019-05-15 15:33:48 +00:00
MetaDataTest.cpp re-run tools/rewrite_includes.py 2019-07-25 15:40:33 +00:00
MipMapTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
MtlBackendAllocationTest.mm Some improvements to backend texture creation. 2019-11-04 20:37:41 +00:00
MtlCopySurfaceTest.mm Remove origin from GrSurfaceProxy. 2020-02-14 16:52:58 +00:00
MultiPictureDocumentTest.cpp Cleanup unit test output 2019-11-27 17:12:23 +00:00
NonlinearBlendingTest.cpp DCI-P3 -> Display P3 in Skia 2020-01-16 21:24:16 +00:00
OctoBoundsTest.cpp ccpr: Clip path octo bounds by the scissor 2019-05-13 15:32:43 +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 origin from GrSurfaceProxy. 2020-02-14 16:52:58 +00:00
OpChainTest.cpp Remove origin from GrSurfaceProxy. 2020-02-14 16:52:58 +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 Update GrSurface/RenderTargetContexts to take and store GrSurfaceProxyViews. 2020-01-14 15:31:07 +00:00
PaintImageFilterTest.cpp Update tests to use new image filter factories 2019-08-05 15:15:45 +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
ParsePathTest.cpp Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
PathCoverageTest.cpp Remove SkMin32/SkMax32 2020-02-06 17:31:51 +00:00
PathMeasureTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsAngleIdeas.cpp Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
PathOpsAngleTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsAsWindingTest.cpp remove dead code around old SkPath enums 2019-12-14 01:58:10 +00:00
PathOpsBattles.cpp Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
PathOpsBoundsTest.cpp more rect api simplifications 2019-08-25 10:12:57 +00:00
PathOpsBuilderConicTest.cpp Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
PathOpsBuilderTest.cpp Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
PathOpsBuildUseTest.cpp Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
PathOpsChalkboardTest.cpp Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +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 Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
PathOpsExtendedTest.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsFuzz763Test.cpp Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
PathOpsInverseTest.cpp Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
PathOpsIssue3651.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +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 Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
PathOpsOpLoopThreadedTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsOpRectThreadedTest.cpp Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
PathOpsOpTest.cpp Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +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 Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
PathOpsSkpTest.cpp Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
PathOpsTestCommon.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +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 Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +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 Remove SkTMin and SkTMax 2020-02-07 18:40:09 +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 Add test that SWPathRenderer GenIDChange listeners get removed. 2020-02-25 14:51:51 +00:00
PathTest.cpp Reland: Ensure arcTo (SVG) ends at the targeted point 2020-02-14 23:17:35 +00:00
PDFDeflateWStreamTest.cpp Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
PDFDocumentTest.cpp SkPDF: simplify Producer metadata logic 2019-10-21 20:01:47 +00:00
PDFGlyphsToUnicodeTest.cpp Remove SkTMin and SkTMax 2020-02-07 18:40:09 +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 use std::make_unique 2019-12-12 22:32:45 +00:00
PDFTaggedPruningTest.cpp Allow passing multiple node IDs per PDF structure node. 2020-02-24 18:21:16 +00:00
PDFTaggedTableTest.cpp Simplify interface to StructureElementNode. 2020-02-20 21:16:48 +00:00
PDFTaggedTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +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 make SkBBH a public interface 2020-02-12 16:31:05 +00:00
PinnedImageTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PixelRefTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +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 Rename GrColorSpaceInfo -> GrColorInfo 2019-09-30 21:53:24 +00:00
PrimitiveProcessorTest.cpp Reland "Move makeDeferredRenderTargetContext calls to factory on RTC." 2020-01-08 19:13:14 +00:00
ProcessorTest.cpp Remove origin from GrSurfaceProxy. 2020-02-14 16:52:58 +00:00
ProgramsTest.cpp Remove origin from GrSurfaceProxy. 2020-02-14 16:52:58 +00:00
PromiseImageTest.cpp Remove GrSurfaceDesc 2020-02-07 19:48:13 +00:00
ProxyConversionTest.cpp Remove origin from GrSurfaceProxy. 2020-02-14 16:52:58 +00:00
ProxyRefTest.cpp Remove origin from GrSurfaceProxy. 2020-02-14 16:52:58 +00:00
ProxyTest.cpp Remove origin from GrSurfaceProxy. 2020-02-14 16:52:58 +00:00
QuickRejectTest.cpp Update tests to use new image filter factories 2019-08-05 15:15:45 +00:00
RandomTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
Reader32Test.cpp SkReader32::setMemory() requires 4-byte alignment 2019-11-20 20:20:10 +00:00
ReadPixelsTest.cpp basic, untested BGR 1010102 and 101010x 2020-02-11 21:44:57 +00:00
ReadWriteAlphaTest.cpp Remove GrSurfaceDesc 2020-02-07 19:48:13 +00:00
RecordDrawTest.cpp Revert "Reland "Revert "allow clients to opt into new didTranslate/didScale""" 2020-01-13 14:41:12 +00:00
RecorderTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
RecordingXfermodeTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
RecordOptsTest.cpp Update tests to use new image filter factories 2019-08-05 15:15:45 +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 origin from GrSurfaceProxy. 2020-02-14 16:52:58 +00:00
RectTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
RefCntTest.cpp turn on -Wreturn-std-move-in-c++11 2020-02-18 23:55:35 +00:00
RegionTest.cpp Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
RenderTargetContextTest.cpp Reland "Move makeDeferredRenderTargetContext calls to factory on RTC." 2020-01-08 19:13:14 +00:00
RepeatedClippedBlurTest.cpp Remove unused dstColorSpace parameter from makeTextureImage 2019-08-14 19:09:05 +00:00
ResourceAllocatorTest.cpp Remove origin from GrSurfaceProxy. 2020-02-14 16:52:58 +00:00
ResourceCacheTest.cpp Remove origin from GrSurfaceProxy. 2020-02-14 16:52:58 +00:00
RoundRectTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
RRectInPathTest.cpp Revert "Reland "Revert "Use flat version of path-direction enum""" 2019-11-22 19:09:54 +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 rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SerializationTest.cpp Use careful_memcpy in case one of the args is null 2020-02-19 04:13:08 +00:00
SerialProcsTest.cpp Update tests to use new image filter factories 2019-08-05 15:15:45 +00:00
ShaderOpacityTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
ShaderTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
ShadowTest.cpp perform perspective clip by default 2019-12-12 20:19:59 +00:00
ShaperTest.cpp Reland "Fix empty run handling in trivial shaper iterators" 2019-11-06 14:32:13 +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 Tests: re-sort gni, file name convention 2019-05-04 02:17:09 +00:00
Skbug6389.cpp Update tests to use new image filter factories 2019-08-05 15:15:45 +00:00
Skbug6653.cpp Tests: re-sort gni, file name convention 2019-05-04 02:17:09 +00:00
SkColor4fTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkColorSpaceXformStepsTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +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 Make SkEnumerate make flatten tuples 2019-11-27 05:16:23 +00:00
skia_test.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkImageTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkNxTest.cpp Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
SkParagraphTest.cpp Cache should work with INF values 2020-02-06 19:44:43 +00:00
SkPEGTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkRasterPipelineTest.cpp work around GCC false positive warning? 2019-12-04 17:07:46 +00:00
SkRemoteGlyphCacheTest.cpp Reland "Multi-threaded strike cache" 2020-02-21 21:01:12 +00:00
SkResourceCacheTest.cpp use std::make_unique 2019-12-12 22:32:45 +00:00
SkRuntimeEffectTest.cpp Change SkSL main() from (float x, float y) to (float2 p) 2020-02-07 20:19:13 +00:00
SkScalerCacheTest.cpp Make SkStrikeCache::Node be SkStrike. 2020-02-15 16:37:58 +00:00
SkShaperJSONWriterTest.cpp Add SkMakeSpan and helpful conversion 2019-07-02 21:49:09 +00:00
SkSharedMutexTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkSLErrorTest.cpp SkSL description methods are now only present in debug mode 2020-01-03 16:56:27 +00:00
SkSLFPTest.cpp Make SkM44 public 2020-02-21 15:50:31 +00:00
SkSLGLSLTest.cpp Optimize SkSL xor where one argument is constant 2019-12-20 14:50:46 +00:00
SkSLInterpreterTest.cpp Add most important intrinsics to the interpreter 2020-02-26 20:27:36 +00:00
SkSLMemoryLayoutTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkSLMetalTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkSLSPIRVTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkUTFTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkVMTest.cpp convert to phi nodes 2020-02-27 17:04:05 +00:00
SkVxTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SortTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SpecialImageTest.cpp Rename view getters in various image subclasses. 2020-02-05 16:02:27 +00:00
SpecialSurfaceTest.cpp Make deferred render target context without config or format 2019-07-03 16:53:48 +00:00
SrcOverTest.cpp Remove SkMin32/SkMax32 2020-02-06 17:31:51 +00:00
SRGBReadWritePixelsTest.cpp turn on -Wreturn-std-move-in-c++11 2020-02-18 23:55:35 +00:00
SRGBTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
StreamBufferTest.cpp use std::make_unique 2019-12-12 22:32:45 +00:00
StreamTest.cpp Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
StringTest.cpp remove pointless tests 2019-12-02 21:27:39 +00:00
StrokerTest.cpp Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
StrokeTest.cpp Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
SubsetPath.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SubsetPath.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SurfaceSemaphoreTest.cpp Reland fully delineate GL usage w/ skia_use_gl. 2019-11-12 21:43:44 +00:00
SurfaceTest.cpp Rename view getters in various image subclasses. 2020-02-05 16:02:27 +00:00
SVGDeviceTest.cpp Compress color using hex instead of rgb in SkSVGDevice. 2020-02-07 22:48:34 +00:00
SwizzlerTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
TArrayTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
TDPQueueTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
TemplatesTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
TessellatingPathRendererTests.cpp Reland "Move makeDeferredRenderTargetContext calls to factory on RTC." 2020-01-08 19:13:14 +00:00
Test.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
Test.h Reland "Enable Programs (formerly GLPrograms) test for other APIs" 2019-10-24 19:53:25 +00:00
TestTest.cpp Revert "De-GL-ify tests, gm and tools" 2019-05-22 20:23:56 +00:00
TestUtils.cpp Update OnFlushResourceProvider for views. 2020-02-11 16:34:27 +00:00
TestUtils.h Update OnFlushResourceProvider for views. 2020-02-11 16:34:27 +00:00
TextBlobCacheTest.cpp Remove SkMin32/SkMax32 2020-02-06 17:31:51 +00:00
TextBlobTest.cpp Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
TextureBindingsResetTest.cpp Remove GrSurfaceDesc 2020-02-07 19:48:13 +00:00
TextureProxyTest.cpp Remove origin from GrSurfaceProxy. 2020-02-14 16:52:58 +00:00
TextureStripAtlasManagerTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
Time.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
TLazyTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
TopoSortTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
TraceMemoryDumpTest.cpp Remove GrPixelConfig from GrSurface and GrSurfaceProxy. 2020-01-23 01:14:32 +00:00
TracingTest.cpp Move SkLeanWindows.h to src. 2019-05-21 13:48:00 +00:00
TransferPixelsTest.cpp Remove GrSurfaceDesc 2020-02-07 19:48:13 +00:00
TypefaceTest.cpp Add more variation support on Mac. 2019-12-13 18:16:13 +00:00
UnicodeTest.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
UtilsTest.cpp Add first, last and subspan to SkEnumerate 2020-01-09 15:04:44 +00:00
VerticesTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
VkBackendSurfaceTest.cpp Switch SkImage_Base asTextureProxyRef to return view instead. 2020-02-06 15:38:21 +00:00
VkDrawableTest.cpp Remove "nvpr" configs 2019-06-26 16:53:50 +00:00
VkHardwareBufferTest.cpp Update nanobench and skpbench to use flush API for gpu syncing. 2020-02-24 17:21:35 +00:00
VkPriorityExtensionTest.cpp Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
VkProtectedContextTest.cpp Revert "Disable VkProtectedContext_DDLMakeRenderTargetTest" 2019-11-26 15:59:04 +00:00
VkWrapTests.cpp Make GrSamplerState.h and GrRenderTarget.h private 2019-08-15 12:22:11 +00:00
VkYcbcrSamplerTest.cpp Reland: Enable YCbCr sampler support on platforms other than Android 2019-08-12 14:21:01 +00:00
VptrTest.cpp use std::make_unique 2019-12-12 22:32:45 +00:00
WindowRectanglesTest.cpp work around GCC 8 mips release bug? 2019-12-04 21:14:13 +00:00
WritePixelsTest.cpp Remove origin from GrSurfaceProxy. 2020-02-14 16:52:58 +00:00
Writer32Test.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
YUVCacheTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
YUVTest.cpp Add BT2020 (non-constant-luminance) YUV color space 2019-11-01 14:34:13 +00:00