replicant-frameworks_native/services/surfaceflinger
Mathias Agopian 02cf75e0ca Fix a race-condtion in SurfaceFlinger that could lead to a crash.
Client::mLayers could be accessed from different threads.
On one side from Client::attachLayer() which is currently
called from a binder thread; on the other side from
Client::detachLayer() which is always called from the main
thread.

This could lead to a corruption of Client::mLayers.

We fix this issue by adding an internal lock to Client.

Bug: 4483046

Change-Id: I5262bf1124d9a65ec6f8ffd8e367356fc33a7536
2011-05-23 16:12:02 -07:00
..
DisplayHardware [3171580] SurfaceFlinger Bypass mode. (DO NOT MERGE) 2010-12-03 17:35:07 -08:00
tests fix [3118445] Transform * Transform does not work as expected 2010-10-24 14:53:05 -07:00
Android.mk minor clean-up. SurfaceFlinger doesn't need libpixelflinger.so. (DO NOT MERGE) 2011-01-25 14:18:15 -08:00
Barrier.h
BlurFilter.cpp
BlurFilter.h
clz.cpp
clz.h
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 revert the surface purgatory list and dependent changes. 2011-03-09 17:00:41 -08:00
Layer.h revert the surface purgatory list and dependent changes. 2011-03-09 17:00:41 -08:00
LayerBase.cpp revert the surface purgatory list and dependent changes. 2011-03-09 17:00:41 -08:00
LayerBase.h revert the surface purgatory list and dependent changes. 2011-03-09 17:00:41 -08:00
LayerBlur.cpp surfaceflinger / GL extensions cleanup 2010-09-15 17:15:31 -07:00
LayerBlur.h
LayerBuffer.cpp really fix [3118445] Transform * Transform does not work as expected 2010-10-27 18:04:11 -07:00
LayerBuffer.h fix [3123221] Video sticks playing back upside down following orientation switch 2010-10-24 19:03:58 -07:00
LayerDim.cpp revert the surface purgatory list and dependent changes. 2011-03-09 17:00:41 -08:00
LayerDim.h
MessageQueue.cpp deliver invalidate messages AFTER other messages 2010-10-11 14:11:15 -07:00
MessageQueue.h
MODULE_LICENSE_APACHE2
SurfaceFlinger.cpp Fix a race-condtion in SurfaceFlinger that could lead to a crash. 2011-05-23 16:12:02 -07:00
SurfaceFlinger.h Fix a race-condtion in SurfaceFlinger that could lead to a crash. 2011-05-23 16:12:02 -07:00
TextureManager.cpp surfaceflinger / GL extensions cleanup 2010-09-15 17:15:31 -07:00
TextureManager.h fix [2931513] Add support for setting the orientation of an ANativeWindow 2010-08-24 15:40:50 -07:00
Transform.cpp really fix [3118445] Transform * Transform does not work as expected 2010-10-27 18:04:11 -07:00
Transform.h fix [3118445] Transform * Transform does not work as expected 2010-10-24 14:53:05 -07:00