a8d2ffb1c2
Implement path tight bounds using path ops machinery. This is not as efficient as it could be; for instance, internally, it creates a path ops structure more suited to intersection. If this shows up as a performance bottleneck, it could be improved. Fix path ops gyp files, which have fallen out of sync with other tests. R=mtklein@google.com, bsalomon@google.com TBR=mtklein BUG=skia:1712 Author: caryclark@google.com Review URL: https://codereview.chromium.org/348343002
66 lines
2.3 KiB
Python
66 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/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',
|
|
],
|
|
}
|