diff options
author | Mathias Agopian <mathias@google.com> | 2011-11-28 16:07:36 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-11-28 16:07:36 -0800 |
commit | a9b677fce432b29ab8f61e13796f34880dc0fe0f (patch) | |
tree | 959cf5d67b1ee7223dd221523d06d85fd5edafcd | |
parent | 29ead941b377cb87bcc7fe48208b96d84d649d43 (diff) | |
parent | 71212e3fca328630aba1ebfa1299a8719b80f476 (diff) | |
download | libhardware-a9b677fce432b29ab8f61e13796f34880dc0fe0f.tar.gz |
Merge "improve h/w composer documentation" into ics-mr1android-sdk-4.0.3_r1android-sdk-4.0.3-tools_r1android-cts-verifier-4.0_r1android-cts-verifier-4.0.3_r1android-cts-4.0.3_r2android-cts-4.0.3_r1android-4.0.4_r2.1android-4.0.4_r2android-4.0.4_r1.2android-4.0.4_r1.1android-4.0.4_r1android-4.0.3_r1.1android-4.0.3_r1ics-mr1-releaseics-mr1
-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 a17f3e43..b4a7a7ad 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 |