diff options
author | Mathias Agopian <mathias@google.com> | 2011-11-21 17:35:15 -0800 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2011-11-21 17:35:15 -0800 |
commit | 71212e3fca328630aba1ebfa1299a8719b80f476 (patch) | |
tree | 20652c4a505557ed7b0ebb4f67b3f12b9db91df0 /include/hardware/hwcomposer.h | |
parent | fb410365ca67d36d4c81d7826712c6a05437612f (diff) | |
download | hardware_libhardware-71212e3fca328630aba1ebfa1299a8719b80f476.zip hardware_libhardware-71212e3fca328630aba1ebfa1299a8719b80f476.tar.gz hardware_libhardware-71212e3fca328630aba1ebfa1299a8719b80f476.tar.bz2 |
improve h/w composer documentation
Change-Id: Ia3f47c1750f5a436037e4391d6744d63639ee099
Diffstat (limited to 'include/hardware/hwcomposer.h')
-rw-r--r-- | include/hardware/hwcomposer.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/hardware/hwcomposer.h b/include/hardware/hwcomposer.h index a17f3e4..b4a7a7a 100644 --- a/include/hardware/hwcomposer.h +++ b/include/hardware/hwcomposer.h @@ -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 |