summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorRobert Carr <racarr@google.com>2016-05-26 11:48:49 -0700
committerRobert Carr <racarr@google.com>2016-05-26 14:33:44 -0700
commitfed100742011bbc3092925c37e9f2df4ab04b6b5 (patch)
treebc4fd3bdc802bff9b320ada280d2741cb20d1789 /rs/java/android/renderscript/RenderScript.java
parent15818e1156101f1d3a01009e7bc223d8ae88546d (diff)
Ensure surfaces only resize during relayout.
For clients which use an indeterminate measure spec in their layout params (MATCH_PARENT). We could try and change their window size due to a stack resize, before the client calls relayout. This isn't safe as the client never had an opportunity to pause rendering, so it could be in the middle of producing a frame for the old size to suddenly find the buffer size change underneath it. Bug: 28559097 Change-Id: I3982936fdf85c22def2f9c754d5508e029e4a84d
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions