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
20
votes
9 answers

Learning OpenGL ES 1.x

What is the quickest way to come up to speed on OpenGL ES 1.x? Let's assume I know nothing about OpenGL (which is not entirely true, but it's been a while since I last used OpenGL). I am most interested in learning this for iPhone-related…
Kristopher Johnson
  • 81,409
  • 55
  • 245
  • 302
20
votes
1 answer

Tips regarding high performance drawing in Android

Background I'm writing a graphing library for an android application (yes yes, I know there are plenty out there but none that offer the customizability we need). I want the graphs to zoomable and pan-able. Problem I want the experience to be…
Nicklas A.
  • 6,501
  • 7
  • 40
  • 65
20
votes
5 answers

Why do people use sqrt(dot(distanceVector, distanceVector)) over OpenGL's distance function?

When using ShaderToy I often see people using something like: vec2 uv = fragCoord / iResolution; vec2 centerPoint = vec2(0.5); vec2 distanceVector = uv - centerPoint; float dist = sqrt(dot(distanceVector, distanceVector)); over OpenGL's distance…
bradleygriffith
  • 948
  • 3
  • 11
  • 24
20
votes
15 answers

Kivy does not detect OpenGL 2.0

I have decided to do some programming in Kivy cross platform and installed Kivy on my computer successfully. The problem is that when I run my code, I get this error: [INFO ] [Kivy ] v1.9.1 [INFO ] [Python ]…
Matic Brank
  • 207
  • 1
  • 2
  • 6
20
votes
3 answers

Taking screenshot of Android OpenGL

I'm trying to take a screenshot of Android OpenGL. The code I found is as follows: nt size = width * height; ByteBuffer buf = ByteBuffer.allocateDirect(size * 4); buf.order(ByteOrder.nativeOrder()); glContext.glReadPixels(0, 0, width,…
Gordon
  • 459
  • 1
  • 4
  • 8
20
votes
1 answer

OPENGL ES not working : no Current context

I tried the program as shown in book OpenGL ES2 for Android, but it's not working!! I have tested in Odroid E, samsung s3, samsung y, samsung star!! the gl version suported returns 2, but i get 11-22 15:09:45.804: E/oGl-es v(9047): 2.0:131072 11-22…
nmxprime
  • 1,506
  • 3
  • 25
  • 52
20
votes
3 answers

Why is eglMakeCurrent() failing with EGL_BAD_MATCH?

I am developing for Android using opengl/egl. My app requires a second context for loading textures from a second thread. My code works fine on android 2.3, but when I try the code on a 4.0.3 android device or emulator, eglMakeCurrent() fails with…
CuriousGeorge
  • 7,120
  • 6
  • 42
  • 74
20
votes
3 answers

Difference between SurfaceView and GLSurfaceView in Android

Can anyone tell me what the basic difference is between SurfaceView and GLSurfaceView? When should I use SurfaceView, and when should I use GLSurfaceView? I read some already answered questions on Stack Overflow, but they did not satisfy my…
AndroDev
  • 3,236
  • 8
  • 35
  • 49
20
votes
5 answers

How well does the Android Phone Emulator reflect the performance?

I've been playing around with OpenGL ES development on Android. OpenGL ES applications seem to run slowly in the Emulator on my development machine. Does this reflect likely performance of actual hardware? I'm concerned about spending too much time…
ANdrew Gibson
20
votes
3 answers

To Convert Image to Cartoon in ios

Is there any filters available in ios to convert a image to cartoonistic image like exactly in the above picture?
Balan Prabhu
  • 557
  • 1
  • 7
  • 21
19
votes
5 answers

iPhone Game Developers - What does your toolchain look like?

For example: source control: git + adobe drive 3d: google sketchup -> *.dae -> blender -> *.obj 2d: photoshop/illustrator -> *.png audio: audacity -> *.caf code: ArgoUML, Xcode, Textmate test: OCUnit build: rake, Xcode Feel free to mention any…
slf
  • 22,595
  • 11
  • 77
  • 101
19
votes
8 answers

Beginner guide to OpenGLES on iPhone

Does anyone know a good beginners guide to using OpenGLES on the iPhone? I have found some but they all require assumed knowledge which I don't have.
Jay
  • 19,649
  • 38
  • 121
  • 184
19
votes
7 answers

openGL ES versions on different devices

I want to find out range of android phones that supports openGLES 1.0, 1.1, 2.0. I believe that I can use 1.1 and that should cover more that 90% percent of phones, but to be sure would be nice to find out any statistic information. I have tried to…
Yuriy
  • 193
  • 1
  • 1
  • 4
19
votes
1 answer

gpus_ReturnGuiltyForHardwareRestart Crash in [EAGLContext presentRenderbuffer]

I'm getting a lot of crashes in EAGLContext presentRenderbuffer on iOS 11, but only on iPhone 6/6+ and older. As per this post, I think we've already ruled out VBO-related problems by rewriting everything to not use VBO/VAOs, but the crash wasn't…
dzl
  • 908
  • 11
  • 32
19
votes
4 answers

How to load and display .obj file in Android with OpenGL-ES 2

I am trying to load an .obj file into my Android application and display it using OpenGL 2. You can find the file here: EDIT: I removed the file, you can use any .obj file that contains the values mentiones below for testing. There are a lot of…
Björn Kechel
  • 7,933
  • 3
  • 54
  • 57