summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorEmilian Peev <epeev@google.com>2021-02-25 15:34:39 -0800
committerEmilian Peev <epeev@google.com>2021-02-25 16:11:08 -0800
commitc0880b85d01ff1c77b255e7b8fe3caab620fa009 (patch)
tree38a401f47291136c78f7bed787395c81faf21d73 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent360c3626e95f02d77fefce5a75679b47aad96639 (diff)
Camera: Don't switch image callbacks during extension sessions
- Relying on camera capture callbacks to switch appropriate camera output surface image callbacks can result in timing issues. For example a capture started callback from a new capture request can execute before the sequence complete callback gets scheduled for the old request. This can result in images from the new request getting redirected to the wrong/old callback. Avoid this by using a single image callback instance per camera output for the entire duration of the capture session and allow individual images to be redirected to appropriate handlers on a precise timestamp basis. - Additionally refactor an odd looking if-else case within 'ImageWriter'. Bug: 180451857 Bug: 180451435 Test: Camera CTS Change-Id: Iae497ff2eefacc00ea45ff5e598581156aa64c0d
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions