-2

I want to learn OpenGL2.0 in android.But I didn't find the way how to enable and disable OpenGL2.0 in andorid and Android Browser. If anyone knows please help me on this..

genpfault
  • 51,148
  • 11
  • 85
  • 139
jettimadhuChowdary
  • 1,058
  • 1
  • 13
  • 23

1 Answers1

0

I don't believe you enable or disable OpenGL 2.0, or 1.1, or any other version. Rather, either your device supports it or it doesn't. If you want to find out how to check what it supports, we can help you with that.

To use the 2.0 functionality simply cast your GL10 object to a GL20 object and start calling the GL20 specific methods.

Jim Clay
  • 963
  • 9
  • 24
  • Thanx for reply.Yah, I am looking to that point only.How to check what it supports? – jettimadhuChowdary May 19 '11 at 04:15
  • @jettimadhuChowdary, You can use gl.glGetString(GL10.GL_VERSION). See this thread- http://stackoverflow.com/questions/5314115/android-opengl-es-vbo-support-or-not – Jim Clay May 19 '11 at 13:06