Kirill Chibisov 3296c9af3e Bump version on master
This commit does not represent a release and only synchronizes CHANGELOG
from the latest release.
2024-06-08 13:38:09 +03:00
2024-05-06 09:22:54 +04:00
2024-06-08 13:38:09 +03:00
2024-06-08 13:38:09 +03:00
2024-06-08 13:38:09 +03:00
2024-06-08 13:38:09 +03:00
2024-06-08 13:38:09 +03:00
2024-06-08 13:38:09 +03:00
2024-03-13 14:55:13 +04:00
2014-07-27 11:41:26 +02:00
2022-11-12 08:31:57 +03:00
2023-08-16 16:45:07 +04:00
2024-06-08 13:38:09 +03:00
2022-11-12 10:03:41 +03:00
2024-06-08 13:38:09 +03:00
2022-09-03 08:53:48 +03:00

glutin - OpenGL, UTilities, and INput

A low-level library for OpenGL context creation.

Docs.rs

Documentation

Contact Us

Join us in any of these:

Matrix Libera.Chat

Usage Examples

Warning: These are examples for master. You can find examples for the latest released version 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.

Glutin follows winit's MSRV policy.

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.

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
S
Description
No description provided
Readme Apache-2.0
4.1 MiB
0 Stars 0 Watchers 0 Forks
Languages
Rust 100%