Home | History | Annotate | Download | only in src

Lines Matching defs:argb

1070 drmmode_cursor_pixel(xf86CrtcPtr crtc, uint32_t *argb, Bool *premultiplied,
1073 uint32_t alpha = *argb >> 24;
1079 if (alpha == 0 && (*argb & 0xffffff) != 0) {
1089 if (*argb > (alpha | alpha << 8 | alpha << 16 | alpha << 24)) {
1099 *argb = 0;
1105 rgb[i] = (*argb >> (i * 8)) & 0xff;
1123 *argb = alpha << 24 | rgb[2] << 16 | rgb[1] << 8 | rgb[0];
1136 uint32_t argb;
1162 argb = image[srcoffset];
1163 if (!drmmode_cursor_pixel(crtc, &argb, &premultiplied,
1167 ptr[dsty * info->cursor_w + dstx] = cpu_to_le32(argb);
1178 argb = image[i];
1179 if (!drmmode_cursor_pixel(crtc, &argb, &premultiplied,
1183 ptr[i] = cpu_to_le32(argb);