All Projects → rust-windowing → Glutin

rust-windowing / Glutin

Licence: apache-2.0
A low-level library for OpenGL context creation, written in pure Rust.

Programming Languages

rust
11053 projects

Labels

Projects that are alternatives of or similar to Glutin

Cubicsdr
Cross-Platform Software-Defined Radio Application
Stars: ✭ 1,294 (-14.87%)
Mutual labels:  opengl
Binpipe
Stars: ✭ 97 (-93.62%)
Mutual labels:  opengl
Physics3d
A 3D physics engine
Stars: ✭ 101 (-93.36%)
Mutual labels:  opengl
Assortedwidgets
OpenGL GUI library
Stars: ✭ 92 (-93.95%)
Mutual labels:  opengl
Tiny3d
A Small OpenGL Based Renderer
Stars: ✭ 94 (-93.82%)
Mutual labels:  opengl
Envisaged
Envisaged - Effortless Gource Visualizations with Docker
Stars: ✭ 98 (-93.55%)
Mutual labels:  opengl
Dhewm3
dhewm 3 main repository
Stars: ✭ 1,261 (-17.04%)
Mutual labels:  opengl
Gdx Vfx
LibGDX post-processing visual effects
Stars: ✭ 105 (-93.09%)
Mutual labels:  opengl
Wanderers
An open world adventure and dungeon crawling game
Stars: ✭ 96 (-93.68%)
Mutual labels:  opengl
Engine
Go 3D Game Engine
Stars: ✭ 1,362 (-10.39%)
Mutual labels:  opengl
Bubble Picker
An easy-to-use animation which can be used for content picking for Android
Stars: ✭ 1,316 (-13.42%)
Mutual labels:  opengl
Mini3d
3D Software Renderer in 700 Lines !!
Stars: ✭ 1,320 (-13.16%)
Mutual labels:  opengl
Engo
Engo is an open-source 2D game engine written in Go.
Stars: ✭ 1,356 (-10.79%)
Mutual labels:  opengl
Bgfx
Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.
Stars: ✭ 10,252 (+574.47%)
Mutual labels:  opengl
Tinyraycaster
486 lines of C++: old-school FPS in a weekend
Stars: ✭ 1,383 (-9.01%)
Mutual labels:  opengl
Light Propagation Volumes
Master's thesis implementing real-time global illumination method.
Stars: ✭ 88 (-94.21%)
Mutual labels:  opengl
Premulalpha
Pre-Multiplied blend mode is a 3 in 1 blend mode that has a lot of uses. It has been around for a long time but it seems to be re-discovered every few years. This project includes descriptions/examples and tools for using pre-multiplied alpha.
Stars: ✭ 97 (-93.62%)
Mutual labels:  opengl
Vkgl
Core OpenGL over Vulkan
Stars: ✭ 105 (-93.09%)
Mutual labels:  opengl
Clapper
A GNOME media player built using GJS with GTK4 toolkit and powered by GStreamer with OpenGL rendering.
Stars: ✭ 103 (-93.22%)
Mutual labels:  opengl
Openrct2
An open source re-implementation of RollerCoaster Tycoon 2 🎢
Stars: ✭ 10,115 (+565.46%)
Mutual labels:  opengl

glutin - OpenGL, UTilities and INput

A low-level library for OpenGL context creation, written in pure Rust.

Docs.rs

[dependencies]
glutin = "0.28.0"

Documentation

Contact Us

Join us in any of these:

Freenode Matrix Gitter

Usage Examples

Warning: these are examples for master. For the latest released version

Try it!

git clone https://github.com/rust-windowing/glutin
cd glutin
cargo run --example window

Common issues

Please refer to ISSUES.md.

Usage

Glutin is an OpenGL context creation library and doesn't directly provide OpenGL bindings for you.

For examples, please look here.

Note that glutin aims at being a low-level brick in your rendering infrastructure. You are encouraged to write another layer of abstraction between glutin and your application.

Glutin is only officially supported on the latest stable version of the Rust compiler.

Platform-specific notes

Android

To compile the examples for android, you have to use the cargo apk utility.

See the android-rs-glue repository for instructions.

Emscripten with asmjs

Emscripten support has been deprecated in favor of platforms like stdweb. To get an OpenGL context on these platforms, please use crates like glow instead.

X11

The plan is that glutin tries to dynamically link-to and use Wayland w/EGL if possible. If it doesn't work, it will try Xlib w/GLX follow by Xlib w/EGL instead. This is work-in-progress.

Wayland

Due to an issue with how Mesa and Wayland play together, all shared contexts must use the same events pool as each other.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].