summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Script.java
diff options
context:
space:
mode:
authorRobert Carr <racarr@google.com>2016-03-29 13:15:41 -0700
committerRobert Carr <racarr@google.com>2016-03-29 13:42:06 -0700
commit0b10c335c72cb610e71432a61f315e7670b9af41 (patch)
tree2f7289aff1fa257fd3d7557aede948d896b4925e /rs/java/android/renderscript/Script.java
parent15d4b5aae852f4c4df9b4a97d86fb4e304cfd677 (diff)
Ensure we change SurfaceView size from UI thread.
We need to change the SurfaceView size from the UI thread so that we can appropriately deliver the SurfaceChanged callback. We also need to not preserve geometry in this case, as if we don't update the surface and layout size together we could get scaling. This still has some potential for holes, as transactions are not synced with the parent renderer, but we have other methods to avoid these in the case of resizing. This fixes the remaining issues with content sizing and surface view "out of sync". Bug: 27780983 Bug: 27687126 Bug: 27676101 Change-Id: Idd7864f00e5cf7a4eb32dd66c0b389292a788069
Diffstat (limited to 'rs/java/android/renderscript/Script.java')
0 files changed, 0 insertions, 0 deletions