Our previous mechanism of copying a drawable's content was performed on the main thread.
When starting an app, this would create a lot of main thread task to run. And any new image would also take some of the main thread time, creating a lot of jank frames in any non hello world app.
This will fix the performance issue some of our customers started to notice when enabling SR.
What does this PR do?
Our previous mechanism of copying a drawable's content was performed on the main thread. When starting an app, this would create a lot of main thread task to run. And any new image would also take some of the main thread time, creating a lot of jank frames in any non hello world app.
This will fix the performance issue some of our customers started to notice when enabling SR.