commit | 6132b0210b72a8d01cb07026bbf6dd512d95b8cc | [log] [tgz] |
---|---|---|
author | Yin-Chia Yeh <yinchiayeh@google.com> | Thu Feb 14 16:40:20 2019 -0800 |
committer | Yin-Chia Yeh <yinchiayeh@google.com> | Fri Feb 15 10:51:33 2019 -0800 |
tree | e2fa1de58623dd53ce24148b8c80645a410b93ef | |
parent | fee9bcf89b89ace5a096b247c015d28cb0e342b5 [diff] |
ImageWriter: create a thread for buffer detaching Calling detachNextBuffer while producer/consumer sits in the same process will cause a deadlock. Creating a thread shared by all alive ImageWriter instances to detachBuffers. Test: new CTS tests using TextureView + ImageWriter Bug: 122740799 Change-Id: I6231c75b93aa862449831a050b376f978b459bed