OSDN Git Service

Treat composition frames with no layers as using GLES composition
authorJesse Hall <jessehall@google.com>
Mon, 30 Sep 2013 23:49:30 +0000 (16:49 -0700)
committerJesse Hall <jessehall@google.com>
Tue, 1 Oct 2013 00:08:28 +0000 (17:08 -0700)
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


No differences found