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
17
votes
6 answers

Android GLSurfaceView transparent background without setZOrderonTop

Sorry for my English. My work is based on https://github.com/harism/android_page_curl/ After many hours of research, I have found a few solutions, but not for all the issues what I have in my application. I've some trouble with a GLSurfaceView. I've…
CharlesD
  • 247
  • 1
  • 3
  • 5
17
votes
2 answers

CVOpenGLESTextureCacheCreateTextureFromImage fails to create IOSurface

For my current project I'm reading the main camera output of the iPhone. I'm then converting the pixelbuffer to a cached OpenGL texture through the method: CVOpenGLESTextureCacheCreateTextureFromImage. This works great when processing camera frames…
polyclick
  • 2,704
  • 4
  • 32
  • 58
17
votes
7 answers

iPhone board game: OpenGL ES or CoreGraphics?

I want to program a board game (similar to checkers) for the iPhone. Would OpenGL ES or CoreGraphics be a better option? What do most games of this type on the App Store use?
titaniumdecoy
  • 18,900
  • 17
  • 96
  • 133
16
votes
3 answers

How is GLKit's GLKMatrix "Column Major"?

Premise A When talking about "Column Major" matrices in linear memory, columns are specified one after another, such that the first 4 entries in memory correspond to the first column in the matrix. "Row Major" matrices, on the other hand, are…
Matt Wilding
  • 20,115
  • 3
  • 67
  • 95
16
votes
0 answers

How do you unit test OpenGL shaders written in GLSL?

I'm new to OpenGL and GLSL. I'd like to TDD shaders, but haven't found anything on the topic except glsl-unit, which appears to be WebGL specific. Is there a "standard" way of unit testing shaders? What are best practices in this area? Are there…
Tobias
  • 6,388
  • 4
  • 39
  • 64
16
votes
1 answer

where to start for game development? UIKit vs Core Animation vs QuartzCore vs OpenGL vs cocos2D

If I was interested in getting across game development on the iPhone/iPAD any suggestions on which technology(s) to start looking into? In fact just a simple bullet on each of these technologies that highlight how it fits into typical game…
Greg
  • 34,042
  • 79
  • 253
  • 454
16
votes
4 answers

What is required to develop iPhone games?

I'm new in iPhone programming but I have a good grounding in Java and I'm starting to understand how Objective-C works. I'd like to start developing iOs games. Do I need to study Open-GL? Even for 2D games (like Angry Birds, Cut The Rope, Doodle…
Oneiros
  • 4,328
  • 6
  • 40
  • 69
16
votes
2 answers

Android Live Wallpapers -- OpenGL vs Canvas

I am a fairly "newb" Android developer, and I would like one of my first projects to be a live wallpaper, however I am conflicted on whether I should be focusing on Canvas or OpenGL for it. Being new to this I know I should master Canvas first…
Shamrock
  • 436
  • 1
  • 8
  • 17
16
votes
2 answers

iPhone / iOS custom control

I would like to know how to create a custom iPhone control from scratch, or using an existing library or framework. I have seen the three20 library, aswell as tapku and touch customs which are nice for specialised iOS controls such as table view…
cjroebuck
  • 2,273
  • 4
  • 30
  • 46
16
votes
2 answers

Android: How to create YouTube-like VR-controls?

I am trying to develop a VR video player using latest Google VR SDK for Android (v1.0.3), but there is no high-level API to build VR playback controls. YouTube VR player uses old version of gvr toolkit and renders controls (for example,…
Nick
  • 311
  • 1
  • 10
16
votes
0 answers

Screen tearing and camera capture with Metal

To avoid writing to a constant buffer from both the gpu and cpu at the same time, Apple recommends using a triple-buffered system with the help of a semaphore to prevent the cpu getting too far ahead of the gpu (this is fine and covered in at least…
Gary
  • 864
  • 5
  • 10
16
votes
1 answer

How do I get the size of a VBO in OpenGL-ES?

I was sending vertex arrays (of 32 bit floats) to the GPU every time I wanted to draw them, but this wasn't efficient, so I switched to Vertex Buffer Objects to cache my vertex arrays in the GPU. It's working, but I was wondering if there's a way…
Monte Hurd
  • 4,349
  • 5
  • 30
  • 35
16
votes
2 answers

How to rotate a specific object in openGL?

I have some objects on the screen and would like to rotate only one of them. I tried using the glRotatef(...) function but turns out glRotatef(...) rotates all my objects (rotates the camera, maybe?). How can I rotate only one? I use openGL ES 1.1
snakile
  • 52,936
  • 62
  • 169
  • 241
16
votes
2 answers

What is EGL And How Can I Use It

Can Anybody explain me what is EGL and what it does? How can i use EGL with OpenGL-ES On Linux? Is EGL a Layer Between Hardware And Operating System?
user366250
  • 401
  • 2
  • 4
  • 5
16
votes
1 answer

drawElements vs drawArrays in webgl

Does it make any sense to use drawElements instead of drawArrays if I'm not going to share any vertices? If I understood correctly, with drawElements I have to use multiple drawcalls if the index array exceeds ~65k elements because of the uInt16…
supernova
  • 3,814
  • 3
  • 22
  • 37