Skip to content
Commit 6132b021 authored by Yin-Chia Yeh's avatar Yin-Chia Yeh
Browse files

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
parent fee9bcf8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment