Egl 1 4 Quick Reference Card
Egl 1 4 Quick Reference Card
0611
EGL 1.4 API Quick Reference Card - Page 1
EGL
TM
is an interface between Khronos rendering APIs such as OpenGL ES
or OpenVG and the underlying natve platorm window system. It handles
graphics context management, surface/bufer binding, and rendering
synchronizaton and enables high-performance, accelerated, mixed-mode 2D
and 3D rendering using other Khronos APIs. An EGL implementaton may not
support all possible client APIs (OpenGL, OpenGL ES, and OpenVG) defned by
the specifcaton. Functons requiring an unsupported client API will generate
errors when called.
[n.n.n] refers to sectons in the EGL 1.4 specifcaton, available at
www.khronos.org/egl
Types [2.1.1]
unsigned int EGLBoolean
unsigned int EGLenum
void *EGLConfg
void *EGLContext
void *EGLDisplay
void *EGLSurface
void *EGLClientBufer
The following types difer based on platorm.
Windows platorm:
HDC EGLNatveDisplayType
HBITMAP EGLNatvePixmapType
HWND EGLNatveWindowType
Linux/X11 platorm:
Display *EGLNatveDisplayType
Pixmap EGLNatvePixmapType
Window EGLNatveWindowType
Android platorm:
ANatveWindow* EGLNatveWindowType
Legend for Atribute Lists table:
Defaults
Default values shown in red
Sortng
(n) Sort priority (+) Sort order of Special
(-) Sort order of Smaller (
) Default is 0.
EGL_NATIVE_VISUAL_TYPE integer (10) (+) Exact EGL_DONT_CARE, EGL_NONE, or the natve visual type of the associated
visual.
EGL_RENDERABLE_TYPE bitmask (
) Mask Indicates which client APIs are supported. May be one or more of the
following values: EGL_OPENGL_BIT (OpenGL 1.x or 2.x),
EGL_OPENGL_ES_BIT (OpenGL ES 1.x), EGL_OPENGL_ES2_BIT (OpenGL ES 2.x),
EGL_OPENVG_BIT (OpenVG 1.x)
EGL_SAMPLE_BUFFERS integer (5) (-) AtLeast The number of multsample bufers. Default is 0.
EGL_SAMPLES integer (6) (-) AtLeast The number of samples per pixel. Default is 0.
EGL_STENCIL_SIZE integer (8) (-) AtLeast The number of bits of Stencil in the stencil bufer. 0 means no Stencil in the
stencil bufer.
EGL_SURFACE_TYPE bitmask (
) Mask The types of EGL surfaces are supported. May be one or more of
EGL_WINDOW_BIT, EGL_PIXMAP_BIT, EGL_PBUFFER_BIT,
MULTISAMPLE_RESOLVE_BOX_BIT, EGL_VG_ALPHA_FORMAT_PRE_BIT,
EGL_SWAP_BEHAVIOR_PRESERVED_BIT, EGL_VG_COLORSPACE_LINEAR_BIT.
EGL_TRANSPARENT_TYPE enum (
) Exact EGL_NONE means windows created with the EGLConfg will not have any
transparent pixels; EGL_TRANSPARENT_RGB means the EGLConfg supports
transparency.
EGL_TRANSPARENT_RED_VALUE integer (