diff options
Diffstat (limited to 'include/gui/BufferItem.h')
-rw-r--r-- | include/gui/BufferItem.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/gui/BufferItem.h b/include/gui/BufferItem.h index cc41bae..000ef0e 100644 --- a/include/gui/BufferItem.h +++ b/include/gui/BufferItem.h @@ -21,6 +21,7 @@ #include <EGL/eglext.h> #include <ui/Rect.h> +#include <ui/Region.h> #include <system/graphics.h> @@ -106,6 +107,10 @@ class BufferItem : public Flattenable<BufferItem> { // Indicates this buffer must be transformed by the inverse transform of the screen // it is displayed onto. This is applied after mTransform. bool mTransformToDisplayInverse; + + // Describes the portion of the surface that has been modified since the + // previous frame + Region mSurfaceDamage; }; } // namespace android |