Lines Matching full:mask
133 int transparent, uint8_t *mask) in cursor_set_mono() argument
138 bool expand_bitmap_only = image == mask; in cursor_set_mono()
143 * Converts a monochrome bitmap with XOR mask 'image' and AND mask 'mask': in cursor_set_mono()
150 if (transparent && mask[x/8] & bit) { in cursor_set_mono()
157 } else if (!transparent && !(mask[x/8] & bit)) { in cursor_set_mono()
169 mask += bpl; in cursor_set_mono()
200 void cursor_get_mono_mask(QEMUCursor *c, int transparent, uint8_t *mask) in cursor_get_mono_mask() argument
207 memset(mask, 0, bpl * c->height); in cursor_get_mono_mask()
213 mask[x/8] |= bit; in cursor_get_mono_mask()
217 mask[x/8] |= bit; in cursor_get_mono_mask()
225 mask += bpl; in cursor_get_mono_mask()