GLSurfaceView requestRender not instant

Problems with Canvas, OpenGL, etc...

GLSurfaceView requestRender not instant

Postby Milch » Sun Nov 28, 2010 2:31 pm

Hey!
I'm currently developing a 2D game using OpenGL-ES and GLSurfaceView.
I came to a point where I needed a game-thread and a rendering thread (which GLSurfaceView provides).
So I though the renderer shouldn't waste its time in the draw call waiting for its activation - so change the rendermode of the SurfaceView to 'RENDERMODE_WHEN_DIRTY'

But as it seems, the draw-call doesn't happen instantly as it is supposed to (nor it waits for it! - simply skips it)
Is there a workaround/am I using it wrong?
Milch
Once Poster
Once Poster
 
Posts: 1
Joined: Sun Nov 28, 2010 2:16 pm

Top

Return to Android 2D/3D Graphics - OpenGL Problems

Who is online

Users browsing this forum: No registered users and 4 guests