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 Don't simulate color space after correction 2014-03-10 12:43:49 -07:00
EventLog surfaceflinger: add frame duration logging 2013-07-23 17:28:47 -07:00
RenderEngine Generate the SurfaceFlinger shader cache on initialization 2014-10-03 17:21:15 +00:00
tests Surface can now be created only from an IGraphicBufferProducer 2013-03-12 18:45:09 -07:00
Android.mk Add error for format and make sure setActiveConfig fails with an invalid mode. 2014-07-30 14:36:25 -07:00
Barrier.h Improve memory coherence management in screenshot code [DO NOT MERGE] 2014-07-14 19:29:09 +00:00
Client.cpp Adding render stats APIs to UiAutomation (framework native). 2014-04-10 12:32:19 -07:00
Client.h Adding render stats APIs to UiAutomation (framework native). 2014-04-10 12:32:19 -07:00
clz.h
Colorizer.h Add a --color option to dumpsys SurfaceFlinger 2013-04-22 21:51:28 +02:00
DdmConnection.cpp Remove dependencies on runtime_libdvm and libdvm.so in general 2014-05-29 09:39:26 -07:00
DdmConnection.h add libsurfaceflinger_ddmconnection for PDK build 2012-08-31 20:08:33 -07:00
DisplayDevice.cpp Add rotation to surfaceflingers screen cap. 2014-09-09 03:51:16 +00:00
DisplayDevice.h am 514e30a9: am c3d1889e: Merge "surfaceflinger: skip composition for empty frames" into klp-modular-dev 2014-08-20 20:02:02 +00:00
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 SurfaceFlinger: Add EventControlThread 2013-10-15 14:31:41 -07:00
EventControlThread.h SurfaceFlinger: Add EventControlThread 2013-10-15 14:31:41 -07:00
EventThread.cpp SurfaceFlinger: send VSYNC power hints to IPowerManager 2014-06-18 18:51:24 -07:00
EventThread.h SurfaceFlinger: send VSYNC power hints to IPowerManager 2014-06-18 18:51:24 -07:00
FrameTracker.cpp Adding render stats APIs to UiAutomation (framework native). 2014-04-10 12:32:19 -07:00
FrameTracker.h Adding render stats APIs to UiAutomation (framework native). 2014-04-10 12:32:19 -07:00
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 Allow disabling layer rotation during screenshots 2014-02-14 23:10:42 +00:00
LayerDim.h Allow disabling layer rotation during screenshots 2014-02-14 23:10:42 +00:00
main_surfaceflinger.cpp DO NOT MERGE Add "dumpsys SurfaceFlinger --dispsync" 2014-05-09 10:49:11 -07:00
MessageQueue.cpp native frameworks: 64-bit compile issues 2014-03-12 13:12:44 -07:00
MessageQueue.h fix another bug where screenshots could end-up all black 2013-04-10 16:27:17 -07:00
MODULE_LICENSE_APACHE2
MonitoredProducer.cpp BufferQueue: Add allocateBuffers method 2014-06-20 13:13:57 -07:00
MonitoredProducer.h BufferQueue: Add allocateBuffers method 2014-06-20 13:13:57 -07:00
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 Improve SurfaceFlinger PTS estimation 2014-05-02 10:56:54 -07:00
SurfaceFlingerConsumer.h GLConsumer: Stop using default constructor params 2014-06-24 13:09:19 -07:00
Transform.cpp color blindness enhancement 2013-09-04 22:11:15 -07:00
Transform.h color blindness enhancement 2013-09-04 22:11:15 -07:00