summaryrefslogtreecommitdiffstats
path: root/libs/hwui/ClipArea.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/hwui/ClipArea.h')
-rw-r--r--libs/hwui/ClipArea.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/hwui/ClipArea.h b/libs/hwui/ClipArea.h
index e284af0..51ef27b 100644
--- a/libs/hwui/ClipArea.h
+++ b/libs/hwui/ClipArea.h
@@ -153,6 +153,8 @@ private:
}
void regionFromPath(const SkPath& path, SkRegion& pathAsRegion) {
+ // TODO: this should not mask every path to the viewport - this makes it impossible to use
+ // paths to clip to larger areas (which is valid e.g. with SkRegion::kReplace_Op)
pathAsRegion.setPath(path, createViewportRegion());
}