I see that the glGetTexParameteriv function exists in the gl.h header, but I can't find definitions for any of the parameters (GL_TEXTURE_WIDTH, GL_TEXTURE_HEIGHT, etc).
What is the proper way to retrieve a texture's width or height in Vincent?
Let me check the specification... Maybe there is no way defined.
In researching this.. it looks like you should query the underlying surface of a texture with eglQuerySurface() to find out the width/height.
Does that sound correct?
I'm a little new to GL and GLES, but in looking through the documentation, i think these functions are defined in the OES specification.
Either GetTexParameterxvOES() or GetTexLevelParameterxvOES().
The GetTexLevelParameterxvOES would provide access to:
These don't seem like hard functions to write. I could implement them and send you a patch for Vincent.