Canvas.drawBitmap performance on Android 4.3

757 Views Asked by At

I have two Samsung S4, one is 4.2.2, the other 4.3. I am running the same game, which is drawn on SurfaceView. On 4.2.2 drawing takes about 30ms, while on 4.3 almost 100ms. Drawing is performed from the other thread. I have checked, that the problem is with drawBitmap method. Any suggestion how to fix it? The problem appears only on S4 with Android 4.3. I also checked on Nexus 7 with 4.4.2, everything is ok.

0

There are 0 best solutions below