hwc_layer_1 结构体参考文档

hwc_layer_1 结构体参考文档

#include < hwcomposer.h >

数据字段

int32_t  compositionType
 
uint32_t  提示
 
uint32_t  标志
 
union {
    hwc_color_t     backgroundColor
 
   struct {
      union {
         buffer_handle_t    handle
 
         const native_handle_t *    sidebandStream
 
      } 
 
      uint32_t    transform
 
      int32_t    混合
 
      union {
          hwc_rect_t     sourceCropi
 
          hwc_rect_t     sourceCrop
 
          hwc_frect_t     sourceCropf
 
      } 
 
       hwc_rect_t     displayFrame
 
       hwc_region_t     visibleRegionScreen
 
      int    acquireFenceFd
 
      int    releaseFenceFd
 
      uint8_t    planeAlpha
 
      uint8_t    _pad [3]
 
       hwc_region_t     surfaceDamage
 
   } 
 
}; 
 
uint8_t  预留 [96-84]
 

详细说明

定义位于文件 hwcomposer.h 的 40 行。

字段文档

union { ... }
uint8_t _pad[3]

定义位于文件 hwcomposer.h 的 267 行 。

int acquireFenceFd

定义位于文件 hwcomposer.h 的 200 行 。

hwc_color_t backgroundColor

定义位于文件 hwcomposer.h 的 132 行 。

int32_t blending

定义位于文件 hwcomposer.h 的 155 行 。

int32_t compositionType

定义位于文件 hwcomposer.h 的 116 行 。

hwc_rect_t displayFrame

定义位于文件 hwcomposer.h 的 174 行 。

uint32_t 标志

定义位于文件 hwcomposer.h 的 128 行。

buffer_handle_t handle

定义位于文件 hwcomposer.h 的 144 行 。

uint32_t hints

定义位于文件 hwcomposer.h 的 125 行 。

uint8_t planeAlpha

定义位于文件 hwcomposer.h 的 264 行。

int releaseFenceFd

定义位于文件 hwcomposer.h 的 227 行 。

uint8_t reserved[96-84]

定义位于文件 hwcomposer.h 的 303 行。

const native_handle_t* sidebandStream

定义位于文件 hwcomposer.h 的 148 行 。

hwc_rect_t sourceCrop

定义位于文件 hwcomposer.h 的 165 行 。

hwc_frect_t sourceCropf

定义位于文件 hwcomposer.h 的 167 行 。

hwc_rect_t sourceCropi

定义位于文件 hwcomposer.h 的 164 行 。

hwc_region_t surfaceDamage

定义位于文件 hwcomposer.h 的 288 行。

uint32_t 转换

定义位于文件 hwcomposer.h 的 152 行 。

hwc_region_t visibleRegionScreen

定义位于文件 hwcomposer.h 的 180 行 。


此结构体的文档是根据以下文件生成的: