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

Drawing app on iPad using OpenGL

I'm creating a drawing app ( text ) for the iPad using OpenGL. I've already had a look at Apple's example GLPaint, and my app is now based on that code. My app should be just for drawing text, not for painting pictures. Well, my App works, I can…
burki
  • 2,946
  • 6
  • 37
  • 51
15
votes
2 answers

How can I find the maximum texture size for different phones?

I'm trying to find out the maximum texture size for the original Motorola Droid. I believe the G1 has a maximum texture size of 512, but it would be nice if there was a more official way I could find out so I can build a proper tile system.
jfisk
  • 6,125
  • 20
  • 77
  • 113
15
votes
6 answers

How to record video from ARKit?

Now I'm testing ARKit/SceneKit implementation. The basic rendering to the screen is kinda working so then I wanna try recording what I see on the screen into a video. Just for recording of Scene Kit I found this Gist: // // ViewController.swift //…
Takeshi Yokemura
  • 425
  • 1
  • 4
  • 17
15
votes
2 answers

Android OpenGL ES Framebuffer objects - rendering depth-buffer to texture

I am using an Android device running Froyo supporting OpenGL ES 1.1 and OpenGL ES 2.0 I want to render the depth buffer to a texture. Having seen a number of examples for OpenGL, OpenGL ES on other platforms (including iPhone) I have tried a number…
Graham
  • 321
  • 1
  • 2
  • 7
15
votes
4 answers

Can OpenGL ES render textures of non base 2 dimensions?

This is just a quick question before I dive deeper into converting my current rendering system to openGL. I heard that textures needed to be in base 2 sizes in order to be stored for rendering. Is this true? My application is very tight on memory,…
Kleptine
  • 5,089
  • 16
  • 58
  • 81
15
votes
2 answers

How to use an OpenCV rotation and translation vector with OpenGL ES in Android?

I'm am working on a basic augmented reality application on Android. What I did so far is detect a square with opencv and then using cvFindExtrinsicCameraParams2() I calculated a rotation and translation vector. For this I used 4 object points, which…
Pandoro
  • 1,062
  • 2
  • 10
  • 28
15
votes
1 answer

Android camera preview stretched using Grafika CameraCapture code

I'm looking for help with an issue I'm facing using Grafika's CameraCaptureActivity code. I want to build an app that can record camera and display a preview, so this sample and code looked like exactly what I wanted and so far it's been great, this…
Benoit
  • 1,168
  • 8
  • 16
15
votes
4 answers

OpenGL ES 2.0 Rendering with a Texture

The iPhone SDK has an example of using ES 2.0 with a set of (Vertex & Fragment) GLSL shaders to render a varying colored box. Is there an example out there on how to render a simple texture using this API? I basically want to take a quad, and draw…
Kalen
  • 3,106
  • 8
  • 29
  • 42
15
votes
1 answer

Haskell Android OpenGL

I have been having problems with tracking my 2d objects in OpenGL using Ajhc. I don't know how I can keep track of my object and prevent it from leaving the width and height of the device. Can anyone provide assistance? My code here: module Draw…
Archxiao
  • 199
  • 3
  • 13
15
votes
2 answers

What the OES means in "GL_RENDERBUFFER_OES"?

I am reading the OpenGL documents from Apple. I noticed that a number of the GL names have the format GL_RENDERBUFFER_OES. What is the meaning of the OES part of these names?
eonil
  • 83,476
  • 81
  • 317
  • 516
15
votes
2 answers

UIDeviceOrientationUnknown in landscape mode

I am trying to figure out what orientation the iphone has in the simulator and instead of giving it to me using the UIDevice orientation property I just get UIDeviceOrientationUnknown. Does this property not work in the simulator? What could be the…
Mel
  • 2,055
  • 2
  • 26
  • 45
15
votes
5 answers

How to draw basic circle in OpenGL ES 2.0 Android

I'm new in OpenGL ES 2, and I have read many topics about how to draw a circle in OpenGL ES 2 on Android. Based on Drawing Shapes and this code found on gamedev.net, I can draw triangles and quares, but I still don't know how to draw a circle. I now…
Sơn Nguyễn
  • 169
  • 1
  • 1
  • 5
15
votes
2 answers

is calling libgdx SpriteBatch begin and end method multiple times expensive?

Are the libgdx SpriteBatch begin and end methods expensive for the processor or make the performance slow if I call them multiple times? For example: public void render(float delta) { GL10 gl = Gdx.gl10; gl.glClearColor(0, 0, 0,…
Pogs D Best
  • 223
  • 4
  • 11
15
votes
1 answer

When does OpenGL get finished with pointers in functions?

OpenGL has a number of functions that directly take pointers. Some of them read data from those pointers, others write data to those pointers. However, OpenGL functions often don't execute immediately. Usually, when you draw something, it takes a…
Nicol Bolas
  • 449,505
  • 63
  • 781
  • 982
15
votes
1 answer

What are shadow samplers in OpenGL and what are possible uses for them?

I have been working with this ES extension for a while, but I still don't quite get what these shadows samplers are and what one could use them for. Googling didn't really get me any nice, readable results, so I am posting here. I am looking for…
Bartek Banachewicz
  • 38,596
  • 7
  • 91
  • 135