[][src]Enum webrender_api::DebugCommand

pub enum DebugCommand {
    SetFlags(DebugFlags),
    EnableDualSourceBlending(bool),
    FetchDocuments,
    FetchPasses,
    FetchClipScrollTree,
    FetchRenderTasks,
    FetchScreenshot,
    SaveCapture(PathBufCaptureBits),
    LoadCapture(PathBufMsgSender<CapturedDocument>),
    ClearCaches(ClearCache),
    InvalidateGpuCache,
    SimulateLongSceneBuild(u32),
    SimulateLongLowPrioritySceneBuild(u32),
    SetTransactionLogging(bool),
}

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 clip-scroll 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.

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

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: 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.