Kể từ ngày 27 tháng 3 năm 2025, bạn nên sử dụng android-latest-release
thay vì aosp-main
để xây dựng và đóng góp cho AOSP. Để biết thêm thông tin, hãy xem phần Thay đổi đối với AOSP.
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Tham chiếu Cấu trúc hwc_procs
#include <
hwcomposer.h
>
Định nghĩa tại dòng
413
của tệp
hwcomposer.h
.
void(* hotplug)(const struct
hwc_procs
*procs, int disp, int connected)
|
void(* invalidate)(const struct
hwc_procs
*procs)
|
void(* vsync)(const struct
hwc_procs
*procs, int disp, int64_t timestamp)
|
Tài liệu cho cấu trúc này được tạo từ tệp sau:
Nội dung và mã mẫu trên trang này phải tuân thủ các giấy phép như mô tả trong phần Giấy phép nội dung. Java và OpenJDK là nhãn hiệu hoặc nhãn hiệu đã đăng ký của Oracle và/hoặc đơn vị liên kết của Oracle.
Cập nhật lần gần đây nhất: 2025-07-27 UTC.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-07-27 UTC."],[],[],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)"]]