1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//! Provides rendering contexts that act as the main point of interaction with the GPU.
//!
//! WebGlitz currently only provides a single threaded runtime that can run on the main WASM thread,
//! see the documentation for the [single_threaded] module for details.

mod context_options;
pub use self::context_options::{ContextOptions, ContextOptionsBuilder, PowerPreference};

mod rendering_context;
pub use self::rendering_context::{
    Connection, CreateGraphicsPipelineError, Execution, RenderingContext, ShaderCompilationError,
    UnsupportedSampleCount,
};

pub mod single_threaded;

pub mod state;

mod supported_samples;
pub use self::supported_samples::{SupportedSamples, SupportedSamplesIter};

pub(crate) mod executor_job;
pub(crate) mod fenced;
pub(crate) mod index_lru;