Login  Register

Re: JOGL 2.0 (OpenGL/OpenGL-ES) backend for LibGDX

Posted by dardzull@yahoo.com on Feb 01, 2013; 9:02am
URL: https://forum.jogamp.org/JOGL-2-0-OpenGL-OpenGL-ES-backend-for-LibGDX-tp4027689p4028097.html

I just wanted to give an update to @noxo and anyone else interested before i crash for the night.

 The latest update to the unified branch killed performance.  Went from 60fps down to 18-20fps.  OUCH!   Not sure what happened.  So, I rolled back to the prior to keep testing as it seems to still have the same basic issues (been testing on both to make sure of this next issue)

I figured out my texture problem and found another.  First on the RPi it seems that a texture needs to be a base of 8 both height and width ... IE 16px by 16px, 32px by 32px, so on and so forth.  Not sure if they only can be 32bit color (still need to look at that).  I'm still walking this one up, so I will let ya know when i hit the limit (or get bored).  Transparency is working on top of it, so I'm kinda happy there.  And my shader is haply chugging away.

However, there is an issue with the texture buffer.  It seems to be taking the first couple of pixels off the left and top then transposing them to the right and bottom.  Going to guess its an indexing issue somewhere in the pipe (api or native).  I've only tested on the armel, so I'm not sure if there is an issue with the armhf yet (but would assume so).  I can try to get a screenshot of the texture displayed if someone needs.