summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2012-01-31 18:24:27 -0800
committerMathias Agopian <mathias@google.com>2012-02-01 20:43:06 -0800
commit9a9dbd5921b6c138673eea206a1a067a01928cb5 (patch)
tree3505a7dd951f0fa46d0245aa9d84a354a35e3857 /include
parent26daa02bdb0c62f8162ad8d4d771cabce8644b4a (diff)
downloadframeworks_base-9a9dbd5921b6c138673eea206a1a067a01928cb5.zip
frameworks_base-9a9dbd5921b6c138673eea206a1a067a01928cb5.tar.gz
frameworks_base-9a9dbd5921b6c138673eea206a1a067a01928cb5.tar.bz2
separate transactions from updates
with this changes, SF transactions are handled as soon as possible but do not trigger updates. the update is delayed until the next vsync. this allows us to work much better without requiring triple-buffering. Change-Id: I1fa10794d0cf742129f0877698b7b1e1f2ec7401
Diffstat (limited to 'include')
-rw-r--r--include/gui/DisplayEventReceiver.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gui/DisplayEventReceiver.h b/include/gui/DisplayEventReceiver.h
index a281377..7bca8d6 100644
--- a/include/gui/DisplayEventReceiver.h
+++ b/include/gui/DisplayEventReceiver.h
@@ -95,6 +95,8 @@ public:
* should be destroyed and getEvents() shouldn't be called again.
*/
ssize_t getEvents(Event* events, size_t count);
+ static ssize_t getEvents(const sp<BitTube>& dataChannel,
+ Event* events, size_t count);
/*
* setVsyncRate() sets the Event::VSync delivery rate. A value of