glium 0.25.1

Elegant and safe OpenGL wrapper. Glium is an intermediate layer between OpenGL and your application. You still need to manually handle the graphics pipeline, but without having to use OpenGL's old and error-prone API. Its objectives: - Be safe to use. Many aspects of OpenGL that can trigger a crash if misused are automatically handled by glium. - Provide an API that enforces good pratices such as RAII or stateless function calls. - Be compatible with all OpenGL versions that support shaders, providing unified API when things diverge. - Avoid all OpenGL errors beforehand. - Produce optimized OpenGL function calls, and allow the user to easily use modern OpenGL techniques.
Documentation
Build #855047 2023-07-06T06:47:11.498321+00:00
# rustc version
rustc 1.72.0-nightly (d9c13cd45 2023-07-05)# docs.rs version
docsrs 0.6.0 (eb803472 2023-06-29)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/glium-0.25.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/glium-0.25.1/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "3221225472" "--cpus" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20230705-1.72.0-nightly-d9c13cd45\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j3" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 42bfc72d098fb45a3696401d6a56014ee782919b5ba7244f9bddff304b84aee5
[INFO] running `Command { std: "docker" "start" "-a" "42bfc72d098fb45a3696401d6a56014ee782919b5ba7244f9bddff304b84aee5", kill_on_drop: false }`
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: tutorial-07, info, tutorial-01, tutorial-13, tessellation, tutorial-10, fxaa, sprites-batching, gpgpu, picking, displacement_mapping, tutorial-06, subroutines, tutorial-02, image, screenshot, tutorial-08, tutorial-14, deferred, blitting, screenshot-asynchronous, shadow_mapping, manual-creation, tutorial-12, triangle, teapot, tutorial-09, instancing, fullscreen, tutorial-03, tutorial-04, tutorial-05
[INFO] [stderr]     If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true`
[INFO] [stderr]     to the [[example]] target configuration of at least one example.
[INFO] [stderr] warning: Target filter specified, but no targets matched. This is a no-op
[INFO] [stderr]  Documenting glium v0.25.1 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unnecessary trailing semicolon
[INFO] [stderr]     --> src/program/reflection.rs:1223:68
[INFO] [stderr]      |
[INFO] [stderr] 1223 |                 let mut subroutine_name_tmp: Vec<u8> = vec![0; 64];;
[INFO] [stderr]      |                                                                    ^ help: remove this semicolon
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]     --> src/image_format.rs:1038:38
[INFO] [stderr]      |
[INFO] [stderr] 1038 |     /// S3TC DXT1 without alpha, see https://www.opengl.org/wiki/S3_Texture_Compression.
[INFO] [stderr]      |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://www.opengl.org/wiki/S3_Texture_Compression.>`
[INFO] [stderr]      |
[INFO] [stderr]      = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr]      = note: `#[warn(rustdoc::bare_urls)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]     --> src/image_format.rs:1040:41
[INFO] [stderr]      |
[INFO] [stderr] 1040 |     /// S3TC DXT1 with 1-bit alpha, see https://www.opengl.org/wiki/S3_Texture_Compression.
[INFO] [stderr]      |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://www.opengl.org/wiki/S3_Texture_Compression.>`
[INFO] [stderr]      |
[INFO] [stderr]      = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]     --> src/image_format.rs:1042:24
[INFO] [stderr]      |
[INFO] [stderr] 1042 |     /// S3TC DXT3, see https://www.opengl.org/wiki/S3_Texture_Compression.
[INFO] [stderr]      |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://www.opengl.org/wiki/S3_Texture_Compression.>`
[INFO] [stderr]      |
[INFO] [stderr]      = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]     --> src/image_format.rs:1044:24
[INFO] [stderr]      |
[INFO] [stderr] 1044 |     /// S3TC DXT5, see https://www.opengl.org/wiki/S3_Texture_Compression.
[INFO] [stderr]      |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://www.opengl.org/wiki/S3_Texture_Compression.>`
[INFO] [stderr]      |
[INFO] [stderr]      = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `RawImage1d`
[INFO] [stderr]    --> src/texture/mod.rs:500:24
[INFO] [stderr]     |
[INFO] [stderr] 500 |     ///Transforms a Vec<RawImage1d> into a RawImage2d
[INFO] [stderr]     |                        ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(rustdoc::invalid_html_tags)]` on by default
[INFO] [stderr] help: try marking as source code
[INFO] [stderr]     |
[INFO] [stderr] 500 |     ///Transforms a `Vec<RawImage1d>` into a RawImage2d
[INFO] [stderr]     |                     +               +
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `RawImage2d`
[INFO] [stderr]    --> src/texture/mod.rs:704:24
[INFO] [stderr]     |
[INFO] [stderr] 704 |     ///Transforms a Vec<RawImage2d> into a RawImage3d
[INFO] [stderr]     |                        ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] help: try marking as source code
[INFO] [stderr]     |
[INFO] [stderr] 704 |     ///Transforms a `Vec<RawImage2d>` into a RawImage3d
[INFO] [stderr]     |                     +               +
[INFO] [stderr] 
[INFO] [stderr] warning: `glium` (lib doc) generated 7 warnings (run `cargo fix --lib -p glium` to apply 4 suggestions)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 4.08s
[INFO] running `Command { std: "docker" "inspect" "42bfc72d098fb45a3696401d6a56014ee782919b5ba7244f9bddff304b84aee5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "42bfc72d098fb45a3696401d6a56014ee782919b5ba7244f9bddff304b84aee5", kill_on_drop: false }`
[INFO] [stdout] 42bfc72d098fb45a3696401d6a56014ee782919b5ba7244f9bddff304b84aee5