[][src]Enum azul_webrender_api::DebugCommand

pub enum DebugCommand {
    SetFlags(DebugFlags),
    EnableDualSourceBlending(bool),
    FetchDocuments,
    FetchPasses,
    FetchClipScrollTree,
    FetchRenderTasks,
    FetchScreenshot,
    SaveCapture(PathBufCaptureBits),
    LoadCapture(PathBufSender<CapturedDocument>),
    ClearCaches(ClearCache),
    EnableNativeCompositor(bool),
    EnableMultithreading(bool),
    SetBatchingLookback(u32),
    InvalidateGpuCache,
    SimulateLongSceneBuild(u32),
    SimulateLongLowPrioritySceneBuild(u32),
    SetTransactionLogging(bool),
    SetPictureTileSize(Option<DeviceIntSize>),
}

Update of the state of built-in debugging facilities.

Variants

SetFlags(DebugFlags)

Sets the provided debug flags.

EnableDualSourceBlending(bool)

Configure if dual-source blending is used, if available.

FetchDocuments

Fetch current documents and display lists.

FetchPasses

Fetch current passes and batches.

FetchClipScrollTree

Fetch the spatial tree.

FetchRenderTasks

Fetch render tasks.

FetchScreenshot

Fetch screenshot.

SaveCapture(PathBufCaptureBits)

Save a capture of all the documents state.

Load a capture of all the documents state.

ClearCaches(ClearCache)

Clear cached resources, forcing them to be re-uploaded from templates.

EnableNativeCompositor(bool)

Enable/disable native compositor usage

EnableMultithreading(bool)

Enable/disable parallel job execution with rayon.

SetBatchingLookback(u32)

Sets the maximum amount of existing batches to visit before creating a new one.

InvalidateGpuCache

Invalidate GPU cache, forcing the update from the CPU mirror.

SimulateLongSceneBuild(u32)

Causes the scene builder to pause for a given amount of milliseconds each time it processes a transaction.

SimulateLongLowPrioritySceneBuild(u32)

Causes the low priority scene builder to pause for a given amount of milliseconds each time it processes a transaction.

SetTransactionLogging(bool)

Logs transactions to a file for debugging purposes

SetPictureTileSize(Option<DeviceIntSize>)

Set an override tile size to use for picture caches

Trait Implementations

impl Clone for DebugCommand[src]

impl<'de> Deserialize<'de> for DebugCommand[src]

impl Serialize for DebugCommand[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.