Adjust start and end points of arcs based on CTM
authorBrian Osman <brianosman@google.com>
Wed, 17 May 2017 15:43:11 +0000 (11:43 -0400)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Wed, 17 May 2017 16:08:06 +0000 (16:08 +0000)
commitfd773fb508001bab4bccd580e09e82e3541386db
treed503243b3fc49f2c510c015307a7a515e4f4716f
parente3cd691090cadd09c121d670e535fa7cb3230686
Adjust start and end points of arcs based on CTM

GPU was effectively ignoring rotation and scale when drawing arcs. Found
this with a new GM I'll be adding. Hoping to land that separately.

Bug: skia:
Change-Id: I14d36ceaa478193c1a75fb2d06704e7d51f46d02
Reviewed-on: https://skia-review.googlesource.com/17218
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
src/gpu/ops/GrOvalOpFactory.cpp