Add repro GM for GPU clipped-AA vs. non-AA drawRect discrepancy
authorrobertphillips <robertphillips@google.com>
Wed, 14 Jan 2015 17:44:02 +0000 (09:44 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 14 Jan 2015 17:44:02 +0000 (09:44 -0800)
commit028b98a08072bd1764936e47c54fa2da5cf92744
tree49908922918fa08a1dcde4c53a467fdb4ec81cde
parent7c348a8097db763cecd3f9703f39714196ab7ec5
Add repro GM for  GPU clipped-AA vs. non-AA drawRect discrepancy

In the clip stack we were manually rounding out non-AA clip rects but leaving the hardening of non-AA drawRects up to the GPU. In some border cases the GPU can truncate rather than round out resulting in visual discrepancies.

BUG=423834

Committed: https://skia.googlesource.com/skia/+/933a03fecb65c83f81cf65d5cf9870c69aa379ff

Review URL: https://codereview.chromium.org/839883003
gm/clipdrawdraw.cpp [new file with mode: 0644]
gyp/gmslides.gypi