[][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),
}

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.

LoadCapture(PathBufMsgSender<CapturedDocument>)

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 miliseconds each time it processes a transaction.

SimulateLongLowPrioritySceneBuild(u32)

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

Trait Implementations

impl Clone for DebugCommand[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Serialize for DebugCommand[src]

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

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

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

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

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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