Tài liệu tham khảo về cấu trúc hwc_layer_1
  
   #include <
   
    hwcomposer.h
   
   >
  
 
| Trường dữ liệu | |
| int32_t | compositionType | 
| uint32_t | gợi ý | 
| uint32_t | cờ | 
| union { | |
| hwc_color_t backgroundColor | |
| struct { | |
| union { | |
| buffer_handle_t handle | |
| const native_handle_t * sidebandStream | |
| } | |
| uint32_t transform | |
| int32_t blending | |
| 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 | reserved [96-84] | 
Nội dung mô tả chi tiết
Định nghĩa tại dòng 40 của tệp hwcomposer.h .
Tài liệu về trường
| union { ... } | 
| uint8_t _pad[3] | 
Định nghĩa tại dòng 267 của tệp hwcomposer.h .
| int acquireFenceFd | 
Định nghĩa tại dòng 200 của tệp hwcomposer.h .
| hwc_color_t backgroundColor | 
Định nghĩa tại dòng 132 của tệp hwcomposer.h .
| Phối trộn int32_t | 
Định nghĩa tại dòng 155 của tệp hwcomposer.h .
| int32_t compositionType | 
Định nghĩa tại dòng 116 của tệp hwcomposer.h .
| hwc_rect_t displayFrame | 
Định nghĩa tại dòng 174 của tệp hwcomposer.h .
| Cờ uint32_t | 
Định nghĩa tại dòng 128 của tệp hwcomposer.h .
| handle buffer_handle_t | 
Định nghĩa tại dòng 144 của tệp hwcomposer.h .
| Gợi ý uint32_t | 
Định nghĩa tại dòng 125 của tệp hwcomposer.h .
| uint8_t planeAlpha | 
Định nghĩa tại dòng 264 của tệp hwcomposer.h .
| int releaseFenceFd | 
Định nghĩa tại dòng 227 của tệp hwcomposer.h .
| uint8_t reserved[96-84] | 
Định nghĩa tại dòng 303 của tệp hwcomposer.h .
| const native_handle_t* sidebandStream | 
Định nghĩa tại dòng 148 của tệp hwcomposer.h .
| hwc_rect_t sourceCrop | 
Định nghĩa tại dòng 165 của tệp hwcomposer.h .
| hwc_frect_t sourceCropf | 
Định nghĩa tại dòng 167 của tệp hwcomposer.h .
| hwc_rect_t sourceCropi | 
Định nghĩa tại dòng 164 của tệp hwcomposer.h .
| hwc_region_t surfaceDamage | 
Định nghĩa tại dòng 288 của tệp hwcomposer.h .
| Biến đổi uint32_t | 
Định nghĩa tại dòng 152 của tệp hwcomposer.h .
| hwc_region_t visibleRegionScreen | 
Định nghĩa tại dòng 180 của tệp hwcomposer.h .
Tài liệu cho cấu trúc này được tạo từ tệp sau:
- hardware/libhardware/include/hardware/ hwcomposer.h
