Jump to content

OpenGL ES

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Dsimic (talk | contribs) at 18:48, 1 February 2014 (OpenGL ES 2.0: Ups, my bad, fixed the anchor). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

OpenGL ES
Original author(s)Khronos Group
Developer(s)Khronos Group
Stable release
3.0[1] / August 6, 2012 (2012-08-06)
Operating systemCross-platform
PlatformCross-platform
TypeAPI
Licensefree of charge, royalty or licensing
Websitewww.khronos.org/opengles

OpenGL for Embedded Systems (OpenGL ES) is a subset of the OpenGL computer graphics rendering application programming interface (API) for rendering 2D and 3D computer graphics such as those used by video games, typically hardware-accelerated using a graphics processing unit (GPU). It is designed for embedded systems like smartphones, computer tablets, video game consoles and PDAs.

The API is cross-language and multi-platform. There is no equivalent to OpenGL libraries like GLUT or GLU for OpenGL ES. OpenGL ES is managed by the non-profit technology consortium Khronos Group.

Versions

Several versions of the OpenGL ES specification now exist. OpenGL ES 1.0 is drawn up against the OpenGL 1.3 specification, OpenGL ES 1.1 is defined relative to the OpenGL 1.5 specification and OpenGL ES 2.0 is defined relative to the OpenGL 2.0 specification. This means that, for example, an application written for OpenGL ES 1.0 should be easily portable to the desktop OpenGL 1.3; as the OpenGL ES is a stripped-down version of the API, the reverse may or may not be true, depending on the particular features used.

Version 1.0 and 1.1 both have common and common lite profiles, the difference being that the common lite profile only supports fixed-point instead of floating point data type support, whereas common supports both.

OpenGL ES 1.0

OpenGL ES 1.0 contained much functionality stripped from the original OpenGL API and a little bit added. One significant difference between OpenGL and OpenGL ES is that OpenGL ES removed the need to bracket OpenGL library calls with glBegin and glEnd. Other significant differences are that the calling semantics for primitive rendering functions were changed in favor of vertex arrays, and fixed-point data types were introduced for vertex coordinates. Attributes were also added to better support the computational abilities of embedded processors, which often lack a floating point unit (FPU). Many other functions and rendering primitives were removed in version 1.0 to produce a lightweight interface, including:

  • quad and polygon rendering primitives,
  • texgen, line and polygon stipple,
  • polygon mode and antialiased polygon rendering are not supported, although rendering using multisample is still possible (rather than alpha border fragments),
  • ARB_Image pixel class operation are not supported, nor are bitmaps or 3D textures,
  • several of the more technical drawing modes are eliminated, including frontbuffer and accumulation buffer. Bitmap operations, specifically copying pixels (individually) is not allowed, nor are evaluators, nor (user) selection operations,
  • display lists and feedback are removed, as are push and pop operations for state attributes,
  • some material parameters were removed, including back-face parameters and user defined clip planes.

OpenGL ES 1.1

OpenGL ES 1.1 added features such as mandatory support for multitexture, better multitexture support (including combiners and dot product texture operations), automatic mipmap generation, vertex buffer objects, state queries, user clip planes, and greater control over point rendering.

OpenGL ES 2.0

OpenGL ES 2.0 was publicly released in March 2007.[2] It is based roughly on OpenGL 2.0, but it eliminates most of the fixed-function rendering pipeline in favor of a programmable one in a move similar to transition from OpenGL 3.0 to 3.1.[3] Control flow in shaders is generally limited to forward branching and to loops where the maximum number of iterations can easily be determined at compile time.[4] Almost all rendering features of the transform and lighting stage, 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 backward compatible with OpenGL ES 1.1. Some incompatibilities between the desktop version of OpenGL and OpenGL ES 2.0 persisted until OpenGL 4.1, which added the GL_ARB_ES2_compatibility extension.[5]

OpenGL ES 3.0

The OpenGL ES 3.0 specification[6] was publicly released in August 2012.[7] OpenGL ES 3.0 is backwards compatible with OpenGL ES 2.0, enabling applications to incrementally add new visual features to applications. OpenGL 4.3 provides full compatibility with OpenGL ES 3.0.

New functionality in the OpenGL ES 3.0 specification includes:

Platform usage

OpenGL ES 1.0

OpenGL ES 1.0 added an official 3D graphics API to the Android[9] and Symbian[10] operating systems, as well as by QNX[11] It is also supported by the PlayStation 3 as one of its official graphics APIs[12] (the other one being low level libgcm library) with Nvidia's Cg in lieu of GLSL.[13] The PlayStation 3 also includes several features of the 2.0 version of OpenGL ES.

OpenGL ES 1.1

The 1.1 version of OpenGL ES is supported by:

OpenGL ES 2.0

Supported by:

OpenGL ES 3.0

Supported by:

Supported by some recent versions of these GPUs: [1] [2]

References

  1. ^ Khronos Releases OpenGL ES 3.0 Specification to Bring Mobile 3D Graphics to the Next Level - Khronos Group Press Release
  2. ^ "Khronos Press Releases - OpenGL ES 2.0". Khronos.org. 2007-03-05. Retrieved 2010-12-23.
  3. ^ Edward Angel, Dave Shreiner, Interactive Computer Graphics: A Top-Down Approach with Shader-Based OpenGL, 6th Edition, p. xxi-xxii, ISBN 978-0-13-254523-5
  4. ^ "The OpenGL® ES Shading Language" (PDF). Khronos.org. Retrieved 2013-02-16.
  5. ^ http://www.opengl.org/registry/doc/glspec41.core.20100725.pdf
  6. ^ "The OpenGL ES 3.0 specification".
  7. ^ "Khronos Releases OpenGL ES 3.0 Specification to Bring Mobile 3D Graphics to the Next Level". Khronos.org. 2012-08-06. Retrieved 2012-08-06.
  8. ^ "The OpenGL ES 3.0 Shading Language Online Reference Pages".
  9. ^ What is Android?, Google
  10. ^ Symbian OS v9.5 product sheet, Symbian
  11. ^ "Using OpenGL ES". QNX Software Development Platform (v6.5.0). QNX. Retrieved 2011-01-08.
  12. ^ OpenGL ES demo in PPT format
  13. ^ SONY/Khronos OpenGL ES/PSGL Presentation in PPT format
  14. ^ "New in this beta release". Release Notes - BlackBerry Java Application. Research in Motion. Retrieved 2009-12-08.
  15. ^ Koh, Damian (2009-11-29). "What to expect for BlackBerry smartphones". CNET Asia. Retrieved 2009-12-08.
  16. ^ a b "PDK - Overview". HP Palm Developer Center. Retrieved 2010-12-23.
  17. ^ "DMP announces OpenGL ES 1.1 conformant PICA 200 adopted by Nintendo". 2010-06-21. Retrieved 2013-06-02.
  18. ^ "Android 2.2 specifications". Google. 2010-07-01.
  19. ^ "Maemo software - Nokia > Nokia N900 mobile computer > Technical specifications". Nokia Corporation. Retrieved 12 January 2010.
  20. ^ https://developer.apple.com/ios7/

Further reading