aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-04-27 21:13:04 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-04-27 21:13:04 +0000
commit06e1795cd982c22bd3b4cc9ec45ad3b597314e98 (patch)
tree8ed53696ab12939931123daa58bdf7fda018939d /include/gpu
parent31a5840ac8cf83b9453f3937a02101661cc8fc7f (diff)
Add bounding rect for paths
Review URL: http://codereview.appspot.com/4442094/ git-svn-id: http://skia.googlecode.com/svn/trunk@1205 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/gpu')
-rw-r--r--include/gpu/SkGr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/gpu/SkGr.h b/include/gpu/SkGr.h
index 10f1bd09d5..bcb6766022 100644
--- a/include/gpu/SkGr.h
+++ b/include/gpu/SkGr.h
@@ -169,6 +169,7 @@ public:
virtual GrPathCmd next();
virtual void rewind();
virtual GrConvexHint convexHint() const;
+ virtual bool getConservativeBounds(GrRect* rect) const;
void reset(const SkPath& path) {
fPath = &path;