summaryrefslogtreecommitdiff
path: root/opengl/java
diff options
context:
space:
mode:
author hainiaochen <chenhnaaa@gmail.com> 2023-05-11 12:42:04 +0800
committer hainiaochen <chenhnaaa@gmail.com> 2023-05-11 13:48:17 +0800
commitdf620959c961c9c2895c60550e67498fe023d2ac (patch)
tree2f35a11bef13dd3e9d0d11f1eb2d7a83fd108c81 /opengl/java
parent3e13eb5a266750dd81c0a5b432788c6fe9502aa3 (diff)
Close unused Image before acquire new one
Fix IllegalStateException: maxImages (30) has already been acquired, call #close before acquiring more. Before onImageRequestCompleted, onImageAvailable may be called multiple times, with only the last one being used. And acquireLatestImage has limitations, so it is necessary to close unused images. Change-Id: I2cc1da31596d2458b31d14340b151ac0d8311ca7
Diffstat (limited to 'opengl/java')
0 files changed, 0 insertions, 0 deletions