skia2/src
robertphillips f52a063dfd Fix yet another convexicator issue
This CL fixes the case where a bad initial vector (i.e., nearly zero) managed to short circuit all of the convexicator's logic. The initial bad vector would become the last vector and then never get displaced.

The history of this is:

https://codereview.chromium.org/298973004/
Switched the convexicator to not advance the last vector when the cross product wasn't significant

https://codereview.chromium.org/573763002/
Fixed a bug (crbug.com/412640) wherein a zero area path was being incorrectly categorized as convex b.c. opposite but equal vectors were not signaling concavity.

BUG=433683

Review URL: https://codereview.chromium.org/727283003
2014-11-17 12:11:42 -08:00
..
animator stop calling SkCanvas::getDevice 2014-06-30 09:05:34 -07:00
c separate c headers 2014-11-17 06:15:42 -08:00
core Fix yet another convexicator issue 2014-11-17 12:11:42 -08:00
device/xps Rename onCreateDevice -> onCreateCompatibleDevice 2014-11-13 08:33:37 -08:00
doc Simplify canvas calls in SkDocument_PDF 2014-11-10 14:22:15 -08:00
effects Added missing validation 2014-11-17 05:45:55 -08:00
fonts Enforce pure virtual behavior for onMatchFamilyStyleCharacter 2014-11-14 10:52:53 -08:00
gpu Allow GPU resources to not be counted against the cache budget. 2014-11-17 09:33:27 -08:00
image rename filterTextFlags to disableLCD 2014-11-13 12:41:02 -08:00
images Add tests (and fix!) for known bad ICO files. 2014-11-10 13:12:25 -08:00
lazy Add SkIRect bounds() convenience method to SkImageInfo and SkBitmap. 2014-10-24 12:54:53 -07:00
opts Optimize SkAlphaMulQ_SSE2 2014-11-14 08:23:53 -08:00
pathops These tests stress pathops by describing the union of circle-like paths that have tiny line segments embedded and double back to create near-coincident conditions. 2014-11-13 06:58:52 -08:00
pdf Revert "move SkPDFD*.h from include to src" 2014-11-17 09:42:09 -05:00
pipe Revert of Override SkCanvas::drawImage() in SkDeferredCanvas and SkGPipe (patchset #8 id:140001 of https://codereview.chromium.org/613673005/) 2014-11-04 13:21:41 -08:00
ports Enforce pure virtual behavior for onMatchFamilyStyleCharacter 2014-11-14 10:52:53 -08:00
sfnt SkData can allocate room for its contents in the same block 2014-09-11 08:42:36 -07:00
svg
utils Move WGL header from include to src 2014-11-14 07:21:29 -08:00
views Move WGL header from include to src 2014-11-14 07:21:29 -08:00
xml Cleanup the XML directory in public includes. 2014-11-14 05:52:50 -08:00