Fix ClipMaskManager's SW-fallback logic (take 2)
authorrobertphillips <robertphillips@google.com>
Tue, 27 Oct 2015 14:17:33 +0000 (07:17 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 27 Oct 2015 14:17:33 +0000 (07:17 -0700)
commit3f7357f1a0af60dddbd91fd457cb50a1771f0d13
treeeb1c1af737d9c507b588240f5a19eff06df878d4
parent90978148e71e525c887c389b2bec6c4cbbd1dee1
Fix ClipMaskManager's SW-fallback logic (take 2)

https://codereview.chromium.org/1421533007/ (Fix ClipMaskManager's SW-fallback logic) had a logic error in it. It did not take into account createAlphaClipMask's fallback to non-Stenciled drawing (in drawElement).

This CL adds that logic and strips out the unnecessary changes (for clarity).

Review URL: https://codereview.chromium.org/1412883005
src/gpu/GrClipMaskManager.cpp