summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorRobert Carr <racarr@google.com>2020-04-01 14:29:13 -0700
committerRobert Carr <racarr@google.com>2020-04-03 15:07:35 -0700
commit92e08bf997bcd1459df4d2efe9fd51993908dd3e (patch)
tree51d3619707157d59a0036cc768ec8411e250e275 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parentb164ea9d7ab9d1e9771069310f919e408c43ccee (diff)
SurfaceView: Ensure we don't fill unused BLAST Transaction.
If BLAST is enabled and we somehow end up in positionLost or setParentSpaceRectangle without having called setUseBLASTSyncTransaction we will end up putting operations in to a Transaction which will never be applied. This condition should be considered a bug, but it's best to defend against it. To compensate, rather than checking the global use BLAST flag, we check if the current draw is actually using BLAST. Bug: 152663327 Bug: 152780239 Test: Existing tests pass Change-Id: I3c05b83400b59be82a339933fc8ef1382d4f0e21
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions