replicant-frameworks_native/libs/gui
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
..
tests libgui/SurfaceFlinger: Add getConsumerName 2015-06-08 09:40:49 -07:00
Android.mk
BitTube.cpp
BufferItem.cpp fix BufferItem flatten/unflatten alignment 2015-05-22 10:54:25 -07:00
BufferItemConsumer.cpp Refactor ConsumerBase and it's derived classes. 2015-05-18 14:29:18 -07:00
BufferQueue.cpp
BufferQueueConsumer.cpp BufferQueueConsumer: signal onFrameReleased on dropped frames 2015-07-17 08:37:47 -07:00
BufferQueueCore.cpp libgui: Add generation numbers to BufferQueue 2015-06-03 11:09:33 -07:00
BufferQueueProducer.cpp Revert "Revert "Modify EGL to disconnect the window when the surface gets destroyed."" 2015-07-01 10:22:22 -07:00
BufferSlot.cpp
CleanSpec.mk
ConsumerBase.cpp Merge "Refactor ConsumerBase and it's derived classes." into mnc-dev 2015-05-18 21:29:39 +00:00
CpuConsumer.cpp Refactor ConsumerBase and it's derived classes. 2015-05-18 14:29:18 -07:00
DisplayEventReceiver.cpp
GLConsumer.cpp GLConsumer: Fix crop math 2015-06-10 10:24:51 -07:00
GraphicBufferAlloc.cpp
GuiConfig.cpp
IConsumerListener.cpp
IDisplayEventConnection.cpp
IGraphicBufferAlloc.cpp libgui: Propagate error by clearing sp<GB> 2015-06-01 13:59:15 -07:00
IGraphicBufferConsumer.cpp Fix PTS handling for buffer replacement 2015-05-12 13:10:17 -07:00
IGraphicBufferProducer.cpp libgui/SurfaceFlinger: Add getConsumerName 2015-06-08 09:40:49 -07:00
IProducerListener.cpp
ISensorEventConnection.cpp
ISensorServer.cpp Enable sensor data injection mode through adb. 2015-06-30 14:59:58 -07:00
ISurfaceComposer.cpp Bring back support for glReadPixels screenshot path 2015-10-16 14:45:10 -07:00
ISurfaceComposerClient.cpp
LayerState.cpp
Sensor.cpp Add body sensors app op for custom sensors 2015-09-03 10:44:24 -07:00
SensorEventQueue.cpp Enable sensor data injection mode through adb. 2015-06-30 14:59:58 -07:00
SensorManager.cpp Revert "Bug fix in SensorManager." 2015-07-29 09:36:05 +00:00
StreamSplitter.cpp
Surface.cpp libgui: Copyback all region except dirty region for newly allocated buffer 2015-10-06 03:22:27 -06:00
SurfaceComposerClient.cpp Bring back support for glReadPixels screenshot path 2015-10-16 14:45:10 -07:00
SurfaceControl.cpp
SyncFeatures.cpp