hwc_composer_device_1 结构参考

hwc_composer_device_1 结构参考

#include < hwcomposer.h >

数据字段

结构hw_device_t常见的
整数(*准备)(struct hwc_composer_device_1 *dev, size_t numDisplays, hwc_display_contents_1_t **displays)
整数(* set )(struct hwc_composer_device_1 *dev, size_t numDisplays, hwc_display_contents_1_t **displays)
整数(* eventControl )(struct hwc_composer_device_1 *dev, int disp, int event, int enabled)
联合{
int(*空白)(结构hwc_composer_device_1
*dev,int disp,int 空白)
int(* setPowerMode )(struct hwc_composer_device_1
*dev, int disp, int 模式)
};
整数(*查询)(struct hwc_composer_device_1 *dev, int what, int *value)
空白(* registerProcs )(struct hwc_composer_device_1 *dev, hwc_procs_t const *procs)
空白(* dump )(struct hwc_composer_device_1 *dev, char *buff, int buff_len)
整数(* getDisplayConfigs )(struct hwc_composer_device_1 *dev, int disp, uint32_t *configs, size_t *numConfigs)
整数(* getDisplayAttributes )(struct hwc_composer_device_1 *dev, int disp, uint32_t config, const uint32_t *attributes, int32_t *values)
整数(* getActiveConfig )(struct hwc_composer_device_1 *dev, int disp)
整数(* setActiveConfig )(struct hwc_composer_device_1 *dev, int disp, int index)
整数(* setCursorPositionAsync )(struct hwc_composer_device_1 *dev, int disp, int x_pos, int y_pos)
空白 * reserved_proc [1]

详细说明

在文件hwcomposer.h的第484行定义。

现场文件

联合 { ... }
int(*空白)(struct hwc_composer_device_1 *dev, int disp, int blank)

在文件hwcomposer.h的第606行定义。

结构hw_device_t通用

硬件作曲设备的常用方法。这必须hwc_composer_device_1的第一个成员,因为在已知hw_device_t引用hwc_composer_device_1的上下文中,此结构的用户会将hw_device_t 强制转换hwc_composer_device_1指针。

在文件hwcomposer.h的第491行定义。

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

在文件hwcomposer.h的第657行定义。

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

在文件hwcomposer.h的第588行定义。

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

在文件hwcomposer.h的第724行定义。

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

在文件hwcomposer.h的第710行定义。

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

在文件hwcomposer.h的第689行定义。

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

在文件hwcomposer.h的第527行定义。

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

在文件hwcomposer.h的第640行定义。

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

在文件hwcomposer.h的第649行定义。

无效* reserved_proc[1]

在文件hwcomposer.h的第777行定义。

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

在文件hwcomposer.h的第572行定义。

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

在文件hwcomposer.h的第745行定义。

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

在文件hwcomposer.h的第772行定义。

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

在文件hwcomposer.h的第631行定义。


此结构的文档是从以下文件生成的: