Function webrender::quad::prepare_quad

source ยท
pub fn prepare_quad(
    pattern_builder: &dyn PatternBuilder,
    local_rect: &LayoutRect,
    prim_instance_index: PrimitiveInstanceIndex,
    prim_spatial_node_index: SpatialNodeIndex,
    clip_chain: &ClipChainInstance,
    device_pixel_scale: DevicePixelScale,
    frame_context: &FrameBuildingContext<'_>,
    pic_context: &PictureContext,
    targets: &[CommandBufferIndex],
    interned_clips: &DataStore<ClipIntern>,
    frame_state: &mut FrameBuildingState<'_>,
    pic_state: &mut PictureState,
    scratch: &mut PrimitiveScratchBuffer,
)