Module highp

Source
Expand description

A high precision raster pipeline implementation.

Unlike lowp, this one implements all stages.

Just like Skia, this pipeline is implemented using f32x8.

For some reason, we are almost 2x slower. Maybe because Skia uses clang’s vector extensions and we’re using a manual implementation.

MacrosΒ§

blend_fn πŸ”’
blend_fn2 πŸ”’
blend_fn3 πŸ”’

StructsΒ§

Pipeline

ConstantsΒ§

STAGES
STAGE_WIDTH

FunctionsΒ§

apply_vector_mask πŸ”’
bicubic πŸ”’
bicubic_far πŸ”’
bicubic_near πŸ”’
bilinear πŸ”’
clamp_0 πŸ”’
clamp_a πŸ”’
clear πŸ”’
clip_color πŸ”’
color πŸ”’
color_burn πŸ”’
color_dodge πŸ”’
color_k πŸ”’
darken πŸ”’
destination_atop πŸ”’
destination_in πŸ”’
destination_out πŸ”’
destination_over πŸ”’
difference πŸ”’
evenly_spaced_2_stop_gradient πŸ”’
exclusion πŸ”’
exclusive_reflect πŸ”’
exclusive_repeat πŸ”’
fn_ptr
gather
gather_ix πŸ”’
gradient πŸ”’
gradient_lookup πŸ”’
hard_light πŸ”’
hue πŸ”’
hue_k πŸ”’
inv πŸ”’
just_return
lerp πŸ”’
lerp_1_float πŸ”’
lerp_u8 πŸ”’
lighten πŸ”’
load_8888 πŸ”’
load_8888_tail πŸ”’
load_dst
load_dst_tail
load_dst_u8
load_dst_u8_tail
load_mask_u8 πŸ”’
lum πŸ”’
luminosity πŸ”’
luminosity_k πŸ”’
mad πŸ”’
mask_2pt_conical_degenerates πŸ”’
mask_u8 πŸ”’
modulate πŸ”’
move_destination_to_source πŸ”’
move_source_to_destination πŸ”’
multiply πŸ”’
overlay πŸ”’
pad_x1 πŸ”’
plus πŸ”’
premultiply πŸ”’
reflect πŸ”’
reflect_x1 πŸ”’
repeat πŸ”’
repeat_x1 πŸ”’
sample πŸ”’
sampler_2x2 πŸ”’
sampler_4x4 πŸ”’
sat πŸ”’
saturation πŸ”’
saturation_k πŸ”’
scale_1_float πŸ”’
scale_u8 πŸ”’
screen πŸ”’
seed_shader πŸ”’
set_lum πŸ”’
set_sat πŸ”’
soft_light πŸ”’
source_atop πŸ”’
source_in πŸ”’
source_out πŸ”’
source_over πŸ”’
source_over_rgba
source_over_rgba_tail
start
store
store_8888 πŸ”’
store_8888_tail πŸ”’
store_tail
store_u8
store_u8_tail
tile πŸ”’
transform πŸ”’
two πŸ”’
ulp_sub πŸ”’
uniform_color πŸ”’
unnorm πŸ”’
xor πŸ”’
xy_to_2pt_conical_focal_on_circle πŸ”’
xy_to_2pt_conical_greater πŸ”’
xy_to_2pt_conical_well_behaved πŸ”’
xy_to_radius πŸ”’

Type AliasesΒ§

StageFn