ข้อมูลอ้างอิงเกี่ยวกับโครงสร้าง hwc_composer_device_1
  
   #include <
   
    hwcomposer.h
   
   >
  
 
    ฟิลด์ข้อมูล | 
  |
| struct hw_device_t | common | 
| int(* | prepare )(struct hwc_composer_device_1 *dev, size_t numDisplays, hwc_display_contents_1_t **displays) | 
| int(* | set )(struct hwc_composer_device_1 *dev, size_t numDisplays, hwc_display_contents_1_t **displays) | 
| int(* | eventControl )(struct hwc_composer_device_1 *dev, int disp, int event, int enabled) | 
| union { | |
| 
       int(*   
    
     blank
    
    )(struct
    
     hwc_composer_device_1
    
     *dev, int disp, int blank)  | 
  |
| 
       int(*   
    
     setPowerMode
    
    )(struct
    
     hwc_composer_device_1
    
     *dev, int disp, int mode)  | 
  |
| }; | |
| int(* | query )(struct hwc_composer_device_1 *dev, int what, int *value) | 
| void(* | registerProcs )(struct hwc_composer_device_1 *dev, hwc_procs_t const *procs) | 
| void(* | dump )(struct hwc_composer_device_1 *dev, char *buff, int buff_len) | 
| int(* | getDisplayConfigs )(struct hwc_composer_device_1 *dev, int disp, uint32_t *configs, size_t *numConfigs) | 
| int(* | getDisplayAttributes )(struct hwc_composer_device_1 *dev, int disp, uint32_t config, const uint32_t *attributes, int32_t *values) | 
| int(* | getActiveConfig )(struct hwc_composer_device_1 *dev, int disp) | 
| int(* | setActiveConfig )(struct hwc_composer_device_1 *dev, int disp, int index) | 
| int(* | setCursorPositionAsync )(struct hwc_composer_device_1 *dev, int disp, int x_pos, int y_pos) | 
| void * | reserved_proc [1] | 
คำอธิบายโดยละเอียด
คําจํากัดความที่บรรทัด 484 ของไฟล์ hwcomposer.h .
เอกสารประกอบในสนาม
| union { ... } | 
| int(* blank)(struct hwc_composer_device_1 *dev, int disp, int blank) | 
คําจํากัดความที่บรรทัด 606 ของไฟล์ hwcomposer.h .
| struct hw_device_t common | 
วิธีการทั่วไปของอุปกรณ์คอมโพเซอร์ฮาร์ดแวร์ ข้อมูลนี้ ต้อง เป็นสมาชิกแรกของ hwc_composer_device_1 เนื่องจากผู้ใช้โครงสร้างนี้จะแคสต์ hw_device_t เป็น hwc_composer_device_1 พอยน์เตอร์ในบริบทที่ทราบว่า hw_device_t อ้างอิงถึง hwc_composer_device_1
คําจํากัดความที่บรรทัด 491 ของไฟล์ hwcomposer.h .
| void(* dump)(struct hwc_composer_device_1 *dev, char *buff, int buff_len) | 
คําจํากัดความที่บรรทัด 657 ของไฟล์ hwcomposer.h .
| int(* eventControl)(struct hwc_composer_device_1 *dev, int disp, int event, int enabled) | 
คําจํากัดความที่บรรทัด 588 ของไฟล์ hwcomposer.h .
| int(* getActiveConfig)(struct hwc_composer_device_1 *dev, int disp) | 
คําจํากัดความที่บรรทัด 724 ของไฟล์ hwcomposer.h .
| int(* getDisplayAttributes)(struct hwc_composer_device_1 *dev, int disp, uint32_t config, const uint32_t *attributes, int32_t *values) | 
คําจํากัดความที่บรรทัด 710 ของไฟล์ hwcomposer.h .
| int(* getDisplayConfigs)(struct hwc_composer_device_1 *dev, int disp, uint32_t *configs, size_t *numConfigs) | 
คําจํากัดความที่บรรทัด 689 ของไฟล์ hwcomposer.h .
| int(* prepare)(struct hwc_composer_device_1 *dev, size_t numDisplays, hwc_display_contents_1_t **displays) | 
คําจํากัดความที่บรรทัด 527 ของไฟล์ hwcomposer.h .
| int(* query)(struct hwc_composer_device_1 *dev, int what, int *value) | 
คําจํากัดความที่บรรทัด 640 ของไฟล์ hwcomposer.h .
| void(* registerProcs)(struct hwc_composer_device_1 *dev, hwc_procs_t const *procs) | 
คําจํากัดความที่บรรทัด 649 ของไฟล์ hwcomposer.h .
| void* reserved_proc[1] | 
คําจํากัดความที่บรรทัด 777 ของไฟล์ hwcomposer.h .
| int(* set)(struct hwc_composer_device_1 *dev, size_t numDisplays, hwc_display_contents_1_t **displays) | 
คําจํากัดความที่บรรทัด 572 ของไฟล์ hwcomposer.h .
| int(* setActiveConfig)(struct hwc_composer_device_1 *dev, int disp, int index) | 
คําจํากัดความที่บรรทัด 745 ของไฟล์ hwcomposer.h .
| int(* setCursorPositionAsync)(struct hwc_composer_device_1 *dev, int disp, int x_pos, int y_pos) | 
คําจํากัดความที่บรรทัด 772 ของไฟล์ hwcomposer.h .
| int(* setPowerMode)(struct hwc_composer_device_1 *dev, int disp, int mode) | 
คําจํากัดความที่บรรทัด 631 ของไฟล์ hwcomposer.h .
เอกสารประกอบสำหรับโครงสร้างนี้สร้างขึ้นจากไฟล์ต่อไปนี้
- hardware/libhardware/include/hardware/ hwcomposer.h