diff options
author | Robert Carr <racarr@google.com> | 2019-12-17 23:56:44 -0800 |
---|---|---|
committer | Tiger Huang <tigerhuang@google.com> | 2019-12-18 17:20:39 +0800 |
commit | fee0b82175dc387c372f527876c212ff72f1fee5 (patch) | |
tree | 437573f1b1bf3977962ae96666b80b39622b8ce2 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 355062a8c35bd499b665db078711882fefc7e3a6 (diff) |
Add SurfaceControl.Transaction lock debugging utility.
Add a subclass of SurfaceControl.Transaction which can be given a monitor
object at construction. If the monitor is not held when other methods are
called the method will throw an exception. This should help us debug those
hard to find unlocked Transaction access issues that frequently show up. I think
this has been common enough that it's worse keeping a utility around in trunk.
Bug: 146473344
Test: Builds
Change-Id: I3617181745b452fbf9a575fd8e55760df900dd6f
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions