Question

I've been trying for a while to vertically scroll a GLSurfaceView that's not displayed in its entirety. I feel a bit dumb posting such a short explanation of my question, but that's all I can muster: I know the window is getting the click and drag events, but scrollTo (100% sure it gets correct parameters) does not move the window at all.

EDIT: After a bit more tweaking, I found methods for manipulating the surface through the GL10 gl object, but it is completely unresponsive. It doesn't bother to act on the simplest of tasks, like setting the surface to a single color with glClearColor(). onDrawFrame() of the renderer is getting called, but calling functions on the gl objects (or static functions from the GLES10 class) does nothing, what could possibly cause this?

Was it helpful?

Solution

For closure's sake, a possible reason for a GL10 object not to respond is that it might have been passed by value to onDrawFrame(), and not by reference.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top