Function webrender::prepare::update_brush_segment_clip_task
source ยท pub fn update_brush_segment_clip_task(
segment: &BrushSegment,
clip_chain: Option<&ClipChainInstance>,
root_spatial_node_index: SpatialNodeIndex,
surface_index: SurfaceIndex,
frame_context: &FrameBuildingContext<'_>,
frame_state: &mut FrameBuildingState<'_>,
clip_data_store: &mut DataStore<ClipIntern>,
device_pixel_scale: DevicePixelScale,
) -> ClipMaskKind
Expand description
Write out to the clip mask instances array the correct clip mask config for this segment.