skia2/tests
Mike Klein d48488b5ea reorder to minimize register pressure
Rewrite program instructions so that each value becomes available as
late as possible, just before it's used by another instruction.  This
reorders blocks of instructions to reduce them number of temporary
registers in flight.

Take this example of the sort of program that we naturally write,
noting the registers needed as we progress down the right:

    src = load32 ...          (1)
    sr = extract src ...      (2)
    sg = extract src ...      (3)
    sb = extract src ...      (4)
    sa = extract src ...      (4, src dies)

    dst = load32 ...          (5)
    dr = extract dst ...      (6)
    dg = extract dst ...      (7)
    db = extract dst ...      (8)
    da = extract dst ...      (8, dst dies)

    r = add sr dr             (7, sr and dr die)
    g = add sg dg             (6, sg and dg die)
    b = add sb db             (5, sb and db die)
    a = add sa da             (4, sa and da die)

    rg   = pack r g ...       (3, r and g die)
    ba   = pack b a ...       (2, b and a die)
    rgba = pack rg ba ...     (1, rg and ba die)
    store32 rgba ...          (0, rgba dies)

That original ordering of the code needs 8 registers (perhaps with a
temporary 9th, but we'll ignore that here).  This CL will rewrite the
program to something more like this by recursively issuing inputs only
once needed:

    src = load32 ...       (1)
    sr  = extract src ...  (2)
    dst = load32 ...       (3)
    dr  = extract dst ...  (4)
     r  = add sr dr        (3, sr and dr die)

    sg  = extract src ...  (4)
    dg  = extract dst ...  (5)
     g  = add sg dg        (4, sg and dg die)

    rg  = pack r g         (3, r and g die)

    sb  = extract src ...  (4)
    db  = extract dst ...  (5)
     b  = add sb db        (4, sb and db die)

    sa  = extract src ...  (4, src dies)
    da  = extract dst ...  (4, dst dies)
     a  = add sa da        (3, sa and da die)

    ba  = pack b a         (2, b and a die)

    rgba = pack rg ba ...  (1, rg and ba die)
    store32 rgba  ...      (0)

That trims 3 registers off the example, just by reordering!
I've added the real version of this example to SkVMTest.cpp.
(Its 6th register comes from holding the 0xff byte mask used
by extract, in case you're curious).

I'll admit it's not exactly easy to work out how this reordering works
without a pen and paper or trial and error.  I've tried to make the
implementation preserve the original program's order as much as makes
sense (i.e. when order is an otherwise arbitrary choice) to keep it
somewhat sane to follow.

This reordering naturally skips dead code, so pour one out for ☠️ .
We lose our cute dead code emoji marker, but on the other hand all code
downstream of Builder::done() can assume every instruction is live.

Change-Id: Iceffcd10fd7465eae51a39ef8eec7a7189766ba2
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/249999
Commit-Queue: Mike Klein <mtklein@google.com>
Reviewed-by: Herb Derby <herb@google.com>
2019-10-22 21:49: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 Reland "Reland "SkSurface asynchronous read APIs allow client to extend pixel lifetime"" 2019-10-03 19:14:22 +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 IWYU for tests A-D. 2019-05-07 14:24:15 +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 Make SkPixmap-variant of createBackendTexture public 2019-09-30 18:06:14 +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 New proposed syntax for SkColorTypes 2019-09-19 20:42:55 +00:00
BitSetTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
BlendTest.cpp Pass color types when creating texture with initial data. 2019-09-17 13:38:23 +00:00
BlitMaskClip.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
BlurTest.cpp more rect api simplifications 2019-08-25 10:12:57 +00:00
CachedDataTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
CachedDecodingPixelRefTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +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 Move the source image into Context 2019-08-15 12:31:11 +00:00
ChecksumTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
ClearTest.cpp Rename GrPixelInfo to GrImageInfo. 2019-09-30 17:10:18 +00:00
ClipBoundsTest.cpp IWYU for tests A-D. 2019-05-07 14:24:15 +00:00
ClipCubicTest.cpp more rect api simplifications 2019-08-25 10:12:57 +00:00
ClipperTest.cpp IWYU for tests A-D. 2019-05-07 14:24:15 +00:00
ClipStackTest.cpp more rect api simplifications 2019-08-25 10:12:57 +00:00
CodecAnimTest.cpp Reland "Reland "SkSurface asynchronous read APIs allow client to extend pixel lifetime"" 2019-10-03 19:14:22 +00:00
CodecExactReadTest.cpp IWYU for tests A-D. 2019-05-07 14:24:15 +00:00
CodecPartialTest.cpp Pause Wuffs' getFrameCount in incremental decode 2019-06-24 20:10:02 +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 "Reland "SkSurface asynchronous read APIs allow client to extend pixel lifetime"" 2019-10-03 19:14:22 +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 IWYU for tests A-D. 2019-05-07 14:24:15 +00:00
ColorTest.cpp IWYU for tests A-D. 2019-05-07 14:24:15 +00:00
CopySurfaceTest.cpp Simplify sk_gpu_test::MakeTextureProxyFromData. 2019-10-21 20:04:37 +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 IWYU for tests A-D. 2019-05-07 14:24:15 +00:00
DefaultPathRendererTest.cpp Rename GrPixelInfo to GrImageInfo. 2019-09-30 17:10:18 +00:00
DeferredDisplayListTest.cpp Add SkSurfaceCharacterization::createColorSpace 2019-10-03 17:06:13 +00:00
DequeTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
DescriptorTest.cpp IWYU for tests A-D. 2019-05-07 14:24:15 +00:00
DetermineDomainModeTest.cpp Make GrSurfaceProxy constructors take arg that determines participation in 2019-09-03 14:58:41 +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 Add GrProgramInfo to centralize management of program information 2019-10-08 20:35:51 +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 GrSurfaceContext not ref counted. 2019-08-21 15:31:23 +00:00
EmptyPathTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +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 Make SkPixmap-variant of createBackendTexture public 2019-09-30 18:06:14 +00:00
F16StagesTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
FakeStreams.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
FillPathTest.cpp more rect api simplifications 2019-08-25 10:12:57 +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 Simplify sk_gpu_test::MakeTextureProxyFromData. 2019-10-21 20:04:37 +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 rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
FontMgrFontConfigTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
FontMgrTest.cpp Tweak css3 weight score, prevent ties. 2019-08-02 14:42:31 +00:00
FontNamesTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
FrontBufferedStreamTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +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 Enable creating protected vulkan backend 2019-06-24 16:04:00 +00:00
GLProgramsTest.cpp Revert "Enable Programs (formerly GLPrograms) test for other APIs" 2019-10-22 15:39:49 +00:00
GlyphRunTest.cpp Use SkFontHinting instead of macros. 2019-05-08 12:16:37 +00:00
GpuDrawPathTest.cpp In AAConvexPathRenderer, don't assume that path direction can be computed 2019-09-25 18:36:45 +00:00
GpuRectanizerTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +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 more rect api simplifications 2019-08-25 10:12:57 +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 Revert "De-GL-ify tests, gm and tools" 2019-05-22 20:23:56 +00:00
GrMemoryPoolTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrMeshTest.cpp Revert "Reduce inputs to GrProgramDesc::Build method(s)" 2019-10-17 19:06:52 +00:00
GrMipMappedTest.cpp Plumb GrColorType through all ops/processors that sample textures. 2019-10-15 18:34:37 +00:00
GrOpListFlushTest.cpp Reland "Merge GrOpList and GrRTOpList and rename to GrOpsTask." 2019-08-22 20:52:09 +00:00
GrPipelineDynamicStateTest.cpp Revert "Reduce inputs to GrProgramDesc::Build method(s)" 2019-10-17 19:06:52 +00:00
GrPorterDuffTest.cpp Add SkUNREACHABLE to definition of SK_ABORT. 2019-08-09 20:43:39 +00:00
GrQuadBufferTest.cpp Reland "Replace GrQuadList with variable-length quad buffer" 2019-06-27 14:58:09 +00:00
GrQuadCropTest.cpp Reland "Consolidate quad optimizations into single internal function." 2019-06-19 18:26:10 +00:00
GrShapeTest.cpp Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
GrSurfaceTest.cpp Plumb GrColorType through all ops/processors that sample textures. 2019-10-15 18:34:37 +00:00
GrTestingBackendTextureUploadTest.cpp Make SkPixmap-variant of createBackendTexture public 2019-09-30 18:06:14 +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 Simplify sk_gpu_test::MakeTextureProxyFromData. 2019-10-21 20:04:37 +00:00
HashTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +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 Define coord space tagged geometry for image filters v2. 2019-10-04 16:40:00 +00:00
ImageFilterTest.cpp Fix mapping the morphology filter's radius when the CTM is a mirror op 2019-10-08 14:34:57 +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 Remove GrPixelConfigIsAlphaOnly call and transition calls to it. 2019-10-14 13:49:14 +00:00
IncrTopoSortTest.cpp Reland "Merge GrOpList and GrRTOpList and rename to GrOpsTask." 2019-08-22 20:52: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 Slim down GrFragmentProcessor::TextureSampler and GrPrimitiveProcessor::TextureSampler 2019-10-14 19:48:19 +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 SkMallocPixelRef: remove MakeDirect and MakeWithProc from API. 2019-08-15 19:01:13 +00:00
MaskCacheTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
MathTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
Matrix44Test.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
MatrixClipCollapseTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
MatrixTest.cpp more rect api simplifications 2019-08-25 10:12:57 +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 Remove vestiges of 32 float texture format support 2019-09-27 19:40:54 +00:00
MultiPictureDocumentTest.cpp Add a test that draws subpictures within an MSKP and make it pass. 2019-09-25 20:12:35 +00:00
NonlinearBlendingTest.cpp Move skcms.h to include/third_party/skcms 2019-04-29 15:02:45 +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 Plumb GrColorType through all ops/processors that sample textures. 2019-10-15 18:34:37 +00:00
OpChainTest.cpp Add creation-time POD memory pool for GrOps 2019-10-22 16:35:41 +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 Simplify sk_gpu_test::MakeTextureProxyFromData. 2019-10-21 20:04:37 +00:00
PaintImageFilterTest.cpp Update tests to use new image filter factories 2019-08-05 15:15:45 +00:00
PaintTest.cpp remove code now that loopers are dead (w.r.t. canvas and paint) 2019-07-30 12:49:28 +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 rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathMeasureTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsAngleIdeas.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsAngleTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsAsWindingTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsBattles.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsBoundsTest.cpp more rect api simplifications 2019-08-25 10:12:57 +00:00
PathOpsBuilderConicTest.cpp Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
PathOpsBuilderTest.cpp more rect api simplifications 2019-08-25 10:12:57 +00:00
PathOpsBuildUseTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsChalkboardTest.cpp Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +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 rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +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 rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +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 "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
PathOpsExtendedTest.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsFuzz763Test.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsInverseTest.cpp Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
PathOpsIssue3651.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsLineIntersectionTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsLineParametetersTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsOpCircleThreadedTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsOpCubicThreadedTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsOpLoopThreadedTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsOpRectThreadedTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsOpTest.cpp more rect api simplifications 2019-08-25 10:12:57 +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 "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
PathOpsSimplifyFailTest.cpp Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
PathOpsSimplifyQuadralateralsThreadedTest.cpp Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
PathOpsSimplifyQuadThreadedTest.cpp Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
PathOpsSimplifyRectThreadedTest.cpp Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
PathOpsSimplifyTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PathOpsSimplifyTrianglesThreadedTest.cpp Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
PathOpsSkpTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +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 "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +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 rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +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 Remove maxCount resource cache limit 2019-09-03 14:59:51 +00:00
PathTest.cpp Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
PDFDeflateWStreamTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PDFDocumentTest.cpp SkPDF: simplify Producer metadata logic 2019-10-21 20:01:47 +00:00
PDFGlyphsToUnicodeTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +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 SkPDF/tests: add regression test for crbug/494913 2019-10-11 18:17:54 +00:00
PDFTaggedTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PictureBBHTest.cpp simplify rtree loops in Skia too 2019-05-15 15:42:10 +00:00
PictureShaderTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
PictureTest.cpp picture nesting bounds bug 2019-10-02 18:59:17 +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 More bounds fixes for StrokeRect and DefaultPath when using MSAA for non-aa. 2019-10-01 19:49:15 +00:00
ProcessorTest.cpp More SkISizification in GPU code. 2019-10-22 15:04:07 +00:00
PromiseImageTest.cpp Pass color types when creating texture with initial data. 2019-09-17 13:38:23 +00:00
ProxyConversionTest.cpp Make GrSurfaceProxy constructors take arg that determines participation in 2019-09-03 14:58:41 +00:00
ProxyRefTest.cpp Make GrSurfaceProxy constructors take arg that determines participation in 2019-09-03 14:58:41 +00:00
ProxyTest.cpp More SkISizification in GPU code. 2019-10-22 15:04:07 +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 rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
ReadPixelsTest.cpp Simplify sk_gpu_test::MakeTextureProxyFromData. 2019-10-21 20:04:37 +00:00
ReadWriteAlphaTest.cpp Simplify sk_gpu_test::MakeTextureProxyFromData. 2019-10-21 20:04:37 +00:00
RecordDrawTest.cpp Update tests to use new image filter factories 2019-08-05 15:15:45 +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 Simplify sk_gpu_test::MakeTextureProxyFromData. 2019-10-21 20:04:37 +00:00
RectTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
RefCntTest.cpp remove unused sk_sp comparison operators 2019-08-27 14:52:01 +00:00
RegionTest.cpp Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
RenderTargetContextTest.cpp Rename GrPixelInfo to GrImageInfo. 2019-09-30 17:10:18 +00:00
RepeatedClippedBlurTest.cpp Remove unused dstColorSpace parameter from makeTextureImage 2019-08-14 19:09:05 +00:00
ResourceAllocatorTest.cpp Pass color types when creating texture with initial data. 2019-09-17 13:38:23 +00:00
ResourceCacheTest.cpp Add unit test to exercise GrTextureFreed message handling after a context abandon 2019-10-16 21:11:12 +00:00
RoundRectTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
RRectInPathTest.cpp Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
RTreeTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +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 Update tests to use new image filter factories 2019-08-05 15:15:45 +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 More polyutils fixes 2019-05-01 18:02:05 +00:00
ShaperTest.cpp Add trivial implemenations of shaper run iterators. 2019-05-30 13:19:28 +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 Reland "Introduce SkGlyphSourceBuffer" 2019-10-17 17:26:37 +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 rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkParagraphTest.cpp Adding line/style metrics 2019-10-07 15:07:48 +00:00
SkPEGTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkRasterPipelineTest.cpp Revert "Revert "Make SkASSERT not break build in constexpr GrSwizzle method on GCC"" 2019-06-20 16:56:15 +00:00
SkRemoteGlyphCacheTest.cpp Draw perspective text as paths. 2019-10-10 15:35:51 +00:00
SkResourceCacheTest.cpp remove unneeded bitmapprovider abstraction 2019-08-01 21:24:02 +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 fixed an SkSL parse issue 2019-09-17 21:25:06 +00:00
SkSLFPTest.cpp .fp files now support user-defined functions 2019-08-30 17:50:45 +00:00
SkSLGLSLTest.cpp Rename gl_SampleMask to sk_SampleMask 2019-10-22 20:36:00 +00:00
SkSLInterpreterTest.cpp Change ByteCode and ByteCodeFunction to classes 2019-09-30 18:02:24 +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 reorder to minimize register pressure 2019-10-22 21:49: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 Remove a usage of GrPixelConfig in SkGpuBlurUtils::GaussianBlur (take 2) 2019-09-20 17:11:27 +00:00
SpecialSurfaceTest.cpp Make deferred render target context without config or format 2019-07-03 16:53:48 +00:00
SrcOverTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SRGBReadWritePixelsTest.cpp Rename GrPixelInfo to GrImageInfo. 2019-09-30 17:10:18 +00:00
SRGBTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
StreamBufferTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
StreamTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
StringTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
StrokerTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
StrokeTest.cpp Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +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 Remove "nvpr" configs 2019-06-26 16:53:50 +00:00
SurfaceTest.cpp Make SkPixmap-variant of createBackendTexture public 2019-09-30 18:06:14 +00:00
SVGDeviceTest.cpp [svgcanvas] Named colors support 2019-08-22 18:10:50 +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 Rename GrColorSpaceInfo -> GrColorInfo 2019-09-30 21:53:24 +00:00
Test.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
Test.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
TestTest.cpp Revert "De-GL-ify tests, gm and tools" 2019-05-22 20:23:56 +00:00
TestUtils.cpp Plumb GrColorType through all ops/processors that sample textures. 2019-10-15 18:34:37 +00:00
TestUtils.h Rename GrPixelInfo to GrImageInfo. 2019-09-30 17:10:18 +00:00
TextBlobCacheTest.cpp rename atlassize->atlasdimensions 2019-10-22 16:57:01 +00:00
TextBlobTest.cpp fix SkTextBlob::getIntercepts regression no longer considering glyph vertical offset 2019-10-16 00:02:08 +00:00
TextureBindingsResetTest.cpp Pass color types when creating texture with initial data. 2019-09-17 13:38:23 +00:00
TextureProxyTest.cpp Pass color types when creating texture with initial data. 2019-09-17 13:38:23 +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 Make GrSamplerState.h and GrRenderTarget.h private 2019-08-15 12:22:11 +00:00
TracingTest.cpp Move SkLeanWindows.h to src. 2019-05-21 13:48:00 +00:00
TransferPixelsTest.cpp Rename GrPixelInfo to GrImageInfo. 2019-09-30 17:10:18 +00:00
TypefaceTest.cpp Fix font creation lost style on Mac 2019-06-10 18:40:28 +00:00
UnicodeTest.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
UtilsTest.cpp Add tests for SkZip first, data, and consting copy ctor 2019-10-08 15:45:30 +00:00
VerticesTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
VkBackendSurfaceTest.cpp Add GrProtected parameter to all createBackendTexture variants 2019-07-01 19:46:18 +00:00
VkDrawableTest.cpp Remove "nvpr" configs 2019-06-26 16:53:50 +00:00
VkHardwareBufferTest.cpp Fix VkhardwareBufferTest to check for egl native fence extension. 2019-05-24 19:08:24 +00:00
VkPriorityExtensionTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
VkProtectedContextTest.cpp Add protected status to SkSurfaceCharacterization 2019-07-10 16:30:35 +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 rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
WindowRectanglesTest.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
WritePixelsTest.cpp Make GrSurfaceProxy constructors take arg that determines participation in 2019-09-03 14:58:41 +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 split RGB into YUV planes 2019-05-23 19:57:30 +00:00