glium 0.32.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 #852793 2023-07-03T20:01:41.307805+00:00
# rustc version
rustc 1.72.0-nightly (839e9a6e1 2023-07-02)# 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.32.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/glium-0.32.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\", \"-20230702-1.72.0-nightly-839e9a6e1\", \"--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] c1170f5e04986bb79e36fc95274c4391167db73db3f5042e62134eedce3c626a
[INFO] running `Command { std: "docker" "start" "-a" "c1170f5e04986bb79e36fc95274c4391167db73db3f5042e62134eedce3c626a", kill_on_drop: false }`
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: spirv, tutorial-07, info, tutorial-01, tutorial-13, tessellation, tutorial-10, fxaa, sprites-batching, gpgpu, picking, displacement_mapping, tutorial-06, compute_image, multiple_windows, 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.32.1 (/opt/rustwide/workdir)
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/semaphore.rs:42:67
[INFO] [stderr]    |
[INFO] [stderr] 42 | ...ure can be in. See https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImageLayout.html
[INFO] [stderr]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkImageLayout.html>`
[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:1037:38
[INFO] [stderr]      |
[INFO] [stderr] 1037 |     /// 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] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]     --> src/image_format.rs:1039:41
[INFO] [stderr]      |
[INFO] [stderr] 1039 |     /// 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:1041:24
[INFO] [stderr]      |
[INFO] [stderr] 1041 |     /// 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:1043:24
[INFO] [stderr]      |
[INFO] [stderr] 1043 |     /// 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:527:24
[INFO] [stderr]     |
[INFO] [stderr] 527 |     ///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] 527 |     ///Transforms a `Vec<RawImage1d>` into a RawImage2d
[INFO] [stderr]     |                     +               +
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `RawImage2d`
[INFO] [stderr]    --> src/texture/mod.rs:731:24
[INFO] [stderr]     |
[INFO] [stderr] 731 |     ///Transforms a Vec<RawImage2d> into a RawImage3d
[INFO] [stderr]     |                        ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] help: try marking as source code
[INFO] [stderr]     |
[INFO] [stderr] 731 |     ///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 5 suggestions)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 5.19s
[INFO] running `Command { std: "docker" "inspect" "c1170f5e04986bb79e36fc95274c4391167db73db3f5042e62134eedce3c626a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c1170f5e04986bb79e36fc95274c4391167db73db3f5042e62134eedce3c626a", kill_on_drop: false }`
[INFO] [stdout] c1170f5e04986bb79e36fc95274c4391167db73db3f5042e62134eedce3c626a