replicant-frameworks_native/services/surfaceflinger
Jesse Hall afe2b1fadd surfaceflinger: don't close fence fds after passing to queueBuffer
ANativeWindow::queueBuffer takes ownership of the fence fd passed to
it, and will close it before returning. SurfaceFlinger's screenshot
code was also closing the syncFd it passed to queueBuffer. Most of the
time this meant the second close() silently failed, but in a rare race
condition the file descriptor could be reused between the two
close()s.

Bug: 17946343
Change-Id: Ib74fcb1dce52cc21328059c99b7c4c76f41aa3a5
2014-10-21 11:11:53 -07:00
..
DisplayHardware surfaceflinger: Use landscape resolution for default dpi 2014-09-28 22:26:28 +00:00
Effects
EventLog
RenderEngine Generate the SurfaceFlinger shader cache on initialization 2014-10-03 17:21:15 +00:00
tests
Android.mk
Barrier.h
Client.cpp
Client.h
clz.h
Colorizer.h
DdmConnection.cpp
DdmConnection.h
DisplayDevice.cpp Add rotation to surfaceflingers screen cap. 2014-09-09 03:51:16 +00:00
DisplayDevice.h
DispSync.cpp surfaceflinger: add getDisplayStats() method 2014-09-18 17:03:20 -07:00
DispSync.h surfaceflinger: add getDisplayStats() method 2014-09-18 17:03:20 -07:00
EventControlThread.cpp
EventControlThread.h
EventThread.cpp
EventThread.h
FrameTracker.cpp
FrameTracker.h
Layer.cpp surfaceflinger: recompute visibility after sideband stream change 2014-10-01 09:00:34 -07:00
Layer.h surfaceflinger: Check sideband stream changed to trigger sideband Layer update. 2014-09-23 17:26:00 -07:00
LayerDim.cpp
LayerDim.h
main_surfaceflinger.cpp
MessageQueue.cpp
MessageQueue.h
MODULE_LICENSE_APACHE2
MonitoredProducer.cpp
MonitoredProducer.h
SurfaceFlinger.cpp surfaceflinger: don't close fence fds after passing to queueBuffer 2014-10-21 11:11:53 -07:00
SurfaceFlinger.h When eglMakeCurrent fails we need to fix the egl state. 2014-10-01 14:50:58 -07:00
SurfaceFlingerConsumer.cpp
SurfaceFlingerConsumer.h
Transform.cpp
Transform.h