if (x == 0xffffffff || y == 0xffffffff)
buffer[i] = 0;
else
- buffer[i] = image->fetch_pixel (image, x, y);
+ buffer[i] = image->fetch_pixel_32 (image, x, y);
}
}
uint32_t color;
uint32_t *end;
- color = image->fetch_pixel (image, 0, 0);
+ color = image->fetch_pixel_32 (image, 0, 0);
end = buffer + width;
while (buffer < end)
uint64_t color;
uint64_t *end;
- color = image->fetch_pixel (image, 0, 0);
+ color = image->fetch_pixel_64 (image, 0, 0);
end = buffer + width;
while (buffer < end)
bits->fetch_scanline_raw_64 =
READ_ACCESS(pixman_fetchProcForPicture64)(bits);
- bits->fetch_pixel = READ_ACCESS(pixman_fetchPixelProcForPicture32)(bits);
+ bits->fetch_pixel_32 = READ_ACCESS(pixman_fetchPixelProcForPicture32)(bits);
+ bits->fetch_pixel_64 = READ_ACCESS(pixman_fetchPixelProcForPicture64)(bits);
}
static uint32_t *
uint32_t * free_me;
int rowstride; /* in number of uint32_t's */
- fetchPixelProc32 fetch_pixel;
-
+ fetchPixelProc32 fetch_pixel_32;
+ fetchPixelProc64 fetch_pixel_64;
+
scanStoreProc store_scanline_32;
scanStoreProc store_scanline_64;