Javax.Microedition.Khronos.Egl Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides the legacy EGL bindings for display connections, frame buffer configurations, rendering contexts, and drawing surfaces.
Classes
| Name | Description |
|---|---|
| EGL10 |
Contains the legacy .NET projections of constants from the Java EGL10 interface. Use IEGL10 instead. |
| EGL11 |
Contains the legacy .NET projections of constants from the Java EGL11 interface and its EGL10 base interface. Use IEGL11 instead. |
| EGLConfig |
Represents an EGL frame buffer configuration. |
| EGLContext |
Represents an EGL rendering context and provides access to the legacy EGL interface. |
| EGLDisplay |
Represents an EGL display connection. |
| EGLSurface |
Represents an EGL drawing surface. |
Interfaces
| Name | Description |
|---|---|
| IEGL |
Provides the base interface for the legacy EGL bindings. |
| IEGL10 |
Provides the legacy EGL interface for display connections, frame buffer configurations, rendering contexts, and surfaces. |
| IEGL11 |
Extends IEGL10 with the EGL 1.1 context-loss error constant. |
Remarks
Get the EGL interface from EGL and use IEGL10 for EGL operations. EGL10 and EGL11 are obsolete .NET constant containers, not separate native EGL implementations.
Android's legacy implementation uses sentinel objects for missing displays, contexts, and surfaces. Use the corresponding EGL_NO_DISPLAY, EGL_NO_CONTEXT, or EGL_NO_SURFACE projection, not a null object argument. The default-display selector is null. Android ignores the native-display argument and always requests the default display. On successful initialization, the legacy adapter writes version 1.0 to a supplied version array; this is not a query of every capability of the device's EGL implementation.
Constant availability in this binding does not establish support for an attribute or rendering API. Check the EGL implementation and its extensions before using optional features. Android's legacy adapter does not implement buffer copying to native pixmaps and rejects pixmap surface creation.