improve hw composer documentation

Change-Id: I39363e37417991b9853309154d6691240e706acf
This commit is contained in:
Mathias Agopian
2011-11-15 21:27:52 -08:00
parent e9eaf3721d
commit fb410365ca

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().
*
* 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
* sure black pixels are output (or blended from).
*
* returns: 0 on success. An negative error code on error:
* HWC_EGL_ERROR: eglGetError() will provide the proper error code
* Another code for non EGL errors.