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 move native services under services/ 2010-07-22 15:28:19 -07:00
clz.cpp move native services under services/ 2010-07-22 15:28:19 -07:00
clz.h implement: "Add an ANativeWindow API for SurfaceFlinger to suggest an optimal buffer orientation" 2011-07-19 15:24:46 -07:00
DdmConnection.cpp as a debug option SrufaceFlinger can now connect to DDMS 2011-08-15 20:44:40 -07:00
DdmConnection.h as a debug option SrufaceFlinger can now connect to DDMS 2011-08-15 20:44:40 -07:00
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 add support for [1974164] Be able to take a screen shot on the device 2010-09-24 14:56:39 -07:00
GLExtensions.h add support for [1974164] Be able to take a screen shot on the device 2010-09-24 14:56:39 -07:00
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 unify SurfaceTexture and Surface 2011-06-13 15:51:35 -07:00
LayerScreenshot.cpp don't attempt to clip layers anymore using glScissor 2012-04-16 03:19:15 -07:00
LayerScreenshot.h Fix rotation displays frame N-1 briefly while rotating 2011-11-04 15:15:32 -07:00
MessageQueue.cpp Revert "handle surfaces posts independently from composition" 2012-04-11 20:43:40 -07:00
MessageQueue.h separate transactions from updates 2012-02-01 20:43:06 -08:00
MODULE_LICENSE_APACHE2 move native services under services/ 2010-07-22 15:28:19 -07:00
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 Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE 2012-01-03 22:38:27 +00:00
Transform.h SurfaceFlinger: SCALING_MODE_FREEZE cropping support 2012-05-09 12:53:13 -07:00