Questions tagged [opengl-es-3.0]

Subset of the OpenGL 3D graphics API designed for embedded devices such as mobile phones. The version 3 was publicly released in August 2012. OpenGL ES 3.0 is backwards compatible with OpenGL ES 2.0, enabling applications to incrementally add new visual features to applications.

Subset of the OpenGL 3D graphics API (especially, subset of OpenGL 3 Core Profile) designed for embedded devices such as mobile phones. The version 3 was publicly released in August 2012. OpenGL ES 3.0 is backwards compatible with OpenGL ES 2.0, enabling applications to incrementally incorporate new visual features.

Resources:

264 questions
4
votes
0 answers

Using glReadPixels with PBO does not improve performance (GLES3)

I'm trying to implement the PBO logic with glReadPixels (on an Android app), in order to read the data asynchronously. The motivation for this is that the app renders a video on screen, and I want to take screenshots of that video, without delaying…
AnatH
  • 76
  • 5
4
votes
1 answer

What is a binding point in OpenGL/OpenGL ES?

I'm learning about OpenGL/ES. I'm not clear what a binding point is. I looked at the OpenGL documents and also searched the Internet, but couldn't find something which explains binding point well. Here is an example of what I mean by binding…
shervin0
  • 41
  • 2
4
votes
1 answer

Android OpenGL ES 3.0 PBO instead of glReadPixels()

I want to improve glReadPixels() performance using PBO (for GLES 3 devices) and I ran into a problem in this piece of code: final ByteBuffer pboByteBuffer = ByteBuffer.allocateDirect(4 * mWidth *…
Sam
  • 1,652
  • 17
  • 25
4
votes
1 answer

Can't create a CIContext from a 3.0 EAGLContext

If I initialize the EAGLContext like this _eaglContext = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES2] the program runs fine but using kEAGLRenderingAPIOpenGLES3, the following code causes a crash: _ciContext = [CIContext…
Maxi Mus
  • 795
  • 1
  • 6
  • 20
4
votes
1 answer

Android EGL sRGB default renderbuffer

In OpenGL ES, I can create sRGB render buffers using either OpenGL ES 3.0 or OpenGL ES 2.0 with the extension GL_EXT_sRGB. I create a renderable texture with internal format GL_SRGB8_ALPHA8 (or GL_SRGB8_ALPHA8_EXT) and it works fine on the Android…
Muzza
  • 1,236
  • 9
  • 13
4
votes
1 answer

Performance boost for glReadPixels in Android by OpenGL ES 3.0

I found some ways to speed up glReadPixels by OpenGL ES 3.0, but I am not sure if it works or not. specifies the fifth argument of glReadPixels() as GL_BGRA to avoid unnecessary swizzle. use PBO as this mentioned. In order to verify, I updated to…
Justin
  • 115
  • 3
  • 9
4
votes
2 answers

Use OpenGL ES 3 on Android?

I downloaded Android NDK r9 and compiled a sample application. I have a Galaxy Nexus smartphone with Android 4.3 upgrade. How can I find out programmatically if OpenGL ES 3 is supported on my device?
Smirno
  • 73
  • 1
  • 5
4
votes
4 answers

What is the Block Size of ETC2-compressed texture?

What is the block size of a GL_COMPRESSED_RGB8_ETC2 and GL_COMPRESSED_RGBA8_ETC2_EAC texture ? I was using ((w+3)/4)*((h+3)/4)* 8 for GL_ETC1_RGB8_OES, but can't find anything about ETC2 (the Khronos documentation is not very clear about it).
execomrt
  • 171
  • 2
  • 6
3
votes
1 answer

Creating a waving surface in a shader

I created a waving surface in the vertex shader. Vertex shader: #version 300 es precision lowp float; uniform mat4 u_mvpMatrix; uniform sampler2D s_texture; in vec4 a_position; out vec2 v_textureCoordinates; const float pi = 3.14285714286; void…
alexrnov
  • 2,346
  • 3
  • 18
  • 34
3
votes
1 answer

How do I render smooth fonts (any "flat" shape really) with OpenGL?

I created the ftmesh library to draw fonts on my OpenGL ES 3 screen. The code works, but the edges of the characters is raggedy. I'm using an NVidia Jetson AGX Xavier with OpenGL ES 3 and the glShadeModel(GL_SMOOTH) doesn't have any effect (and…
Alexis Wilke
  • 19,179
  • 10
  • 84
  • 156
3
votes
2 answers

Opengl es on android problem with object opsition on projection matrix

I trying to display object with opengl es 3. Everything works till i trying to set camera view. When I multiply my vPMatrix with camera matrix and projection matrix object just disapears. float[] projectionMatrix = new float[16]; …
Bogus
  • 283
  • 1
  • 2
  • 13
3
votes
1 answer

Problem with alpha blending when there are many objects in OpenGL ES 2.0/3.0

The game 3D-scene has many objects (background, asteroids, rockets): private Background background; private Asteroid[] asteroids = new Asteroid[NUMBER_ASTEROIDS]; private Rocket[] rockets = new Rocket[NUMBER_ROCKETS]; ... public void…
alexrnov
  • 2,346
  • 3
  • 18
  • 34
3
votes
1 answer

OpenGL ES 3.0 / GLSL not rendering data (Kotlin)

I am trying to implement a basic shading program with OpenGL ES 3.0, and have pieced together this code from various tutorials. Everything looks correct to me, and it compiles fine, but nothing appears on my screen. It rendered fine until I added…
Jonah M
  • 300
  • 2
  • 13
3
votes
1 answer

Android Studio properly links app with -lGLESv3 for 64 bit arm, but not 32 bit arm

I have an Android app that uses OpenGL ES3. I can build (and run) it for my 64-bit android device. When I try to build it for 32bit instead, the linker cannot find libGLESv3 library and fails to build. In my app's gradle, I have: compileSdkVersion…
Bram
  • 7,440
  • 3
  • 52
  • 94
3
votes
1 answer

OpenGL ES3 framebuffer draw depth in red scale

So after hard work to make directional light shadow map work finally I can see a shadow map rendered on a quad but it is drawn only with depth GL_DEPTH_COMPONENT16 and type GL_UNSIGNED_SHORT , or GL_DEPTH_COMPONENT32F and type GL_FLOAT but it is in…
user8581488
1
2
3
17 18