GrTessellator: refactor Line out of Edge.
authorsenorblanco <senorblanco@chromium.org>
Fri, 7 Oct 2016 15:36:56 +0000 (08:36 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 7 Oct 2016 15:36:56 +0000 (08:36 -0700)
commit49df8d17c56ee08ecf860289d501913d356f67dc
tree31e52c4d78251ebff8681fd779cdbd834fcb1391
parent55865a26bf0cce79bc529046eec91541deb99f2d
GrTessellator: refactor Line out of Edge.

There are cases where we need only a line equation, and not a full
Edge. Create a Line struct for this, and refactor Edge to use it.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2397963003

Review-Url: https://codereview.chromium.org/2397963003
src/gpu/GrTessellator.cpp