3 ms·
That is not correct. There is only one HWUI render thread per app. HWUI doesn't use multithreaded rendering. You can verify this easily running "ps -t".
by yslak 9y ago
That is not correct. There is only one HWUI render thread per app. HWUI doesn't use multithreaded rendering. You can verify this easily running "ps -t".
- vvanders 9y agoYup, but it's different from the UI thread which is what counts for me. For what it's worth unless you're on Vulkan(which few Android devices support) you're going to be limited to a single dispatch thread by GLES' threading semantics anyway. I still rest my point that they're doing layout, which is fine but doesn't consist of multi-threaded rendering. Using their approach they're still going to have to set some sort of absolute layout views which must go through a measure and layout pass on the UI thread.
- kllrnohj 9y agoHWUI does have 2 helper threads that it uses to off-load some work (hwuiTask1 & 2). But otherwise yes it's largely dominated by one thread.