summaryrefslogtreecommitdiff
path: root/libs/ui/Rect.cpp
diff options
context:
space:
mode:
author Dan Stoza <stoza@google.com> 2015-04-15 20:26:55 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-04-15 20:26:55 +0000
commitfd5f41bee9bcb2df64c39ff0de7d684e43d90d9c (patch)
treec0d4972cfc939f852cc67ea5802fe81863332954 /libs/ui/Rect.cpp
parent4d769d8bdc2fd57d34ab0fa4b9208ac0eb67cd61 (diff)
parent5065a55291b67f584d7b0be3fa3cfc4e29a3cd1c (diff)
Merge "libgui: Pass surface damage through BufferQueue"
Diffstat (limited to 'libs/ui/Rect.cpp')
-rw-r--r--libs/ui/Rect.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ui/Rect.cpp b/libs/ui/Rect.cpp
index b480f3a62b..dcce21f15a 100644
--- a/libs/ui/Rect.cpp
+++ b/libs/ui/Rect.cpp
@@ -19,6 +19,8 @@
namespace android {
+const Rect Rect::INVALID_RECT{0, 0, -1, -1};
+
static inline int32_t min(int32_t a, int32_t b) {
return (a < b) ? a : b;
}