Struct egli::Context [] [src]

pub struct Context { /* fields omitted */ }

[EGL 1.0] RAII wrapper for EGLContext.

When dropped, frees up the context with eglDestroyContext call.

Note that the surface would not be immediately freed if it is current to any thread. In such a case, the surface will be freed when it is no longer used.

Methods

impl Context
[src]

[src]

Create a Context from an existing EGL display and context handles.

[src]

Get raw handle.

[src]

Drops Context without cleaning up any resources.

Returns EGLContext handle.

Alias for Into<egl::EGLContext>.

Trait Implementations

impl Drop for Context
[src]

[src]

Executes the destructor for this type. Read more

impl Into<EGLContext> for Context
[src]

[src]

Performs the conversion.