Graphics Reference
In-Depth Information
Table 3-1
EGLConfig
Attributes
(continued)
Attribute
Description
Default Value
EGL_MIN_SWAP_INTERVAL
Minimum buffer swap interval
EGL_DONT_CARE
EGL_NATIVE_RENDERABLE
True if native rendering libraries can render into a surface
created with
EGLConfig
EGL_DONT_CARE
EGL_NATIVE_VISUAL_ID
Handle of corresponding native window system visual ID
EGL_DONT_CARE
EGL_NATIVE_VISUAL_TYPE
EGL_DONT_CARE
Type of corresponding native window system visual
EGL_RENDERABLE_TYPE
A bitmask composed of the tokens
EGL_OPENGL_ES_BIT
,
EGL_OPENGL_ES2_BIT
,
EGL_OPENGL_ES3_BIT_KHR
(requires
EGL_KHR_create_context
extension),
EGL_OPENGL_BIT
, or
EGL_OPENVG_BIT
, which represent the rendering interfaces
supported with the configuration
EGL_OPENGL_ES_BIT
EGL_SAMPLE_BUFFERS
Number of available multisample buffers
0
EGL_SAMPLES
Number of samples per pixel
0
EGL_STENCIL_SIZE
Number of bits in the stencil buffer
0
EGL_SURFACE_TYPE
Type of EGL surfaces supported; can be any of
EGL_WINDOW_BIT
,
EGL_PIXMAP_BIT
,
EGL_PBUFFER_BIT
,
EGL_MULTISAMPLE_RESOLVE_BOX_BIT
,
EGL_SWAP_BEHAVIOR_PRESERVED_BIT
,
EGL_VG_COLORSPACE_LINEAR_BIT
, or
EGL_VG_ALPHA_FORMAT_PRE_BIT
EGL_WINDOW_BIT
EGL_TRANSPARENT_TYPE
Type of transparency supported
EGL_NONE
EGL_TRANSPARENT_RED_VALUE
EGL_DONT_CARE
Red color value interpreted as transparent
EGL_TRANSPARENT_GREEN_VALUE
Green color value interpreted as transparent
EGL_DONT_CARE