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 don't actuate vsync hint when not needed 2012-04-27 13:55:05 -07:00
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 SurfaceFlinger: add a crop to the layer state 2012-05-11 03:16:02 -07:00
LayerBase.cpp improve resize transactions 2012-05-23 18:01:24 -07:00
LayerBase.h improve resize transactions 2012-05-23 18:01:24 -07:00
LayerDim.cpp
LayerDim.h
LayerScreenshot.cpp
LayerScreenshot.h
MessageQueue.cpp
MessageQueue.h
MODULE_LICENSE_APACHE2
SurfaceFlinger.cpp SurfaceFlinger: remove all GLES scissor calls. 2012-06-05 19:14:44 -07:00
SurfaceFlinger.h
SurfaceTextureLayer.cpp
SurfaceTextureLayer.h
Transform.cpp
Transform.h SurfaceFlinger: SCALING_MODE_FREEZE cropping support 2012-05-09 12:53:13 -07:00