summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2019-09-05 00:05:47 +0800
committerRiddle Hsu <riddlehsu@google.com>2019-09-05 23:10:36 +0800
commit15d0ac57f79b8eac469394391ecdc5c45b67da6d (patch)
treef4241918ad48e0909bfe04cde541d8e2bfbe14b2 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent87617a9b164ed036a57f0c62154d5880ef781ea9 (diff)
Reduce relayoutWindow when requestTransparentRegion
The pixel format should only need to apply once if the private flags is actually changed. The subsequent request doesn't change the window attributes. The most common case is from SurfaceView#onAttachedToWindow and performDrawFinished. Also remove mWindowAttributesChangesFlag which is never checked. It was added in commit f21c9b0f and its functionality was replaced by commit 40e0383d. Bug: 140407614 Test: Enable log of relayoutWindow in WindowManagerService. Launch a sample app with a button which will add a SurfaceView if clicked. The relayoutWindow log won't appear after the second time pressing the button. Change-Id: I13d36e390faad17a8e39a8c17c95fee5d3111960
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions