summaryrefslogtreecommitdiff
path: root/libs/utils/StringArray.cpp
diff options
context:
space:
mode:
author Chet Haase <chet@google.com> 2013-04-11 15:24:55 -0700
committer Chet Haase <chet@google.com> 2013-04-11 17:06:38 -0700
commit91d25932b6651b20159a737da6140cf8a6aaaf08 (patch)
tree7c3cb0c6f0455225ba02c7e60b119e15c8539fb0 /libs/utils/StringArray.cpp
parent1df59c93fea8bec21b8084c34aface086f1e0896 (diff)
DO NOT MERGE Make sure surfaces always have latest orientation info
When the screen is turned off, the current stack is set to -1. This causes logic in iSurfaceFlinger's handleTransactionLocked() function to fail to match the current stack, and the latest orientation is not set into the layer. This causes BufferQueue, later, to potentially set an obsolete transformHint on a created surface (such as in the case with ImageWallpaper's Egl surface, in the bug below). The fix is to note this situation and use a default value for the DisplayDevice, which should have the current orientation information. Issue #8508397 ImageWallpaper sometimes rendered in wrong orientation causing a ~30-40% drop in graphics performance Change-Id: Ibae15d73b289a8343c67f4f6bb77fdf11dd95ee7
Diffstat (limited to 'libs/utils/StringArray.cpp')
0 files changed, 0 insertions, 0 deletions