commit | 5795d6408d8bf44ffe2f49a25f9f333069b59a49 | [log] [tgz] |
---|---|---|
author | Dan Stoza <stoza@google.com> | Fri Jun 20 13:01:36 2014 -0700 |
committer | Dan Stoza <stoza@google.com> | Fri Jun 20 15:28:31 2014 -0700 |
tree | 169113cdb2df731cbe026b0e1c5e1dd02bf9fcd7 | |
parent | c6543afd6b94671c99bd7a934da010918a015286 [diff] |
Surface: Add allocateBuffers to avoid render delay This plumbs up a new call on the native Surface object that allows the client to request that BufferQueue pre-allocate all of the buffers that it might need for rendering. This hopefully prevents allocation delays during dequeuing and reduces jank. Bug: 11792166 Change-Id: Ibeaa7475492d4ac2bcacb107ef60c6240081d8b7