diff options
author | Robert Carr <racarr@google.com> | 2020-02-18 08:42:53 -0800 |
---|---|---|
committer | Robert Carr <racarr@google.com> | 2020-02-18 16:17:37 -0800 |
commit | bf01a77453feaabfaea09cc12a8e81227f00f2f5 (patch) | |
tree | 1332612a2c487e8d654e0d4c482d5d532eff5092 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | e49a32946f8757692dc9e8d20bca3467d4f13d73 (diff) |
SurfaceView: Fix BLAST Sync initialization.
When the SurfaceView is moved, we need to detect this and trigger
the ViewRootImpl to use a BLASTSync transaction for the next draw.
First we tried to do this from invalidate but parent invalidation won't
always lead to invalidate and so this doesn't work. Doing it from
updateSurface which is called from a PreDrawHandler ensures we
will be evaluated at least once per draw.
Bug: 146598493
Bug: 149251083
Bug: 149315421
Test: Flip the flag. Play with youtube.
Change-Id: I652eacf1a016f8b65fd754e47d468227bf8ecf1d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions