commit | 35b4e3839a2eb405bd172351042f81d842183715 | [log] [tgz] |
---|---|---|
author | Jorim Jaggi <jjaggi@google.com> | Thu Mar 28 00:44:03 2019 +0100 |
committer | Jorim Jaggi <jjaggi@google.com> | Tue Apr 02 22:40:12 2019 +0200 |
tree | 39ee0e9f82836355b195abfcc7c8b66a88868af7 | |
parent | 6ae550323264bacc45da2d8fca90534d02815308 [diff] |
Wait for buffer allocation In dequeueBuffer, if we don't have a free slot but are in the process of allocating, we wait for that to complete instead of kicking off our own allocation, as it's likely that the allocation from allocateBuffers is able to finish earlier than if we'd kick off our own allocation. Test: Swipe up, see less initial buffer dequeue delay Fixes: 111517695 Change-Id: I735d68e87fc7e2ff5b7ec3595f0ced5a94ebbf9c