AnsweredAssumed Answered

Low 2D graphics performance on KitKat and Lollipop

Question asked by Emil Myhrman on Oct 23, 2015
Latest reply on Nov 10, 2015 by Bio_TICFSL

Hi,

After upgrading to 4.4.3_2.0.0 we're having problems with low graphics performance, this seems to affect only 2D drawing.

 

I've been running the 0xBench app (0xbench - Comprehensive Benchmark Suite for Android - Google Project Hosting ) with 2D and 3D tests.

 

Android 4.4.2 using hwcomposer_viv.imx6.so, 3.0.35 kernel

Draw Rect test: 37 fps

Flying teapot: 60 fps

 

Android 4.4.3_2.0.0 using hwcomposer_fsl.imx6.so, 3.10.53 kernel

Draw Rect test: 7.0 fps

Flying teapot: 59 fps

 

Android 4.4.3_2.0.0 using hwcomposer_viv.imx6.so, 3.10.53 kernel

Draw Rect test: 6.9 fps

Flying teapot: 60 fps

 

Android 5.1.1 (beta) using hwcomposer_viv.imx6.so, 3.14.53 kernel

Draw Rect test: 6.8 fps

Flying teapot: 44 fps

 

 

Any ideas what would cause this?

 

 

I don't know if it's related but I've noticed that the function "eglSetSwapRectangleANDROID" is present in libEGL_VIVANTE.so for 4.4.2 release, but missing (or renamed to eglSetSwapRectangleVIV?) on Android releases. Which makes the call to eglSetSwapRectangleANDROID in surfaceflinger/DisplayDevice.cpp useless.

Outcomes