Lines Matching refs:sf
498 pixel_t sf, df; in blending() local
499 blend_factor(c, &sf, c->state.blend.src, fragment, fb); in blending()
503 gglMulAddx(fragment->c[1], sf.c[1], gglMulx(fb->c[1], df.c[1])); in blending()
505 gglMulAddx(fragment->c[2], sf.c[2], gglMulx(fb->c[2], df.c[2])); in blending()
507 gglMulAddx(fragment->c[3], sf.c[3], gglMulx(fb->c[3], df.c[3])); in blending()
510 blend_factor(c, &sf, c->state.blend.src_alpha, fragment, fb); in blending()
515 gglMulAddx(fragment->c[0], sf.c[0], gglMulx(fb->c[0], df.c[0])); in blending()
808 uint8_t& sf = fragment.s[j]; in scanline() local
816 sf = st; in scanline()
827 rescale(Cf, sf, Ct, st); in scanline()
834 if (sf>8) Cc = (Cc * ((1<<sf)-1))>>8; in scanline()
835 else if (sf<8) Cc = (Cc - (Cc>>(8-sf)))>>(8-sf); in scanline()
842 rescale(Cf, sf, Ct, st); in scanline()