pub struct RenderStats {Show 38 fields
pub uploaded_buffer_bytes: u64,
pub buffer_write_calls: usize,
pub reused_buffers: usize,
pub upload_shadow_bytes: usize,
pub quads: usize,
pub shadows: usize,
pub images: usize,
pub image_uploads: usize,
pub gpu_image_cache_bytes: u64,
pub cpu_image_cache_bytes: u64,
pub image_resource_entries: usize,
pub image_resources_loading: usize,
pub image_resources_failed: usize,
pub animated_images: usize,
pub active_animations: usize,
pub svgs: usize,
pub svg_rasterizations: usize,
pub gpu_svg_cache_bytes: u64,
pub paths: usize,
pub path_vertices: usize,
pub skipped_paths: usize,
pub custom_shader_instances: usize,
pub custom_shader_compilations: usize,
pub cached_custom_shader_pipelines: usize,
pub skipped_custom_shader_instances: usize,
pub text_areas: usize,
pub draw_calls: usize,
pub reshaped_text_areas: usize,
pub retained_text_areas: usize,
pub retained_text_layouts: usize,
pub retained_text_renderers: usize,
pub cached_text_areas: usize,
pub compositing_layers: usize,
pub layer_passes: usize,
pub reused_compositing_layers: usize,
pub blur_passes: usize,
pub layer_texture_bytes: u64,
pub skipped_layer_effects: usize,
}Expand description
Renderer work submitted for the most recently completed frame.
Fields§
§uploaded_buffer_bytes: u64Bytes written to retained primitive GPU buffers this frame, excluding texture uploads.
buffer_write_calls: usize§reused_buffers: usize§upload_shadow_bytes: usizeBounded CPU shadows used to compare rotating physical GPU buffers.
quads: usize§shadows: usizeAnalytic drop and inset shadows submitted with the instanced shape draw.
images: usize§image_uploads: usizeImages uploaded to a GPU texture during this frame.
gpu_image_cache_bytes: u64Decoded RGBA bytes retained in the renderer’s bounded texture cache.
cpu_image_cache_bytes: u64Decoded RGBA bytes retained by asynchronous image resources on the CPU.
image_resource_entries: usize§image_resources_loading: usize§image_resources_failed: usize§animated_images: usize§active_animations: usize§svgs: usize§svg_rasterizations: usizeSVG masks rasterized and uploaded during this frame.
gpu_svg_cache_bytes: u64One-channel alpha bytes retained in the renderer’s bounded SVG cache.
paths: usize§path_vertices: usizeDe-indexed tessellated path vertices uploaded during this frame.
skipped_paths: usizeVisible paths omitted because the bounded per-frame GPU path budget was exhausted.
custom_shader_instances: usizeVisible application-WGSL rectangles submitted through the instanced custom pipeline.
custom_shader_compilations: usizeNew custom shader pipelines compiled during this frame.
cached_custom_shader_pipelines: usizeCustom pipelines retained by this window’s bounded cache.
skipped_custom_shader_instances: usizeVisible custom rectangles omitted by the per-frame shader or instance limits.
text_areas: usize§draw_calls: usize§reshaped_text_areas: usizeText buffers whose content, metrics, or wrapping changed this frame.
retained_text_areas: usizeStable element-addressed text buffers retained by this window after eviction.
retained_text_layouts: usizeContent/style-addressed text layouts retained by this window after eviction.
retained_text_renderers: usizeGlyphon renderers retained for painter-order-separated text batches.
cached_text_areas: usize§compositing_layers: usizeCompositing groups drawn from their own offscreen texture this frame.
layer_passes: usizeOffscreen group passes recorded this frame.
reused_compositing_layers: usizeStable group textures composited without redrawing their content.
blur_passes: usizeSeparable Gaussian passes recorded for subtree, drop-shadow, and backdrop blurs.
layer_texture_bytes: u64Offscreen compositing bytes retained by this window, bounded by
MAX_LAYER_TEXTURE_BYTES.
skipped_layer_effects: usizeDeclared layer effects painted without their effect because a bound was reached.
Trait Implementations§
Source§impl Clone for RenderStats
impl Clone for RenderStats
impl Copy for RenderStats
Source§impl Debug for RenderStats
impl Debug for RenderStats
Source§impl Default for RenderStats
impl Default for RenderStats
impl Eq for RenderStats
Source§impl PartialEq for RenderStats
impl PartialEq for RenderStats
impl StructuralPartialEq for RenderStats
Auto Trait Implementations§
impl Forget for RenderStats
impl Freeze for RenderStats
impl Move for RenderStats
impl RefUnwindSafe for RenderStats
impl Send for RenderStats
impl Sync for RenderStats
impl Unpin for RenderStats
impl UnsafeUnpin for RenderStats
impl UnwindSafe for RenderStats
Blanket Implementations§
impl<T> Action for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.