From 9a9dbd5921b6c138673eea206a1a067a01928cb5 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Tue, 31 Jan 2012 18:24:27 -0800 Subject: 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 --- include/gui/DisplayEventReceiver.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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& dataChannel, + Event* events, size_t count); /* * setVsyncRate() sets the Event::VSync delivery rate. A value of -- cgit v1.1