Wednesday, July 31, 2013

[android-developers] Re: GLSurfaceView lag/delay on Galaxy S3.

I see in your code sample in your original post that you log the event coordinates. That can stall your app and may be a reason for these delays. Also, how do you communicate the touch events to your rendering thread?

On Wednesday, July 31, 2013 12:06:22 PM UTC-5, Edvinas Kilbauskas wrote:


2013 m. liepa 31 d., trečiadienis 19:28:23 UTC+3, Streets Of Boston rašė:
Is your render-mode continuously or when-dirty? 
If it is when-dirty, be sure to call surfaceView.requestRender() in your onTouchEvent implementation.


It's RENDERMODE_CONTINUOUSLY.

Also, I took the advice, and rewrote everything in OpenGL ES 2.0. And you know what? It still has the same amount of delay! What the hell?
I really though ES 2.0 would fix this issue, but it didn't!
Now i'm really thinking that this issue is not fixable. It probably has something to do with drivers.
But I still can't get out of my head why some other games have no lag or delay? Some games do, but not all of them. Or atleast I think they don't have delay, maybe it just seem like that... I don't know it's very annoying, If I turn power saving mode off it becomes better, but still has delay. 

--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate