summaryrefslogtreecommitdiffstats
path: root/include/hardware/hwcomposer_defs.h
diff options
context:
space:
mode:
authorDan Stoza <stoza@google.com>2015-02-12 10:11:21 -0800
committerDan Stoza <stoza@google.com>2015-02-25 13:42:18 -0800
commit811445a3f31023985b498312da3d9690dc20ca11 (patch)
tree5a11937a44a0ad3f2cfc6dc802dcaf797480d84c /include/hardware/hwcomposer_defs.h
parent4f5949b5dda4a2e95d29e1aa3effb22c678df21a (diff)
downloadhardware_libhardware-811445a3f31023985b498312da3d9690dc20ca11.zip
hardware_libhardware-811445a3f31023985b498312da3d9690dc20ca11.tar.gz
hardware_libhardware-811445a3f31023985b498312da3d9690dc20ca11.tar.bz2
HWC 1.5: Add per-layer damage region
This adds an array of rects to hwc_layer_1_t that define which portions of that layer's source buffer have been modified. If there are a non-zero number of rects, then any portion of the source buffer not touched by one of the rects may safely be assumed to not have been modified. If no rects are defined, then the whole source buffer must be assumed to have been modified. Change-Id: Id5efafee74602ed7d76609180e334ed203c23f7e
Diffstat (limited to 'include/hardware/hwcomposer_defs.h')
-rw-r--r--include/hardware/hwcomposer_defs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hardware/hwcomposer_defs.h b/include/hardware/hwcomposer_defs.h
index 9a52436..e650bd2 100644
--- a/include/hardware/hwcomposer_defs.h
+++ b/include/hardware/hwcomposer_defs.h
@@ -37,6 +37,7 @@ __BEGIN_DECLS
#define HWC_DEVICE_API_VERSION_1_2 HARDWARE_DEVICE_API_VERSION_2(1, 2, HWC_HEADER_VERSION)
#define HWC_DEVICE_API_VERSION_1_3 HARDWARE_DEVICE_API_VERSION_2(1, 3, HWC_HEADER_VERSION)
#define HWC_DEVICE_API_VERSION_1_4 HARDWARE_DEVICE_API_VERSION_2(1, 4, HWC_HEADER_VERSION)
+#define HWC_DEVICE_API_VERSION_1_5 HARDWARE_DEVICE_API_VERSION_2(1, 5, HWC_HEADER_VERSION)
enum {
/* hwc_composer_device_t::set failed in EGL */