pub enum DebugCommand {
Show 14 variants
SetFlags(DebugFlags),
EnableDualSourceBlending(bool),
FetchDocuments,
FetchPasses,
FetchClipScrollTree,
FetchRenderTasks,
FetchScreenshot,
SaveCapture(PathBuf, CaptureBits),
LoadCapture(PathBuf, MsgSender<CapturedDocument>),
ClearCaches(ClearCache),
InvalidateGpuCache,
SimulateLongSceneBuild(u32),
SimulateLongLowPrioritySceneBuild(u32),
SetTransactionLogging(bool),
}
Expand description
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(PathBuf, CaptureBits)
Save a capture of all the documents state.
LoadCapture(PathBuf, MsgSender<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 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§
Source§impl Clone for DebugCommand
impl Clone for DebugCommand
Source§fn clone(&self) -> DebugCommand
fn clone(&self) -> DebugCommand
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more