summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorVishnu Nair <vishnun@google.com>2021-03-09 16:16:38 -0800
committerVishnu Nair <vishnun@google.com>2021-03-09 16:16:38 -0800
commit3afbfad181fde57223cc4a15ed3402d4f11cc58d (patch)
tree7e8e498f56f6af06b6939b5ccab680f8669fc04b /rs/java/android/renderscript/RenderScript.java
parentcebc56614505e9cd40ef240171b8f2553dc23be8 (diff)
Add async mode tests for BLAST
Add some tests to validate dequeue blocking behavior when the IGBP is configured in async mode. We want to validate that in this mode, with or without blast, the client will not be blocked when dequeuing a buffer. Instead, when the client tries to queue a buffer, the bufferqueue will drop the queued buffer if it exists. In async mode, the bufferqueue in the will have an additional buffer so for blast: one buffer will be acquired and presented, one buffer will be acquired in the queue, and the client will have two buffers left for non blocking dequeue. When queuing a buffer, the BQ in the adapter will drop the last queued buffer if available. Test: atest BufferPresentationTests Bug: 176916466 Change-Id: I6ff45c24d6529cc7cd4169f962eb2ca9cbc09943
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions