Fix GPU-only snapping bug in mask blur rendering
authorrobertphillips <robertphillips@google.com>
Mon, 14 Sep 2015 18:18:13 +0000 (11:18 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 14 Sep 2015 18:18:13 +0000 (11:18 -0700)
commit3833daaa663db7e655a8077cdab42cca19d3a276
treefa6b9a0da4910a3dc2dd91274daf8b10b778ec74
parentefd50daa2883ccadbed4bcffc789a76b24536a60
Fix GPU-only snapping bug in mask blur rendering

The existing mask effect code in Ganesh is subject to snapping issues (when the created mask is redrawn). This artifact can be seen by rendering the original geometry (w/o blurs) and comparing that result to a rendering of the unblurred masks. W/o this patch the results do not match up (they are arbitrarily shifted by a pixel).

This patch will require rebaselining and suppressions.

Chromium layout tests suppressions are here:
https://codereview.chromium.org/1342683003/ (Add layout test suppressions for upcoming Skia roll)

Review URL: https://codereview.chromium.org/1338183002
src/gpu/GrBlurUtils.cpp