replicant-frameworks_native/services/surfaceflinger
Pawit Pornkitprasan fd1fb639a1 Bring back support for glReadPixels screenshot path
Squashed commit of the following:

commit 012d3fe41d1d6cd38a0858b59145e9a4447641fa
Author: Hashcode <hashcode0f@gmail.com>
Date:   Sun Dec 8 19:36:50 2013 +0000

    sf: Always use opengles for screen capture

    Go back to the usage of GRALLOC_USAGE_HW_TEXTURE and GRALLOC_USAGE_HW_RENDERER
    in captureScreenImplLocked regardless of useReadPixels value

    This fixes the EGL_NO_IMAGE_KHR error returned from
    eglCreateImageKHR (blank images returned from screenshot path)

    Change-Id: I62fe90a081607b9e89c67f3dcfd34c84efc89d35

commit 4866ddf98ac98d8e22a1cd6a21894bb17f274588
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Thu Oct 31 03:53:39 2013 +0000

    Revert "remove support for glReadPixels screenshot path"

    This reverts commit 3ca76f416b.

    Conflicts:
    	include/gui/ISurfaceComposer.h
    	libs/gui/ISurfaceComposer.cpp
    	libs/gui/SurfaceComposerClient.cpp
    	services/surfaceflinger/SurfaceFlinger.cpp
    	services/surfaceflinger/SurfaceFlinger.h

    Change-Id: I8c239e533757af770e418dbb198f5a86c736961f

Change-Id: I8c239e533757af770e418dbb198f5a86c736961f
2015-10-16 14:45:10 -07:00
..
DisplayHardware surfaceflinger: Clean up use of QC extended API 2015-10-12 23:36:09 -07:00
Effects
EventLog
RenderEngine Bring back support for glReadPixels screenshot path 2015-10-16 14:45:10 -07:00
tests Fix surfaceflinger tests. 2015-05-22 13:14:57 -07:00
Android.mk surfaceflinger: Clean up use of QC extended API 2015-10-12 23:36:09 -07:00
Barrier.h Improve memory coherence management in screenshot code [DO NOT MERGE] 2014-07-14 19:29:09 +00:00
Client.cpp Bypass surface flinger permission check for calls from system. 2015-04-10 20:26:51 -07:00
Client.h
clz.h
Colorizer.h
DdmConnection.cpp Enable clang for libui/libgui/surfaceflinger 2014-12-04 17:56:17 -08:00
DdmConnection.h
DisplayDevice.cpp sf: This is a combination of following changes. 2015-10-06 03:22:26 -06:00
DisplayDevice.h sf: This is a combination of following changes. 2015-10-06 03:22:26 -06:00
DisplayUtils.cpp surfaceflinger: Clean up use of QC extended API 2015-10-12 23:36:09 -07:00
DisplayUtils.h SurfaceFlinger: Add support for V4L2 based wfd solution. 2015-10-06 03:22:26 -06:00
DispSync.cpp surfaceflinger: add getDisplayStats() method 2014-09-18 17:03:20 -07:00
DispSync.h sf: Avoid disabling DispSync resync 2015-10-06 03:22:28 -06:00
EventControlThread.cpp
EventControlThread.h
EventThread.cpp SF: Permit changing DispSync offsets at runtime 2015-04-15 13:56:28 -07:00
EventThread.h SF: Permit changing DispSync offsets at runtime 2015-04-15 13:56:28 -07:00
FrameTracker.cpp
FrameTracker.h
Layer.cpp SurfaceFlinger: Add support for DisplayUtils 2015-10-06 03:22:25 -06:00
Layer.h surfaceflinger: Clean up use of QC extended API 2015-10-12 23:36:09 -07:00
LayerDim.cpp SurfaceFlinger: Add dim layer information into HWC layer. 2015-10-06 03:22:28 -06:00
LayerDim.h SurfaceFlinger: Add dim layer information into HWC layer. 2015-10-06 03:22:28 -06:00
main_surfaceflinger.cpp SurfaceFlinger: Add support for DisplayUtils 2015-10-06 03:22:25 -06:00
MessageQueue.cpp
MessageQueue.h
MODULE_LICENSE_APACHE2
MonitoredProducer.cpp libgui/SurfaceFlinger: Add getConsumerName 2015-06-08 09:40:49 -07:00
MonitoredProducer.h libgui/SurfaceFlinger: Add getConsumerName 2015-06-08 09:40:49 -07:00
SurfaceFlinger.cpp Bring back support for glReadPixels screenshot path 2015-10-16 14:45:10 -07:00
SurfaceFlinger.h Bring back support for glReadPixels screenshot path 2015-10-16 14:45:10 -07:00
SurfaceFlingerConsumer.cpp Fix PTS handling for buffer replacement 2015-05-12 13:10:17 -07:00
SurfaceFlingerConsumer.h Fix PTS handling for buffer replacement 2015-05-12 13:10:17 -07:00
Transform.cpp Add clamp to Layer and update Transform inverse. 2014-11-21 17:05:18 -08:00
Transform.h