commit | 99c7c07e0f1f7b78980eb21d84bebda8b45a7178 | [log] [tgz] |
---|---|---|
author | joshualitt <joshualitt@chromium.org> | Fri May 01 13:43:30 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Fri May 01 13:43:30 2015 -0700 |
tree | ed58f4b8b002dbe933612aa000a37d0406d617c4 | |
parent | a499f905e9340e4935447f2562fd92e8853382b1 [diff] [blame] |
Move bounds to GrBatch BUG=skia: Review URL: https://codereview.chromium.org/1121463002
diff --git a/src/gpu/GrTessellatingPathRenderer.cpp b/src/gpu/GrTessellatingPathRenderer.cpp index e00792e..7a9c5a7 100644 --- a/src/gpu/GrTessellatingPathRenderer.cpp +++ b/src/gpu/GrTessellatingPathRenderer.cpp
@@ -1485,6 +1485,9 @@ , fViewMatrix(viewMatrix) , fClipBounds(clipBounds) { this->initClassID<TessellatingPathBatch>(); + + fBounds = path.getBounds(); + viewMatrix.mapRect(&fBounds); } GrColor fColor;