// Draw a triangle float[] vertices = { -0.5f, -0.5f, 0.0f, 0.5f, -0.5f, 0.0f, 0.0f, 0.5f, 0.0f };
public class OpenGLES31Example extends GLSurfaceView { private static final String TAG = "OpenGLES31Example"; opengl es 31 android top
public OpenGLES31Example(Context context) { super(context); setEGLContextClientVersion(3); setEGLRenderableType(0x4); // OpenGL ES 3.1 } // Draw a triangle float[] vertices = { -0