diff options
author | marha <marha@users.sourceforge.net> | 2012-10-04 10:53:47 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-10-04 10:53:47 +0200 |
commit | 0130346adbce7e6b2422429887fc46c76806d845 (patch) | |
tree | 1b88028d42d79ab8062581d361a720b04a87fbc0 /pixman | |
parent | 7ed9dbafdbc724c1030404f29678559134de559b (diff) | |
download | vcxsrv-0130346adbce7e6b2422429887fc46c76806d845.tar.gz vcxsrv-0130346adbce7e6b2422429887fc46c76806d845.tar.bz2 vcxsrv-0130346adbce7e6b2422429887fc46c76806d845.zip |
randrproto mesa pixman git update 4 oct 2012
randrproto: 4fcbd8584e55ff789522a38a41a33c34446d1455
mesa: 185d6df3c10a7ff5defe163af614bfc41088910b
pixman: 2e17b6dd4ee7c32684fb7ffc70d3ad3ebf7cb2ef
Diffstat (limited to 'pixman')
-rw-r--r-- | pixman/pixman/pixman-conical-gradient.c | 2 | ||||
-rw-r--r-- | pixman/pixman/pixman-glyph.c | 10 | ||||
-rw-r--r-- | pixman/pixman/pixman-linear-gradient.c | 4 | ||||
-rw-r--r-- | pixman/pixman/pixman-radial-gradient.c | 4 | ||||
-rw-r--r-- | pixman/pixman/pixman-solid-fill.c | 2 | ||||
-rw-r--r-- | pixman/pixman/pixman-trap.c | 10 | ||||
-rw-r--r-- | pixman/pixman/pixman.c | 10 | ||||
-rw-r--r-- | pixman/pixman/pixman.h | 24 |
8 files changed, 33 insertions, 33 deletions
diff --git a/pixman/pixman/pixman-conical-gradient.c b/pixman/pixman/pixman-conical-gradient.c index 8b52176e4..05d3595b6 100644 --- a/pixman/pixman/pixman-conical-gradient.c +++ b/pixman/pixman/pixman-conical-gradient.c @@ -180,7 +180,7 @@ _pixman_conical_gradient_iter_init (pixman_image_t *image, pixman_iter_t *iter) } PIXMAN_EXPORT pixman_image_t * -pixman_image_create_conical_gradient (pixman_point_fixed_t * center, +pixman_image_create_conical_gradient (const pixman_point_fixed_t * center, pixman_fixed_t angle, const pixman_gradient_stop_t *stops, int n_stops) diff --git a/pixman/pixman/pixman-glyph.c b/pixman/pixman/pixman-glyph.c index 30a409908..15b3f1fea 100644 --- a/pixman/pixman/pixman-glyph.c +++ b/pixman/pixman/pixman-glyph.c @@ -354,7 +354,7 @@ pixman_glyph_get_extents (pixman_glyph_cache_t *cache, PIXMAN_EXPORT pixman_format_code_t pixman_glyph_get_mask_format (pixman_glyph_cache_t *cache, int n_glyphs, - pixman_glyph_t * glyphs) + const pixman_glyph_t *glyphs) { pixman_format_code_t format = PIXMAN_a1; int i; @@ -401,7 +401,7 @@ pixman_composite_glyphs_no_mask (pixman_op_t op, int32_t dest_y, pixman_glyph_cache_t *cache, int n_glyphs, - pixman_glyph_t *glyphs) + const pixman_glyph_t *glyphs) { pixman_region32_t region; pixman_format_code_t glyph_format = PIXMAN_null; @@ -502,7 +502,7 @@ static void add_glyphs (pixman_glyph_cache_t *cache, pixman_image_t *dest, int off_x, int off_y, - int n_glyphs, pixman_glyph_t *glyphs) + int n_glyphs, const pixman_glyph_t *glyphs) { pixman_format_code_t glyph_format = PIXMAN_null; uint32_t glyph_flags = 0; @@ -560,7 +560,7 @@ add_glyphs (pixman_glyph_cache_t *cache, { if (!white_img) { - pixman_color_t white = { 0xffff, 0xffff, 0xffff, 0xffff }; + static const pixman_color_t white = { 0xffff, 0xffff, 0xffff, 0xffff }; if (!(white_img = pixman_image_create_solid_fill (&white))) goto out; @@ -651,7 +651,7 @@ pixman_composite_glyphs (pixman_op_t op, int32_t height, pixman_glyph_cache_t *cache, int n_glyphs, - pixman_glyph_t *glyphs) + const pixman_glyph_t *glyphs) { pixman_image_t *mask; diff --git a/pixman/pixman/pixman-linear-gradient.c b/pixman/pixman/pixman-linear-gradient.c index 32b8ba786..e51136827 100644 --- a/pixman/pixman/pixman-linear-gradient.c +++ b/pixman/pixman/pixman-linear-gradient.c @@ -255,8 +255,8 @@ _pixman_linear_gradient_iter_init (pixman_image_t *image, pixman_iter_t *iter) } PIXMAN_EXPORT pixman_image_t * -pixman_image_create_linear_gradient (pixman_point_fixed_t * p1, - pixman_point_fixed_t * p2, +pixman_image_create_linear_gradient (const pixman_point_fixed_t * p1, + const pixman_point_fixed_t * p2, const pixman_gradient_stop_t *stops, int n_stops) { diff --git a/pixman/pixman/pixman-radial-gradient.c b/pixman/pixman/pixman-radial-gradient.c index 715711fd6..41bb79d73 100644 --- a/pixman/pixman/pixman-radial-gradient.c +++ b/pixman/pixman/pixman-radial-gradient.c @@ -420,8 +420,8 @@ _pixman_radial_gradient_iter_init (pixman_image_t *image, pixman_iter_t *iter) } PIXMAN_EXPORT pixman_image_t * -pixman_image_create_radial_gradient (pixman_point_fixed_t * inner, - pixman_point_fixed_t * outer, +pixman_image_create_radial_gradient (const pixman_point_fixed_t * inner, + const pixman_point_fixed_t * outer, pixman_fixed_t inner_radius, pixman_fixed_t outer_radius, const pixman_gradient_stop_t *stops, diff --git a/pixman/pixman/pixman-solid-fill.c b/pixman/pixman/pixman-solid-fill.c index 8b25d5d08..26f85cea3 100644 --- a/pixman/pixman/pixman-solid-fill.c +++ b/pixman/pixman/pixman-solid-fill.c @@ -72,7 +72,7 @@ color_to_uint64 (const pixman_color_t *color) } PIXMAN_EXPORT pixman_image_t * -pixman_image_create_solid_fill (pixman_color_t *color) +pixman_image_create_solid_fill (const pixman_color_t *color) { pixman_image_t *img = _pixman_image_allocate (); diff --git a/pixman/pixman/pixman-trap.c b/pixman/pixman/pixman-trap.c index adf5d7bb5..35128ee3d 100644 --- a/pixman/pixman/pixman-trap.c +++ b/pixman/pixman/pixman-trap.c @@ -230,11 +230,11 @@ pixman_line_fixed_edge_init (pixman_edge_t * e, } PIXMAN_EXPORT void -pixman_add_traps (pixman_image_t * image, - int16_t x_off, - int16_t y_off, - int ntrap, - pixman_trap_t * traps) +pixman_add_traps (pixman_image_t * image, + int16_t x_off, + int16_t y_off, + int ntrap, + const pixman_trap_t *traps) { int bpp; int height; diff --git a/pixman/pixman/pixman.c b/pixman/pixman/pixman.c index 739cc7994..bbe8b08fb 100644 --- a/pixman/pixman/pixman.c +++ b/pixman/pixman/pixman.c @@ -774,9 +774,9 @@ color_to_uint32 (const pixman_color_t *color) } static pixman_bool_t -color_to_pixel (pixman_color_t * color, - uint32_t * pixel, - pixman_format_code_t format) +color_to_pixel (const pixman_color_t *color, + uint32_t * pixel, + pixman_format_code_t format) { uint32_t c = color_to_uint32 (color); @@ -833,7 +833,7 @@ color_to_pixel (pixman_color_t * color, PIXMAN_EXPORT pixman_bool_t pixman_image_fill_rectangles (pixman_op_t op, pixman_image_t * dest, - pixman_color_t * color, + const pixman_color_t * color, int n_rects, const pixman_rectangle16_t *rects) { @@ -872,7 +872,7 @@ pixman_image_fill_rectangles (pixman_op_t op, PIXMAN_EXPORT pixman_bool_t pixman_image_fill_boxes (pixman_op_t op, pixman_image_t * dest, - pixman_color_t * color, + const pixman_color_t *color, int n_boxes, const pixman_box32_t *boxes) { diff --git a/pixman/pixman/pixman.h b/pixman/pixman/pixman.h index e1cb90a7d..1dc167a7a 100644 --- a/pixman/pixman/pixman.h +++ b/pixman/pixman/pixman.h @@ -737,18 +737,18 @@ pixman_bool_t pixman_format_supported_destination (pixman_format_code_t format); pixman_bool_t pixman_format_supported_source (pixman_format_code_t format); /* Constructors */ -pixman_image_t *pixman_image_create_solid_fill (pixman_color_t *color); -pixman_image_t *pixman_image_create_linear_gradient (pixman_point_fixed_t *p1, - pixman_point_fixed_t *p2, +pixman_image_t *pixman_image_create_solid_fill (const pixman_color_t *color); +pixman_image_t *pixman_image_create_linear_gradient (const pixman_point_fixed_t *p1, + const pixman_point_fixed_t *p2, const pixman_gradient_stop_t *stops, int n_stops); -pixman_image_t *pixman_image_create_radial_gradient (pixman_point_fixed_t *inner, - pixman_point_fixed_t *outer, +pixman_image_t *pixman_image_create_radial_gradient (const pixman_point_fixed_t *inner, + const pixman_point_fixed_t *outer, pixman_fixed_t inner_radius, pixman_fixed_t outer_radius, const pixman_gradient_stop_t *stops, int n_stops); -pixman_image_t *pixman_image_create_conical_gradient (pixman_point_fixed_t *center, +pixman_image_t *pixman_image_create_conical_gradient (const pixman_point_fixed_t *center, pixman_fixed_t angle, const pixman_gradient_stop_t *stops, int n_stops); @@ -804,12 +804,12 @@ int pixman_image_get_depth (pixman_image_t *image); pixman_format_code_t pixman_image_get_format (pixman_image_t *image); pixman_bool_t pixman_image_fill_rectangles (pixman_op_t op, pixman_image_t *image, - pixman_color_t *color, + const pixman_color_t *color, int n_rects, const pixman_rectangle16_t *rects); pixman_bool_t pixman_image_fill_boxes (pixman_op_t op, pixman_image_t *dest, - pixman_color_t *color, + const pixman_color_t *color, int n_boxes, const pixman_box32_t *boxes); @@ -903,7 +903,7 @@ void pixman_glyph_get_extents (pixman_glyph_cache_t *cac pixman_box32_t *extents); pixman_format_code_t pixman_glyph_get_mask_format (pixman_glyph_cache_t *cache, int n_glyphs, - pixman_glyph_t * glyphs); + const pixman_glyph_t *glyphs); void pixman_composite_glyphs (pixman_op_t op, pixman_image_t *src, pixman_image_t *dest, @@ -918,7 +918,7 @@ void pixman_composite_glyphs (pixman_op_t op, int32_t height, pixman_glyph_cache_t *cache, int n_glyphs, - pixman_glyph_t *glyphs); + const pixman_glyph_t *glyphs); void pixman_composite_glyphs_no_mask (pixman_op_t op, pixman_image_t *src, pixman_image_t *dest, @@ -928,7 +928,7 @@ void pixman_composite_glyphs_no_mask (pixman_op_t op, int32_t dest_y, pixman_glyph_cache_t *cache, int n_glyphs, - pixman_glyph_t *glyphs); + const pixman_glyph_t *glyphs); /* * Trapezoids @@ -1014,7 +1014,7 @@ void pixman_add_traps (pixman_image_t *image, int16_t x_off, int16_t y_off, int ntrap, - pixman_trap_t *traps); + const pixman_trap_t *traps); void pixman_add_trapezoids (pixman_image_t *image, int16_t x_off, int y_off, |