diff options
author | chaviw <chaviw@google.com> | 2021-08-20 11:51:40 -0500 |
---|---|---|
committer | Chavi Weingarten <chaviw@google.com> | 2021-08-23 20:37:01 +0000 |
commit | 911be61b616ba1e5054c624a1a156c60c0e8e8ca (patch) | |
tree | ee244e9c1f299a95fcda1c6de4cda686c8029d26 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 7aedd374572b6766ddf327dbe6698a50246b78ea (diff) |
Cache IWindow in InputWindowHandle
Converting IBinder to IWindow is inefficient so instead cache IWindow
object directly. When calling native to Java, the IWindow object may not
be populated yet so we lazy cache it when getWindow is called.
Test: atest WindowAddRemovePerfTest
Fixes: 197219430
Change-Id: I15f7d7cd9775592a5545ddaf276c1b1db2777ac9
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions