summaryrefslogtreecommitdiffstats
path: root/libs/hwui/Snapshot.h
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2010-09-13 18:11:21 -0700
committerRomain Guy <romainguy@google.com>2010-09-13 18:13:52 -0700
commit87a76578f76f4a6bceb187da6b7a01899ca0d85a (patch)
tree853825c9d863f06c7ace42e2fd5da3ce814c92a5 /libs/hwui/Snapshot.h
parente8c1c539ca18f8aeb74c3a3710893516e2c1be7c (diff)
downloadframeworks_base-87a76578f76f4a6bceb187da6b7a01899ca0d85a.zip
frameworks_base-87a76578f76f4a6bceb187da6b7a01899ca0d85a.tar.gz
frameworks_base-87a76578f76f4a6bceb187da6b7a01899ca0d85a.tar.bz2
Docs updates.
Change-Id: Iff395e1c6d81a484a2c4ad6e88357c0134971b78
Diffstat (limited to 'libs/hwui/Snapshot.h')
-rw-r--r--libs/hwui/Snapshot.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/hwui/Snapshot.h b/libs/hwui/Snapshot.h
index ebedf53..062c986 100644
--- a/libs/hwui/Snapshot.h
+++ b/libs/hwui/Snapshot.h
@@ -116,6 +116,11 @@ public:
bool clipTransformed(const Rect& r, SkRegion::Op op = SkRegion::kIntersect_Op) {
bool clipped = false;
+ // NOTE: The unimplemented operations require support for regions
+ // Supporting regions would require using a stencil buffer instead
+ // of the scissor. The stencil buffer itself is not too expensive
+ // (memory cost excluded) but on fillrate limited devices, managing
+ // the stencil might have a negative impact on the framerate.
switch (op) {
case SkRegion::kDifference_Op:
break;