summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
author Jamie Gennis <jgennis@google.com> 2012-10-15 20:19:36 -0700
committer Android Git Automerger <android-git-automerger@android.com> 2012-10-15 20:19:36 -0700
commit5c51f0fb38bd0cd80031da3eee6f335d5d28c3fc (patch)
tree5f54e68e773b8ae7436cbf251863bed08c599b77 /include
parent49fe8addbfe52bf9a3e69e6250e462a70332235c (diff)
parent3365c56716432d3bfdf41bb82fb08df821f41d0c (diff)
am 3365c567: Merge "SurfaceFlinger: add animation transactions" into jb-mr1-dev
* commit '3365c56716432d3bfdf41bb82fb08df821f41d0c': SurfaceFlinger: add animation transactions
Diffstat (limited to 'include')
-rw-r--r--include/gui/ISurfaceComposer.h1
-rw-r--r--include/gui/SurfaceComposerClient.h5
2 files changed, 5 insertions, 1 deletions
diff --git a/include/gui/ISurfaceComposer.h b/include/gui/ISurfaceComposer.h
index 5d2d8d7052..002aafc529 100644
--- a/include/gui/ISurfaceComposer.h
+++ b/include/gui/ISurfaceComposer.h
@@ -46,6 +46,7 @@ public:
// flags for setTransactionState()
enum {
eSynchronous = 0x01,
+ eAnimation = 0x02,
};
enum {
diff --git a/include/gui/SurfaceComposerClient.h b/include/gui/SurfaceComposerClient.h
index 581ec8d477..21d16a947e 100644
--- a/include/gui/SurfaceComposerClient.h
+++ b/include/gui/SurfaceComposerClient.h
@@ -101,10 +101,13 @@ public:
//! Open a composer transaction on all active SurfaceComposerClients.
static void openGlobalTransaction();
-
+
//! Close a composer transaction on all active SurfaceComposerClients.
static void closeGlobalTransaction(bool synchronous = false);
+ //! Flag the currently open transaction as an animation transaction.
+ static void setAnimationTransaction();
+
status_t hide(SurfaceID id);
status_t show(SurfaceID id);
status_t setFlags(SurfaceID id, uint32_t flags, uint32_t mask);