version bump, use wbuffer2 everywhere

This commit is contained in:
John Cupitt 2010-03-21 15:00:39 +00:00
parent 2bbcf5aa5e
commit 064bd55a98
4 changed files with 11 additions and 7 deletions

View File

@ -1,5 +1,6 @@
21/3/10 started 7.21.3
- added progress feedback to threadpool
- --vips-wbuffer2 switch does all wbuffer use now
16/1/10 started 7.21.2
- "invalidate" is careful to keep images alive, so invalidate callbacks can do

View File

@ -6,7 +6,7 @@ AC_CONFIG_MACRO_DIR(m4)
# user-visible library versioning
IM_MAJOR_VERSION=7
IM_MINOR_VERSION=21
IM_MICRO_VERSION=2
IM_MICRO_VERSION=3
IM_VERSION=$IM_MAJOR_VERSION.$IM_MINOR_VERSION.$IM_MICRO_VERSION
IM_VERSION_STRING=$IM_VERSION-`date`

View File

@ -605,12 +605,8 @@ im_generate( IMAGE *im,
im_region_free( or );
return( -1 );
}
if( im->dtype == IM_OPENOUT ) {
if( im__wbuffer2 )
res = im_wbuffer2( im, write_vips, NULL, NULL );
else
res = im_wbuffer( tg, write_vips, NULL, NULL );
}
if( im->dtype == IM_OPENOUT )
res = im_wbuffer( tg, write_vips, NULL, NULL );
else
res = eval_to_memory( tg, or );

View File

@ -4,6 +4,8 @@
* - cut from im_generate
* 7/11/07
* - trigger start/end eval callbacks
* 21/3/10
* - optionally use wbuffer2
*/
/*
@ -424,6 +426,11 @@ im_wbuffer( im_threadgroup_t *tg, im_wbuffer_fn write_fn, void *a, void *b )
WriteBuffer *b1, *b2;
int result;
/* Optionally use the newer one.
*/
if( im__wbuffer2 )
return( im_wbuffer2( tg->im, write_fn, a, b ) );
if( im__start_eval( tg->im ) )
return( -1 );