Hi,
I'm having some trouble getting OpenGL ES 2.0 up and running via
the new tie-ins in SDK 2.2. I basically tried just doing a
straightforward port from my working NDK gles 2.0 code to the SDK.
However, I end up just getting whatever the screen is cleared to and
can't seem to figure out why. I've managed to get it to draw vertices
once by overrunning the buffer I'm using(resulted in a green triangle
filling the screen between 45 degrees and 90), but haven't managed to
get anything to legitimately display. Anyway, here's my code:
Custom Surface View: http://pastebin.com/5SXKGnQw
Matrix calculation functions: http://pastebin.com/gif7ggTN
Thanks for your help.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en