OpenGL ES
OpenGL ES logo
OpenGL ES logo
|
|
Original author(s) | ARB |
---|---|
Developer(s) | Khronos Group |
Initial release | 28 July 2003 |
Stable release | 3.2[1] / 10 August 2015 |
Operating system | Cross-platform |
Platform | Cross-platform |
Type | API |
License | Free of charge, royalty or licensing |
Website | www |
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, computer tablets, video game consoles and PDAs. Open GL ES is the "most widely deployed 3D graphics API in history".[3]
The API is cross-language and multi-platform. The libraries GLUT and GLU are not available for OpenGL ES. 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]
Contents
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 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 was released publicly July 28, 2003. OpenGL ES 1.0 is based on the original OpenGL 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:
- 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.[6] 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.[7] 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.[8] 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.[9]
OpenGL ES 3.0
The OpenGL ES 3.0 specification[10] was publicly released in August 2012.[11] 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:
- multiple enhancements to the rendering pipeline to enable acceleration of advanced visual effects including: occlusion queries, transform feedback, instanced rendering and support for four or more rendering targets,
- high quality ETC2 / EAC texture compression as a standard feature, eliminating the need for a different set of textures for each platform,
- a new version of the GLSL ES shading language[12] with full support for integer and 32-bit floating point operations;
- greatly enhanced texturing functionality including guaranteed support for floating point textures, 3D textures, depth textures, vertex textures, NPOT textures, R/RG textures, immutable textures, 2D array textures, swizzles, LOD and mip level clamps, seamless cube maps and sampler objects,
- an extensive set of required, explicitly sized texture and render-buffer formats, reducing implementation variability and making it much easier to write portable applications.
OpenGL ES 3.1
The OpenGL ES 3.1 specification[13] was publicly released in March 2014. New functionality in OpenGL ES 3.1 includes:[14]
- Compute shaders
- Independent vertex and fragment shaders
- Indirect draw commands
OpenGL ES 3.1 is backward compatible with OpenGL ES 2.0 and 3.0, thus enabling applications to incrementally incorporate new features.
OpenGL ES 3.2
The OpenGL ES 3.2 specification[15] was publicly released in August 2015. New capabilities in OpenGL ES 3.2 include:
- Geometry and tessellation shaders to efficiently process complex scenes on the GPU.
- Floating point render targets for increased flexibility in higher precision compute operations.
- ASTC compression to reduce the memory footprint and bandwidth used to process textures.
- Enhanced blending for sophisticated compositing and handling of multiple color attachments.
- Advanced texture targets such as texture buffers, multisample 2D array and cube map arrays.
- Debug and robustness features for easier code development and secure execution.
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[16] and Symbian[17] operating systems, as well as by QNX[18] It is also supported by the PlayStation 3 as one of its official graphics APIs[19] (the other one being low level libgcm library) with Nvidia's Cg in lieu of GLSL.[20] 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:
- Android 1.6
- Apple iOS for iPad, iPhone, and iPod Touch
- RIM's BlackBerry 5.0 operating system series[21] (only BlackBerry Storm 2, BlackBerry Curve 8530 and later models have the needed hardware[22])
- BlackBerry PlayBook
- BlackBerry BB10
- Various Nokia phones such as Nokia N95, N93, N93i, and N82.
- The Palm webOS, using the Plug-in Development Kit[23]
- Nintendo 3DS[24]
OpenGL ES 2.0
Supported by:
- The Android platform since Android 2.0 through NDK and Android 2.2 through Java[25]
- Apple iOS 5 or later in iPad, iPad Mini, iPhone 3GS or later, and iPod Touch 3rd generation or later
- BlackBerry devices with BlackBerry OS 7.0 and Blackberry 10, as well as the BlackBerry PlayBook
- Google Native Client
- Various Nokia phones (such as Symbian^3 based Nokia N8, MeeGo based Nokia N9, and Maemo based Nokia N900[26])
- Palm webOS, using the Plug-in Development Kit[23]
- The Pandora console
- The Raspberry Pi
- The Odroid
- Various Samsung mobile phones (such as the Wave)
- Web browsers (WebGL)
- The GCW Zero console
OpenGL ES 3.0
Supported by:
- Android since version 4.3, on devices with appropriate hardware and drivers, including:
- iOS since version 7, on devices including:
- BlackBerry 10 OS since version 10.2, on devices including:
Supported by some recent versions of these GPUs:[28][29]
- Adreno 300 and 400 series (Android, BlackBerry 10, Windows Phone 8, Windows RT)
- Mali T600 series onwards (Android, Linux, Windows 7)
- PowerVR Series6 (iOS, Linux)
- Vivante (Android, OS X 10.8.3, Windows 7)
- Nvidia (Android, Linux, Windows 7)
- Intel (Linux)
OpenGL ES 3.1
Supported by Windows, Linux, Android (since version 5.0) on devices with appropriate hardware and drivers,[30] including:
- Adreno 400 series[31][32]
- Intel HD Graphics for Intel Atom Z3700 series (Android)
- Intel HD Graphics for Intel Celeron N and J series (Android)
- Intel HD Graphics for Intel Pentium N and J series (Android)
- Mali T6xx (midgard) series onwards[33] (Android, Linux)
- Nvidia GeForce 400 series onwards (Windows, Linux)
- Nvidia Tegra K1 (Android, Linux)
- Nvidia Tegra X1 (Android)
- PowerVR Series 6, 6XE, 6XT, 7XE and 7XT (Linux, Android)
- Vivante GC2000 series onwards (optional with GC800 and GC1000)[34]
Android Extension Pack
Android Extension Pack 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.[35]
OpenGL ES 3.2
OpenGL ES 3.2 works on the same hardware as OpenGL 3.1. It incorporates Android Extension Pack (AEP) into it: "OpenGL ES 3.2 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."[36][3]
Supported by:
- Nvidia GeForce 400 series (Fermi) and newer (Windows, Linux)[37]
Open GL SC 2.0 (planned 2016) and Vulkan/SPIR will converge in a "New Generation API for safety certifiable graphics AND compute".[3]
OpenGL compatibility
Lua error in package.lua at line 80: module 'strict' not found. For full compatibility with OpenGL on ES-only devices, Nvidia offers a BSD licensed library called Regal, originally started by Cass Everitt.[38] Regal is used for example by Google's NaCl.[39]
References
- ↑ Khronos Expands Scope of 3D Open Standard Ecosystem
- ↑ https://www.khronos.org/opengles/
- ↑ 3.0 3.1 3.2 Lua error in package.lua at line 80: module 'strict' not found.
- ↑ Not dead yet: AMD’s Mantle powers new Vulkan API, VR efforts, By Joel Hruska, 4 March 2015, ExtremeTech, Ziff Davis
- ↑ http://stackoverflow.com/a/8872201/239247
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ 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
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ The OpenGL(R)Graphics System: A Specification (Version 4.1 (Core Profile) - July 25, 2010)
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ What is Android?, Google
- ↑ Symbian OS v9.5 product sheet, Symbian
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ OpenGL ES demo in PPT format
- ↑ SONY/Khronos OpenGL ES/PSGL Presentation in PPT format
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ 23.0 23.1 Lua error in package.lua at line 80: module 'strict' not found.
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ iOS 8 for Developers - Apple Developer
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ https://github.com/p3/regal
- ↑ In-depth: Bringing Regal OpenGL to Native Client, By John McCutchan, 7 September 2012, Gamasutra
See also
- OpenGL – original cross-language, multi-platform API for rendering 2D and 3D vector graphics
- OpenSL ES – API for audio on embedded systems, developed by the Khronos Group
- Vulkan – low-level, cross-platform 2D and 3D graphics API, the "next generation OpenGL initiative"
Further reading
- Lua error in package.lua at line 80: module 'strict' not found.
- Lua error in package.lua at line 80: module 'strict' not found.
- Lua error in package.lua at line 80: module 'strict' not found.
- Lua error in package.lua at line 80: module 'strict' not found.
External links
Wikibooks has a book on the topic of: OpenGL Programming/OpenGL ES Overview |
- No URL found. Please specify a URL here or add one to Wikidata.
- Public bug tracking
- OpenGL ES Conformant companies
- Public forums
- List of OpenGL ES compatible devices
- OpenGL home page
- ANGLE: Almost Native Graphics Layer Engine, OpenGL ES 2.0 implementation on top of Direct3D 9/11
- OpenGL ES 1.1 & 2.0 Emulator from ARM
- OpenGL ES 3.0 Emulator from ARM