improve h/w composer documentation

Change-Id: Ia3f47c1750f5a436037e4391d6744d63639ee099
This commit is contained in:
Mathias Agopian
2011-11-21 17:35:15 -08:00
parent fb410365ca
commit 71212e3fca

View File

@@ -287,6 +287,11 @@ typedef struct hwc_composer_device {
* entire composition has been handled by SurfaceFlinger with OpenGL ES.
* In this case, (*set)() behaves just like eglSwapBuffers().
*
* dpy, sur, and list are set to NULL to indicate that the screen is
* turning off. This happens WITHOUT prepare() being called first.
* This is a good time to free h/w resources and/or power
* the relevant h/w blocks down.
*
* IMPORTANT NOTE: there is an implicit layer containing opaque black
* pixels behind all the layers in the list.
* It is the responsibility of the hwcomposer module to make