replicant-frameworks_native/services/surfaceflinger
Jesse Hall 34a09ba1ef Move eglSwapBuffers out of HWComposer
Commit 8630320 moved the eglSwapBuffers fallback (for devices with no
HWC implementation) from DisplayHardware to HWComposer. But HWComposer
only knows about the framebuffer EGL display and surface handles if
there is a HWC, so it was always passing bogus handles.

This change moves the eglSwapBuffers fallback up to SurfaceFlinger,
which has access to the framebuffer EGL handles.

Bug: 6886613
Change-Id: Iad3f5ff7c90ee48d7053999e6a4548d6794b6ebd
2012-07-30 16:10:49 -07:00
..
DisplayHardware Move eglSwapBuffers out of HWComposer 2012-07-30 16:10:49 -07:00
tests get rid of the shared-memory control block 2012-07-25 21:13:10 -07:00
Android.mk get rid of GraphicPlane 2012-06-28 17:27:19 -07:00
Barrier.h
Client.cpp SurfaceFlinger cleanup 2012-07-24 00:09:35 -07:00
Client.h split-up Client.h out of SurfaceFlinger.h 2012-06-18 16:47:56 -07:00
clz.cpp
clz.h
DdmConnection.cpp
DdmConnection.h
DisplayHardware.cpp get rid of the shared-memory control block 2012-07-25 21:13:10 -07:00
DisplayHardware.h get rid of the shared-memory control block 2012-07-25 21:13:10 -07:00
EventThread.cpp split HWComposer out of DisplayHardware 2012-07-24 22:49:49 -07:00
EventThread.h split HWComposer out of DisplayHardware 2012-07-24 22:49:49 -07:00
GLExtensions.cpp
GLExtensions.h
Layer.cpp SurfaceFlinger cleanup 2012-07-24 00:09:35 -07:00
Layer.h one more step towards multiple display support 2012-07-10 14:29:27 -07:00
LayerBase.cpp add a layerStack attribute to Layers. 2012-07-24 21:42:27 -07:00
LayerBase.h split HWComposer out of DisplayHardware 2012-07-24 22:49:49 -07:00
LayerDim.cpp one more step towards multiple display support 2012-07-10 14:29:27 -07:00
LayerDim.h get rid of GraphicPlane 2012-06-28 17:27:19 -07:00
LayerScreenshot.cpp SurfaceFlinger cleanup 2012-07-24 00:09:35 -07:00
LayerScreenshot.h get rid of GraphicPlane 2012-06-28 17:27:19 -07:00
MessageQueue.cpp one more step towards multiple display support 2012-07-10 14:29:27 -07:00
MessageQueue.h one more step towards multiple display support 2012-07-10 14:29:27 -07:00
MODULE_LICENSE_APACHE2
SurfaceFlinger.cpp Move eglSwapBuffers out of HWComposer 2012-07-30 16:10:49 -07:00
SurfaceFlinger.h Move eglSwapBuffers out of HWComposer 2012-07-30 16:10:49 -07:00
SurfaceTextureLayer.cpp
SurfaceTextureLayer.h
Transform.cpp
Transform.h