hwc_composer_device_1 Struct Reference

#include <hwcomposer.h>

Data Fields

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]
 

Detailed Description

Definition at line 499 of file hwcomposer.h.

Field Documentation

union { ... }
int(* blank)(struct hwc_composer_device_1 *dev, int disp, int blank)

Definition at line 621 of file hwcomposer.h.

struct hw_device_t common

Common methods of the hardware composer device. This must be the first member of hwc_composer_device_1 as users of this structure will cast a hw_device_t to hwc_composer_device_1 pointer in contexts where it's known the hw_device_t references a hwc_composer_device_1.

Definition at line 506 of file hwcomposer.h.

void(* dump)(struct hwc_composer_device_1 *dev, char *buff, int buff_len)

Definition at line 672 of file hwcomposer.h.

int(* eventControl)(struct hwc_composer_device_1 *dev, int disp, int event, int enabled)

Definition at line 603 of file hwcomposer.h.

int(* getActiveConfig)(struct hwc_composer_device_1 *dev, int disp)

Definition at line 739 of file hwcomposer.h.

int(* getDisplayAttributes)(struct hwc_composer_device_1 *dev, int disp, uint32_t config, const uint32_t *attributes, int32_t *values)

Definition at line 725 of file hwcomposer.h.

int(* getDisplayConfigs)(struct hwc_composer_device_1 *dev, int disp, uint32_t *configs, size_t *numConfigs)

Definition at line 704 of file hwcomposer.h.

int(* prepare)(struct hwc_composer_device_1 *dev, size_t numDisplays, hwc_display_contents_1_t **displays)

Definition at line 542 of file hwcomposer.h.

int(* query)(struct hwc_composer_device_1 *dev, int what, int *value)

Definition at line 655 of file hwcomposer.h.

void(* registerProcs)(struct hwc_composer_device_1 *dev, hwc_procs_t const *procs)

Definition at line 664 of file hwcomposer.h.

void* reserved_proc[1]

Definition at line 792 of file hwcomposer.h.

int(* set)(struct hwc_composer_device_1 *dev, size_t numDisplays, hwc_display_contents_1_t **displays)

Definition at line 587 of file hwcomposer.h.

int(* setActiveConfig)(struct hwc_composer_device_1 *dev, int disp, int index)

Definition at line 760 of file hwcomposer.h.

int(* setCursorPositionAsync)(struct hwc_composer_device_1 *dev, int disp, int x_pos, int y_pos)

Definition at line 787 of file hwcomposer.h.

int(* setPowerMode)(struct hwc_composer_device_1 *dev, int disp, int mode)

Definition at line 646 of file hwcomposer.h.


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