summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueConsumer.cpp
diff options
context:
space:
mode:
author Robert Carr <racarr@google.com> 2016-03-01 18:36:58 -0800
committer Robert Carr <racarr@google.com> 2016-03-03 12:26:59 -0800
commit3dcabfab7ef80df5884b269fec17350a26da6f51 (patch)
treeb89e42a052301f265c122783e3f98f2215403536 /libs/gui/BufferQueueConsumer.cpp
parent104c3083d6535be205a1edc7c74cdac21dd1c466 (diff)
Latch transform with geometry state.
WindowManager would like this feature for animating windows between sizes. For example, if we are animating from a smaller to larger window, we need to complete the resize at the beginning of the animation to avoid up-scaling. However to avoid artifacts we need the window to appear at its old size following this resize, so we use the transform to scale down. However as the transform is latched immediately, we result in a frame where the window is too small, until the resize is complete. This is a change in behavior but it's hard to understand how it could cause errors. Previously if someone wished to set the transform and resize a window in the same transaction, then the results would be undefined (depending on the state of the window buffer), and there would be no avenue for synchronization. Bug: 26454664 Change-Id: I4e8475967e0a19aa5879af965a5716eb173f9700
Diffstat (limited to 'libs/gui/BufferQueueConsumer.cpp')
0 files changed, 0 insertions, 0 deletions