atagen

monolith

public
Star0
Watch0
2a8a1002a4a2b302ef217490f8c13c23f3b50ada
1
ssh://brewery@pls.lobotomise.me:33/atagen/monolith.git

Blame: crates/render-vk/src/lib.rs

824bf02b6e55atagen2026-10-16 09:15 UTC1
//! Vulkan renderer implementing smithay's renderer traits.
824bf02b6e55atagen2026-10-16 09:15 UTC2
//!
824bf02b6e55atagen2026-10-16 09:15 UTC3
//! A frame records its draws as a list of operations and submits them in one
824bf02b6e55atagen2026-10-16 09:15 UTC4
//! command buffer when it finishes, returning a fence as its sync point.
35d6f20f8eb6atagen2026-10-17 05:07 UTC5
//!
35d6f20f8eb6atagen2026-10-17 05:07 UTC6
//! Most `unsafe` here is a plain Vulkan call. Those rely on one invariant,
35d6f20f8eb6atagen2026-10-17 05:07 UTC7
//! stated once instead of at each call. Every handle is created from the
35d6f20f8eb6atagen2026-10-17 05:07 UTC8
//! `Shared` device that an `Arc` keeps alive past it, it is destroyed only by
35d6f20f8eb6atagen2026-10-17 05:07 UTC9
//! its owner's `Drop`, and command buffers are recorded on the thread that
35d6f20f8eb6atagen2026-10-17 05:07 UTC10
//! owns the renderer. `// SAFETY:` marks the sites that need more than that.
57f44a63d99fatagen2026-10-16 05:34 UTC11
de1e9f21296catagen2026-10-17 04:49 UTC12
mod barrier;
824bf02b6e55atagen2026-10-16 09:15 UTC13
mod device;
7de49c2aa70batagen2026-10-16 09:27 UTC14
mod dmabuf;
824bf02b6e55atagen2026-10-16 09:15 UTC15
mod error;
824bf02b6e55atagen2026-10-16 09:15 UTC16
mod format;
824bf02b6e55atagen2026-10-16 09:15 UTC17
mod frame;
824bf02b6e55atagen2026-10-16 09:15 UTC18
mod image;
824bf02b6e55atagen2026-10-16 09:15 UTC19
mod pipeline;
824bf02b6e55atagen2026-10-16 09:15 UTC20
mod renderer;
e0b486d6097fatagen2026-10-19 07:26 UTC21
mod staging;
824bf02b6e55atagen2026-10-16 09:15 UTC22
mod sync;
824bf02b6e55atagen2026-10-16 09:15 UTC23
mod transform;
824bf02b6e55atagen2026-10-16 09:15 UTC24
7de49c2aa70batagen2026-10-16 09:27 UTC25
pub use dmabuf::VulkanAllocator;
6dfb54e27e7fatagen2026-10-19 07:53 UTC26
pub use error::{Error, device_lost};
47259c39793fatagen2026-10-17 10:13 UTC27
pub use frame::{Clip, Effect, Transition, VulkanFrame};
824bf02b6e55atagen2026-10-16 09:15 UTC28
pub use image::{VulkanImage, VulkanMapping, VulkanTarget, VulkanTexture};
0f11410be91batagen2026-10-17 03:59 UTC29
pub use renderer::{DmabufImporter, ShmStager, StagedShm, VulkanRenderer};