החל מ-27 במרץ 2025, מומלץ להשתמש ב-android-latest-release
במקום ב-aosp-main
כדי ליצור תרומות ל-AOSP. מידע נוסף זמין במאמר שינויים ב-AOSP.
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
hwc2_device Struct Reference
#include <
hwcomposer2.h
>
ההגדרה מופיעה בשורה
691
בקובץ
hwcomposer2.h
.
void(* getCapabilities)(struct
hwc2_device
*device, uint32_t *outCount, int32_t *outCapabilities)
|
התיעוד של המבנה הזה נוצר מהקובץ הבא:
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2025-07-27 (שעון UTC)."],[],[],null,["# Android Hardware Abstraction Layer: hwc2_device Struct Reference\n\nhwc2_device Struct Reference\n============================\n\n[Data Fields](#pub-attribs) \nhwc2_device Struct Reference \n\n`\n#include \u003c\n`[hwcomposer2.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer2.h)`\n\u003e\n`\n\n|---------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| struct [hw_device_t](/reference/hal/structhw__device__t) | [common](/reference/hal/structhwc2__device#a86a0ca82dd3f02023e259b8b5e155dbe) |\n| ||\n| void(\\* | [getCapabilities](/reference/hal/structhwc2__device#afd70eebc0150e6e1d064548b29a5eea2) )(struct [hwc2_device](/reference/hal/structhwc2__device) \\*device, uint32_t \\*outCount, int32_t \\*outCapabilities) |\n| ||\n| [hwc2_function_pointer_t](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer2.h) (\\* | [getFunction](/reference/hal/structhwc2__device#a12189ce38f93aa3fabe06378e0a4cb44) )(struct [hwc2_device](/reference/hal/structhwc2__device) \\*device, int32_tdescriptor) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nDefinition at line\n[691](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer2.h)\nof file\n[hwcomposer2.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer2.h)\n.\n\nField Documentation\n-------------------\n\n\n|-----------------------------------------------------------------|\n| struct [hw_device_t](/reference/hal/structhw__device__t) common |\n\n\nDefinition at line\n[694](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer2.h)\nof file\n[hwcomposer2.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer2.h)\n.\n\n|--------------------------------------------------------------------------------------------------------------------------------------------|\n| void(\\* getCapabilities)(struct [hwc2_device](/reference/hal/structhwc2__device) \\*device, uint32_t \\*outCount, int32_t \\*outCapabilities) |\n\n\nDefinition at line\n[712](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer2.h)\nof file\n[hwcomposer2.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer2.h)\n.\n\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [hwc2_function_pointer_t](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer2.h) (\\* getFunction)(struct [hwc2_device](/reference/hal/structhwc2__device) \\*device, int32_tdescriptor) |\n\n\nDefinition at line\n[725](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer2.h)\nof file\n[hwcomposer2.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer2.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [hwcomposer2.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer2.h)"]]