از 27 مارس 2025، توصیه می کنیم از android-latest-release
به جای aosp-main
برای ساختن و کمک به AOSP استفاده کنید. برای اطلاعات بیشتر، به تغییرات AOSP مراجعه کنید.
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
hwc_procs مرجع ساختار
#include < hwcomposer.h >
تعریف در خط 413 فایل hwcomposer.h .
void(* hotplug)(const struct hwc_procs *procs, int disp, int connect) |
void(* invalidate)(const struct hwc_procs *procs) |
void(* vsync)(const struct hwc_procs *procs, int disp, int64_t timestamp) |
مستندات این ساختار از فایل زیر تولید شده است:
محتوا و نمونه کدها در این صفحه مشمول پروانههای توصیفشده در پروانه محتوا هستند. جاوا و OpenJDK علامتهای تجاری یا علامتهای تجاری ثبتشده Oracle و/یا وابستههای آن هستند.
تاریخ آخرین بهروزرسانی 2025-07-29 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","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-29 بهوقت ساعت هماهنگ جهانی."],[],[],null,["# Android Hardware Abstraction Layer: hwc_procs Struct Reference\n\nhwc_procs Struct Reference\n==========================\n\n[Data Fields](#pub-attribs) \nhwc_procs Struct Reference \n\n`\n#include \u003c\n`[hwcomposer.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer.h)`\n\u003e\n`\n\n|---------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| void(\\* | [invalidate](/reference/hal/structhwc__procs#a163f6173260106716be4a83faba66619) )(const struct [hwc_procs](/reference/hal/structhwc__procs) \\*procs) |\n| ||\n| void(\\* | [vsync](/reference/hal/structhwc__procs#a4ff7c3436585d8b19bb9a8da5d9ce158) )(const struct [hwc_procs](/reference/hal/structhwc__procs) \\*procs, int disp, int64_t timestamp) |\n| ||\n| void(\\* | [hotplug](/reference/hal/structhwc__procs#aa642c4007c670e720eea67e8ff4b15cd) )(const struct [hwc_procs](/reference/hal/structhwc__procs) \\*procs, int disp, int connected) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nDefinition at line\n[413](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer.h)\nof file\n[hwcomposer.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer.h)\n.\n\nField Documentation\n-------------------\n\n\n|--------------------------------------------------------------------------------------------------------------|\n| void(\\* hotplug)(const struct [hwc_procs](/reference/hal/structhwc__procs) \\*procs, int disp, int connected) |\n\n\nDefinition at line\n[467](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer.h)\nof file\n[hwcomposer.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer.h)\n.\n\n|----------------------------------------------------------------------------------------|\n| void(\\* invalidate)(const struct [hwc_procs](/reference/hal/structhwc__procs) \\*procs) |\n\n\nDefinition at line\n[423](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer.h)\nof file\n[hwcomposer.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer.h)\n.\n\n|----------------------------------------------------------------------------------------------------------------|\n| void(\\* vsync)(const struct [hwc_procs](/reference/hal/structhwc__procs) \\*procs, int disp, int64_t timestamp) |\n\n\nDefinition at line\n[445](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer.h)\nof file\n[hwcomposer.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [hwcomposer.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer.h)"]]