Using Canvas with Surfaceview I had a run() method where I would essentially do the following:
onDraw();
update();
Where onDraw method would do the rendering and update would update all my game physics / logic etc...
Having switched to openGL ES (2.0) and therefore now using a glSurfaceview, I have the following:
onDrawFrame(){
//Rendering code here
}
Which I don't call myself as it gets called automatically (my rendering is set to continuous).
So where / how do I run my logic updates?