summaryrefslogtreecommitdiffstats
path: root/include/ui
diff options
context:
space:
mode:
authorDan Stoza <stoza@google.com>2015-03-17 16:23:42 -0700
committerDan Stoza <stoza@google.com>2015-04-15 13:19:38 -0700
commit5065a55291b67f584d7b0be3fa3cfc4e29a3cd1c (patch)
treec0d4972cfc939f852cc67ea5802fe81863332954 /include/ui
parent4d769d8bdc2fd57d34ab0fa4b9208ac0eb67cd61 (diff)
downloadframeworks_native-5065a55291b67f584d7b0be3fa3cfc4e29a3cd1c.zip
frameworks_native-5065a55291b67f584d7b0be3fa3cfc4e29a3cd1c.tar.gz
frameworks_native-5065a55291b67f584d7b0be3fa3cfc4e29a3cd1c.tar.bz2
libgui: Pass surface damage through BufferQueue
This change adds support for passing surface damage all of the way down from the EGL interface through the consumer side of the BufferQueue. Depends on system/core change Ie645e6a52b37b5c1b3be19481e8348570d1aa62c Bug: 11239309 Change-Id: I4457ea826e9ade4ec187f973851d855b7b93a31b
Diffstat (limited to 'include/ui')
-rw-r--r--include/ui/Rect.h2
-rw-r--r--include/ui/Region.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/ui/Rect.h b/include/ui/Rect.h
index 40d1166..3886f93 100644
--- a/include/ui/Rect.h
+++ b/include/ui/Rect.h
@@ -31,6 +31,8 @@ class Rect : public ARect, public LightFlattenablePod<Rect>
public:
typedef ARect::value_type value_type;
+ static const Rect INVALID_RECT;
+
// we don't provide copy-ctor and operator= on purpose
// because we want the compiler generated versions
diff --git a/include/ui/Region.h b/include/ui/Region.h
index 49740f7..2a14918 100644
--- a/include/ui/Region.h
+++ b/include/ui/Region.h
@@ -35,6 +35,8 @@ class String8;
class Region : public LightFlattenable<Region>
{
public:
+ static const Region INVALID_REGION;
+
Region();
Region(const Region& rhs);
explicit Region(const Rect& rhs);