diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/hardware/hwcomposer_defs.h | 4 | ||||
-rw-r--r-- | include/hardware/power.h | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/include/hardware/hwcomposer_defs.h b/include/hardware/hwcomposer_defs.h index e650bd2..a19a26c 100644 --- a/include/hardware/hwcomposer_defs.h +++ b/include/hardware/hwcomposer_defs.h @@ -192,6 +192,10 @@ enum { */ HWC_DISPLAY_DPI_X = 4, HWC_DISPLAY_DPI_Y = 5, + + /* Indicates which of the vendor-defined color transforms is provided by + * this configuration. */ + HWC_DISPLAY_COLOR_TRANSFORM = 6, }; /* Allowed events for hwc_methods::eventControl() */ diff --git a/include/hardware/power.h b/include/hardware/power.h index af7799e..10612f3 100644 --- a/include/hardware/power.h +++ b/include/hardware/power.h @@ -116,7 +116,8 @@ typedef struct power_module { * User is interacting with the device, for example, touchscreen * events are incoming. CPU and GPU load may be expected soon, * and it may be appropriate to raise speeds of CPU, memory bus, - * etc. The data parameter is unused. + * etc. The data parameter is the estimated length of the interaction + * in milliseconds, or 0 if unknown. * * POWER_HINT_LOW_POWER * |