diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-05-17 18:01:38 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-05-17 18:01:38 +0000 |
commit | d7c37425805d5909ed5601bf2fbf14d5c8b4c86b (patch) | |
tree | bff3b5d2b96c00ce549cdfe48b01b2701393f209 /src/gpu/GrPathRenderer.cpp | |
parent | 7d01ec478ff95967c2f318c928a8e00ac37fd7ab (diff) |
Revert "Revert "Revert "Pass bounds into draw calls in path renderers."""
git-svn-id: http://skia.googlecode.com/svn/trunk@9181 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrPathRenderer.cpp')
-rw-r--r-- | src/gpu/GrPathRenderer.cpp | 12 |
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); -} |