diff options
Diffstat (limited to 'libs/hwui/Snapshot.h')
| -rw-r--r-- | libs/hwui/Snapshot.h | 5 |
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; |
