Add view matrix support to tessellated stroking
To bootstrap tessellated stroking, we started out by converting stroke
paths to device space. This CL removes that conversion and adds two
transformations to the stroking pipeline:
1) A "matrixScale" that scales the control points before
tessellation. This scalar's job is to make sure we tessellate
into the right amount of triangles.
2) A "skewMatrix" that transforms the post-tessellation triangles.
This matrix's job is to apply any skews or translations from the
view matrix, without expanding the geometry in any direction.
Bug: skia:10419
Change-Id: Ib98fc3bd66e1f2bff9fa0e1186294ba8da51e8da
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/306419
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
7 files changed