stringtranslate.com

OpenGL ES

OpenGL for Embedded Systems (OpenGL ES or GLES) is a subset[2] 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, tablet computers, video game consoles and PDAs. OpenGL ES is the "most widely deployed 3D graphics API in history".[3]

The API is cross-language and multi-platform. The GLU library and the original GLUT are not available for OpenGL ES, freeglut however, supports it. OpenGL ES is managed by the non-profit technology consortium Khronos Group. Vulkan, a next-generation API from Khronos, is made for simpler high performance drivers for mobile and desktop devices.[4]

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.

OpenGL ES comes with its own version of shading language (OpenGL ES SL), which is different from OpenGL SL.[5]

Version 1.0 and 1.1 both have common (CM) and common lite (CL) 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 was released publicly July 28, 2003. OpenGL ES 1.0 is based on the original OpenGL 1.3 API, with much functionality removed 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:

The actual version is 1.0.0.2.[6]

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.[7]Actual Version is 1.1.12.[8]

OpenGL ES 2.0

OpenGL ES 2.0 was publicly released in March 2007.[10] It is roughly based 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 the transition from OpenGL 3.0 to 3.1.[11] 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.[12] 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.[13]Actual version is 2.0.25.[14]

The Khronos Group has written a document describing the differences between OpenGL ES 2.0 and ordinary OpenGL 2.0.[15]

OpenGL ES 3.0

The OpenGL ES 3.0 specification[17] was publicly released in August 2012.[18] It is backwards compatible with OpenGL ES 2.0, and partially compatible with WebGL 2.0,[19] as WebGL 2.0 was designed to have a high degree of interoperability with OpenGL ES 3.0.[20]The current version of the OpenGL ES 3.0 standard is 3.0.6, released in November 2019.[21]

New functionality in the OpenGL ES 3.0 specification includes:

OpenGL ES 3.1

The OpenGL ES 3.1 specification[23] was publicly released in March 2014. New functionality in OpenGL ES 3.1 includes:[24]

OpenGL ES 3.1 is backward compatible with OpenGL ES 2.0 and 3.0, thus enabling applications to incrementally incorporate new features. Actual Version is 3.1-(November 2016).[25]

OpenGL ES 3.2

The OpenGL ES 3.2 specification[26] was publicly released in August 2015. New capabilities in OpenGL ES 3.2 include:

Actual State is 3.2.6 July 2019.[27][28]

Some more extensions are developed or in Development in Mesa for next OpenGL ES Version (see Mesamatrix).

Next generation API is Vulkan.[29]

Platform usage

For complete list of companies and their conformant products, view here

OpenGL ES 1.0

OpenGL ES 1.0 added an official 3D graphics API to the Android[30] and Symbian OS v8.0a[31][32] operating systems, as well as by QNX[33] It is also supported by the PlayStation 3 as one of its official graphics APIs[34] (the other one being low level libgcm library) with Nvidia's Cg in lieu of GLSL.[35] 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:[46][47]

OpenGL ES 3.1

Supported by Windows, Linux, Android (since version 5.0) on devices with appropriate hardware and drivers,[48] including:

Android Extension Pack

Android Extension Pack (AEP) is a set of OpenGL ES 3.1 extensions, all bundled into a single extension introduced by Google in 2014. This allows applications to use all of the features of the set of extensions, while only testing for the presence of a single one. The AEP was officially added to Android Lollipop to provide extra features like tessellation over what was officially in the GLES 3.1 revision. OpenGL ES 3.2 update is largely made up of the AEP additions, which are already present in desktop OpenGL.[53]

OpenGL ES 3.2

OpenGL ES 3.2, incorporating the Android Extension Pack (AEP), "boasts a small number of improvements over last year’s OpenGL ES 3.1. Both make use of similar features from the AEP. From the AEP, OpenGL ES 3.2 compliant hardware will support Tessellation for additional geometry detail, new geometry shaders, ASTC texture compression for a smaller memory bandwidth footprint, floating point render targets for high accuracy compute processes, and new debugging features for developers. These high-end features are already found in the group’s full OpenGL 4 specification."[54][3]

Supported by Windows, Linux, Android (since version 6.0 possible, 7.0+ Vulkan 1.0 and OpenGL ES 3.2 needed) on devices with appropriate hardware and drivers, including:

Deprecation in Apple platforms

OpenGL ES (and OpenGL) was deprecated in Apple's operating systems in favour of its own proprietary Metal graphics API, but still worked in up to at least iOS 12.[56]

The future

There is currently no plan for a new core version of OpenGL ES, as adoption of Vulkan has been deemed to displace it in embedded and mobile applications. Development of extensions to OpenGL ES continues as of 2017.[57]

OpenGL compatibility

A few libraries have been created to emulate OpenGL calls using GL ES:

See also

References

  1. ^ "Khronos Expands Scope of 3D Open Standard Ecosystem". 10 August 2015.
  2. ^ "OpenGL ES Overview - The Khronos Group Inc". The Khronos Group. 2011-07-19. Archived from the original on 2024-09-14.
  3. ^ a b "3D Graphics API State of the Union: SIGGRAPH 2015" (PDF). Khronos. Industry will ship >1.7 billion devices in 2015
  4. ^ Hruska, Joel (4 March 2015). "Not dead yet: AMD's Mantle powers new Vulkan API, VR efforts". ExtremeTech. Ziff Davis.
  5. ^ "What versions of GLSL can I use in OpenGL ES 2.0?". Stack Overflow.
  6. ^ https://www.khronos.org/registry/OpenGL/specs/es/1.0/opengles_spec_1_0.pdf [bare URL PDF]
  7. ^ http://developer.amd.com/wordpress/media/2012/10/GDC06-GLES_Tutorial_Day-Munshi-OpenGLES_Overview.pdf [bare URL PDF]
  8. ^ https://www.khronos.org/registry/OpenGL/specs/es/1.1/es_full_spec_1.1.pdf [bare URL PDF]
  9. ^ "stack overflow: glGenFramebuffersOES vs glGenFramebuffers?". Retrieved 2022-04-19.
  10. ^ "Khronos Press Releases - OpenGL ES 2.0". Khronos.org. 2007-03-05. Archived from the original on 2010-12-28. Retrieved 2010-12-23.
  11. ^ 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
  12. ^ "The OpenGL® ES Shading Language" (PDF). Khronos.org. Retrieved 2013-02-16.
  13. ^ "The OpenGL(R)Graphics System: A Specification (Version 4.1 (Core Profile)" (PDF). July 25, 2010.
  14. ^ https://www.khronos.org/registry/OpenGL/specs/es/2.0/es_full_spec_2.0.pdf [bare URL PDF]
  15. ^ "OpenGL© ES – Common Profile Specification 2.0.25 (Difference Specification)" (PDF). November 2, 2010.
  16. ^ a b "OpenGL ES 3.0 Programming Guide" (PDF). Pearson Education, Inc. Retrieved 2022-04-18.
  17. ^ "Khronos OpenGL ES Registry - The Khronos Group Inc". registry.khronos.org.
  18. ^ "Khronos Releases OpenGL ES 3.0 Specification to Bring Mobile 3D Graphics to the Next Level". Khronos. 2012-08-06. Retrieved 2012-08-06.
  19. ^ "WebGL: 2D and 3D graphics for the web". Mozilla. Retrieved 2023-06-30.
  20. ^ "WebGL 2.0 Specification". registry.khronos.org.
  21. ^ https://www.khronos.org/registry/OpenGL/specs/es/3.0/es_spec_3.0.pdf [bare URL PDF]
  22. ^ "GLSL ES 3.0 Specification" (PDF). Khronos. Retrieved 2023-06-30.
  23. ^ "Khronos OpenGL ES Registry - The Khronos Group Inc". registry.khronos.org.
  24. ^ "Khronos Releases OpenGL ES 3.1 Specification". Khronos.org. 2014-03-17. Retrieved 2014-03-17.
  25. ^ https://www.khronos.org/registry/OpenGL/specs/es/3.1/es_spec_3.1.pdf [bare URL PDF]
  26. ^ "Khronos OpenGL ES Registry - The Khronos Group Inc". registry.khronos.org.
  27. ^ https://www.khronos.org/registry/OpenGL/specs/es/3.2/es_spec_3.2.pdf [bare URL PDF]
  28. ^ https://www.khronos.org/registry/OpenGL/specs/es/3.2/GLSL_ES_Specification_3.20.pdf [bare URL PDF]
  29. ^ "Next Generation OpenGL Becomes Vulkan: Additional Details Released".
  30. ^ "Android Platform". Android Developers.
  31. ^ "Symbian OS Version 8.0 Product sheet". 2008-03-30. Archived from the original on 2008-03-30. Retrieved 2008-03-30.
  32. ^ Dueder, Janelle (2022-12-09). "OpenGL ES - Symbian Games Development". 25 Years of Programming. Retrieved 2023-01-14.
  33. ^ "Using OpenGL ES". QNX Software Development Platform (v6.5.0). QNX. Retrieved 2011-01-08.
  34. ^ "OpenGL ES demo in PPT format". 21 November 2021.
  35. ^ "OpenGL ES/PSGL Presentation in PPT format". Sony. Khronos. 21 November 2021.
  36. ^ "OpenGL ES SDK available for Nokia 6630". Khronos Forums. 2004-09-22. Retrieved 2023-01-14.
  37. ^ "New in this beta release". Release Notes - BlackBerry Java Application. Research in Motion. Archived from the original on 2009-12-02. Retrieved 2009-12-08.
  38. ^ Koh, Damian (2009-11-29). "What to expect for BlackBerry smartphones". CNET Asia. Archived from the original on 2009-12-13. Retrieved 2009-12-08.
  39. ^ a b "PDK - Overview". HP Palm Developer Center. Archived from the original on 2011-01-01. Retrieved 2010-12-23.
  40. ^ "DMP announces OpenGL ES 1.1 conformant PICA 200 adopted by Nintendo". 2010-06-21. Retrieved 2013-06-02.
  41. ^ "Android 2.2 specifications". 2010-07-01. Archived from the original on 2010-10-11.
  42. ^ a b c d "Mesa OpenGL Extensions and Capabilities". people.freedesktop.org.
  43. ^ a b "Mesa OpenGL Extensions and Capabilities". people.freedesktop.org.
  44. ^ "Maemo software - Nokia > Nokia N900 mobile computer > Technical specifications". Nokia Corporation. Archived from the original on 29 October 2009. Retrieved 12 January 2010.
  45. ^ "iOS 8 for Developers". Apple Developer.
  46. ^ "Khronos Conformant Products". 21 November 2021.
  47. ^ Sag, Anshel (2013-04-11). "The State of OpenGL ES 3.0: Who's Got What". Bright Side of News. Archived from the original on 2013-06-15. Retrieved 2015-12-22.
  48. ^ "OpenGL ES3.1 Conformant Products". Retrieved 2014-08-11.
  49. ^ "Adreno™ Graphics Processing Units". Qualcomm. Retrieved 2014-08-11.
  50. ^ "GL ES 3.1 on Adreno 3xx?". Retrieved 2014-08-11.
  51. ^ "ARM's Mali Midgard Architecture Explored". AnandTech. Retrieved 2014-08-11.
  52. ^ "Vivante Vega Cores for 3D". Vivante. Retrieved 2014-12-10.
  53. ^ "Khronos Debuts OpenGL ES 3.2 & New GL Extensions, But No Vulkan This Week". August 10, 2015. Retrieved August 11, 2015.
  54. ^ "OpenGL ES 3.2 and Vulkan – everything you need to know". Android Authority. 2015-08-15. Retrieved 2015-12-22.
  55. ^ "NVIDIA Releases 358.50 Game Ready Drivers For Star Wars Battlefront". AnandTech. Retrieved 2015-10-07.
  56. ^ Apple Inc. "What's New in iOS - Apple Developer". developer.apple.com. Retrieved 2018-08-07. Apps built using OpenGL ES will continue to run in iOS 12, but OpenGL ES is deprecated in iOS 13.
  57. ^ Khronos. "Vulkan, OpenGL, and OpenGL ES" (PDF). www.khronos.org. Retrieved 2020-04-24.
  58. ^ "p3/regal: Regal for OpenGL". GitHub. 18 October 2021.
  59. ^ McCutchan, John (7 September 2012). "In-depth: Bringing Regal OpenGL to Native Client". Gamasutra.
  60. ^ "GL4ES - The OpenGL driver for GLES Hardware". GitHub.

Further reading

External links