pub enum DebugCommand {
Show 14 variants
    SetFlags(DebugFlags),
    GetDebugFlags(Sender<DebugFlags>),
    SaveCapture(PathBuf, CaptureBits),
    LoadCapture(PathBuf, Option<(u32, u32)>, Sender<CapturedDocument>),
    StartCaptureSequence(PathBuf, CaptureBits),
    StopCaptureSequence,
    ClearCaches(ClearCache),
    EnableNativeCompositor(bool),
    SetBatchingLookback(u32),
    InvalidateGpuCache,
    SimulateLongSceneBuild(u32),
    SetPictureTileSize(Option<DeviceIntSize>),
    SetMaximumSurfaceSize(Option<usize>),
    GenerateFrame,
}Expand description
Update of the state of built-in debugging facilities.
Variants§
SetFlags(DebugFlags)
Sets the provided debug flags.
GetDebugFlags(Sender<DebugFlags>)
Get current debug flags
SaveCapture(PathBuf, CaptureBits)
Save a capture of all the documents state.
LoadCapture(PathBuf, Option<(u32, u32)>, Sender<CapturedDocument>)
Load a capture of all the documents state.
StartCaptureSequence(PathBuf, CaptureBits)
Start capturing a sequence of scene/frame changes.
StopCaptureSequence
Stop capturing a sequence of scene/frame changes.
ClearCaches(ClearCache)
Clear cached resources, forcing them to be re-uploaded from templates.
EnableNativeCompositor(bool)
Enable/disable native compositor usage
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.
SetPictureTileSize(Option<DeviceIntSize>)
Set an override tile size to use for picture caches
SetMaximumSurfaceSize(Option<usize>)
Set an override for max off-screen surface size
GenerateFrame
Generate a frame to force a redraw / recomposite
Auto Trait Implementations§
impl Freeze for DebugCommand
impl RefUnwindSafe for DebugCommand
impl Send for DebugCommand
impl Sync for DebugCommand
impl Unpin for DebugCommand
impl UnwindSafe for DebugCommand
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more