Struct webrender::gpu_cache::GpuCacheUpdateList
source · pub struct GpuCacheUpdateList {
pub frame_id: FrameId,
pub clear: bool,
pub height: i32,
pub updates: Vec<GpuCacheUpdate>,
pub blocks: Vec<GpuBlockData>,
pub debug_commands: Vec<GpuCacheDebugCmd>,
}
Fields§
§frame_id: FrameId
The frame current update list was generated from.
clear: bool
Whether the texture should be cleared before updates are applied.
height: i32
The current height of the texture. The render thread should resize the texture if required.
updates: Vec<GpuCacheUpdate>
List of updates to apply.
blocks: Vec<GpuBlockData>
A flat list of GPU blocks that are pending upload to GPU memory.
debug_commands: Vec<GpuCacheDebugCmd>
Whole state GPU block metadata for debugging.
Trait Implementations§
source§impl MallocSizeOf for GpuCacheUpdateList
impl MallocSizeOf for GpuCacheUpdateList
source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
Auto Trait Implementations§
impl Freeze for GpuCacheUpdateList
impl RefUnwindSafe for GpuCacheUpdateList
impl Send for GpuCacheUpdateList
impl Sync for GpuCacheUpdateList
impl Unpin for GpuCacheUpdateList
impl UnwindSafe for GpuCacheUpdateList
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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