diff options
Diffstat (limited to 'libs/hwui/DisplayListOp.h')
-rw-r--r-- | libs/hwui/DisplayListOp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/hwui/DisplayListOp.h b/libs/hwui/DisplayListOp.h index ad7edb1..c277c24 100644 --- a/libs/hwui/DisplayListOp.h +++ b/libs/hwui/DisplayListOp.h @@ -237,6 +237,8 @@ public: } bool mergeAllowed() { + if (!state.mMatrix.isPureTranslate()) return false; + // checks that we're unclipped, and srcover const Rect& opBounds = state.mBounds; return fabs(opBounds.getWidth() - mLocalBounds.getWidth()) < 0.1 && |