diff options
author | Robert Carr <racarr@google.com> | 2017-05-25 18:24:42 -0700 |
---|---|---|
committer | Robert Carr <racarr@google.com> | 2017-05-30 09:27:44 -0700 |
commit | 49cd9f882c3853a615c517b00311a9512d68edf9 (patch) | |
tree | 0464416fd3ab3cfb6d3a62ffbc6804c62f86ee70 /rs/java/android/renderscript/Script.java | |
parent | b53670aecf2699022dffbf9400267ccf147eba64 (diff) |
ViewRootImpl: More careful draw accounting.
The strategy of beginning the count at 1 isn't enough
and we need to explicitly debt each request to report
draw. Imagine the case where a ViewRootImpl reports draw
multiple times, while we are waiting for a SurfaceView draw
completion callback. Without the explicit draw debt, the ViewRoot
would be counted as drawing for the SurfaceView and we could
notify the WM too early.
Test: Open Chrome a few hundred times. go/wm-smoke.
Bug: 38324871
Change-Id: I5762a98d1cc808125033ba3d1db8a3ea39a9e071
Diffstat (limited to 'rs/java/android/renderscript/Script.java')
0 files changed, 0 insertions, 0 deletions