Remove some validation and asserts from tessellating path renderer.
authorsenorblanco <senorblanco@chromium.org>
Thu, 26 Mar 2015 21:52:45 +0000 (14:52 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 26 Mar 2015 21:52:45 +0000 (14:52 -0700)
commite833107a30b240e0685b354838bf6098066da6f8
treef0d28abfda914d29ac2ea41ac2d7efca2f97cfe7
parent2edf599eebd370d5a95cafb2a668c4e9e0e9c094
Remove some validation and asserts from tessellating path renderer.

In some cases, resolving an intersection can cause a vertex to go
slightly out-of-order with edges which have already been processed.
This doesn't cause any algorithmic errors, but it's difficult to detect
without impacting performance significantly.

Also, the GPU infrastructure fires asserts when attempting
to allocate 0-length vertex buffers. Early-out instead,
since there's nothing to draw.

Review URL: https://codereview.chromium.org/1032253005
src/gpu/GrTessellatingPathRenderer.cpp