OSDN Git Service

HWC 1.5: Add per-layer damage region
authorDan Stoza <stoza@google.com>
Thu, 12 Feb 2015 18:11:21 +0000 (10:11 -0800)
committerDan Stoza <stoza@google.com>
Wed, 25 Feb 2015 21:42:18 +0000 (13:42 -0800)
commit811445a3f31023985b498312da3d9690dc20ca11
tree5a11937a44a0ad3f2cfc6dc802dcaf797480d84c
parent4f5949b5dda4a2e95d29e1aa3effb22c678df21a
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
include/hardware/hwcomposer.h
include/hardware/hwcomposer_defs.h