commit | e8b76704add7e141b001fd42c6fce363ef55b273 | [log] [tgz] |
---|---|---|
author | Yichi Chen <yichichen@google.com> | Mon Jun 25 21:51:48 2018 +0800 |
committer | Yichi Chen <yichichen@google.com> | Mon Jul 16 15:03:24 2018 +0800 |
tree | ee5349697fa0d40427b58d5f5f36031961e5006c | |
parent | 970a04f189d66999ca4928669083ac15eba42373 [diff] |
SurfaceFlinger: Add ChildColorLayerTest with zero alpha The alpha value of its parent layer is not considered in isVisible as it is in setGeometry. It results in that HWC gets a ColorLayer with 0.0f in alpha, which doesn't need to be displayed. Bug: b/110632776 Test: Run sffakehwc_test w/ and w/o the fix Change-Id: I91a4be00ae303917e6aa5094d67b01604581b776