replicant-frameworks_native/libs/ui
Mathias Agopian 9ec430adae fix [2152536] ANR in browser
A window is created and the browser is about to render into it the
very first time, at that point it does an IPC to SF to request a new
buffer. Meanwhile, the window manager removes that window from the
list and the shared memory block it uses is marked as invalid.
However, at that point, another window is created and is given the
same index (that just go freed), but a different identity and resets
the "invalid" bit in the shared block. When we go back to the buffer
allocation code, we're stuck because the surface we're allocating for
is gone and we don't detect it's invalid because the invalid bit has
been reset.

It is not sufficient to check for the invalid bit, I should
also check that identities match.
2009-10-06 19:00:57 -07:00
..
tests
Android.mk
Camera.cpp
CameraParameters.cpp
EGLUtils.cpp
EventHub.cpp
EventRecurrence.cpp
FramebufferNativeWindow.cpp
GraphicBuffer.cpp
GraphicBufferAllocator.cpp
GraphicBufferMapper.cpp
ICamera.cpp
ICameraClient.cpp
ICameraService.cpp
IOverlay.cpp
ISurface.cpp
ISurfaceComposer.cpp
ISurfaceFlingerClient.cpp
KeyCharacterMap.cpp
KeyLayoutMap.cpp
KeyLayoutMap.h
LayerState.cpp
MODULE_LICENSE_APACHE2
NOTICE
Overlay.cpp
PixelFormat.cpp
Rect.cpp
Region.cpp
SharedBufferStack.cpp fix [2152536] ANR in browser 2009-10-06 19:00:57 -07:00
Surface.cpp fix [2152536] ANR in browser 2009-10-06 19:00:57 -07:00
SurfaceComposerClient.cpp
SurfaceFlingerSynchro.cpp