Glutin Version v0.30.0-beta.3
Pre-release
Pre-release
kchibisov
released this
23 Oct 12:56
·
132 commits
to master
since this release
Config
doesn't force OpenGLApi
by default.Display::create_context
now uses the most recent availableApi
from theConfig
whenContextApi
is not specified inContextAttributes
.- Breaking:
PossiblyCurrentGlContext::get_proc_address
method was moved toGlDisplay::get_proc_address
. - Breaking:
ConfigTemplateBuilder::with_sample_buffers
now calledConfigTemplateBuilder::with_multisampling
. - Breaking:
GlConfig::sample_buffers
now calledGlConfig::num_samples
and returns the amount of samples in multisample buffer. - Breaking: Bump MSRV from
1.57
to1.60
. - Fix
GlProfile::Core
requesting without explicit version. - Pick the latest available profile on macOS.
- When using
ContextApi::Gles(None)
inContextAttributesBuilder
the latest known supportedmajor
ES version will be picked. - Fix
Eq
implementation forConfig
onCGL
. - Add
GetDisplayExtensions
trait to obtain api display extensions implemented onEGL
,WGL
, andGLX
. - Fallback to
Surface::swap_buffers
whenSurface::swap_buffers_with_damage
is not supported onEGL
. - Add missing
GetGlConfig
implementation forNotCurrentContext
andPossiblyCurrentContext
. - Implement
Clone
for builders. - Breaking: move
DamageRect
intosurface::Rect
. - Add
GlDisplay::version_string
to help with logging the display information. - Rename
NotCurrentGlContext::treat_as_current
toNotCurrentGlContext::treat_as_possibly_current
. - Rename
Display::from_raw
toDisplay::new
. - Added
GlDisplay::supported_features
to allow checking for extensions support beforehand. - Breaking: renamed
ReleaseBehaviour
toReleaseBehavior
. - Fix GLX not working with nvidia binary drivers.
- Fix crash in
glx::surface::Surface::set_swap_interval
.