A low-level library for OpenGL context creation, written in pure Rust.
APACHE-2.0 License
Bot releases are hidden (Show)
Published by kchibisov about 2 years ago
buffer_age
method on WindowedContext
.Err
instead of panicking when surfaceless GLX context creation fails on Linux.StaticStructGenerator
to StructGenerator
to dynamically load symbols.android_glue
dependency with raw-window-handle
, and remove broken lifecycle event handling.Context
following a winit Event::Resumed
event, and destroys the Context
in response to a Event::Suspended
event.build_raw_context
now uses isize
for hwnd
to follow winit change.Published by kchibisov almost 3 years ago
RPC_E_CHANGED_MODE
)Published by maroider over 3 years ago
Published by kchibisov almost 4 years ago
Published by kchibisov about 4 years ago
Published by kchibisov about 4 years ago
Published by goddessfreya over 5 years ago
treat_as_current
function.CreationErrorPair
enum variant with CreationErrors
.Clone
to ContextBuilder
.Debug
on all public facing types.ContextTrait
.OsMesaContextExt
to HeadlessContextExt
. Added functionsWindowedContext
and RawContext
into typedefs ofContextWrapper
.new_windowed
and new_headless
from WindowedContext
Context
, respectively.NotCurrent
and PossiblyCurrent
,RawContext
, WindowedContext
, ContextBuilder
and Context
are now{make,treat_as}_not_current
function to {Raw,Windowed,}Context
.libGL.so
instead of libGLX.so
.EGLDisplay
s while they are still in use byglutin/src/api/egl/mod.rs
,WindowedContext
s now deref to Context
, not Window
..window()
to access the window.Published by goddessfreya over 5 years ago
libEGL.so
and libGL.so
multiple times.Context::is_current
incorrectly returning false
.ContextBuilder
's pf_reqs
public.GlContext{,Ext}
to ContextTrait{,Ext}
.GlWindow
to WindowedContext
.shareable_with_windowed_contexts
. Now you must buildContextBuilder::build_{windowed,headless}
methods.Context::new
to Context::new_headless
. new_headless
now accepts dimensions for the off-screen surface backing it.GlWindow::new
to WindowedContext::new_windowed
.new_shared
function from Context
and GlWindow
, in favor of new
.build
method to ContextBuilder
.get_egl_display
method to GlContextExt
trait and its implementation for platforms.NoBackendAvailable
is now Sync
, as a result CreationError
is also Sync
.Published by francesca64 almost 6 years ago
Context::new()
when trying to make a context without a visible window. Also removed headless
feature.GlContext
trait must now be sized.CreationErrorPair
enum variant to enum CreationError
.Published by francesca64 about 6 years ago
OsError
variant to ContextError
.Published by francesca64 over 6 years ago
ContextBuilder::with_double_buffer
functionContextBuilder::with_hardware_acceleration
functionCreationError::OpenGlVersionNotSupported