}
static void
-bits_image_fetch_transformed (pixman_image_t * pict, int x, int y, int width,
- uint32_t *buffer, uint32_t *mask,
- uint32_t maskBits)
+bits_image_fetch_transformed (pixman_image_t * pict, int x, int y,
+ int width, uint32_t *buffer,
+ const uint32_t *mask, uint32_t maskBits)
{
uint32_t *bits;
int32_t stride;
}
static void
-bits_image_fetch_solid_32 (pixman_image_t * image,
- int x, int y, int width,
- uint32_t *buffer,
- uint32_t *mask, uint32_t maskBits)
+bits_image_fetch_solid_32 (pixman_image_t * image, int x, int y,
+ int width, uint32_t *buffer,
+ const uint32_t *mask, uint32_t maskBits)
{
uint32_t color[2];
uint32_t *end;
}
static void
-bits_image_fetch_solid_64 (pixman_image_t * image,
- int x, int y, int width,
- uint32_t *b,
- uint32_t *unused,
- uint32_t unused2)
+bits_image_fetch_solid_64 (pixman_image_t * image, int x, int y,
+ int width, uint32_t *b,
+ const uint32_t *unused, uint32_t unused2)
{
uint32_t color[2];
uint32_t *coords = (uint32_t *)color;
}
static void
-bits_image_fetch_untransformed_32 (pixman_image_t * image,
- int x, int y, int width,
- uint32_t *buffer,
- uint32_t *mask, uint32_t maskBits)
+bits_image_fetch_untransformed_32 (pixman_image_t * image, int x, int y,
+ int width, uint32_t *buffer,
+ const uint32_t *mask, uint32_t maskBits)
{
if (image->common.repeat == PIXMAN_REPEAT_NONE)
{
}
static void
-bits_image_fetch_untransformed_64 (pixman_image_t * image,
- int x, int y, int width,
- uint32_t *buffer,
- uint32_t *unused, uint32_t unused2)
+bits_image_fetch_untransformed_64 (pixman_image_t * image, int x, int y,
+ int width, uint32_t *buffer,
+ const uint32_t *unused, uint32_t unused2)
{
if (image->common.repeat == PIXMAN_REPEAT_NONE)
{
(bits->common.repeat == PIXMAN_REPEAT_NONE ||
bits->common.repeat == PIXMAN_REPEAT_NORMAL))
{
- image->common.get_scanline_64 =
- bits_image_fetch_untransformed_64;
- image->common.get_scanline_32 =
- bits_image_fetch_untransformed_32;
+ image->common.get_scanline_64 = bits_image_fetch_untransformed_64;
+ image->common.get_scanline_32 = bits_image_fetch_untransformed_32;
}
else
{
#include "pixman-private.h"
static void
-conical_gradient_get_scanline_32 (pixman_image_t *image,
- int x, int y, int width,
- uint32_t *buffer,
- uint32_t *mask, uint32_t maskBits)
+conical_gradient_get_scanline_32 (pixman_image_t *image, int x, int y,
+ int width, uint32_t *buffer,
+ const uint32_t *mask, uint32_t maskBits)
{
source_image_t *source = (source_image_t *)image;
gradient_t *gradient = (gradient_t *)source;
* depth, but that's a project for the future.
*/
void
-_pixman_image_get_scanline_64_generic (pixman_image_t * pict,
- int x, int y, int width,
- uint32_t *buffer,
- uint32_t *mask, uint32_t maskBits)
+_pixman_image_get_scanline_64_generic (pixman_image_t * pict, int x, int y,
+ int width, uint32_t *buffer,
+ const uint32_t *mask, uint32_t maskBits)
{
uint32_t *mask8 = NULL;
}
void
-_pixman_image_get_scanline_32 (pixman_image_t *image, int x, int y, int width,
- uint32_t *buffer, uint32_t *mask, uint32_t mask_bits)
+_pixman_image_get_scanline_32 (pixman_image_t *image, int x, int y, int width, uint32_t *buffer,
+ const uint32_t *mask, uint32_t mask_bits)
{
image->common.get_scanline_32 (image, x, y, width, buffer, mask, mask_bits);
}
* a uint64_t *buffer.
*/
void
-_pixman_image_get_scanline_64 (pixman_image_t *image, int x, int y, int width,
- uint32_t *buffer, uint32_t *unused, uint32_t unused2)
+_pixman_image_get_scanline_64 (pixman_image_t *image, int x, int y, int width, uint32_t *buffer,
+ const uint32_t *unused, uint32_t unused2)
{
image->common.get_scanline_64 (image, x, y, width, buffer, unused, unused2);
}
}
static void
-linear_gradient_get_scanline_32 (pixman_image_t *image, int x, int y, int width,
- uint32_t *buffer, uint32_t *mask, uint32_t maskBits)
+linear_gradient_get_scanline_32 (pixman_image_t *image, int x, int y, int width, uint32_t *buffer,
+ const uint32_t *mask, uint32_t maskBits)
{
pixman_vector_t v, unit;
pixman_fixed_32_32_t l;
typedef void (*scanFetchProc) (pixman_image_t *,
int, int, int, uint32_t *,
- uint32_t *, uint32_t);
+ const uint32_t *, uint32_t);
typedef enum
{
int y,
int width,
uint32_t *buffer,
- uint32_t *mask,
+ const uint32_t *mask,
uint32_t maskBits);
source_pict_class_t
int height);
void
-_pixman_image_get_scanline_32 (pixman_image_t *image, int x, int y, int width,
- uint32_t *buffer, uint32_t *mask,
- uint32_t mask_bits);
+_pixman_image_get_scanline_32 (pixman_image_t *image, int x, int y, int width, uint32_t *buffer,
+ const uint32_t *mask, uint32_t mask_bits);
/* Even thought the type of buffer is uint32_t *, the function actually expects
* a uint64_t *buffer.
*/
void
-_pixman_image_get_scanline_64 (pixman_image_t *image, int x, int y, int width,
- uint32_t *buffer,
- uint32_t *unused, uint32_t unused2);
+_pixman_image_get_scanline_64 (pixman_image_t *image, int x, int y, int width, uint32_t *buffer,
+ const uint32_t *unused, uint32_t unused2);
void
_pixman_image_store_scanline_32 (bits_image_t *image, int x, int y, int width,
#include "pixman-private.h"
static void
-radial_gradient_get_scanline_32 (pixman_image_t *image, int x, int y, int width,
- uint32_t *buffer, uint32_t *mask, uint32_t maskBits)
+radial_gradient_get_scanline_32 (pixman_image_t *image, int x, int y, int width, uint32_t *buffer,
+ const uint32_t *mask, uint32_t maskBits)
{
/*
* In the radial gradient problem we are given two circles (c₁,r₁) and
#include "pixman-private.h"
static void
-solid_fill_get_scanline_32 (pixman_image_t *image, int x, int y, int width,
- uint32_t *buffer, uint32_t *mask, uint32_t maskBits)
+solid_fill_get_scanline_32 (pixman_image_t *image, int x, int y, int width, uint32_t *buffer,
+ const uint32_t *mask, uint32_t maskBits)
{
uint32_t *end = buffer + width;
register uint32_t color = ((solid_fill_t *)image)->color;