Fix reflected ovals.
authorJim Van Verth <jvanverth@google.com>
Thu, 20 Apr 2017 21:25:26 +0000 (17:25 -0400)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Fri, 21 Apr 2017 13:28:45 +0000 (13:28 +0000)
commitd952a9929b2dc826955249c755b6fed5627491c2
treeef150bfcaea7e1779be3f6b15f13646f8650854a
parent2af746c1e74af30d0fb02d5c35a178e61d152965
Fix reflected ovals.

Addresses an issue with ovals transformed by a matrix with a reflection.
Also adds a further check for circles to ensure that teeny tiny ovals
(sizes < SK_ScalarNearlyZero) aren't treated as circles.

Change-Id: Ie50e4a98365eba7c23e53e68886ebac981ed1def
Reviewed-on: https://skia-review.googlesource.com/13989
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
gm/ovals.cpp
src/gpu/ops/GrOvalOpFactory.cpp