Popularity
8.2
Declining
Activity
7.3
Declining
1,927
59
459

Programming language: Rust
License: Apache License 2.0
Tags: Opengl     Windowing    
Latest version: v0.30.0

glutin alternatives and similar packages

Based on the "PistonDevelopers/glfw-rs —" category.
Alternatively, view glutin alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of glutin or a related project?

Add another 'PistonDevelopers/glfw-rs —' Package

README

glutin - OpenGL, UTilities and INput

A low-level library for OpenGL context creation.

Docs.rs

[dependencies]
glutin = "0.30.1"

Documentation

Contact Us

Join us in any of these:

Matrix Libera.Chat

Usage Examples

Warning: these are examples for master. For the latest released version you can find them here.

The examples use gl_generator to generate OpenGL bindings.

Try it!

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

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.

The minimum rust version target by glutin is 1.60.0.

Platform-specific notes

Android

Be sure to handle Android's lifecycle correctly when using a winit window by only creating a GL surface after winit raises Event::Resumed, and destroy it again upon receiving Event::Suspended. See this in action in the [android.rs example](./glutin_examples/examples/android.rs).

To compile and run the Android example on your device, install cargo-apk and start the app using:

$ cargo apk r -p glutin_examples --example android