65f553182a
The fixes include - detect when finding the active top loops between two possible answers - preflight chasing winding to ensure answer is consistent - binary search more often when quadratic intersection fails - add more failure paths when an intersect is missed While this fixes the chrome bug, reenabling path ops in svg should be deferred until additional fixes are landed. TBR= BUG=421132 Committed: https://skia.googlesource.com/skia/+/6f726addf3178b01949bb389ef83cf14a1d7b6b2 Review URL: https://codereview.chromium.org/633393002
67 lines
2.3 KiB
Python
67 lines
2.3 KiB
Python
# Common gypi for pathops unit tests.
|
|
{
|
|
'include_dirs': [
|
|
'../src/core',
|
|
'../src/effects',
|
|
'../src/lazy',
|
|
'../src/pathops',
|
|
'../src/pipe/utils',
|
|
'../src/utils',
|
|
],
|
|
'dependencies': [
|
|
'flags.gyp:flags',
|
|
'skia_lib.gyp:skia_lib',
|
|
'tools.gyp:resources',
|
|
],
|
|
'sources': [
|
|
'../tests/Test.cpp',
|
|
'../tests/Test.h',
|
|
|
|
'../tests/PathOpsAngleTest.cpp',
|
|
'../tests/PathOpsBoundsTest.cpp',
|
|
'../tests/PathOpsCubicIntersectionTest.cpp',
|
|
'../tests/PathOpsCubicIntersectionTestData.cpp',
|
|
'../tests/PathOpsCubicLineIntersectionTest.cpp',
|
|
'../tests/PathOpsCubicQuadIntersectionTest.cpp',
|
|
'../tests/PathOpsCubicReduceOrderTest.cpp',
|
|
'../tests/PathOpsCubicToQuadsTest.cpp',
|
|
'../tests/PathOpsDCubicTest.cpp',
|
|
'../tests/PathOpsDLineTest.cpp',
|
|
'../tests/PathOpsDPointTest.cpp',
|
|
'../tests/PathOpsDQuadTest.cpp',
|
|
'../tests/PathOpsDRectTest.cpp',
|
|
'../tests/PathOpsDTriangleTest.cpp',
|
|
'../tests/PathOpsDVectorTest.cpp',
|
|
'../tests/PathOpsExtendedTest.cpp',
|
|
'../tests/PathOpsFuzz763Test.cpp',
|
|
'../tests/PathOpsInverseTest.cpp',
|
|
'../tests/PathOpsLineIntersectionTest.cpp',
|
|
'../tests/PathOpsLineParametetersTest.cpp',
|
|
'../tests/PathOpsOpCubicThreadedTest.cpp',
|
|
'../tests/PathOpsOpRectThreadedTest.cpp',
|
|
'../tests/PathOpsOpTest.cpp',
|
|
'../tests/PathOpsQuadIntersectionTest.cpp',
|
|
'../tests/PathOpsQuadIntersectionTestData.cpp',
|
|
'../tests/PathOpsQuadLineIntersectionTest.cpp',
|
|
'../tests/PathOpsQuadLineIntersectionThreadedTest.cpp',
|
|
'../tests/PathOpsQuadParameterizationTest.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/PathOpsTightBoundsTest.cpp',
|
|
'../tests/PathOpsCubicIntersectionTestData.h',
|
|
'../tests/PathOpsExtendedTest.h',
|
|
'../tests/PathOpsQuadIntersectionTestData.h',
|
|
'../tests/PathOpsTestCommon.h',
|
|
'../tests/PathOpsThreadedCommon.h',
|
|
],
|
|
}
|