Lines Matching refs:scratch
501 blt_opacity(PixmapPtr scratch,
513 if (x2 > scratch->drawable.width)
514 x2 = scratch->drawable.width;
520 ptr = scratch->devPrivate.ptr;
521 ptr += scratch->devKind * y;
528 ptr += scratch->devKind;
533 blt_unaligned_box_row(PixmapPtr scratch,
541 if (y2 > scratch->drawable.height)
542 y2 = scratch->drawable.height;
557 blt_opacity(scratch,
563 blt_opacity(scratch,
571 blt_opacity(scratch,
578 blt_opacity(scratch,
586 lerp32_opacity(PixmapPtr scratch,
595 ptr = (uint32_t*)((uint8_t *)scratch->devPrivate.ptr + scratch->devKind * y);
597 stride = scratch->devKind / 4;
633 lerp32_unaligned_box_row(PixmapPtr scratch, uint32_t color,
654 lerp32_opacity(scratch, color,
662 lerp32_opacity(scratch, color,
669 lerp32_opacity(scratch, color,
675 lerp32_opacity(scratch, color,
1263 PixmapPtr scratch;
1284 scratch = sna_pixmap_create_unattached(screen,
1289 scratch = sna_pixmap_create_upload(screen,
1293 if (!scratch)
1296 memset(scratch->devPrivate.ptr, 0xff,
1297 scratch->devKind * (extents.y2 - extents.y1));
1308 blt_unaligned_box_row(scratch, &extents, t, y1, y1 + 1,
1312 blt_unaligned_box_row(scratch, &extents, t, y1, y1 + 1,
1318 blt_unaligned_box_row(scratch, &extents, t, y1, y2,
1322 blt_unaligned_box_row(scratch, &extents, t, y2, y2+1,
1326 mask = CreatePicture(0, &scratch->drawable,
1339 sna_pixmap_destroy(scratch);