您的位置:首页 > 其它

合成类型

2013-07-01 18:43 148 查看
frameworks/native/services/surfaceflinger./DisplayHardware/HWComposer.cpp

"GLES",

"HWC",

"BACKGROUND",

"FB TARGET",

"UNKNOWN



hardware/libhardware/include/hardware/hwcomposer_defs.h

enum {

/* this layer is to be drawn into the framebuffer by SurfaceFlinger */

HWC_FRAMEBUFFER = 0,

/* this layer will be handled in the HWC */

HWC_OVERLAY = 1,

/* this is the background layer. it's used to set the background color.

* there is only a single background layer */

HWC_BACKGROUND = 2,

/* this layer holds the result of compositing the HWC_FRAMEBUFFER layers.

* Added in HWC_DEVICE_API_VERSION_1_1. */

HWC_FRAMEBUFFER_TARGET = 3,

};
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: