skia2/tools
commit-bot@chromium.org 4431e7757c Mike R: please sanity check SkPostConfig.h
Mike K: please sanity check Test.cpp and skia_test.cpp

Feel free to look at the rest, but I don't expect any in depth review of path ops innards.

Path Ops first iteration used QuickSort to order segments radiating from an intersection to compute the winding rule.

This revision uses a circular sort instead. Breaking out the circular sort into its own long-lived structure (SkOpAngle) allows doing less work and provides a home for caching additional sorting data.

The circle sort is more stable than the former sort, has a robust ordering and fewer exceptions. It finds unsortable ordering less often. It is less reliant on the initial curve  tangent, using convex hulls instead whenever it can.

Additional debug validation makes sure that the computed structures are self-consistent. A new visualization tool helps verify that the angle ordering is correct.

The 70+M tests pass with this change on Windows, Mac, Linux 32 and Linux 64 in debug and release.

R=mtklein@google.com, reed@google.com

Author: caryclark@google.com

Review URL: https://codereview.chromium.org/131103009

git-svn-id: http://skia.googlecode.com/svn/trunk@14183 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-04-14 17:08:59 +00:00
..
copyright Script to automatically update copyright notices in C/C++ source code. 2011-07-28 14:29:58 +00:00
flags Add a minimal --undefok to SkCommandLineFlags. 2014-03-25 21:00:02 +00:00
lua Add quiet mode to lua_pictures. 2014-03-19 19:23:17 +00:00
skpdiff Revert of Revert of Rename kPMColor_SkColorType to kN32_SkColorType. (https://codereview.chromium.org/234243002/) 2014-04-11 17:15:40 +00:00
tests add some .gitignores related to gm and tools 2014-04-11 14:49:50 +00:00
__init__.py Add bench_pictures config 2012-12-12 20:13:26 +00:00
add_codereview_message.py add_codereview_message script to append messages to a CL 2014-01-30 22:12:30 +00:00
bbh_shootout.cpp add --writeChecksumBasedFilenames flag to render_pictures 2014-03-19 17:26:07 +00:00
bench_pictures_cfg_helper.py Fix bench_pictures.cfg 2013-03-07 20:18:27 +00:00
bench_pictures_main.cpp Update bench to be able to preprocess skps 2014-04-11 15:54:14 +00:00
bench_pictures.cfg Remove RHB msaa4 from bench_pictures cfg 2014-04-03 17:47:17 +00:00
bench_playback.cpp use the correct rowBytes so Debug build doesn't assert 2014-04-11 19:06:46 +00:00
bench_record.cpp Sanitizing source files in Housekeeper-Nightly 2014-04-14 03:04:57 +00:00
buildbot_globals.py submit_try: Obtain the list of trybots from the checked-in slaves.cfg 2014-01-14 19:18:45 +00:00
compare_codereview.py Further tweak compare_codereview.py. 2014-03-25 18:02:17 +00:00
CopyTilesRenderer.cpp split SkPictureRecorder out of SkPicture 2014-04-13 19:09:42 +00:00
CopyTilesRenderer.h add --writeChecksumBasedFilenames flag to render_pictures 2014-03-19 17:26:07 +00:00
coverage.sh increase coverage of SkPath.cpp, remove unused code 2013-11-14 16:53:22 +00:00
doxygen_footer.txt Fix update-doxygen, which fails when skia-autogen is reset 2012-09-26 16:09:43 +00:00
filtermain.cpp split SkPictureRecorder out of SkPicture 2014-04-13 19:09:42 +00:00
find_bad_images_in_skps.py Make image decoding more fault resistant, less verbose. 2013-10-04 12:46:45 +00:00
find_run_binary.py Create a common utility for finding and running binaries in out/ 2014-02-07 18:41:49 +00:00
gcov_shim add a way to get code coverage 2013-09-13 19:32:43 +00:00
generate_fir_coeff.py Fix metrics on Windows. 2013-07-27 20:37:56 +00:00
git_utils.py add_codereview_message script to append messages to a CL 2014-01-30 22:12:30 +00:00
git-skia-verify Land http://codereview.appspot.com/6117046/ for Guanqun.Lu@gmail.com 2012-04-24 15:19:23 +00:00
jsondiff.py svndiff.py: properly handle empty expectations dictionary 2013-09-04 16:27:16 +00:00
LazyDecodeBitmap.cpp Add Options to SkDecodingImageGenerator, simplify API. 2014-01-02 13:15:13 +00:00
LazyDecodeBitmap.h Add the lazy decoder from PictureFlags to SkImageDecoder 2013-07-16 18:21:46 +00:00
lsan.supp Add a suppressions file for leak sanitizer. 2014-01-23 18:42:31 +00:00
merge_static_libs.py Build Skia as a static library 2012-10-10 19:45:51 +00:00
misc_utils.py add_codereview_message script to append messages to a CL 2014-01-30 22:12:30 +00:00
OverwriteLine.h Make tests output spin on the same line by default. 2014-01-02 16:19:53 +00:00
path_utils.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2012-12-08 02:01:38 +00:00
path_utils.h Sanitizing source files in Skia_Periodic_House_Keeping 2012-12-08 02:01:38 +00:00
pathops_sorter.htm Mike R: please sanity check SkPostConfig.h 2014-04-14 17:08:59 +00:00
PdfRenderer.cpp Add SkPDFDeviceFlatenner which extends SkPDFDevice to add support to flatten the path and the text when we have perspective. 2013-10-14 13:42:12 +00:00
PdfRenderer.h Add SkPDFDeviceFlatenner which extends SkPDFDevice to add support to flatten the path and the text when we have perspective. 2013-10-14 13:42:12 +00:00
picture_utils.cpp add explicit filepaths to render_pictures JSON summary 2014-04-10 15:39:02 +00:00
picture_utils.h add explicit filepaths to render_pictures JSON summary 2014-04-10 15:39:02 +00:00
PictureBenchmark.cpp Update bench to be able to preprocess skps 2014-04-11 15:54:14 +00:00
PictureBenchmark.h Update bench to be able to preprocess skps 2014-04-11 15:54:14 +00:00
PictureRenderer.cpp Sanitizing source files in Housekeeper-Nightly 2014-04-14 03:04:57 +00:00
PictureRenderer.h split SkPictureRecorder out of SkPicture 2014-04-13 19:09:42 +00:00
PictureRenderingFlags.cpp Add nvprmsaa4 and nvprmsaa16 configs to bench_pictures 2014-03-07 18:41:14 +00:00
PictureRenderingFlags.h Change the name of SkFlags to SkCommandLineFlags. 2013-03-21 19:43:15 +00:00
pinspect.cpp Add the lazy decoder from PictureFlags to SkImageDecoder 2013-07-16 18:21:46 +00:00
rebaseline.py Add Win8 bots to rebaseline.py, add baselines for Win8 2013-12-17 17:29:33 +00:00
reformat-json.py add reformat-json.py script 2013-07-19 15:45:22 +00:00
render_pdfs_main.cpp Do not define SK_SUPPORT_DEEPCOPYTO_CONFIG in Skia. 2014-02-24 18:51:43 +00:00
render_pictures_main.cpp split SkPictureRecorder out of SkPicture 2014-04-13 19:09:42 +00:00
roll_autogen.sh Script to help cycle skia-autogen 2012-08-27 19:37:48 +00:00
roll_deps.py Add the chromium ninja builder to the list of trybots for a DEPS roll. 2014-04-10 14:10:08 +00:00
sanitize_source_files.py Ignore the .git directory in sanitize_source_files, remove .git directory... 2013-09-11 13:01:27 +00:00
sk_tool_utils.cpp Revert "Revert of implement readPixels and writePixels natively, w/o using the (deprecated) (https://codereview.chromium.org/199733016/)" 2014-03-25 16:20:24 +00:00
sk_tool_utils.h Revert "Revert of implement readPixels and writePixels natively, w/o using the (deprecated) (https://codereview.chromium.org/199733016/)" 2014-03-25 16:20:24 +00:00
skdiff_html.cpp fix warnings 2013-01-07 22:26:05 +00:00
skdiff_html.h Add newline at end of tools/skdiff_html.h to happify the housekeeping bot 2012-12-05 20:30:00 +00:00
skdiff_image.cpp Add stdio include to skdiff_image. 2013-10-11 19:19:10 +00:00
skdiff_main.cpp force linking inside of skdiff 2013-06-18 21:23:31 +00:00
skdiff_utils.cpp Revert of Revert of Rename kPMColor_SkColorType to kN32_SkColorType. (https://codereview.chromium.org/234243002/) 2014-04-11 17:15:40 +00:00
skdiff_utils.h Sanitizing source files in Skia_Periodic_House_Keeping 2012-12-06 02:01:25 +00:00
skdiff.cpp * Extended skdiff to report alpha channel differences. 2013-01-03 19:23:22 +00:00
skdiff.h * Extended skdiff to report alpha channel differences. 2013-01-03 19:23:22 +00:00
skhello.cpp deprecate SkScalarRound (and its ilk), use SkScalarRound[ToInt,ToScalar]. #define SK_SUPPORT_DEPRECATED_SCALARROUND for legacy clients 2013-12-17 19:22:07 +00:00
skimage_main.cpp Revert of Revert of Rename kPMColor_SkColorType to kN32_SkColorType. (https://codereview.chromium.org/234243002/) 2014-04-11 17:15:40 +00:00
skpinfo.cpp This CL is motivated by the desire to make the skpinfo tool work a bit better. The main concern is that the assumptions made w.r.t. written bytes may not be valid for all SkWStream sub-classes. 2014-03-05 18:25:20 +00:00
skpmaker.cpp split SkPictureRecorder out of SkPicture 2014-04-13 19:09:42 +00:00
submit_try Make tools/submit_try safer 2014-01-16 19:48:19 +00:00
submit_try.bat Modify submit_try to work on windows 2013-01-24 21:38:51 +00:00
svn.py rebaseline_server: add actual_repo and actual_revision command line options 2014-03-10 18:09:25 +00:00
svndiff.py svndiff for the windows 2013-10-29 13:55:29 +00:00
test_image_decoder.cpp Runtime configuration setting for suppressing JPEG decoder errors. 2013-10-14 20:08:48 +00:00
test_pdfs.py Add an SKP to PDF rendered. test_pdfs.py will be hooked up in buildbot testing later. 2012-10-10 15:20:34 +00:00
update-doxygen.sh Remove references to Skia's SVN repository 2014-01-09 21:41:39 +00:00
valgrind.supp Fix valgrind suppressions (again) 2014-02-14 14:08:05 +00:00
verify_images_for_gm_results.py Remove base-* directories from gm expected/actual paths; just use platform names 2013-08-20 16:21:55 +00:00
win_dbghelp.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2013-03-09 07:01:15 +00:00
win_dbghelp.h Collect minidump and print callstack if an app chrashes. 2013-03-08 18:00:16 +00:00
win_lcid.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2013-04-03 07:01:14 +00:00
xsan_build skia/trunk changes for generic sanitizer gyp flag. 2013-10-08 15:16:36 +00:00