commit | 5f56cb1d3b4f3baf70d723fd2226ae649404c4a1 | [log] [tgz] |
---|---|---|
author | Ethan Nicholas <ethannicholas@google.com> | Mon Apr 27 23:37:55 2020 +0000 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Mon Apr 27 23:38:10 2020 +0000 |
tree | bfd1ec09356f2a5feea78d0650b71f93fd4dcfcf | |
parent | 2514bd790ab9ad0707dd7dfcec7fa09efc11915f [diff] |
Revert "Optimize GrTessellatePathOp's code to emit inner triangles" This reverts commit 0f9ebd100e9127e61c7aa39d4b60079497644817. Reason for revert: breaking a couple of bots (e.g. https://chromium-swarm.appspot.com/task?id=4bd6ccc785fa3110) Original change's description: > Optimize GrTessellatePathOp's code to emit inner triangles > > Previously we used a naive algorithm to generate "middle-out" topologies > for inner polygons, including copying all endpoints to a new array. > > This CL adds a "GrMiddleOutPolygonTriangulator" class that > accomplishes the same thing in 1/5th the time using a small O(log N) > stack. > > Change-Id: I3a7059e5d133a730b7084a17d8fbaaa3aaa81336 > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/285531 > Commit-Queue: Chris Dalton <csmartdalton@google.com> > Reviewed-by: Michael Ludwig <michaelludwig@google.com> TBR=csmartdalton@google.com,michaelludwig@google.com Change-Id: I8ebca7078f2b9c12246447759efa9ce0cbb7e46b No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://skia-review.googlesource.com/c/skia/+/285719 Reviewed-by: Ethan Nicholas <ethannicholas@google.com> Commit-Queue: Ethan Nicholas <ethannicholas@google.com>