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 484 of file hwcomposer.h.

Field Documentation

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

Definition at line 606 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 491 of file hwcomposer.h.

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

Definition at line 657 of file hwcomposer.h.

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

Definition at line 588 of file hwcomposer.h.

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

Definition at line 724 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 710 of file hwcomposer.h.

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

Definition at line 689 of file hwcomposer.h.

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

Definition at line 527 of file hwcomposer.h.

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

Definition at line 640 of file hwcomposer.h.

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

Definition at line 649 of file hwcomposer.h.

void* reserved_proc[1]

Definition at line 777 of file hwcomposer.h.

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

Definition at line 572 of file hwcomposer.h.

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

Definition at line 745 of file hwcomposer.h.

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

Definition at line 772 of file hwcomposer.h.

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

Definition at line 631 of file hwcomposer.h.


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