[][src]Crate khronos_egl

Structs

ClientBuffer
Config
Context
Display
Image
Surface
Sync

Enums

Error

EGL errors.

Constants

ALPHA_FORMAT
ALPHA_FORMAT_NONPRE
ALPHA_FORMAT_PRE
ALPHA_MASK_SIZE
ALPHA_SIZE
ATTRIB_NONE
BACK_BUFFER
BAD_ACCESS
BAD_ALLOC
BAD_ATTRIBUTE
BAD_CONFIG
BAD_CONTEXT
BAD_CURRENT_SURFACE
BAD_DISPLAY
BAD_MATCH
BAD_NATIVE_PIXMAP
BAD_NATIVE_WINDOW
BAD_PARAMETER
BAD_SURFACE
BIND_TO_TEXTURE_RGB
BIND_TO_TEXTURE_RGBA
BLUE_SIZE
BUFFER_DESTROYED
BUFFER_PRESERVED
BUFFER_SIZE
CLIENT_APIS
CL_EVENT_HANDLE
COLORSPACE
COLORSPACE_LINEAR
COLORSPACE_sRGB
COLOR_BUFFER_TYPE
CONDITION_SATISFIED
CONFIG_CAVEAT
CONFIG_ID
CONFORMANT
CONTEXT_CLIENT_TYPE
CONTEXT_CLIENT_VERSION
CONTEXT_LOST
CONTEXT_MAJOR_VERSION
CONTEXT_MINOR_VERSION
CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT
CONTEXT_OPENGL_CORE_PROFILE_BIT
CONTEXT_OPENGL_DEBUG
CONTEXT_OPENGL_FORWARD_COMPATIBLE
CONTEXT_OPENGL_PROFILE_MASK
CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY
CONTEXT_OPENGL_ROBUST_ACCESS
CORE_NATIVE_ENGINE
DEFAULT_DISPLAY
DEPTH_SIZE
DISPLAY_SCALING
DONT_CARE
DRAW
EXTENSIONS
FALSE
FOREVER
GL_COLORSPACE
GL_COLORSPACE_LINEAR
GL_COLORSPACE_SRGB
GL_RENDERBUFFER
GL_TEXTURE_2D
GL_TEXTURE_3D
GL_TEXTURE_CUBE_MAP_NEGATIVE_X
GL_TEXTURE_CUBE_MAP_NEGATIVE_Y
GL_TEXTURE_CUBE_MAP_NEGATIVE_Z
GL_TEXTURE_CUBE_MAP_POSITIVE_X
GL_TEXTURE_CUBE_MAP_POSITIVE_Y
GL_TEXTURE_CUBE_MAP_POSITIVE_Z
GL_TEXTURE_LEVEL
GL_TEXTURE_ZOFFSET
GREEN_SIZE
HEIGHT
HORIZONTAL_RESOLUTION
IMAGE_PRESERVED
LARGEST_PBUFFER
LEVEL
LOSE_CONTEXT_ON_RESET
LUMINANCE_BUFFER
LUMINANCE_SIZE
MATCH_NATIVE_PIXMAP
MAX_PBUFFER_HEIGHT
MAX_PBUFFER_PIXELS
MAX_PBUFFER_WIDTH
MAX_SWAP_INTERVAL
MIN_SWAP_INTERVAL
MIPMAP_LEVEL
MIPMAP_TEXTURE
MULTISAMPLE_RESOLVE
MULTISAMPLE_RESOLVE_BOX
MULTISAMPLE_RESOLVE_BOX_BIT
MULTISAMPLE_RESOLVE_DEFAULT
NATIVE_RENDERABLE
NATIVE_VISUAL_ID
NATIVE_VISUAL_TYPE
NONE
NON_CONFORMANT_CONFIG
NOT_INITIALIZED
NO_CONTEXT
NO_DISPLAY
NO_IMAGE
NO_RESET_NOTIFICATION
NO_SURFACE
NO_SYNC
NO_TEXTURE
OPENGL_API
OPENGL_BIT
OPENGL_ES2_BIT
OPENGL_ES3_BIT
OPENGL_ES_API
OPENGL_ES_BIT
OPENVG_API
OPENVG_BIT
OPENVG_IMAGE
PBUFFER_BIT
PIXEL_ASPECT_RATIO
PIXMAP_BIT
READ
RED_SIZE
RENDERABLE_TYPE
RENDER_BUFFER
RGB_BUFFER
SAMPLES
SAMPLE_BUFFERS
SIGNALED
SINGLE_BUFFER
SLOW_CONFIG
STENCIL_SIZE
SUCCESS
SURFACE_TYPE
SWAP_BEHAVIOR
SWAP_BEHAVIOR_PRESERVED_BIT
SYNC_CL_EVENT
SYNC_CL_EVENT_COMPLETE
SYNC_CONDITION
SYNC_FENCE
SYNC_FLUSH_COMMANDS_BIT
SYNC_PRIOR_COMMANDS_COMPLETE
SYNC_STATUS
SYNC_TYPE
TEXTURE_2D
TEXTURE_FORMAT
TEXTURE_RGB
TEXTURE_RGBA
TEXTURE_TARGET
TIMEOUT_EXPIRED
TRANSPARENT_BLUE_VALUE
TRANSPARENT_GREEN_VALUE
TRANSPARENT_RED_VALUE
TRANSPARENT_RGB
TRANSPARENT_TYPE
TRUE
UNKNOWN
UNSIGNALED
VENDOR
VERSION
VERTICAL_RESOLUTION
VG_ALPHA_FORMAT
VG_ALPHA_FORMAT_NONPRE
VG_ALPHA_FORMAT_PRE
VG_ALPHA_FORMAT_PRE_BIT
VG_COLORSPACE
VG_COLORSPACE_LINEAR
VG_COLORSPACE_LINEAR_BIT
VG_COLORSPACE_sRGB
WIDTH
WINDOW_BIT

Functions

bind_api

Set the current rendering API.

bind_tex_image

Defines a two-dimensional texture image.

check_attrib_list
check_int_list
choose_config

Return a list of EGL frame buffer configurations that match specified attributes.

choose_first_config

Return the first EGL frame buffer configuration that match specified attributes.

client_wait_sync

Wait in the client for a sync object to be signalled.

copy_buffers

Copy EGL surface color buffer to a native pixmap.

create_context

Create a new EGL rendering context.

create_image

Create a new Image object.

create_pbuffer_from_client_buffer

Create a new EGL pixel buffer surface bound to an OpenVG image.

create_pbuffer_surface

Create a new EGL pixel buffer surface.

create_pixmap_surface

Create a new EGL offscreen surface.

create_platform_pixmap_surface

Create a new EGL offscreen surface.

create_platform_window_surface

Create a new EGL on-screen rendering surface.

create_sync

Create a new EGL sync object.

create_window_surface

Create a new EGL window surface.

destroy_context

Destroy an EGL rendering context.

destroy_image

Destroy an Image object.

destroy_surface

Destroy an EGL surface.

destroy_sync

Destroy a sync object.

get_config_attrib

Return information about an EGL frame buffer configuration.

get_configs

Return a list of all EGL frame buffer configurations for a display.

get_current_context

Return the current EGL rendering context.

get_current_display

Return the display for the current EGL rendering context.

get_current_surface

Return the read or draw surface for the current EGL rendering context.

get_display

Return an EGL display connection.

get_error

Return error information.

get_platform_display

Return an EGL display connection.

get_proc_address

Return a GL or an EGL extension function.

get_sync_attrib

Return an attribute of a sync object.

initialize

Initialize an EGL display connection.

make_current

Attach an EGL rendering context to EGL surfaces.

matching_config_count

Return the number of EGL frame buffer configurations that atch specified attributes.

query_api

Query the current rendering API.

query_context

Return EGL rendering context information.

query_string

Return a string describing properties of the EGL client or of an EGL display connection.

query_surface

Return EGL surface information.

release_tex_image

Releases a color buffer that is being used as a texture.

release_thread

Release EGL per-thread state.

surface_attrib

Set an EGL surface attribute.

swap_buffers

Post EGL surface color buffer to a native window.

swap_interval

Specifies the minimum number of video frame periods per buffer swap for the window associated with the current context.

terminate

Terminate an EGL display connection.

wait_client

Complete client API execution prior to subsequent native rendering calls.

wait_gl

Complete GL execution prior to subsequent native rendering calls.

wait_native

Complete native execution prior to subsequent GL rendering calls.

wait_sync

Wait in the server for a sync object to be signalled.

Type Definitions

Attrib
Boolean
EGLClientBuffer
EGLConfig
EGLContext
EGLDisplay
EGLImage
EGLSurface
EGLSync
Enum
Int
NativeDisplayType
NativePixmapType
NativeWindowType
Time