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
19
votes
5 answers

How to develop OpenGL ES (GLES) 2.0 applications on Linux?

I would like to develop OpenGL ES 2.0 apps on my Ubuntu machine. I could not find any libraries/emulators that support GLES 2.0 yet. Any suggestions?
l.thee.a
  • 3,231
  • 6
  • 25
  • 28
19
votes
1 answer

glVertexAttribPointer and glVertexAttribFormat: What's the difference?

OpenGL 4.3 and OpenGL ES 3.1 added several alternative functions for specifying vertex arrays: glVertexAttribFormat, glBindVertexBuffers, etc. But we already had functions for specifying vertex arrays. Namely glVertexAttribPointer. Why add new APIs…
Nicol Bolas
  • 449,505
  • 63
  • 781
  • 982
19
votes
1 answer

GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT when trying to attach texture

I get an error GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT after I try to create a framebuffer that renders to a texture. I can't figure out what is wrong, any help is greatly appreciated. Edit: Fixed it! Working code: glGenTextures(1, &texture); …
Nick
  • 2,662
  • 2
  • 25
  • 48
19
votes
1 answer

Is it possible to achieve MAX(As,Ad) openGL blending?

I am working on a game where I want to create shadows under a series of sprites on a grid. The shadows are larger than the sprites themselves and the sprites are animated (i.e. move and rotate). I cannot simply render them into the sprite png, or…
Jeff B
  • 29,943
  • 7
  • 61
  • 90
19
votes
1 answer

Trouble with Native OpenGL Renderer

I am using Native code to render OpenGL in Android and I get periodic errors that look like this: ERROR/IMGSRV(1435): frameresource.c:610: WaitUntilResourceIsNotNeeded: PVRSRVEventObjectWait failed ERROR/IMGSRV(1018): sgxif.c:124: WaitForRender:…
CaseyB
  • 24,780
  • 14
  • 77
  • 112
19
votes
2 answers

android game loop vs updating in the rendering thread

I'm making an android game and am currently not getting the performance I'd like. I have a game loop in its own thread which updates an object's position. The rendering thread will traverse these objects and draw them. The current behavior is what…
user1578101
  • 215
  • 1
  • 2
  • 7
19
votes
1 answer

GLKTexture is not correctly mapped since iOS6

I got a strange behavior since Xcode 4.5 and the iOS 6 SDK when using textures on my 3D objects. The problem also appears on my mac application when building against OS X 10.8 SDK. I am using OpenGL ES 2.0 on iOS and OpenGL legacy profile ( < 3.0 )…
SMP
  • 586
  • 3
  • 12
19
votes
4 answers

Appropriate multiplication of matrices for rotation/translation

In order to rotate/translate object (rotation only about z-axis and translation only in xy plane) not just w.r.t to global center (device center) but also w.r.t other arbitrary points, I created an algorithm, which is correct (because all senior…
Patt Mehta
  • 4,110
  • 1
  • 23
  • 47
19
votes
1 answer

Android smooth game loop

I have problems with smooth scrolling in OpenGL (testing on SGS2 and ACE) I created simple applications - only fixed speed horizontal scrolling of images, or only one image (player) moving by accelerator, but it's movement is not smooth :-( I…
Commanche
  • 218
  • 1
  • 3
  • 11
18
votes
1 answer

Reference coordinate system changes between OpenCV, OpenGL and Android Sensor

I am working with OpenCV, Android and OpenGL for an Augmented Reality project. As far as I know the coordintate system in OpenGL is The OpenCV coordinate system is: When combining these devices with android sensors how can I do the coordinate…
Jav_Rock
  • 22,059
  • 20
  • 123
  • 164
18
votes
4 answers

Photoshop blending mode to OpenGL ES without shaders

I need to imitate Photoshop blending modes ("multiply", "screen" etc.) in my OpenGL ES 1.1 code (without shaders). There are some docs on how to do this with HLSL: http://www.nathanm.com/photoshop-blending-math/…
Alexander Gladysh
  • 39,865
  • 32
  • 103
  • 160
18
votes
1 answer

Can I use glu with Android NDK

I can't seem to include glu.h in my Android NDK project. I'm trying to port existing C++ code to NDK, and it uses glu in a few places (notably gluErrorString). Does OpenGLES not have glu? Is there a port I can use? If not I can probably remove the…
DaedalusFall
  • 8,335
  • 6
  • 30
  • 43
18
votes
2 answers

WebGL - How to pass unsigned byte vertex attribute colour values?

My vertices are made up of an array with this structure: [ Position ][ colour ] [float][float][float][byte][byte][byte][byte] Passing the vertex position is no problem: gl.bindBuffer(gl.ARRAY_BUFFER,…
Markus
  • 2,174
  • 2
  • 22
  • 37
18
votes
3 answers

Android: Canvas vs OpenGL

I have a drawing app where the user can draw lines with their finger, adjust the color, thickness, etc. As the user is drawing, I am converting the massed X/Y points from MotionEvent into SVG Paths, as well as creating Android Path's and then…
Unpossible
  • 10,607
  • 22
  • 75
  • 113
18
votes
3 answers

OpenGL Texture Coordinates in Pixel Space

I'm working on an iPhone app that uses OpenGL ES 2 for its drawing. I know that typically texture coordinates are defined in the 0-1 range, but ideally I'd like to map them from 0-1023 (the size of my TextureAtlas) for readability's sake. I've seen…
Sam
  • 1,504
  • 2
  • 13
  • 19