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
0
votes
2 answers

After call glLinkProgram the app freezes

UPDATED I'm trying to draw texture with openGL ES3 and used instanced drawing for my drawing application. This is my vertex shader #version 300 es precision highp float; uniform mat3 u_Matrix; in vec2 Position; in vec2 TexPosition; struct Data { …
Levon Vardanyan
  • 400
  • 4
  • 16
0
votes
1 answer

android native Opengl ES 3.0 PBO rendering empty screen

I'm developing camera preview app with android. My App Flow is like below. 1) JAVA : Grab the camera preview buffer and pass it to JNI 2) CPP : Make texture from camera preview buffer with OpenGL ES 3.0 3) CPP : Render texture with OpenGL ES 3.0 So,…
Suhyeon Lee
  • 569
  • 4
  • 18
0
votes
1 answer

How to load and display an image in OpenGL ES 3.0 using C++

I'm trying to make a simple app on Android Studio using the NDK, JNI to call C++ code that load and display an image. I have managed to create the surface and draw a simple Triangle. Now, I'm looking for a way to load and display an image in OpenGL…
Toan Tran
  • 476
  • 6
  • 28
0
votes
1 answer

Android GLES3.0 framebuffer incomplete

Could you help me figure out why the following code is generating GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT mBitmap = BitmapFactory.decodeFile(imagePath); int[] handles = { 0 }; GLES30.glGenTextures(1, handles, 0); if (checkGlError("glGenTextures")) { …
0
votes
2 answers

Unity3d Render openGL FBO to texture in android (java)

I'm trying to make a plugin in Android (java) for Unity3D to render using an OpenGL texture, get the native pointer and maping a Quad in Unity. So far my Unity code is simple: // Use this for initialization void Start () { AndroidJavaClass…
Varu
  • 311
  • 1
  • 15
0
votes
1 answer

bitmap rotation causes an error

I am converting each frame retrieved from the camera into a bitmap and i display it on an ImageView, but i found that the imageView contains a rotated bitmap so i wanted to rotate the bitmap 90 degrees to set it right. to achieve this, i wrote the…
Amrmsmb
  • 1
  • 27
  • 104
  • 226
0
votes
0 answers

Enable anitialising for openGL ES 3.0

My goal is to enable antialiasing in the C++ win32 application that uses powerVR SDK on a visual studio 2015. Searching on the web for how to it gave me some ideas of using egl, so I tried this method ` EGLint attribs[] = { EGL_LEVEL,…
ampawd
  • 968
  • 8
  • 26
0
votes
1 answer

How to get the total amount of memory used by OpenGL in mobile devices?

I've found the answer for desktops, but I could not find anything for Android/iOS (assume I can use up to OpenGL ES 3.0). So this is the same question for mobile devices: Is it possible to get the total memory in bytes used by OpenGL by my…
sydd
  • 1,824
  • 2
  • 30
  • 54
0
votes
2 answers

Currently fastest way to draw a large number of quads with OpenGL ES 3.1?

Good evening, following scenario: I'm implementing a label rendering algorithm. The input data consists of a number of strings and a texture atlas that has texture data for every possible string glyph. Every string is supposed to generate a number…
user5024425
  • 397
  • 3
  • 14
0
votes
1 answer

can't compile gles 30 on nexus 6 (and similar devices)

I am running into an issue that does not make too much sense to me. I am testing some simple GLES30 code on a Nexus 6 device an HTC. I am setting the code to API 23 and OS lollipop 5.0. According to the wiki it uses Adreno 420 which supports full…
gmmo
  • 2,577
  • 3
  • 30
  • 56
0
votes
0 answers

GLES20 and GLES30 Texture repeating not working on POT

I am loading a 512x512 texture (atlas: containing many images), (tried from both drawable and mipmap) using this function: public static int loadTexture(final Context context, String textureName, final int resourceId, int textilesForWidth) { …
Rami Dabain
  • 4,709
  • 12
  • 62
  • 106
0
votes
0 answers

glInvalidateFramebuffer generate invalid enum - OpenGL ES 3.0

I setup a framebuffer with 4 color attachment and 1 depth+stencil attachment. I am able to invalidate the 4 color attachments with glInvalidateFramebuffer, but it fails with GL_INVALID_ENUM for the depth+stencil attachment. I don't understand since…
Erunehtar
  • 1,583
  • 1
  • 19
  • 38
0
votes
1 answer

Surface texture using Opengles3.0 on Android

I'm using OpenGLES3.0 to do video processing. I found that it's possible to get frames from a video by using Android MediaExtractor and MediaCodec API together with Surface texture, like below. glGenTextures( 1, &textureId…
Vintex
  • 1
  • 4
0
votes
1 answer

opengl es 3.0 in AIDE-ide - render to texture returns blank texture

Ultimate goal is GPU image processing (color quantumization, pixel sorting, connected component analysis) using ping pong method with two textures attached to the same framebuffer. I've looked at other threads, completed my textures, checked for…
deasmhumnha
  • 456
  • 4
  • 12
0
votes
1 answer

Android Opengl ES 3.0 Pixel Buffer Object And glReadPixel

I want to improve glReadPixels() performance using PBO(for Android 4.3+), As glReadPixels takes about 30~50ms(1280*960) for each frame in my test device.But I can't use glReadPixels directly in Java, since the last param cannot be zero or "null". I…
yu yang
  • 1
  • 2