commit | 7823ee73ee504fcb5b0448b0b8f1b4804309df45 | [log] [tgz] |
---|---|---|
author | Jorim Jaggi <jjaggi@google.com> | Tue Jul 17 15:24:16 2018 +0200 |
committer | Jorim Jaggi <jjaggi@google.com> | Tue Jul 17 17:34:49 2018 +0200 |
tree | f8da6181ceba92bf79e44981bf8305bcb1cd862b | |
parent | 0c84996a12ace0a81ecfeb5f3a79e55127a06af0 [diff] |
Move allocateBuffers to RT Such that it gets executed after setSurface, in order that mReqUsage has the correct flags set. Test: Take trace, ensure that allocateBuffers actually allocates in the right format/usage by ensuring that dequeueBuffer doesn't trash them immediately again. Bug: 111517695 Change-Id: I94b402d7b29d565155a77a2d09106246261712d2