Google is committed to advancing racial equity for Black communities. See how.

hwc_layer_1 Struct Reference

hwc_layer_1 Struct Reference

#include < hwcomposer.h >

Data Fields

int32_t  compositionType
 
uint32_t  hints
 
uint32_t  flags
 
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]
 

Detailed Description

Definition at line 40 of file hwcomposer.h .

Field Documentation

union { ... }
uint8_t _pad[3]

Definition at line 267 of file hwcomposer.h .

int acquireFenceFd

Definition at line 200 of file hwcomposer.h .

hwc_color_t backgroundColor

Definition at line 132 of file hwcomposer.h .

int32_t blending

Definition at line 155 of file hwcomposer.h .

int32_t compositionType

Definition at line 116 of file hwcomposer.h .

hwc_rect_t displayFrame

Definition at line 174 of file hwcomposer.h .

uint32_t flags

Definition at line 128 of file hwcomposer.h .

buffer_handle_t handle

Definition at line 144 of file hwcomposer.h .

uint32_t hints

Definition at line 125 of file hwcomposer.h .

uint8_t planeAlpha

Definition at line 264 of file hwcomposer.h .

int releaseFenceFd

Definition at line 227 of file hwcomposer.h .

uint8_t reserved[96-84]

Definition at line 303 of file hwcomposer.h .

const native_handle_t* sidebandStream

Definition at line 148 of file hwcomposer.h .

hwc_rect_t sourceCrop

Definition at line 165 of file hwcomposer.h .

hwc_frect_t sourceCropf

Definition at line 167 of file hwcomposer.h .

hwc_rect_t sourceCropi

Definition at line 164 of file hwcomposer.h .

hwc_region_t surfaceDamage

Definition at line 288 of file hwcomposer.h .

uint32_t transform

Definition at line 152 of file hwcomposer.h .

hwc_region_t visibleRegionScreen

Definition at line 180 of file hwcomposer.h .


The documentation for this struct was generated from the following file: