hwc_composer_device_1 結構體參考資料
#include <
hwcomposer.h
>
資料欄位 |
|
| struct hw_device_t | 通用 |
| 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] |
詳細說明
定義位於檔案 hwcomposer.h 的 484 行。
欄位說明文件
| union { ... } |
| int(* blank)(struct hwc_composer_device_1 *dev, int disp, int blank) |
定義位於檔案 hwcomposer.h 的 606 行。
| struct hw_device_t common |
硬體 Composer 裝置的常用方法。這個 必須是 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 行。
| void* 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 行。
這個結構體的說明文件是由下列檔案產生:
- hardware/libhardware/include/hardware/ hwcomposer.h