Starting March 27, 2025, we recommend using android-latest-release
instead of aosp-main
to build and contribute to AOSP. For more information, see Changes to AOSP.
Stay organized with collections
Save and categorize content based on your preferences.
hwc_color Struct Reference
#include <
hwcomposer_defs.h
>
|
uint8_t
|
r
|
|
uint8_t
|
g
|
|
uint8_t
|
b
|
|
uint8_t
|
a
|
|
Definition at line
54
of file
hwcomposer_defs.h
.
The documentation for this struct was generated from the following file:
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2019-10-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2019-10-02 UTC."],[],[],null,["# Android Hardware Abstraction Layer: hwc_color Struct Reference\n\nhwc_color Struct Reference\n==========================\n\n[Data Fields](#pub-attribs) \nhwc_color Struct Reference \n\n`\n#include \u003c\n`[hwcomposer_defs.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer_defs.h)`\n\u003e\n`\n\n|---------|------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| uint8_t | [r](/reference/hal/structhwc__color#a4c5c6ceb8ed33456261fa907136e0c3a) |\n| ||\n| uint8_t | [g](/reference/hal/structhwc__color#a1673907d4d89d763bb7b94ec1eeb7b60) |\n| ||\n| uint8_t | [b](/reference/hal/structhwc__color#a4313c9563516f94387762ab05763456b) |\n| ||\n| uint8_t | [a](/reference/hal/structhwc__color#af4007aacd75b22aee32dba9ea96082c0) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nDefinition at line\n[54](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer_defs.h)\nof file\n[hwcomposer_defs.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer_defs.h)\n.\n\nField Documentation\n-------------------\n\n\n|-----------|\n| uint8_t a |\n\n\nDefinition at line\n[58](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer_defs.h)\nof file\n[hwcomposer_defs.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer_defs.h)\n.\n\n|-----------|\n| uint8_t b |\n\n\nDefinition at line\n[57](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer_defs.h)\nof file\n[hwcomposer_defs.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer_defs.h)\n.\n\n|-----------|\n| uint8_t g |\n\n\nDefinition at line\n[56](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer_defs.h)\nof file\n[hwcomposer_defs.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer_defs.h)\n.\n\n|-----------|\n| uint8_t r |\n\n\nDefinition at line\n[55](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer_defs.h)\nof file\n[hwcomposer_defs.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer_defs.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [hwcomposer_defs.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/hwcomposer_defs.h)"]]