diff options
author | John Reck <jreck@google.com> | 2019-10-03 13:20:08 -0700 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2019-11-16 00:27:12 +0000 |
commit | 18ed45f835485d8d64708540d318707eeb215c1c (patch) | |
tree | 09565324470093ca98de9ea48ee9b6fee0cde5d5 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 8412b9f24a75b9d070dec92da755cd27ead13306 (diff) |
Ensure SKP serialization occurs on RenderThread
Instead of doing lazy serialization of SKP on the
background executor serialize to a byte[] immediately
at callback invocation. This ensures no potential
for later mutations, race conditions, or wrong-thread issues
at the expense of potentially impacting app rendering performance.
However it seems preferable for a debug-only tool to be a slow
instead of very crashy.
Bug: 141772764
Test: test app
Change-Id: I3316d49970b96f1c59bb0a28ff7335db608e539e
(cherry picked from commit 8d0da1a6c5271d7f803b665d6a0784a2ca74d3c8)
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions