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

Android OpenGLES Rendering using C++ and Java

I have an android application that uses GLES for rendering. Currently using Java to render stuff, and rendering is fine. Due to limitation in Android Java application memory I plan to integrate native rendering to my Java rendering code. To do this…
Hakes
  • 631
  • 3
  • 13
13
votes
1 answer

Blend two textures with different coordinates and sizes in the same shader

I have two textures with different coordinates and sizes in my fragment shader: varying highp vec2 v_currentTextureCoords; varying highp vec2 v_backgroundTextureCoords; uniform sampler2D u_currentTexture; uniform sampler2D u_backgroundTexture; void…
GuiTeK
  • 1,561
  • 5
  • 20
  • 39
13
votes
1 answer

Custom Shader SCNProgram iOS 9 Scenekit

I am trying to mess around in SceneKit and teach myself it. Basically, I am creating a quad with 3 rectangular sides and 1 sloping slide. I want my texture on it to stretch and warp/deform across the surface. Reading some stuff online, it seems…
AdiTheExplorer
  • 259
  • 4
  • 13
13
votes
1 answer

Full UI widget toolkit rendering in WebGL

Is there currently any full widget toolkit providing components rendering in WebGL only? Similar to the ZebraUI project, which renders a full UI component set in HTML5 canvas? The idea is to write pure JavaScript, and still be able to shaders to…
raju-bitter
  • 8,906
  • 4
  • 42
  • 53
13
votes
2 answers

Android OpenGL Transparent Texture Draws Black

I'm trying to draw transparent textures (text) in my app. Strangely, it works on the newest Nexus 7 and on my second generation Moto X but on the original Nexus 7 the textures are just black. I've got blending enabled and the texture is 512x512 so…
David M
  • 841
  • 6
  • 23
13
votes
3 answers

glGetError and performance

Background At work, we develop two products which both have OpenGL 3.x+ and GLES 2.0/3.0+ backends. Teams are independent, but do have some overlap, and we were recently discussing performance of glGetError. In both products, the design is such that…
MuertoExcobito
  • 9,741
  • 2
  • 37
  • 78
13
votes
3 answers

Draw to WebGL canvas directly from C++ application

I have been experimenting with Qt Webkit to render a video element in the browser. All of my frames are decoded by a C++ application (source video packets received over the network), and I can display the video in an element using Qt as described…
user1710407
  • 491
  • 1
  • 5
  • 16
13
votes
1 answer

Simulating palette swaps with OpenGL Shaders (in LibGDX)

I'm trying to use LibGDX to make a retro-style little game, and I'd like to let the players to choose the colors of several characters, so I thought about loading png indexed images and then updating palettes programatically... How wrong I was ^^U…
hcito
  • 153
  • 1
  • 5
13
votes
3 answers

Transparent texture in OpenGL ES for Android

I'm trying to set the transparency of a texture on a quad in opengl, playing with the blend functions didn't help neither did anything on google. Any suggestions?
Sudden
  • 141
  • 1
  • 1
  • 4
13
votes
1 answer

Android: Is it possible to create a SurfaceTexture without a SurfaceView?

I want to create a SurfaceTexture with an OpenGL texture that I can manage, in a setup similar to this answer. (Quoted here:) Create a texture through OpenGL Pass this texture to the constructor of new SurfaceTexture. Give this new SurfaceTexture…
user1906
  • 2,310
  • 2
  • 20
  • 37
13
votes
1 answer

What does stride mean in OpenGL|ES

I was going through the signature of the method glVertexPointer which is void glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer) Can anyone help me understand what does the third argument stride do. I got this…
Mayank
  • 1,099
  • 4
  • 17
  • 44
13
votes
1 answer

How to access OpenGL rendering context on Android with Delphi XE5?

How to create OpenGL rendering context on Android device when developing an application with Delphi XE5? Basically I don't know where to start. There are no OpenGL examples yet. What I would expect to exist: Some kind of event (Panel.OnRender) that…
Kromster
  • 7,181
  • 7
  • 63
  • 111
13
votes
2 answers

Android video filter

I'm trying to create an app where I am able to add filters to a recorded video. Basically, I want to replicate the functionality that exists in Instagram video, or Viddy. I've done research and I can't piece it all together. I've looked into using…
cmakthat
  • 201
  • 4
  • 7
13
votes
1 answer

WebGL: enablevertexattribarray index out of range

Here my vertex and fragment shaders: