UI performance tuning in hwui hardware render for Lollipop

Showing results for 
Search instead for 
Did you mean: 

UI performance tuning in hwui hardware render for Lollipop

No ratings

UI performance tuning in hwui hardware render for Lollipop

For Vivante GPU, the scissor should be enabled.
The default value is enabled, So, keep the default value.

These parameters depend on display resolution.
The default value is calculated according to 720P resolution which near 1024x768 resolution on our platform.

These variables depends on screen resolution, density(similar to ppi) and language used.
On a larger resolution screen, there might be more characters painted on it.
Better to have larger font cache size.
On a larger density config, it tends to use larger fonts.
If the language has more different characters (symbols), it may need larger texture size to cache the fonts. For example, English may only have 52 characters, but Chinese have more than 10K and each will occupy more memory cache than English character.

If cache size is too small, performance may drop because the font renderer will flush existed cache and upload new ones.
If cache size is too large, it just wastes memory.
It's OK to flush existed cache sometimes. But it's better to have only one (or
no) flush for rendering a single screen.

The default value is optimum on out platform with 1024x768 display resolution.
BTW, texture size limitation on current Vivante GPU are 8192 x 8192.

Version history
Revision #:
1 of 1
Last update:
‎01-28-2015 06:55 PM
Updated by: