Searched refs:old (Results 1 – 2 of 2) sorted by relevance
133 for (old, new) in self_row.iter_mut().zip(other_row.iter()) { in blend()136 old.data = new.data; in blend()144 let o_r = (((old.data >> 16) & 0xFF) * n_alpha) >> 8; in blend()145 let o_g = (((old.data >> 8) & 0xFF) * n_alpha) >> 8; in blend()146 let o_b = ((old.data & 0xFF) * n_alpha) >> 8; in blend()148 old.data = ((o_r << 16) | (o_g << 8) | o_b) + ((n_r << 16) | (n_g << 8) | n_b); in blend()
204 let old = &mut window_data[start + k].data; in image_fast() localVariable206 *old = new; in image_fast()209 let rb = ((n_alpha * (*old & 0x00FF00FF)) in image_fast()212 let ag = (n_alpha * ((*old & 0xFF00FF00) >> 8)) in image_fast()215 *old = (rb & 0x00FF00FF) | (ag & 0xFF00FF00); in image_fast()