aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrClip.h
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-06-21 19:58:20 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-06-21 19:58:20 +0000
commita320194e4242ef0e5e758aea896bfd52bcb3dac7 (patch)
treef2025d8395a55204d523463c923f820c7a1ced02 /include/gpu/GrClip.h
parent8f7e1dac5c92bf1f53feb603a9bd249d53afa81a (diff)
Make GrClipMaskManager configure the stencil and scissor on GrGpu
Review URL: http://codereview.appspot.com/6308096/ git-svn-id: http://skia.googlecode.com/svn/trunk@4288 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/gpu/GrClip.h')
-rw-r--r--include/gpu/GrClip.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/gpu/GrClip.h b/include/gpu/GrClip.h
index 6f1c5d47b2..3385c7474a 100644
--- a/include/gpu/GrClip.h
+++ b/include/gpu/GrClip.h
@@ -13,7 +13,6 @@
#include "GrClipIterator.h"
#include "GrRect.h"
-#include "GrTemplates.h"
#include "SkPath.h"
#include "SkTArray.h"
@@ -78,6 +77,8 @@ public:
}
}
+ // FIXME: This word "empty" is confusing. It means that the clip has no
+ // elements (it is the infinite plane) not that it has no area.
bool isEmpty() const { return 0 == fList.count(); }
/**