See this post –
triangle opengl in android
As mentioned there, the emulators do not support GL2, but as that post mentions, it worked for me on an actual device.
More Related Contents:
- Draw text in OpenGL ES
- GLES10.glGetIntegerv returns 0 in Lollipop only
- Appropriate multiplication of matrices for rotation/translation
- Modifying camera output using SurfaceTexture and OpenGL
- Android OpenGL Texture Compression
- Applying Effects on Video being Played
- Is Google’s Android OpenGL tutorial teaching incorrect linear algebra?
- libgdx SpriteBatch render to texture
- Limitation on texture size? Android Open GL ES 2.0
- How to deal with different aspect ratios in libGDX?
- Android OpenGL .OBJ file loader [closed]
- YUV to RGB conversion by fragment shader
- Is discard bad for program performance in OpenGL?
- Crop video before encoding with MediaCodec for Grafika’s “Continuous Capture” Activity
- Why my opengl output differs for various devices?
- Quaternion rotation does not work as excepted
- Apply custom filters to camera output
- Android OpenGL ES Transparent Background
- SurfaceTexture’s onFrameAvailable() method always called too late
- Does the Android emulator support OpenGL ES 3.0?
- Converting from GLSurfaceView to TextureView (via GLTextureView)
- Android: Deciding between SurfaceView and OpenGL (GLSurfaceView)
- Threading textures load process for android opengl game
- Emulator: Process finished with exit code -1073741819 (0xC0000005)
- Does the Android Emulator support OpenGL ES 2.0?
- Android Dashboard Pattern
- Force a camera to always open in portrait mode in android [duplicate]
- How to add a button at the end of RecyclerView?
- Disable multi finger touch in my app [duplicate]
- post image in Instagram