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

How can I do these image processing tasks using OpenGL ES 2.0 shaders?

How can I perform the following image processing tasks using OpenGL ES 2.0 shaders? Colorspace transform ( RGB/YUV/HSL/Lab ) Swirling of the image Converting to a sketch Converting to an oil painting
Forrest
  • 122,703
  • 20
  • 73
  • 107
56
votes
2 answers

Subtract Blend Mode using ColorMatrixFilter in Android?

I have the following ColorMatrixFilter. But I want to use it as a mask for Subtract-Blend mode, instead of using it directly. How do I go about achieving this? ColorMatrix: colorMatrix[ 0.393, 0.7689999, 0.18899999, 0, 0, 0.349,…
Zen
  • 2,698
  • 4
  • 28
  • 41
55
votes
4 answers

Android OpenGL Texture Compression

I need some help finding information (or an example) of how to use texture compression for Android. I have a lot of PNG's right now and I need to reduce the amount of memory they take up. I was looking at PVR compression but I can't figure out how…
Chris
  • 1,766
  • 1
  • 21
  • 36
52
votes
5 answers

Want to display a 3D model on the iPhone: how to get started?

I want to display and rotate a single 3D model, preferably textured, on the iPhone. Doesn't have to zoom in and out, or have a background, or anything. I have the following: an iPhone a MacBook the iPhone SDK Blender My knowledge base: I can…
JeremyReimer
  • 559
  • 1
  • 6
  • 8
51
votes
1 answer

Should I ever use a `vec3` inside of a uniform buffer or shader storage buffer object?

The vec3 type is a very nice type. It only takes up 3 floats, and I have data that only needs 3 floats. And I want to use one in a structure in a UBO and/or SSBO: layout(std140) uniform UBO { vec4 data1; vec3 data2; float…
Nicol Bolas
  • 449,505
  • 63
  • 781
  • 982
51
votes
2 answers

EGL_emulation failed to establish connection to host - android

I am trying to run a simple OpenGL program in Android. I am running this in an Android 4.1 emulator. I switched on its GPU emulation and it worked fine yesterday. When I ran that today, initially it was hanging saying, OpenGL taking time to render -…
Chaitanya
  • 3,399
  • 6
  • 29
  • 47
50
votes
2 answers

Why FloatBuffer instead of float[]?

I've been using FloatBuffers in my Android code for a while (copied it from some opengles tutorial), but I cannot understand exactly what this construct is and why it is needed. For example this code (or similar) I see in many many peoples' code and…
Tim
  • 35,413
  • 11
  • 95
  • 121
48
votes
6 answers

Tools for GLSL editing

I'm looking for some kind of tool to work with GLSL. I want to experiment with shaders in the WebGL application, so what I'm looking for is something like RenderMonkey. As far as I know - RenderMonkey is not supported anymore, so there must be some…
Juriy
  • 5,009
  • 8
  • 37
  • 52
48
votes
23 answers

OpenGL extensions available on different Android devices

I'm in the process of writing an OpenGL ES powered framework for my next Android game(s). Currently I'm supporting three different techniques of drawing sprites: the basic way: using vertex arrays (slow) using vertex-buffer-objects (VBOs)…
MH114
  • 975
  • 1
  • 9
  • 13
46
votes
2 answers

How do I "subtract" a color filter using GPUImageLibrary?

Currently the BlendModes (Subtract, Exclusion, etc.) use the LauncherImage as the mask. Can I apply these BlendModes to a ColorMatrix? I'm using the GPUImageLibrary: colorMatrix[ 0.393, 0.7689999, 0.18899999, 0, 0, 0.349, 0.6859999,…
Zen
  • 2,698
  • 4
  • 28
  • 41
45
votes
22 answers

OpenGL ES 2.0 Extensions on Android Devices

As this page for OpenGL ES 1.x, I collect OpenGL ES 2.x Extensions for Android Devices on this page. The listing can be found with my benchmark tool gpubench. This information can help many game developpers. Thanks for your help,
Ellis
  • 1,521
  • 1
  • 14
  • 16
44
votes
5 answers

OpenGL vs OpenGL ES 2.0 - Can an OpenGL Application Be Easily Ported?

I am working on a gaming framework of sorts, and am a newcomer to OpenGL. Most books seem to not give a terribly clear answer to this question, and I want to develop on my desktop using OpenGL, but execute the code in an OpenGL ES 2.0 environment. …
Heat Miser
  • 19,438
  • 7
  • 35
  • 38
43
votes
2 answers

How to get a "Glow" shader effect in OpenGL ES 2.0?

I'm writing a 3D app for iOS. I'm new to OpenGL ES 2.0, so I'm still getting myself around writing basic shaders. I really need to implement a "Glow" effect on some of my models, based on the texturing. Here's a sample: . I'm looking for code…
st4wik
  • 476
  • 1
  • 4
  • 5
42
votes
1 answer

Modifying camera output using SurfaceTexture and OpenGL

I am trying to filter the stream coming from the camera hardware by running it through an openGL filter, then displaying it in a GLSurfaceView. When openGL goes to render the frame, the LogCat repeatedly spits out an error: [unnamed-3314-0]…
Dan Collins
  • 1,018
  • 1
  • 11
  • 20
41
votes
4 answers

How can I improve the performance of my custom OpenGL ES 2.0 depth texture generation?

I have an open source iOS application that uses custom OpenGL ES 2.0 shaders to display 3-D representations of molecular structures. It does this by using procedurally generated sphere and cylinder impostors drawn over rectangles, instead of these…
Brad Larson
  • 170,088
  • 45
  • 397
  • 571