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 remove libandroid.so from targets that don't need it 2012-03-27 13:57:43 -07:00
Android.mk set vsync power hint 2012-04-26 19:52:22 -07:00
Barrier.h
clz.cpp
clz.h
DdmConnection.cpp
DdmConnection.h
EventThread.cpp set vsync power hint 2012-04-26 19:52:22 -07:00
EventThread.h make sure to disable VSYNC while screen is off 2012-04-11 15:31:40 -07:00
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 don't attempt to clip layers anymore using glScissor 2012-04-16 03:19:15 -07:00
LayerDim.h
LayerScreenshot.cpp don't attempt to clip layers anymore using glScissor 2012-04-16 03:19:15 -07:00
LayerScreenshot.h
MessageQueue.cpp Revert "handle surfaces posts independently from composition" 2012-04-11 20:43:40 -07:00
MessageQueue.h
MODULE_LICENSE_APACHE2
SurfaceFlinger.cpp SurfaceFlinger: remove all GLES scissor calls. 2012-06-05 19:14:44 -07:00
SurfaceFlinger.h make sure to clear the framebuffer when using overlays 2012-04-18 02:28:45 -07:00
SurfaceTextureLayer.cpp update the binder protocol for connect to match that of queueBuffer 2012-04-23 20:06:02 -07:00
SurfaceTextureLayer.h update the binder protocol for connect to match that of queueBuffer 2012-04-23 20:06:02 -07:00
Transform.cpp
Transform.h SurfaceFlinger: SCALING_MODE_FREEZE cropping support 2012-05-09 12:53:13 -07:00