Fix GrAARectRenderer's handling of unsorted nested rects
authorrobertphillips <robertphillips@google.com>
Tue, 19 May 2015 11:35:38 +0000 (04:35 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 19 May 2015 11:35:39 +0000 (04:35 -0700)
commit2e5b4c52c59f838af0e0a2e5550dcffa4d3756cd
tree967fa9bbae25a644b6b1174eb28b6dcb686a8afa
parent50b58e6fbcc50785ceffacb2c51b22c6e67a7ab7
Fix GrAARectRenderer's handling of unsorted nested rects

What is going on here is that, after the mapPoints in fillAANestedRects, devInside was upside down so the isEmpty check was always firing. I don't see why we need to avoid having devInside sorted.

BUG=488103

Review URL: https://codereview.chromium.org/1135753004
gm/nested.cpp
src/gpu/GrAARectRenderer.cpp