head 1.5; access; symbols pkgsrc-2013Q2:1.5.0.32 pkgsrc-2013Q2-base:1.5 pkgsrc-2012Q4:1.5.0.30 pkgsrc-2012Q4-base:1.5 pkgsrc-2011Q4:1.5.0.28 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q2:1.5.0.26 pkgsrc-2011Q2-base:1.5 pkgsrc-2009Q4:1.5.0.24 pkgsrc-2009Q4-base:1.5 pkgsrc-2008Q4:1.5.0.22 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.20 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.18 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.16 pkgsrc-2008Q2-base:1.5 pkgsrc-2008Q1:1.5.0.14 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.12 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.10 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.8 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.6 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.5.0.4 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.5.0.2 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.4.0.6 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.4 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.2 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.3.0.4 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.2 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.2.0.4 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.2 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.1.0.2 pkgsrc-2004Q3-base:1.1; locks; strict; comment @# @; 1.5 date 2006.08.10.14.36.45; author drochner; state dead; branches; next 1.4; 1.4 date 2005.11.04.17.56.38; author tv; state Exp; branches; next 1.3; 1.3 date 2005.03.27.12.28.08; author recht; state dead; branches; next 1.2; 1.2 date 2004.11.15.03.43.46; author rh; state Exp; branches; next 1.1; 1.1 date 2004.07.03.23.00.37; author recht; state Exp; branches; next ; desc @@ 1.5 log @libpixman is part of cairo, the separate distribution is obsolete @ text @$NetBSD: patch-aa,v 1.4 2005/11/04 17:56:38 tv Exp $ --- src/pixman.h.orig 2005-06-25 14:03:42.000000000 -0400 +++ src/pixman.h @@@@ -83,12 +83,13 @@@@ SOFTWARE. #if defined (__SVR4) && defined (__sun) # include -#else -# if defined (__OpenBSD__) || defined (_AIX) -# include -# else -# include -# endif +#elif defined(__OpenBSD__) || defined (_AIX) +# include +#elif defined(__INTERIX) +# include +# define uint64_t u_int64_t +#else +# include #endif @ 1.4 log @Apply integer types fix for Interix similarly to the one in glitz. @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @update to libpixman-0.1.4 API Addition ------------ Add new function: void pixman_add_trapezoids (pixman_image_t *dst, int x_off, int y_off, const pixman_trapezoid_t *traps, int ntraps); Performance improvement ----------------------- Restrict size of intermediate surface used while compositing trapezoids based on the bounds of the desination surface. Bug fixes --------- Fix rendering on 64-bit platforms. @ text @d1 24 a24 22 $NetBSD: patch-aa,v 1.2 2004/11/15 03:43:46 rh Exp $ --- src/icimage.c.orig 2004-11-08 11:43:58.000000000 -0500 +++ src/icimage.c 2004-11-08 11:44:04.000000000 -0500 @@@@ -263,10 +263,16 @@@@ case CT_NONE: return; case CT_PIXMAP: - pixman_image_destroy (image->clientClip); + + if (image->clientClip) { + pixman_image_destroy (image->clientClip); + } + break; default: - pixman_region_destroy (image->clientClip); + if (image->clientClip) { + pixman_image_destroy (image->clientClip); + } break; } image->clientClip = NULL; @ 1.2 log @Update libpixman to 0.1.2. Changes include: New functionality ----------------- Added three new functions: pixman_image_set_component_alpha pixman_format_get_masks pixman_image_get_format Bug fixes --------- Enabling both transform and repeat simultaneously now works. Some byte-order fixes. Clipping fixes: pixman now takes a copy of the client clipping region client clipping is now actually used, it wasn't earlier. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Add a patch from the mono project: avoid derefering NULL pointers bump PKGREVISION to 1 @ text @d2 3 a4 4 --- src/icimage.c.orig 2004-04-15 23:10:42.000000000 +0200 +++ src/icimage.c @@@@ -248,10 +248,14 @@@@ pixman_image_destroyClip (pixman_image_t d9 1 d11 3 a13 2 + pixman_image_destroy (image->clientClip); + } d18 2 a19 2 + pixman_region_destroy (image->clientClip); + } a22 15 @@@@ -263,8 +267,12 @@@@ pixman_image_set_clip_region (pixman_ima pixman_region16_t *region) { pixman_image_destroyClip (image); - image->clientClip = region; - image->clientClipType = CT_REGION; + if (region != NULL) { + // image->clientClip = region; + pixman_region_copy (image->clientClip, region); + image->clientClipType = CT_REGION; + } + image->stateChanges |= CPClipMask; return 0; } @