summaryrefslogtreecommitdiffstats
path: root/include/hardware/hwcomposer_defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hardware/hwcomposer_defs.h')
-rw-r--r--include/hardware/hwcomposer_defs.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/hardware/hwcomposer_defs.h b/include/hardware/hwcomposer_defs.h
index ef8fcf1..8ec048b 100644
--- a/include/hardware/hwcomposer_defs.h
+++ b/include/hardware/hwcomposer_defs.h
@@ -97,6 +97,9 @@ enum {
/* this layer holds the result of compositing the HWC_FRAMEBUFFER layers.
* Added in HWC_DEVICE_API_VERSION_1_1. */
HWC_FRAMEBUFFER_TARGET = 3,
+
+ /* this layer will be handled in the HWC, using a blit engine */
+ HWC_BLIT = 4,
};
/*
@@ -179,7 +182,8 @@ enum {
/* Allowed events for hwc_methods::eventControl() */
enum {
- HWC_EVENT_VSYNC = 0
+ HWC_EVENT_VSYNC = 0,
+ HWC_EVENT_ORIENTATION // To notify HWC about the device orientation
};
/* Display types and associated mask bits. */