diff options
author | 2022-03-09 14:33:59 -0500 | |
---|---|---|
committer | 2022-03-09 15:05:44 -0500 | |
commit | 710a00fc4bc4aaa3c7798848b9da9ed5c466ccc6 (patch) | |
tree | 988b543ee6c0ddc1eaed2f9f6daec5d0245453b8 /libs/gui/WindowInfo.cpp | |
parent | c030118cf98355d460775d09ff16ea7e030d6d29 (diff) |
sf-caching: Skip hole punch for layer that blends
If the layer blends (i.e. BlendMode != NONE), we cannot punch a hole for
it, since we'll no longer see the content behind it.
We cannot check isOpaque, since a layer with rounded corners is not
consider opaque. (And we want to be able to hole punch for rounded
corners.)
Fixes: 221224727
Test: libcompositionengine_test
Change-Id: Ia8bb27ce78baf8159a60945e37634c053577b2dd
Diffstat (limited to 'libs/gui/WindowInfo.cpp')
0 files changed, 0 insertions, 0 deletions