55888e4417
Most changes stem from working on an examples bracketed by #if DEBUG_UNDER_DEVELOPMENT // tiger These exposed many problems with coincident curves, as well as errors throughout the code. Fixing these errors also fixed a number of fuzzer-inspired bug reports. * Line/Curve Intersections Check to see if the end of the line nearly intersects the curve. This was a FIXME in the old code. * Performance Use a central chunk allocator. Plumb the allocator into the global variable state so that it can be shared. (Note that 'SkGlobalState' is allocated on the stack and is visible to children functions but not other threads.) * Refactor Let SkOpAngle grow up from a structure to a class. Let SkCoincidentSpans grow up from a structure to a class. Rename enum Alias to AliasMatch. * Coincidence Rewrite Add more debugging to coincidence detection. Parallel debugging routines have read-only logic to report the current coincidence state so that steps through the logic can expose whether things got better or worse. More functions can error-out and cause the pathops engine to non-destructively exit. * Accuracy Remove code that adjusted point locations. Instead, offset the curve part so that sorted curves all use the same origin. Reduce the size (and influence) of magic numbers. * Testing The debug suite with verify and the full release suite ./out/Debug/pathops_unittest -v -V ./out/Release/pathops_unittest -v -V -x expose one error. That error is captured as cubics_d3. This error exists in the checked in code as well. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2128633003 BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2128633003 Review-Url: https://codereview.chromium.org/2128633003 |
||
---|---|---|
.. | ||
android | ||
copyright | ||
debugger | ||
fiddle | ||
flags | ||
gpu | ||
lua | ||
skiaserve | ||
skp | ||
timer | ||
viewer | ||
__init__.py | ||
add_codereview_message.py | ||
AndroidSkDebugToStdOut.cpp | ||
BigPathBench.inc | ||
build_command_buffer.py | ||
BUILD_simulator.py | ||
buildbot_spec.json | ||
buildbot_spec.py | ||
builder_name_schema.json | ||
builder_name_schema.py | ||
chrome_fuzz.cpp | ||
compare_codereview.py | ||
coverage.sh | ||
CrashHandler.cpp | ||
CrashHandler.h | ||
create_test_font.cpp | ||
dm_flags.json | ||
dm_flags.py | ||
doxygen_footer.txt | ||
dump_record.cpp | ||
DumpRecord.cpp | ||
DumpRecord.h | ||
embed_resources.py | ||
find_run_binary.py | ||
fix_pythonpath.py | ||
gcov_shim | ||
gen_bench_expectations_from_codereview.py | ||
generate_fir_coeff.py | ||
generate_includes_cpp.py | ||
generate_vk_interface.sh | ||
get_current_monitor_profile.cpp | ||
get_images_from_skps.cpp | ||
git-skia-verify | ||
git-sync-deps | ||
gpuveto.cpp | ||
gyp | ||
imgblur.cpp | ||
imgslice.cpp | ||
install_dependencies.sh | ||
iOSShell.cpp | ||
iOSShell.h | ||
jsondiff.py | ||
llvm_coverage_build | ||
llvm_coverage_run.py | ||
llvm_coverage.sh | ||
lsan.supp | ||
merge_static_libs.py | ||
milestone.py | ||
mirror-dev.sh | ||
misc_utils.py | ||
monobench.cpp | ||
nanobench_flags.json | ||
nanobench_flags.py | ||
OverwriteLine.h | ||
parse_llvm_coverage.py | ||
pathops_sorter.htm | ||
pathops_visualizer.htm | ||
pdf-comparison.sh | ||
picture_utils.cpp | ||
picture_utils.h | ||
pinspect.cpp | ||
ProcStats.cpp | ||
ProcStats.h | ||
random_parse_path.cpp | ||
random_parse_path.h | ||
reformat-json.py | ||
Resources.cpp | ||
Resources.h | ||
retrieve_from_googlesource.py | ||
sanitize_source_files.py | ||
sk_tool_utils_flags.h | ||
sk_tool_utils_font.cpp | ||
sk_tool_utils.cpp | ||
sk_tool_utils.h | ||
skdiff_html.cpp | ||
skdiff_html.h | ||
skdiff_image.cpp | ||
skdiff_main.cpp | ||
skdiff_utils.cpp | ||
skdiff_utils.h | ||
skdiff.cpp | ||
skdiff.h | ||
skhello.cpp | ||
skpinfo.cpp | ||
skpmaker.cpp | ||
SkShaper.cpp | ||
SkShaper.h | ||
Stats.h | ||
test_all.py | ||
test_font_data_chars.cpp | ||
test_font_data.cpp | ||
test_font_index.cpp | ||
test_font_monospace.cpp | ||
test_font_sans_serif.cpp | ||
test_font_serif.cpp | ||
test_gpuveto.py | ||
test_pdfs.py | ||
ThermalManager.cpp | ||
ThermalManager.h | ||
tsan.supp | ||
ubsan.supp | ||
UrlDataManager.cpp | ||
UrlDataManager.h | ||
using_skia_and_harfbuzz.cpp | ||
valgrind.supp | ||
visualize_color_gamut.cpp | ||
whitelist_typefaces.cpp | ||
win_dbghelp.cpp | ||
win_dbghelp.h | ||
win_lcid.cpp | ||
xsan_build | ||
xsan.blacklist |