aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrPathRenderer.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-05-16 20:54:05 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-05-16 20:54:05 +0000
commit9a9c3d55357902c67182dc4175619956e3753562 (patch)
tree72335ca05b86eeb38d877ebc89175f892407e2ab /src/gpu/GrPathRenderer.cpp
parentf438c972589f91fec69b734e9f334d1fa2aa9aa8 (diff)
Revert "Pass bounds into draw calls in path renderers."
This reverts commit 9e6c4259d8453b893b4abc28beba8f77226d18d1. git-svn-id: http://skia.googlecode.com/svn/trunk@9173 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrPathRenderer.cpp')
-rw-r--r--src/gpu/GrPathRenderer.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/gpu/GrPathRenderer.cpp b/src/gpu/GrPathRenderer.cpp
index e88db22b30..e0d2682bcd 100644
--- a/src/gpu/GrPathRenderer.cpp
+++ b/src/gpu/GrPathRenderer.cpp
@@ -12,15 +12,3 @@ SK_DEFINE_INST_COUNT(GrPathRenderer)
GrPathRenderer::GrPathRenderer() {
}
-
-void GrPathRenderer::GetPathDevBounds(const SkPath& path,
- int devW, int devH,
- const SkMatrix& matrix,
- SkRect* bounds) {
- if (path.isInverseFillType()) {
- *bounds = SkRect::MakeWH(SkIntToScalar(devW), SkIntToScalar(devH));
- return;
- }
- *bounds = path.getBounds();
- matrix.mapRect(bounds);
-}