replicant-frameworks_native/services/surfaceflinger
Mathias Agopian 0cd545f142 sometimes we would incorrectly scale the content of a surface
this would happen when a resize was pending (ie: we have received
and processed a resize transaction but have not received a buffer
with the right size) and a new transaction came in that didn't
involve a resize, for instance a translate-only transaction.

in this case, we would incorrectly update the drawing state
with the pending size, eventhough we still don't have a buffer
for it.

the solution is quite simple, we never allow the size to propagate
from current to drawing state during the regular transaction processing
(unless we are in fixed-size mode -- meaning we don't need to have
a matching size buffer), this propagation happens later once we
receive the buffer.

Bug: 6624163
Change-Id: I11a97e4b88a7f3a0571ddcfe99c86cb04ce01a4d
2012-06-07 17:12:20 -07:00
..
DisplayHardware
tests
Android.mk
Barrier.h
clz.cpp
clz.h
DdmConnection.cpp
DdmConnection.h
EventThread.cpp
EventThread.h
GLExtensions.cpp
GLExtensions.h
Layer.cpp sometimes we would incorrectly scale the content of a surface 2012-06-07 17:12:20 -07:00
Layer.h
LayerBase.cpp
LayerBase.h
LayerDim.cpp
LayerDim.h
LayerScreenshot.cpp
LayerScreenshot.h
MessageQueue.cpp
MessageQueue.h
MODULE_LICENSE_APACHE2
SurfaceFlinger.cpp
SurfaceFlinger.h
SurfaceTextureLayer.cpp
SurfaceTextureLayer.h
Transform.cpp
Transform.h