Questions tagged [opengl-es]

Subset of the OpenGL 3D graphics API designed for embedded devices such as mobile phones.

OpenGL for Embedded Systems (OpenGL ES) is a subset of the OpenGL 3D graphics API designed for embedded devices such as mobile phones, PDA's, and video game consoles. OpenGL ES is managed by the not-for-profit technology consortium, the Khronos Group, Inc.

Current version is OpenGL ES 3.2 (), publicly released in August 2015.

OpenGL ES 2.0
OpenGL ES 2.0 eliminates most of the fixed-function rendering pipeline in favor of a programmable one. Almost all rendering features of the transform and lighting pipelines, such as the specification of materials and light parameters formerly specified by the fixed-function API, are replaced by shaders written by the graphics programmer. As a result, OpenGL ES 2.0 is not backwards compatible with OpenGL ES 1.1.

OpenGL ES 3.0
The latest major version is the OpenGL ES 3.0 specification, 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.

More information at

  1. Khronos Official page
  2. Wikipedia page on OpenGLES
  3. Khronos OpenGL ES Registry

Books:

14058 questions
31
votes
4 answers

Current state and solutions for OpenGL over Windows Remote

OpenGL and Windows Remote don't play along nicely. Solutions for this are dependent on the use case and answers are fragmented across the vast depths of the net. This is a write-up I wish existed when I started researching this, both for coders and…
FrostKiwi
  • 741
  • 1
  • 6
  • 16
31
votes
4 answers

Choose OpenGL ES 1.1 or OpenGL ES 2.0?

I'm going to start a new cross-plattform openGL project (primary for iPhone & PC). So theres the main question: targeting for OpenGL ES 1.1 or OpenGL ES 2.0? Or both? So far I read Open GL ES 1.1 isnt really deprecated, isn't it? So what would speak…
Constantin
  • 8,721
  • 13
  • 75
  • 126
31
votes
1 answer

Android build get error message "Emulator: OpenGL backend 'angle' without OpenGL ES 1.x library detected. Using GLESv2 only."

After running my Android project in Android Studio version 3 beta 7 I get the following error in Event log: Emulator: OpenGL backend 'angle' without OpenGL ES 1.x library detected. Using GLESv2 only. Is there any way to fix this?
31
votes
2 answers

What is the function of glActiveTexture and GL_TEXTURE0 in OpenGL?

I'm finding a way to understand why glActiveTexture is needed. I have the code below: glGenTextures(1, &textureId); glBindTexture(GL_TEXTURE_2D, textureId); If I imagine that the GL_TEXTURE_2D is a picture's frame hanging on the wall and textureId…
Bình Nguyên
  • 2,252
  • 6
  • 32
  • 47
31
votes
5 answers

Is Google's Android OpenGL tutorial teaching incorrect linear algebra?

After helping another user with a question regarding the Responding to Touch Events Android tutorial, I downloaded the source code, and was quite baffled by what I saw. The tutorial seems to not be able to decide whether it wants to use row vectors…
Tim
  • 35,413
  • 11
  • 95
  • 121
29
votes
4 answers

What versions of GLSL can I use in OpenGL ES 2.0?

I can't seem to find a clear answer on this, despite hours of googling. Can someone just tell me what's going on? I get errors saying things like, "version 140 is not supported." Is this my device (Kindle Fire) or GL ES 2.0? Do I need to add…
Kyle Emmerich
  • 621
  • 3
  • 9
  • 17
29
votes
5 answers

Is discard bad for program performance in OpenGL?

I was reading this article, and the author writes: Here's how to write high-performance applications on every platform in two easy steps: [...] Follow best practices. In the case of Android and OpenGL, this includes things like "batch draw calls",…
Jave
  • 31,598
  • 14
  • 77
  • 90
29
votes
2 answers

Android: 2D. OpenGl or android.graphics?

I'm working with my friend on our first Android game. Basic idea is that every frame of the game the whole surface is redrawn (1 large bitmap) in 2 steps: Background with some static image (PNG) wipes out previous frame Then it is sprinkled all…
Bostone
  • 36,858
  • 39
  • 167
  • 227
29
votes
3 answers

Better Quality Text in WebGL

I am searching a method to draw better quality (arbitrary) text inside WebGL. Currently I am using bitmap font rendering on a 2D canvas and blitting them into the WebGL context. This method is described here http://delphic.me.uk/webgltext.html This…
Markus Moenig
  • 1,614
  • 1
  • 16
  • 17
28
votes
4 answers

Learning OpenGLES 2.0 on iOS

I'm a beginner with OpenGL ES 2.0 and I'm looking for a good book/resource that will help me with my learning. I've found several books: OpenGL® ES 2.0 Programming Guide iPhone 3D Programming: Developing Graphical Applications with OpenGL ES but…
Rad'Val
  • 8,895
  • 9
  • 62
  • 92
28
votes
3 answers

What is the relationship between EGL and OpenGL?

I'm writing an implementation for OpenVG and OpenGL|ES in Go, both of which depend on the Khronos EGL API, supposedly to ease portability I guess. I'm writing an implementation of OpenVG on top of OpenGL ES for fun and educational reasons - I…
hannson
  • 4,465
  • 8
  • 38
  • 46
28
votes
1 answer

iOS Games and Run-Loop Management

First, my question: How do you manage your iOS Run-Loop? Next my reason: I've been researching this with a variety of prototypes (v. early stage development) and have found a number of perplexing issues. First, input issues and the run loop lead me…
Mark
  • 411
  • 4
  • 8
28
votes
1 answer

Android Video Player Using NDK, OpenGL ES, and FFmpeg

Ok so here is what I have so far. I have built FFmpeg on android and am able to use it fine. I have been able to load a video into FFmpeg after passing the chosen filename from the java side. To save on performance I am writing video player in the…
DRiFTy
  • 11,269
  • 11
  • 61
  • 77
28
votes
1 answer

How to cast int to float in GLSL (WebGL)?

My code is (inside the void main): float res; for(int i=0; i<15; i++) { res = float(i)/15.0; //... } Unfortunately I get a syntax error at float(i)/15.0 If I just write i/15.0, then the error is: wrong operand types no operation '/'…
Iter Ator
  • 8,226
  • 20
  • 73
  • 164
28
votes
2 answers

eglMakeCurrent() failed EGL_BAD_ALLOC

I keep on getting this error report: Fatal Exception: java.lang.IllegalStateException eglMakeCurrent failed EGL_BAD_ALLOC android.view.HardwareRenderer$GlRenderer.createSurface ...on my app that is on Play Store. What causes this crash and how can…
Alex Kombo
  • 3,256
  • 8
  • 34
  • 67