hwc_layer_1 結構體參考資料
  
   #include <
   
    hwcomposer.h
   
   >
  
 
| 資料欄位 | |
| int32_t | compositionType | 
| uint32_t | 提示 | 
| uint32_t | flags | 
| union { | |
| hwc_color_t backgroundColor | |
| struct { | |
| union { | |
| buffer_handle_t handle | |
| const native_handle_t * sidebandStream | |
| } | |
| uint32_t 轉換 | |
| 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 表面損壞 | |
| } | |
| }; | |
| 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 提示 | 
定義位於檔案 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 表面損壞 | 
定義位於檔案 hwcomposer.h 的 288 行。
| uint32_t 轉換 | 
定義位於檔案 hwcomposer.h 的 152 行。
| hwc_region_t visibleRegionScreen | 
定義位於檔案 hwcomposer.h 的 180 行。
這個結構體的說明文件是由下列檔案產生:
- hardware/libhardware/include/hardware/ hwcomposer.h