2016-10-27 16:21:40 +00:00
|
|
|
# Copyright 2016 Google Inc.
|
|
|
|
#
|
|
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
|
|
# found in the LICENSE file.
|
|
|
|
|
|
|
|
# Things are easiest for everyone if these source paths are absolute.
|
|
|
|
_tests = get_path_info("../tests", "abspath")
|
|
|
|
|
|
|
|
tests_sources = [
|
2018-01-16 20:01:17 +00:00
|
|
|
"$_tests/AndroidCodecTest.cpp",
|
2018-01-20 15:33:24 +00:00
|
|
|
"$_tests/AnimatedImageTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/AAClipTest.cpp",
|
|
|
|
"$_tests/AnnotationTest.cpp",
|
|
|
|
"$_tests/ApplyGammaTest.cpp",
|
2017-01-13 22:34:33 +00:00
|
|
|
"$_tests/ArenaAllocTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/AsADashTest.cpp",
|
|
|
|
"$_tests/BadIcoTest.cpp",
|
|
|
|
"$_tests/BitmapCopyTest.cpp",
|
|
|
|
"$_tests/BitmapGetColorTest.cpp",
|
|
|
|
"$_tests/BitmapTest.cpp",
|
|
|
|
"$_tests/BitSetTest.cpp",
|
|
|
|
"$_tests/BlendTest.cpp",
|
|
|
|
"$_tests/BlitMaskClip.cpp",
|
|
|
|
"$_tests/BlurTest.cpp",
|
|
|
|
"$_tests/CachedDataTest.cpp",
|
|
|
|
"$_tests/CachedDecodingPixelRefTest.cpp",
|
|
|
|
"$_tests/CanvasStateHelpers.cpp",
|
|
|
|
"$_tests/CanvasStateTest.cpp",
|
|
|
|
"$_tests/CanvasTest.cpp",
|
|
|
|
"$_tests/ChecksumTest.cpp",
|
|
|
|
"$_tests/ClearTest.cpp",
|
|
|
|
"$_tests/ClipBoundsTest.cpp",
|
|
|
|
"$_tests/ClipCubicTest.cpp",
|
|
|
|
"$_tests/ClipperTest.cpp",
|
|
|
|
"$_tests/ClipStackTest.cpp",
|
|
|
|
"$_tests/CodecAnimTest.cpp",
|
Reland "Make SkPngCodec only read as much of the stream as necessary"
(Originally uploaded as 13900.)
Previously, SkPngCodec assumed that the stream only contained one
image, which ended at the end of the stream. It read the stream in
arbitrarily-sized chunks, and then passed that data to libpng for
processing.
If a stream contains more than one image, this may result in reading
beyond the end of the image, making future reads read the wrong data.
Now, SkPngCodec starts by reading 8 bytes at a time. After the
signature, 8 bytes is enough to know which chunk is next and how many
bytes are in the chunk.
When decoding the size, we stop when we reach IDAT, and when decoding
the image, we stop when we reach IEND.
This manual parsing is necessary to support APNG, which is planned in
the future. It also allows us to remove the SK_GOOGLE3_PNG_HACK, which
was a workaround for reading more than necessary at the beginning of
the image.
Add a test that simulates the issue, by decoding a special stream that
reports an error if the codec attempts to read beyond the end.
Temporarily disable the partial decoding tests for png. A larger change
will be necessary to get those working again, and no clients are
currently relying on incrementally decoding PNGs (i.e. decode part of
an image, then decode further with more data).
Include a workaround for older versions of libpng (e.g. 1.2 in
Google3). In older versions, if the row callback is null when the
IDAT header is processed, reading the image will fail. When we see the
IDAT, we save the length and process a recreated IDAT header later,
after the row callback has been set.
Bug: skia:5368
Bug:b/34073812
Test: Existing tests, plus a new test in dm.
Change-Id: I293a4ddc013b82669a8b735062228b26d0bce933
Reviewed-on: https://skia-review.googlesource.com/13984
Commit-Queue: Leon Scroggins <scroggo@google.com>
Reviewed-by: Matt Sarett <msarett@google.com>
2017-04-21 17:47:12 +00:00
|
|
|
"$_tests/CodecExactReadTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/CodecPartialTest.cpp",
|
2017-12-05 18:55:24 +00:00
|
|
|
"$_tests/CodecRecommendedTypeTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/CodecTest.cpp",
|
|
|
|
"$_tests/ColorFilterTest.cpp",
|
|
|
|
"$_tests/ColorMatrixTest.cpp",
|
|
|
|
"$_tests/ColorPrivTest.cpp",
|
|
|
|
"$_tests/ColorSpaceTest.cpp",
|
|
|
|
"$_tests/ColorTest.cpp",
|
|
|
|
"$_tests/CopySurfaceTest.cpp",
|
|
|
|
"$_tests/CTest.cpp",
|
2018-08-14 21:21:23 +00:00
|
|
|
"$_tests/CubicMapTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/DashPathEffectTest.cpp",
|
|
|
|
"$_tests/DataRefTest.cpp",
|
2017-12-04 14:38:06 +00:00
|
|
|
"$_tests/DefaultPathRendererTest.cpp",
|
2017-12-04 17:52:46 +00:00
|
|
|
"$_tests/DeferredDisplayListTest.cpp",
|
|
|
|
"$_tests/DequeTest.cpp",
|
2017-03-27 14:14:08 +00:00
|
|
|
"$_tests/DetermineDomainModeTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/DeviceTest.cpp",
|
|
|
|
"$_tests/DiscardableMemoryPoolTest.cpp",
|
|
|
|
"$_tests/DiscardableMemoryTest.cpp",
|
|
|
|
"$_tests/DrawBitmapRectTest.cpp",
|
2018-03-01 15:24:02 +00:00
|
|
|
"$_tests/DrawOpAtlasTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/DrawPathTest.cpp",
|
|
|
|
"$_tests/DrawTextTest.cpp",
|
|
|
|
"$_tests/DynamicHashTest.cpp",
|
|
|
|
"$_tests/EGLImageTest.cpp",
|
|
|
|
"$_tests/EmptyPathTest.cpp",
|
2017-05-02 20:04:56 +00:00
|
|
|
"$_tests/EncodeTest.cpp",
|
2018-08-27 15:55:46 +00:00
|
|
|
"$_tests/EncodedInfoTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/ExifTest.cpp",
|
2017-04-19 21:19:30 +00:00
|
|
|
"$_tests/F16StagesTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/FillPathTest.cpp",
|
|
|
|
"$_tests/FitsInTest.cpp",
|
|
|
|
"$_tests/FlattenableFactoryToName.cpp",
|
2018-01-18 20:35:11 +00:00
|
|
|
"$_tests/FlattenableNameToFactory.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/FlattenDrawableTest.cpp",
|
|
|
|
"$_tests/Float16Test.cpp",
|
|
|
|
"$_tests/FloatingPointTextureTest.cpp",
|
|
|
|
"$_tests/FontHostStreamTest.cpp",
|
|
|
|
"$_tests/FontHostTest.cpp",
|
|
|
|
"$_tests/FontMgrAndroidParserTest.cpp",
|
2018-06-22 21:11:00 +00:00
|
|
|
"$_tests/FontMgrFontConfigTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/FontMgrTest.cpp",
|
|
|
|
"$_tests/FontNamesTest.cpp",
|
|
|
|
"$_tests/FontObjTest.cpp",
|
|
|
|
"$_tests/FrontBufferedStreamTest.cpp",
|
|
|
|
"$_tests/GeometryTest.cpp",
|
|
|
|
"$_tests/GifTest.cpp",
|
|
|
|
"$_tests/GLProgramsTest.cpp",
|
2018-06-06 17:45:53 +00:00
|
|
|
"$_tests/GlyphRunTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/GpuDrawPathTest.cpp",
|
|
|
|
"$_tests/GpuLayerCacheTest.cpp",
|
|
|
|
"$_tests/GpuRectanizerTest.cpp",
|
|
|
|
"$_tests/GradientTest.cpp",
|
2018-09-12 13:17:11 +00:00
|
|
|
"$_tests/GrAHardwareBufferTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/GrAllocatorTest.cpp",
|
2017-10-06 22:27:32 +00:00
|
|
|
"$_tests/GrCCPRTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/GrContextAbandonTest.cpp",
|
|
|
|
"$_tests/GrContextFactoryTest.cpp",
|
2017-11-15 20:01:51 +00:00
|
|
|
"$_tests/GrGLExtensionsTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/GrMemoryPoolTest.cpp",
|
2017-05-26 21:17:19 +00:00
|
|
|
"$_tests/GrMeshTest.cpp",
|
2017-10-12 16:27:11 +00:00
|
|
|
"$_tests/GrMipMappedTest.cpp",
|
2018-12-07 16:20:33 +00:00
|
|
|
"$_tests/GrOpListFlushTest.cpp",
|
2017-06-06 18:27:16 +00:00
|
|
|
"$_tests/GrPipelineDynamicStateTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/GrPorterDuffTest.cpp",
|
|
|
|
"$_tests/GrShapeTest.cpp",
|
2017-05-15 15:00:58 +00:00
|
|
|
"$_tests/GrSKSLPrettyPrintTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/GrSurfaceTest.cpp",
|
2018-07-17 17:28:20 +00:00
|
|
|
"$_tests/GrTestingBackendTextureUploadTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/GrTextureMipMapInvalidationTest.cpp",
|
|
|
|
"$_tests/GrTRecorderTest.cpp",
|
2018-07-19 13:58:00 +00:00
|
|
|
"$_tests/GrUploadPixelsTests.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/HashTest.cpp",
|
2017-02-14 19:15:31 +00:00
|
|
|
"$_tests/HighContrastFilterTest.cpp",
|
2017-01-11 17:59:43 +00:00
|
|
|
"$_tests/HSVRoundTripTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/image-bitmap.cpp",
|
Revert "Revert "WIP: Skia support library for ICC tasks""
This reverts commit eb733fbf56538838a36814c75cd03f917462cb22.
Reason for revert: Revert patch was automatically merged incorrectly?
Original change's description:
> Revert "WIP: Skia support library for ICC tasks"
>
> This reverts commit fc8dc3194acb959ee5980b41766660ca0644bcab.
>
> Reason for revert: Breaks Build-Mac-Clang-Arm7-{Debug,Release}-iOS builds.
> Example tasks:
> * https://chromium-swarm.appspot.com/task?id=3322f668620b9e10&refresh=10
> * https://chromium-swarm.appspot.com/task?id=332296146331e810&refresh=10
>
> Original change's description:
> > WIP: Skia support library for ICC tasks
> >
> > As a starting point, this would be mostly trivial to implement using
> > SkColorSpace.
> >
> > This also would give us the flexibility to begin to move all of
> > the ICC related code from SkColorSpace to SkICC.
> >
> > What are the advantages of moving this away from SkColorSpace?
> > (1) A long term goal (once Chrome uses SkCodec), might be to
> > move SkColorSpace::MakeICC() out of the public API. That way,
> > we can guarantee that we can draw to/from *any* SkColorSpace.
> > (2) Keeps SkColorSpace separate from ICC-specific representations
> > like SkColorSpaceTransferFn etc.
> >
> > BUG=skia:
> >
> > Change-Id: Iddeb9903221fb57fbfc01218d8641c928b4a5165
> > Reviewed-on: https://skia-review.googlesource.com/5676
> > Commit-Queue: Matt Sarett <msarett@google.com>
> > Reviewed-by: Brian Osman <brianosman@google.com>
> > Reviewed-by: Mike Reed <reed@google.com>
> >
>
> TBR=mtklein@google.com,msarett@google.com,brianosman@google.com,reed@google.com,reviews@skia.org
> BUG=skia:
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
>
> Change-Id: Ibdf272fce25892402bd3e85595fb8814cdf59856
> Reviewed-on: https://skia-review.googlesource.com/6232
> Commit-Queue: Ravi Mistry <rmistry@google.com>
> Reviewed-by: Ravi Mistry <rmistry@google.com>
>
TBR=mtklein@google.com,rmistry@google.com,msarett@google.com,reviews@skia.org,brianosman@google.com,reed@google.com
BUG=skia:
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
Change-Id: I68b1624cfab8adfe31b17e1193a7766507dec8b0
Reviewed-on: https://skia-review.googlesource.com/6233
Commit-Queue: Ravi Mistry <rmistry@google.com>
Reviewed-by: Ravi Mistry <rmistry@google.com>
2016-12-17 01:31:03 +00:00
|
|
|
"$_tests/ICCTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/ImageCacheTest.cpp",
|
|
|
|
"$_tests/ImageFilterCacheTest.cpp",
|
|
|
|
"$_tests/ImageFilterTest.cpp",
|
|
|
|
"$_tests/ImageFrom565Bitmap.cpp",
|
|
|
|
"$_tests/ImageGeneratorTest.cpp",
|
|
|
|
"$_tests/ImageIsOpaqueTest.cpp",
|
|
|
|
"$_tests/ImageNewShaderTest.cpp",
|
|
|
|
"$_tests/ImageTest.cpp",
|
|
|
|
"$_tests/IndexedPngOverflowTest.cpp",
|
2018-08-07 19:16:54 +00:00
|
|
|
"$_tests/IncrTopoSortTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/InfRectTest.cpp",
|
Revert "Revert "Create new inset algorithm for spot shadows""
This reverts commit e7c85c45c4c0a97adc6711bb12ecacc36af4ba11.
Reason for revert: <INSERT REASONING HERE>
Original change's description:
> Revert "Create new inset algorithm for spot shadows"
>
> This reverts commit e5f5bf5175e426ebb6aa234f4387831c898f20ad.
>
> Reason for revert: Breaking a bunch of bots. e.g:
>
> https://luci-milo.appspot.com/swarming/task/3519cae0a03c7b10/steps/dm/0/stdout
>
> Original change's description:
> > Create new inset algorithm for spot shadows
> >
> > BUG=skia:
> >
> > Change-Id: If7c67c2a5b9beea28f86d13362a5156b46394d0e
> > Reviewed-on: https://skia-review.googlesource.com/9875
> > Commit-Queue: Ravi Mistry <rmistry@google.com>
> > Reviewed-by: Brian Salomon <bsalomon@google.com>
> > Reviewed-by: Robert Phillips <robertphillips@google.com>
> >
>
> TBR=jvanverth@google.com,bsalomon@google.com,rmistry@google.com,robertphillips@google.com,msarett@google.com,reviews@skia.org
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=skia:
>
> Change-Id: I3d119ff631dbb1a41f873b9c8753d542ec91254e
> Reviewed-on: https://skia-review.googlesource.com/10112
> Reviewed-by: Brian Salomon <bsalomon@google.com>
> Commit-Queue: Brian Salomon <bsalomon@google.com>
>
TBR=jvanverth@google.com,bsalomon@google.com,rmistry@google.com,msarett@google.com,robertphillips@google.com,reviews@skia.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:
Change-Id: Ib3998300606d3a2e2fb3a14b2088cfad48363501
Reviewed-on: https://skia-review.googlesource.com/10113
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
2017-03-24 16:07:20 +00:00
|
|
|
"$_tests/InsetConvexPolyTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/InterpolatorTest.cpp",
|
|
|
|
"$_tests/InvalidIndexedPngTest.cpp",
|
|
|
|
"$_tests/IsClosedSingleContourTest.cpp",
|
2018-06-19 15:27:20 +00:00
|
|
|
"$_tests/JSONTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/LayerDrawLooperTest.cpp",
|
2017-11-30 05:01:06 +00:00
|
|
|
"$_tests/LazyProxyTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/LListTest.cpp",
|
2016-12-15 20:28:42 +00:00
|
|
|
"$_tests/LRUCacheTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/MallocPixelRefTest.cpp",
|
|
|
|
"$_tests/MaskCacheTest.cpp",
|
|
|
|
"$_tests/MathTest.cpp",
|
|
|
|
"$_tests/Matrix44Test.cpp",
|
|
|
|
"$_tests/MatrixClipCollapseTest.cpp",
|
|
|
|
"$_tests/MatrixTest.cpp",
|
|
|
|
"$_tests/MD5Test.cpp",
|
|
|
|
"$_tests/MemoryTest.cpp",
|
|
|
|
"$_tests/MemsetTest.cpp",
|
|
|
|
"$_tests/MessageBusTest.cpp",
|
|
|
|
"$_tests/MetaDataTest.cpp",
|
|
|
|
"$_tests/MipMapTest.cpp",
|
2018-06-13 21:21:19 +00:00
|
|
|
"$_tests/NonlinearBlendingTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/OnceTest.cpp",
|
2018-08-21 16:07:00 +00:00
|
|
|
"$_tests/OpChainTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/OSPathTest.cpp",
|
|
|
|
"$_tests/OverAlignedTest.cpp",
|
|
|
|
"$_tests/PackBitsTest.cpp",
|
|
|
|
"$_tests/PackedConfigsTextureTest.cpp",
|
|
|
|
"$_tests/PaintBreakTextTest.cpp",
|
|
|
|
"$_tests/PaintImageFilterTest.cpp",
|
|
|
|
"$_tests/PaintTest.cpp",
|
2017-04-19 16:40:52 +00:00
|
|
|
"$_tests/ParametricStageTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/ParsePathTest.cpp",
|
|
|
|
"$_tests/PathCoverageTest.cpp",
|
|
|
|
"$_tests/PathMeasureTest.cpp",
|
|
|
|
"$_tests/PathTest.cpp",
|
|
|
|
"$_tests/PDFDeflateWStreamTest.cpp",
|
|
|
|
"$_tests/PDFDocumentTest.cpp",
|
|
|
|
"$_tests/PDFGlyphsToUnicodeTest.cpp",
|
|
|
|
"$_tests/PDFJpegEmbedTest.cpp",
|
|
|
|
"$_tests/PDFMetadataAttributeTest.cpp",
|
|
|
|
"$_tests/PDFOpaqueSrcModeToSrcOverTest.cpp",
|
|
|
|
"$_tests/PDFPrimitivesTest.cpp",
|
2018-09-26 03:29:15 +00:00
|
|
|
"$_tests/PDFTaggedTest.cpp",
|
2018-04-03 14:00:37 +00:00
|
|
|
"$_tests/OffsetSimplePolyTest.cpp",
|
2017-05-05 15:26:15 +00:00
|
|
|
"$_tests/OnFlushCallbackTest.cpp",
|
2017-09-25 20:49:55 +00:00
|
|
|
"$_tests/PathRendererCacheTests.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/PictureBBHTest.cpp",
|
|
|
|
"$_tests/PictureShaderTest.cpp",
|
|
|
|
"$_tests/PictureTest.cpp",
|
2017-09-29 19:10:39 +00:00
|
|
|
"$_tests/PinnedImageTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/PixelRefTest.cpp",
|
|
|
|
"$_tests/Point3Test.cpp",
|
|
|
|
"$_tests/PointTest.cpp",
|
2018-07-03 20:12:39 +00:00
|
|
|
"$_tests/PolyUtilsTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/PremulAlphaRoundTripTest.cpp",
|
|
|
|
"$_tests/PrimitiveProcessorTest.cpp",
|
2017-01-11 15:32:34 +00:00
|
|
|
"$_tests/ProcessorTest.cpp",
|
2018-03-09 17:05:04 +00:00
|
|
|
"$_tests/PromiseImageTest.cpp",
|
2016-11-04 15:59:10 +00:00
|
|
|
"$_tests/ProxyConversionTest.cpp",
|
2016-11-16 19:17:17 +00:00
|
|
|
"$_tests/ProxyRefTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/ProxyTest.cpp",
|
|
|
|
"$_tests/QuickRejectTest.cpp",
|
|
|
|
"$_tests/RandomTest.cpp",
|
|
|
|
"$_tests/Reader32Test.cpp",
|
|
|
|
"$_tests/ReadPixelsTest.cpp",
|
|
|
|
"$_tests/ReadWriteAlphaTest.cpp",
|
|
|
|
"$_tests/RecordDrawTest.cpp",
|
|
|
|
"$_tests/RecorderTest.cpp",
|
|
|
|
"$_tests/RecordingXfermodeTest.cpp",
|
|
|
|
"$_tests/RecordOptsTest.cpp",
|
|
|
|
"$_tests/RecordPatternTest.cpp",
|
|
|
|
"$_tests/RecordTest.cpp",
|
|
|
|
"$_tests/RectangleTextureTest.cpp",
|
|
|
|
"$_tests/RectTest.cpp",
|
|
|
|
"$_tests/RefCntTest.cpp",
|
|
|
|
"$_tests/RegionTest.cpp",
|
2016-11-08 13:49:39 +00:00
|
|
|
"$_tests/RenderTargetContextTest.cpp",
|
2017-07-18 18:49:38 +00:00
|
|
|
"$_tests/ResourceAllocatorTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/ResourceCacheTest.cpp",
|
|
|
|
"$_tests/RoundRectTest.cpp",
|
|
|
|
"$_tests/RRectInPathTest.cpp",
|
|
|
|
"$_tests/RTreeTest.cpp",
|
2017-08-11 18:00:50 +00:00
|
|
|
"$_tests/SafeMathTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/ScalarTest.cpp",
|
|
|
|
"$_tests/ScaleToSidesTest.cpp",
|
|
|
|
"$_tests/SerializationTest.cpp",
|
2017-12-05 20:11:24 +00:00
|
|
|
"$_tests/SerialProcsTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/ShaderOpacityTest.cpp",
|
|
|
|
"$_tests/ShaderTest.cpp",
|
2017-07-31 13:34:58 +00:00
|
|
|
"$_tests/ShadowTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/SizeTest.cpp",
|
|
|
|
"$_tests/Sk4x4fTest.cpp",
|
|
|
|
"$_tests/SkBase64Test.cpp",
|
|
|
|
"$_tests/skbug5221.cpp",
|
2017-03-21 21:00:35 +00:00
|
|
|
"$_tests/skbug6389.cpp",
|
Unit test to demonstrate Galaxy S6 MSAA readPixels bug
After lots of tinkering, this is the smallest test case I've
found to reproduce the bug. Frequently, bitmap b4 will be
cleared to blue, but not contain the oval drawn right before.
Bitmap b5 will contain the oval, so the diff of the two
bitmaps will detect the error.
There may be something else that can be removed, but I
haven't found it.
Interesting note:
In the original version, all surfaces were cleared to
black. When I started trying to change the clear colors to
figure out if we were getting an old surface, the bug went
away. In particular, the first clear color is irrelevant,
but the last three clears must all be the same color. If
any are different, the bug doesn't occur.
Bug: skia:6653
Change-Id: Iacafcc140b60594fab208e82987b0f37416975f3
Reviewed-on: https://skia-review.googlesource.com/19817
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
2017-06-15 17:25:10 +00:00
|
|
|
"$_tests/skbug6653.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/SkColor4fTest.cpp",
|
2018-05-24 16:33:23 +00:00
|
|
|
"$_tests/SkColorSpaceXformStepsTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/SkDOMTest.cpp",
|
2016-10-31 13:20:54 +00:00
|
|
|
"$_tests/SkFixed15Test.cpp",
|
2017-11-03 17:36:55 +00:00
|
|
|
"$_tests/SkGaussFilterTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/SkImageTest.cpp",
|
|
|
|
"$_tests/SkLiteDLTest.cpp",
|
|
|
|
"$_tests/SkNxTest.cpp",
|
|
|
|
"$_tests/SkPEGTest.cpp",
|
|
|
|
"$_tests/SkRasterPipelineTest.cpp",
|
2018-05-02 17:29:37 +00:00
|
|
|
"$_tests/SkRemoteGlyphCacheTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/SkResourceCacheTest.cpp",
|
|
|
|
"$_tests/SkSharedMutexTest.cpp",
|
|
|
|
"$_tests/SkSLErrorTest.cpp",
|
2017-06-29 14:03:38 +00:00
|
|
|
"$_tests/SkSLFPTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/SkSLGLSLTest.cpp",
|
2018-03-27 18:10:52 +00:00
|
|
|
"$_tests/SkSLJITTest.cpp",
|
2016-11-22 16:39:36 +00:00
|
|
|
"$_tests/SkSLMemoryLayoutTest.cpp",
|
2017-05-10 19:06:17 +00:00
|
|
|
"$_tests/SkSLSPIRVTest.cpp",
|
2018-08-02 15:26:41 +00:00
|
|
|
"$_tests/SkUTFTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/SortTest.cpp",
|
|
|
|
"$_tests/SpecialImageTest.cpp",
|
|
|
|
"$_tests/SpecialSurfaceTest.cpp",
|
|
|
|
"$_tests/SrcOverTest.cpp",
|
|
|
|
"$_tests/SRGBReadWritePixelsTest.cpp",
|
|
|
|
"$_tests/SRGBTest.cpp",
|
2016-12-16 16:39:51 +00:00
|
|
|
"$_tests/StreamBufferTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/StreamTest.cpp",
|
|
|
|
"$_tests/StringTest.cpp",
|
|
|
|
"$_tests/StrokerTest.cpp",
|
|
|
|
"$_tests/StrokeTest.cpp",
|
|
|
|
"$_tests/SubsetPath.cpp",
|
2017-06-16 13:45:32 +00:00
|
|
|
"$_tests/SurfaceSemaphoreTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/SurfaceTest.cpp",
|
|
|
|
"$_tests/SVGDeviceTest.cpp",
|
|
|
|
"$_tests/SwizzlerTest.cpp",
|
|
|
|
"$_tests/TArrayTest.cpp",
|
|
|
|
"$_tests/TDPQueueTest.cpp",
|
2017-07-25 21:26:19 +00:00
|
|
|
"$_tests/TableColorFilterTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/TemplatesTest.cpp",
|
|
|
|
"$_tests/TessellatingPathRendererTests.cpp",
|
|
|
|
"$_tests/Test.cpp",
|
|
|
|
"$_tests/TestTest.cpp",
|
2017-01-27 15:11:42 +00:00
|
|
|
"$_tests/TestUtils.h",
|
|
|
|
"$_tests/TestUtils.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/TextBlobCacheTest.cpp",
|
|
|
|
"$_tests/TextBlobTest.cpp",
|
2017-09-21 12:26:08 +00:00
|
|
|
"$_tests/TextureProxyTest.cpp",
|
2018-03-19 14:57:42 +00:00
|
|
|
"$_tests/TextureStripAtlasManagerTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/Time.cpp",
|
2018-04-11 15:59:18 +00:00
|
|
|
"$_tests/TLazyTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/TopoSortTest.cpp",
|
2017-11-27 17:39:30 +00:00
|
|
|
"$_tests/ToSRGBColorFilter.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/TraceMemoryDumpTest.cpp",
|
2017-08-01 14:23:38 +00:00
|
|
|
"$_tests/TracingTest.cpp",
|
2017-06-21 19:55:46 +00:00
|
|
|
"$_tests/TransferPixelsTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/TypefaceTest.cpp",
|
|
|
|
"$_tests/UnicodeTest.cpp",
|
|
|
|
"$_tests/UtilsTest.cpp",
|
2017-03-14 18:10:54 +00:00
|
|
|
"$_tests/VerticesTest.cpp",
|
2018-04-10 13:34:07 +00:00
|
|
|
"$_tests/VkBackendSurfaceTest.cpp",
|
2018-10-19 17:54:56 +00:00
|
|
|
"$_tests/VkDrawableTest.cpp",
|
2018-03-01 16:34:59 +00:00
|
|
|
"$_tests/VkMakeCopyPipelineTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/VkWrapTests.cpp",
|
2017-12-06 17:27:44 +00:00
|
|
|
"$_tests/VptrTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/WindowRectanglesTest.cpp",
|
|
|
|
"$_tests/WritePixelsTest.cpp",
|
|
|
|
"$_tests/Writer32Test.cpp",
|
|
|
|
"$_tests/YUVCacheTest.cpp",
|
|
|
|
"$_tests/YUVTest.cpp",
|
|
|
|
]
|
|
|
|
|
|
|
|
pathops_tests_sources = [
|
|
|
|
"$_tests/PathOpsAngleIdeas.cpp",
|
|
|
|
"$_tests/PathOpsAngleTest.cpp",
|
2018-08-16 15:53:54 +00:00
|
|
|
"$_tests/PathOpsAsWindingTest.cpp",
|
2016-10-27 16:21:40 +00:00
|
|
|
"$_tests/PathOpsBattles.cpp",
|
|
|
|
"$_tests/PathOpsBoundsTest.cpp",
|
|
|
|
"$_tests/PathOpsBuilderConicTest.cpp",
|
|
|
|
"$_tests/PathOpsBuilderTest.cpp",
|
|
|
|
"$_tests/PathOpsBuildUseTest.cpp",
|
|
|
|
"$_tests/PathOpsChalkboardTest.cpp",
|
|
|
|
"$_tests/PathOpsConicIntersectionTest.cpp",
|
|
|
|
"$_tests/PathOpsConicLineIntersectionTest.cpp",
|
|
|
|
"$_tests/PathOpsConicQuadIntersectionTest.cpp",
|
|
|
|
"$_tests/PathOpsCubicConicIntersectionTest.cpp",
|
|
|
|
"$_tests/PathOpsCubicIntersectionTest.cpp",
|
|
|
|
"$_tests/PathOpsCubicIntersectionTestData.cpp",
|
|
|
|
"$_tests/PathOpsCubicLineIntersectionIdeas.cpp",
|
|
|
|
"$_tests/PathOpsCubicLineIntersectionTest.cpp",
|
|
|
|
"$_tests/PathOpsCubicQuadIntersectionTest.cpp",
|
|
|
|
"$_tests/PathOpsCubicReduceOrderTest.cpp",
|
|
|
|
"$_tests/PathOpsDCubicTest.cpp",
|
|
|
|
"$_tests/PathOpsDebug.cpp",
|
|
|
|
"$_tests/PathOpsDLineTest.cpp",
|
|
|
|
"$_tests/PathOpsDPointTest.cpp",
|
|
|
|
"$_tests/PathOpsDRectTest.cpp",
|
|
|
|
"$_tests/PathOpsDVectorTest.cpp",
|
|
|
|
"$_tests/PathOpsExtendedTest.cpp",
|
|
|
|
"$_tests/PathOpsFuzz763Test.cpp",
|
|
|
|
"$_tests/PathOpsInverseTest.cpp",
|
|
|
|
"$_tests/PathOpsIssue3651.cpp",
|
|
|
|
"$_tests/PathOpsLineIntersectionTest.cpp",
|
|
|
|
"$_tests/PathOpsLineParametetersTest.cpp",
|
|
|
|
"$_tests/PathOpsOpCircleThreadedTest.cpp",
|
|
|
|
"$_tests/PathOpsOpCubicThreadedTest.cpp",
|
|
|
|
"$_tests/PathOpsOpLoopThreadedTest.cpp",
|
|
|
|
"$_tests/PathOpsOpRectThreadedTest.cpp",
|
|
|
|
"$_tests/PathOpsOpTest.cpp",
|
|
|
|
"$_tests/PathOpsQuadIntersectionTest.cpp",
|
|
|
|
"$_tests/PathOpsQuadIntersectionTestData.cpp",
|
|
|
|
"$_tests/PathOpsQuadLineIntersectionTest.cpp",
|
|
|
|
"$_tests/PathOpsQuadLineIntersectionThreadedTest.cpp",
|
|
|
|
"$_tests/PathOpsQuadReduceOrderTest.cpp",
|
|
|
|
"$_tests/PathOpsSimplifyDegenerateThreadedTest.cpp",
|
|
|
|
"$_tests/PathOpsSimplifyFailTest.cpp",
|
|
|
|
"$_tests/PathOpsSimplifyQuadralateralsThreadedTest.cpp",
|
|
|
|
"$_tests/PathOpsSimplifyQuadThreadedTest.cpp",
|
|
|
|
"$_tests/PathOpsSimplifyRectThreadedTest.cpp",
|
|
|
|
"$_tests/PathOpsSimplifyTest.cpp",
|
|
|
|
"$_tests/PathOpsSimplifyTrianglesThreadedTest.cpp",
|
|
|
|
"$_tests/PathOpsSkpTest.cpp",
|
|
|
|
"$_tests/PathOpsTestCommon.cpp",
|
|
|
|
"$_tests/PathOpsThreadedCommon.cpp",
|
|
|
|
"$_tests/PathOpsThreeWayTest.cpp",
|
|
|
|
"$_tests/PathOpsTigerTest.cpp",
|
|
|
|
"$_tests/PathOpsTightBoundsTest.cpp",
|
|
|
|
"$_tests/PathOpsTypesTest.cpp",
|
|
|
|
]
|