- 03 Nov, 2015 1 commit
-
-
Pablo Ceballos authored
- Adds a single buffer mode to BufferQueue. In this mode designate the first dequeued buffer as the shared buffer. All calls to dequeue() and acquire() will then return the shared buffer, allowing the producer and consumer to share it. - Modify the buffer slot state tracking. Add a new SHARED state for the shared buffer in single buffer mode. Also track how many times a buffer has been dequeued/queued/acquired as it's possible for a shared buffer to be both dequeued and acquired at the same time, or dequeued/acquired multiple times. This tracking is needed to know when to drop the buffer out of the SHARED state after single buffer mode has been disabled. - Add plumbing for enabling/disabling single buffer mode from Surface. Bug 24940410 Change-Id: I3fc550c74bacb5523c049a227111356257386853
-
- 30 Oct, 2015 1 commit
-
- 29 Oct, 2015 4 commits
-
-
Rob Carr authored
-
Dan Stoza authored
Add API for fetching the next frame number to be produced by a given buffer producer. Add an API to SurfaceComposer to defer execution of the current transaction until a given frame number. Together these may be used to synchronize app drawing and surface control updates. Change-Id: I8e0f4993332ac0199c768c88581a453fefbaff1d
-
- 28 Oct, 2015 12 commits
-
-
Casey Dahlin authored
am: 75c5de42 * commit '75c5de42': Add readStrongBinder that takes an interface
-
Casey Dahlin authored
am: 6319281c * commit '6319281c': Add readStrongBinder that takes an interface
-
Casey Dahlin authored
am: 71b70a24 * commit '71b70a24': Add readStrongBinder that takes an interface
-
Casey Dahlin authored
-
Casey Dahlin authored
We use a template function to let us pass arbitrary interfaces, all of which can be cast to IBinder. Change-Id: Iadf21c495cde43e8a5adb85a49e6592196f401ff Test: unit tests Bug: 23600713 Signed-off-by:
Casey Dahlin <sadmac@google.com>
-
Vladislav Kaznacheev authored
-
Christopher Wiley authored
am: 23cd9ff6 * commit '23cd9ff6': libbinder: Fix out of bounds in readBoolVector
-
Christopher Wiley authored
am: 87a30d93 * commit '87a30d93': libbinder: Fix out of bounds in readBoolVector
-
Christopher Wiley authored
am: 1f76049c * commit '1f76049c': libbinder: Fix out of bounds in readBoolVector
-
Christopher Wiley authored
-
Christopher Wiley authored
Bug: 25012838 Test: This code now works at runtime. Change-Id: I3d6b2677f11276e6be4c51451ca36572a4ee573d
-
Vladislav Kaznacheev authored
Bug: 25329519 Change-Id: I087d5a8573d6b38f10918c0b7a63048273f008b9
-
- 27 Oct, 2015 4 commits
-
-
Peng Xu authored
-
Peng Xu authored
Initial sensor flush at subscription is a mechanism to avoid sensors to get stale samples before subscription happens. However, there is a slight chance that a most recent sample will be lost during the flush process. This is OK for continuous sensors but problematic in on-change sensor as on-change event does not come continuously and a lost event can cause inconsistent state in client. Flush at subscription of on-change sensor is disabled in this CL to avoid new important on-change event to be discarded during the initial flush process. Bugs: b/24647069 b/25241873 b/24804819 Change-Id: Ibda099c6b9f5fb6e200f13cf13a850b0026e9e7c
-
Pablo Ceballos authored
- 26 Oct, 2015 6 commits
-
-
Dan Stoza authored
-
Pablo Ceballos authored
-
Martijn Coenen authored
- 23 Oct, 2015 12 commits
-
-
Adrian Roos authored
am: 0d2a22ec * commit '0d2a22ec': Maintain Parcel ABI Revert "Revert "Track ashmem memory usage in Parcel""
-
Adrian Roos authored
am: bcc709b9 * commit 'bcc709b9': Maintain Parcel ABI Revert "Revert "Track ashmem memory usage in Parcel""
-
Adrian Roos authored
Makes sure we don't change the memory layout of the Parcel class to maintain binary compatibility with prebuilts linking against libbinder. Bug: 25004154 Change-Id: I656687497f08bb85cefda796aafa2341e601e30a (cherry picked from commit 6bb31142)
-
Adrian Roos authored
This reverts commit 6880307e. Bug: 25004154 Change-Id: I9b432d1ebc39f3bbcd7afdefc403f0fb6ced8158 (cherry picked from commit cbf37263)
-
Pablo Ceballos authored
- VirtualDisplaySurface has a BufferQueue for producing scratch buffers when doing mixed composition for a virtual display. - Connect/disconnect the producer end of this BufferQueue in the VirtualDisplaySurface constructor/destructor to avoid using it in a disconnected state. Bug 24733179 Change-Id: I87dab9ff4f46d422b7796670b0b4d17b7fd09165
-
Adrian Roos authored
am: 0c11f991 * commit '0c11f991': Maintain Parcel ABI Revert "Revert "Track ashmem memory usage in Parcel""
-
Adrian Roos authored
am: cf33d50d * commit 'cf33d50d': Maintain Parcel ABI Revert "Revert "Track ashmem memory usage in Parcel""