Hi Jules!
A suggestion to you - put this in the Android.mk file generated by the Introjucer, to boost the performance of your generated code!
#Turn-off thumb mode, generate 32-bit code instead!
#This gives a huge performance boost!
LOCAL_ARM_MODE := arm
EDIT: Please also see this build crash for Android: http://www.rawmaterialsoftware.com/viewtopic.php?f=13&t=11712
Hoping this helps!
Best wishes,
Pete
hugh
July 15, 2013, 8:37pm
2
Hi,
sounds interesting. are there any drawbacks enabling this? or min 'droid versions that should be used with this.
thanks,
shini
July 16, 2013, 10:21am
3
Tested this flag on my app on a Galaxy S1 and minSdkVersion set to 8, no apparent drawbacks.
I’ll test with a newer device asap to see if there’s a difference in performance.
hugh
July 16, 2013, 11:07am
4
excellent. I’ll give it a go on my devices here next time i make builds. If i find anything, i’ll report.
FWIW, im dropping API < 11 now (ie drop 2.3.X gingerbread). The old devices are slow and people just complain anyhow
thanks,
shini
July 16, 2013, 2:53pm
5
Tested with a Hero 9300 with different minSdkVersion values, no noticable changes in performance here (at least it didn’t solve the app-breaking lag I have when calling the repaint function )
jules
July 17, 2013, 4:24pm
6
Well, seems like I should add it by default. But if anyone spots any issues with it, let me know!
shini
July 17, 2013, 9:41pm
7
This doesn’t help that much compared to the HUGE fix coming from here: http://www.rawmaterialsoftware.com/viewtopic.php?f=13&t=9839
This enhance a Juce android app (even without openGL) from 3 fps to 60. (it works with a minimal API of 11. Just use the hardwareAccelerated=“false” tag, it’s magic )
(edit: fwiw my struggle started here: http://www.rawmaterialsoftware.com/viewtopic.php?f=13&t=10553&p=65945#p64158 )
jules
July 18, 2013, 8:05am
8
This doesn’t help that much compared to the HUGE fix coming from here: http://www.rawmaterialsoftware.com/viewtopic.php?f=13&t=9839
This enhance a Juce android app (even without openGL) from 3 fps to 60. (it works with a minimal API of 11. Just use the hardwareAccelerated=“false” tag, it’s magic )
(edit: fwiw my struggle started here: http://www.rawmaterialsoftware.com/viewtopic.php?f=13&t=10553&p=65945#p64158 )[/quote]
Sure, but that fix has already been in the introjucer for a long time now, right?
shini
July 19, 2013, 9:39am
9
I’m not totally sure since I was using android api 8, and this does work only for api 11 and later.