GLES2 vs GLES1 overral performance decreased

  ... discussions about development with the GLES2 branch of AndEngine.

GLES2 vs GLES1 overral performance decreased

Postby asktomsk » Tue Jan 17, 2012 5:43 am

Have converted my project to GLES2 (yes it was fkng hard).
Gles1 fps ~ 55
Gles2 fps ~ 40

Time between activities and scenes switching increased at least twice.

Is it OK?
My 1st released game Moopa
Posts: 56
Joined: Sat Apr 02, 2011 8:42 am
Location: Russia

Re: GLES2 vs GLES1 overral performance decreased

Postby bhecox65 » Tue Jan 17, 2012 11:20 am

I am noticing a slight decrease in performance in my game as well. All I did was fix the code for GLES2.0.
Check out my site:
I have one Android game out: Tap It!

It's free so download it now! :D
Posts: 31
Joined: Sun Aug 08, 2010 11:09 pm

Re: GLES2 vs GLES1 overral performance decreased

Postby nazgee » Tue Jan 17, 2012 10:11 pm

I have noticed HUMONGOUS degrade in partcles system on my HTC desire. Is there any particular for such a degrade?
Dirt Rider Mayhem is PUBLISHED now!
User avatar
Posts: 524
Joined: Fri Oct 21, 2011 10:31 pm
Location: Poland, Wrocław

Re: GLES2 vs GLES1 overral performance decreased

Postby AjaxLexer » Fri Jan 20, 2012 10:45 pm

I also experienced this drop in frame-rate. I'm using a Desire HD and had the same drop as asktomsk.

I've narrowed it down to the colour modifier for particles:

particleSystem.addParticleModifier(new ColorModifier<Sprite>(0.3f, 0.4f, 0.3f, 0.2f, 0.0f, 1.0f, 0.0f, 5.5f));

The simple initialiser seems OK:
particleSystem.addParticleInitializer(new ColorInitializer<Sprite>(0.7f, 0.0f, 1.0f));

Thanks for pointing me towards the particle system!

Oh looks like this problem is fixed in the latest version of AndEngine, where "ColorModifier" is now "ColorParticleModifier". Watch out the constructors for the modifiers have had the variables move around, now the time float numbers go first!
Latest version of AndEngine doesn't seem to be faster...
Posts: 8
Joined: Fri Jan 20, 2012 10:37 pm

Return to GLES2

Who is online

Users browsing this forum: Someonation, Yahoo [Bot] and 36 guests