stuff
This commit is contained in:
parent
8b24518422
commit
6e1421b3b8
@ -21,6 +21,11 @@
|
|||||||
- im_vips2tiff has a bigtiff option
|
- im_vips2tiff has a bigtiff option
|
||||||
- oops, im_lineset() needs to ask for WIO of mask and ink
|
- oops, im_lineset() needs to ask for WIO of mask and ink
|
||||||
- move cache invalidation to REGION, fixes a race
|
- move cache invalidation to REGION, fixes a race
|
||||||
|
- don't im_invalidate() after paint, it can cause horrible performance
|
||||||
|
problems ... for example, im_plotmask() used as the action operator for
|
||||||
|
im_fastlineuser() is terrible
|
||||||
|
- instead, users of the inplace operations need to call im_invalidate() at the
|
||||||
|
end of a set of paint actions to trigger an update
|
||||||
|
|
||||||
15/1/10 started 7.21.1
|
15/1/10 started 7.21.1
|
||||||
- added "written" callbacks, used to implement write to non-vips formats
|
- added "written" callbacks, used to implement write to non-vips formats
|
||||||
|
@ -23,6 +23,9 @@
|
|||||||
* - allow separate test and mark images
|
* - allow separate test and mark images
|
||||||
* 22/1/10
|
* 22/1/10
|
||||||
* - flood_blob could loop if start point == ink
|
* - flood_blob could loop if start point == ink
|
||||||
|
* 6/3/10
|
||||||
|
* - don't im_invalidate() after paint, this now needs to be at a higher
|
||||||
|
* level
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -472,8 +475,6 @@ im_flood( IMAGE *im, int x, int y, PEL *ink, Rect *dout )
|
|||||||
|
|
||||||
flood_free( flood );
|
flood_free( flood );
|
||||||
|
|
||||||
im_invalidate( im );
|
|
||||||
|
|
||||||
return( 0 );
|
return( 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -529,8 +530,6 @@ im_flood_blob( IMAGE *im, int x, int y, PEL *ink, Rect *dout )
|
|||||||
|
|
||||||
flood_free( flood );
|
flood_free( flood );
|
||||||
|
|
||||||
im_invalidate( im );
|
|
||||||
|
|
||||||
return( 0 );
|
return( 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -591,8 +590,6 @@ im_flood_other( IMAGE *test, IMAGE *mark, int x, int y, int serial, Rect *dout )
|
|||||||
|
|
||||||
flood_free( flood );
|
flood_free( flood );
|
||||||
|
|
||||||
im_invalidate( mark );
|
|
||||||
|
|
||||||
return( 0 );
|
return( 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -18,6 +18,9 @@
|
|||||||
* - im_incheck() changed to im_makerw()
|
* - im_incheck() changed to im_makerw()
|
||||||
* 5/12/06
|
* 5/12/06
|
||||||
* - im_invalidate() after paint
|
* - im_invalidate() after paint
|
||||||
|
* 6/3/10
|
||||||
|
* - don't im_invalidate() after paint, this now needs to be at a higher
|
||||||
|
* level
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -128,7 +131,5 @@ im_circle( IMAGE *im, int cx, int cy, int radius, int intensity )
|
|||||||
*(start + offset - size * x + y) = (PEL)intensity;
|
*(start + offset - size * x + y) = (PEL)intensity;
|
||||||
}
|
}
|
||||||
|
|
||||||
im_invalidate( im );
|
|
||||||
|
|
||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
|
@ -16,6 +16,9 @@
|
|||||||
* 21/10/09
|
* 21/10/09
|
||||||
* - allow sub to be outside main
|
* - allow sub to be outside main
|
||||||
* - gtkdoc
|
* - gtkdoc
|
||||||
|
* 6/3/10
|
||||||
|
* - don't im_invalidate() after paint, this now needs to be at a higher
|
||||||
|
* level
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -118,7 +121,5 @@ im_insertplace( IMAGE *main, IMAGE *sub, int x, int y )
|
|||||||
q += IM_IMAGE_SIZEOF_LINE( main );
|
q += IM_IMAGE_SIZEOF_LINE( main );
|
||||||
}
|
}
|
||||||
|
|
||||||
im_invalidate( main );
|
|
||||||
|
|
||||||
return( 0 );
|
return( 0 );
|
||||||
}
|
}
|
||||||
|
@ -14,6 +14,9 @@
|
|||||||
* - im_incheck() changed to im_makerw()
|
* - im_incheck() changed to im_makerw()
|
||||||
* 5/12/06
|
* 5/12/06
|
||||||
* - im_invalidate() after paint
|
* - im_invalidate() after paint
|
||||||
|
* 6/3/10
|
||||||
|
* - don't im_invalidate() after paint, this now needs to be at a higher
|
||||||
|
* level
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -98,8 +101,6 @@ im_paintrect( IMAGE *im, Rect *r, PEL *ink )
|
|||||||
to += ls;
|
to += ls;
|
||||||
}
|
}
|
||||||
|
|
||||||
im_invalidate( im );
|
|
||||||
|
|
||||||
return( 0 );
|
return( 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -18,6 +18,9 @@
|
|||||||
* - now blends with 0-255 mask
|
* - now blends with 0-255 mask
|
||||||
* 5/12/06
|
* 5/12/06
|
||||||
* - im_invalidate() after paint
|
* - im_invalidate() after paint
|
||||||
|
* 6/3/10
|
||||||
|
* - don't im_invalidate() after paint, this now needs to be at a higher
|
||||||
|
* level
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -233,8 +236,6 @@ im_plotmask( IMAGE *im, int ix, int iy, PEL *ink, PEL *mask, Rect *r )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
im_invalidate( im );
|
|
||||||
|
|
||||||
return( 0 );
|
return( 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -42,6 +42,9 @@
|
|||||||
* - im_invalidate() after paint
|
* - im_invalidate() after paint
|
||||||
* 1/3/10
|
* 1/3/10
|
||||||
* - oops, lineset needs to ask for WIO of mask and ink
|
* - oops, lineset needs to ask for WIO of mask and ink
|
||||||
|
* 6/3/10
|
||||||
|
* - don't im_invalidate() after paint, this now needs to be at a higher
|
||||||
|
* level
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -249,8 +252,6 @@ im_fastline( IMAGE *im, int x1, int y1, int x2, int y2, PEL *pel )
|
|||||||
else
|
else
|
||||||
error_exit( "internal error #9872659823475982375" );
|
error_exit( "internal error #9872659823475982375" );
|
||||||
|
|
||||||
im_invalidate( im );
|
|
||||||
|
|
||||||
return( 0 );
|
return( 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -397,8 +398,6 @@ im_fastlineuser( IMAGE *im,
|
|||||||
else
|
else
|
||||||
error_exit( "internal error #9872659823475982375" );
|
error_exit( "internal error #9872659823475982375" );
|
||||||
|
|
||||||
im_invalidate( im );
|
|
||||||
|
|
||||||
return( 0 );
|
return( 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,6 +16,9 @@
|
|||||||
* - im_incheck() changed to im_makerw()
|
* - im_incheck() changed to im_makerw()
|
||||||
* 5/12/06
|
* 5/12/06
|
||||||
* - im_invalidate() after paint
|
* - im_invalidate() after paint
|
||||||
|
* 6/3/10
|
||||||
|
* - don't im_invalidate() after paint, this now needs to be at a higher
|
||||||
|
* level
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -113,7 +116,5 @@ im_plotpoint( IMAGE *im, int x, int y, PEL *pel )
|
|||||||
for( b = 0; b < ps; b++ )
|
for( b = 0; b < ps; b++ )
|
||||||
*to++ = *pel++;
|
*to++ = *pel++;
|
||||||
|
|
||||||
im_invalidate( im );
|
|
||||||
|
|
||||||
return( 0 );
|
return( 0 );
|
||||||
}
|
}
|
||||||
|
@ -22,6 +22,9 @@
|
|||||||
* - im_makerw() changed to im_rwcheck()
|
* - im_makerw() changed to im_rwcheck()
|
||||||
* 5/12/06
|
* 5/12/06
|
||||||
* - im_invalidate() after paint
|
* - im_invalidate() after paint
|
||||||
|
* 6/3/10
|
||||||
|
* - don't im_invalidate() after paint, this now needs to be at a higher
|
||||||
|
* level
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -187,8 +190,6 @@ im_smudge( IMAGE *im, int ix, int iy, Rect *r )
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
im_invalidate( im );
|
|
||||||
|
|
||||||
return( 0 );
|
return( 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -313,7 +314,5 @@ im_smear( IMAGE *im, int ix, int iy, Rect *r )
|
|||||||
return( -1 );
|
return( -1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
im_invalidate( im );
|
|
||||||
|
|
||||||
return( 0 );
|
return( 0 );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user