Documentation de référence sur la struct hwc_composer_device_1
  
   #include <
   
    hwcomposer.h
   
   >
  
 
    Champs de données | 
  |
| struct hw_device_t | commun | 
| 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] | 
Description détaillée
Définition à la ligne 484 du fichier hwcomposer.h .
Documentation des champs
| union { ... } | 
| int(* blank)(struct hwc_composer_device_1 *dev, int disp, int blank) | 
Définition à la ligne 606 du fichier hwcomposer.h .
| struct hw_device_t common | 
Méthodes courantes de l'appareil de composition matérielle. Celui-ci doit être le premier membre de hwc_composer_device_1 , car les utilisateurs de cette structure castent un hw_device_t en pointeur hwc_composer_device_1 dans les contextes où il est connu que hw_device_t fait référence à un hwc_composer_device_1 .
Définition à la ligne 491 du fichier hwcomposer.h .
| void(* dump)(struct hwc_composer_device_1 *dev, char *buff, int buff_len) | 
Définition à la ligne 657 du fichier hwcomposer.h .
| int(* eventControl)(struct hwc_composer_device_1 *dev, int disp, int event, int enabled) | 
Définition à la ligne 588 du fichier hwcomposer.h .
| int(* getActiveConfig)(struct hwc_composer_device_1 *dev, int disp) | 
Définition à la ligne 724 du fichier hwcomposer.h .
| int(* getDisplayAttributes)(struct hwc_composer_device_1 *dev, int disp, uint32_t config, const uint32_t *attributes, int32_t *values) | 
Définition à la ligne 710 du fichier hwcomposer.h .
| int(* getDisplayConfigs)(struct hwc_composer_device_1 *dev, int disp, uint32_t *configs, size_t *numConfigs) | 
Définition à la ligne 689 du fichier hwcomposer.h .
| int(* prepare)(struct hwc_composer_device_1 *dev, size_t numDisplays, hwc_display_contents_1_t **displays) | 
Définition à la ligne 527 du fichier hwcomposer.h .
| int(* query)(struct hwc_composer_device_1 *dev, int what, int *value) | 
Définition à la ligne 640 du fichier hwcomposer.h .
| void(* registerProcs)(struct hwc_composer_device_1 *dev, hwc_procs_t const *procs) | 
Définition à la ligne 649 du fichier hwcomposer.h .
| void* reserved_proc[1] | 
Définition à la ligne 777 du fichier hwcomposer.h .
| int(* set)(struct hwc_composer_device_1 *dev, size_t numDisplays, hwc_display_contents_1_t **displays) | 
Définition à la ligne 572 du fichier hwcomposer.h .
| int(* setActiveConfig)(struct hwc_composer_device_1 *dev, int disp, int index) | 
Définition à la ligne 745 du fichier hwcomposer.h .
| int(* setCursorPositionAsync)(struct hwc_composer_device_1 *dev, int disp, int x_pos, int y_pos) | 
Définition à la ligne 772 du fichier hwcomposer.h .
| int(* setPowerMode)(struct hwc_composer_device_1 *dev, int disp, int mode) | 
Définition à la ligne 631 du fichier hwcomposer.h .
La documentation de ce struct a été générée à partir du fichier suivant :
- hardware/libhardware/include/hardware/ hwcomposer.h