summaryrefslogtreecommitdiff
path: root/libs/ui/FramebufferNativeWindow.cpp
diff options
context:
space:
mode:
author Dan Stoza <stoza@google.com> 2015-06-25 16:10:18 -0700
committer Dan Stoza <stoza@google.com> 2015-06-25 16:10:18 -0700
commitdb4850c01ff02bf7f936aa427e1fa8af9abc8f22 (patch)
tree01dd6265a6886915cd671540b68e6af7a224ed86 /libs/ui/FramebufferNativeWindow.cpp
parent7a1b5d5dec10f05ec29e7251ada440b47a34c6aa (diff)
libgui: Fix handling of rotated surface damage
Incoming surface damage was not aware that the EGL implementation was rotating buffers in response to SurfaceFlinger's transform hint. This didn't affect all cases because the effect was to apply a 90 degree rotation instead of a 270 degree rotation. For full-screen updates, things more or less worked, but in other cases this caused corruption. This fixes that by correctly undoing the effect of rotated buffers on the incoming surface damage, and then passing that damage down untouched to HWC. Bug: 22068334 Change-Id: I226ecfc7a91fe2e16edd2aa6d9149f0d26b529d6
Diffstat (limited to 'libs/ui/FramebufferNativeWindow.cpp')
0 files changed, 0 insertions, 0 deletions