replicant-frameworks_native/libs/surfaceflinger
Mathias Agopian 0b3ad46a26 Attempt to fix [2152536] ANR in browser
The ANR is caused by SurfaceFlinger waiting for buffers of a removed surface to become availlable.
When it is removed from the current list, a Surface is marked as NO_INIT, which causes SF to return
immediately in the above case. For some reason, the surface here wasn't marked as NO_INIT.

This change makes the code more robust by always (irregadless or errors) setting the NO_INIT status
in all code paths where a surface is removed from the list.

Additionaly added more information in the logs, should this happen again.
2009-10-02 18:12:30 -07:00
..
DisplayHardware minor SurfaceFlinger code cleanup and remove unnecessary tests 2009-09-24 14:57:26 -07:00
tests
Android.mk fix [2068105] implement queueBuffer/lockBuffer/dequeueBuffer properly 2009-09-07 16:32:45 -07:00
Barrier.h
BlurFilter.cpp fix again [2102410] Home Screen is not displayed in the background in Landscape Mode 2009-09-16 17:00:19 -07:00
BlurFilter.h
Buffer.cpp Attempt to fix [2152536] ANR in browser 2009-10-02 18:12:30 -07:00
Buffer.h Attempt to fix [2152536] ANR in browser 2009-10-02 18:12:30 -07:00
BufferAllocator.cpp Attempt to fix [2152536] ANR in browser 2009-10-02 18:12:30 -07:00
BufferAllocator.h
clz.cpp
clz.h
Layer.cpp Attempt to fix [2152536] ANR in browser 2009-10-02 18:12:30 -07:00
Layer.h Attempt to fix [2152536] ANR in browser 2009-10-02 18:12:30 -07:00
LayerBase.cpp Attempt to fix [2152536] ANR in browser 2009-10-02 18:12:30 -07:00
LayerBase.h Attempt to fix [2152536] ANR in browser 2009-10-02 18:12:30 -07:00
LayerBlur.cpp fix again [2102410] Home Screen is not displayed in the background in Landscape Mode 2009-09-16 17:00:19 -07:00
LayerBlur.h fix again [2102410] Home Screen is not displayed in the background in Landscape Mode 2009-09-16 17:00:19 -07:00
LayerBuffer.cpp Overlay could not set position or rotation immediately after created, it should be triggered by signalEvent(). 2009-09-16 20:24:21 -07:00
LayerBuffer.h fix [2037525] Fail to start camera after adb sync new Camera 2009-09-09 00:50:29 -07:00
LayerDim.cpp fix [2068105] implement queueBuffer/lockBuffer/dequeueBuffer properly 2009-09-07 16:32:45 -07:00
LayerDim.h fix [2068105] implement queueBuffer/lockBuffer/dequeueBuffer properly 2009-09-07 16:32:45 -07:00
MessageQueue.cpp implement Mutex and Condition with pthread instead of calling futex directly. 2009-07-13 15:14:23 -07:00
MessageQueue.h
MODULE_LICENSE_APACHE2
SurfaceFlinger.cpp Attempt to fix [2152536] ANR in browser 2009-10-02 18:12:30 -07:00
SurfaceFlinger.h fix [2133214] STOPSHIP: revert I4a06bb4f: workaround for [2113743] Sholes: frozen then runtime restart going to list view 2009-09-23 16:59:57 -07:00
Tokenizer.cpp
Tokenizer.h
Transform.cpp
Transform.h fix [2142193] disable GL_LINEAR when not needed 2009-09-23 18:55:02 -07:00