commit | 371626cd0d3f643bc30e8b026051195b98a07155 | [log] [tgz] |
---|---|---|
author | Vishnu Nair <vishnun@google.com> | Thu Jan 30 09:28:10 2020 -0800 |
committer | Vishnu Nair <vishnun@google.com> | Thu Jan 30 17:29:41 2020 +0000 |
tree | 0fd4f07d3dba8934c75e035c873de7f3f1637747 | |
parent | 466691bed8140fba59e581600e71cdcb6c64e8bd [diff] |
Consider a color layer to be opaque if its alpha is 1.0 Remove layers occluded by an opaque color layer from going into composition. Bug: 136561771 Test: atest SurfaceFlinger_test Test: Add a full screen color layer with an alpha of 1 and check layers behind the layer are consided occluded, and the layers are not composed. Change-Id: Iede63ae4d3e378e650c0b0e7364d0c8d128e3105