Return correctly mapped bounds from GrOvalRenderer.
authoregdaniel <egdaniel@google.com>
Mon, 20 Apr 2015 19:28:57 +0000 (12:28 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 20 Apr 2015 19:28:57 +0000 (12:28 -0700)
commit9ef1bb1375e66d9aac1124e005b500cb6d9caf01
tree0fb17ba5b8af345887ae2e4e023bf29600b02437
parentf61475e95d9bb38f741f9e51221c086250b9ad72
Return correctly mapped bounds from GrOvalRenderer.

Before we were returning non transformed bounds for the ovals instead of
device bounds from the various draw calls. This was causing us to do dst
copies from the wrong portion of the screen when there was some transform
on the matrix.

This fixes the gpu issues from the new imagefilters-xfermodes gm as well an
old bug from the srcmode GM.

BUG=skia:

Review URL: https://codereview.chromium.org/1090453003
src/gpu/GrOvalRenderer.cpp