replicant-frameworks_native/services/surfaceflinger
Jesse Hall d05a17fbb3 Treat composition frames with no layers as using GLES composition
When there are no window layers for a display, SurfaceFlinger clears
the undefined region using GLES. Some of the places that check for
GLES composition weren't considering this special case, in particular:

- We were skipping the eglSwapBuffers() on these frames.
- We were putting VirtualDisplaySurface in HWC-only composition mode.

This change centralizes the logic for this special case.

Bug: 10957068
Change-Id: I2deaf2ed101e8ea76708862a6bb67751b6078794
2013-09-30 17:08:28 -07:00
..
DisplayHardware Treat composition frames with no layers as using GLES composition 2013-09-30 17:08:28 -07:00
Effects color blindness enhancement 2013-09-04 22:11:15 -07:00
EventLog surfaceflinger: add frame duration logging 2013-07-23 17:28:47 -07:00
RenderEngine reinstate black-screenshot debugging code 2013-09-19 17:09:26 -07:00
tests Surface can now be created only from an IGraphicBufferProducer 2013-03-12 18:45:09 -07:00
Android.mk color blindness enhancement 2013-09-04 22:11:15 -07:00
Barrier.h
Client.cpp SurfaceFlinger now runs in the process's main thread 2013-08-20 11:16:45 -07:00
Client.h get rid of ISurface 2013-03-12 17:11:48 -07:00
clz.h
Colorizer.h Add a --color option to dumpsys SurfaceFlinger 2013-04-22 21:51:28 +02:00
DdmConnection.cpp fix SurfaceFlinger DDMS debugging 2012-10-07 16:41:12 -07:00
DdmConnection.h add libsurfaceflinger_ddmconnection for PDK build 2012-08-31 20:08:33 -07:00
DisplayDevice.cpp fix camera API 2.0 orientation 2013-09-17 23:45:22 -07:00
DisplayDevice.h fix camera API 2.0 orientation 2013-09-17 23:45:22 -07:00
EventThread.cpp Use new HWC display type/count constants. 2013-08-16 14:28:37 -07:00
EventThread.h Use new HWC display type/count constants. 2013-08-16 14:28:37 -07:00
FrameTracker.cpp surfaceflinger: add frame duration logging 2013-07-23 17:28:47 -07:00
FrameTracker.h surfaceflinger: add frame duration logging 2013-07-23 17:28:47 -07:00
Layer.cpp fix camera API 2.0 orientation 2013-09-17 23:45:22 -07:00
Layer.h Encapsulate textures into their own Texture class 2013-08-16 16:29:02 -07:00
LayerDim.cpp SurfaceFlinger now uses GLES 2.x when available 2013-08-13 16:07:45 -07:00
LayerDim.h Refactor SF. Move all GL operations in their own class. 2013-07-03 14:39:27 -07:00
main_surfaceflinger.cpp make sure SF initialization is ran at target priority and correct thread group 2013-08-23 17:10:32 -07:00
MessageQueue.cpp fix another bug where screenshots could end-up all black 2013-04-10 16:27:17 -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
SurfaceFlinger.cpp Treat composition frames with no layers as using GLES composition 2013-09-30 17:08:28 -07:00
SurfaceFlinger.h reinstate black-screenshot debugging code 2013-09-19 17:09:26 -07:00
SurfaceFlingerConsumer.cpp fix camera API 2.0 orientation 2013-09-17 23:45:22 -07:00
SurfaceFlingerConsumer.h fix camera API 2.0 orientation 2013-09-17 23:45:22 -07:00
SurfaceTextureLayer.cpp Binderize the consumer side of BufferQueue 2013-08-01 17:20:08 -07:00
SurfaceTextureLayer.h BufferQueue improvements and APIs changes 2013-07-18 22:28:18 -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