diff options
author | Jamie Gennis <jgennis@google.com> | 2011-07-28 14:54:07 -0700 |
---|---|---|
committer | Jamie Gennis <jgennis@google.com> | 2011-07-28 16:03:28 -0700 |
commit | c054570547103412664c89ad748fd4503aaa36be (patch) | |
tree | 3e020b1e1519d5a45e7c2895548eb4fb1461a398 /docs/html/sdk/api_diff/14 | |
parent | 686200cb5f3e80c0b0519ec14cc54b280a560863 (diff) |
SurfaceFlinger: fix a layer occlusion bug
This change fixes a bug where the window visibility would be computed
before any buffers were available, causing the window to be treated as
non-opaque. When the first buffer arrived, if both mCurrentOpacity and
the opacity determined by the buffer's format were 'opaque', a
recomputation of the opacity would not be done, and the window would
continue to be treated as non-opaque. SurfaceFlinger could then
unnecessarily draw fully occluded layers.
Change-Id: I2b95da2f4b50e68d50fc5afd8b772e26e62f58d6
Bug: 5057122
Diffstat (limited to 'docs/html/sdk/api_diff/14')
0 files changed, 0 insertions, 0 deletions