* evas: fix build with thread rendering on and scale cache off.

SVN revision: 47427
This commit is contained in:
Cedric BAIL 2010-03-24 14:46:28 +00:00
parent 31d6a2e21c
commit 80901b0abe
1 changed files with 7 additions and 4 deletions

View File

@ -568,6 +568,8 @@ evas_common_pipe_image_draw_do(RGBA_Image *dst, RGBA_Pipe_Op *op, RGBA_Pipe_Thre
#else
evas_common_draw_context_clip_clip(&(context), info->x, info->y, info->w, info->h);
#endif
#ifdef SCALECACHE
evas_common_rgba_image_scalecache_do(op->op.image.src,
dst, &(context),
op->op.image.smooth,
@ -579,7 +581,7 @@ evas_common_pipe_image_draw_do(RGBA_Image *dst, RGBA_Pipe_Op *op, RGBA_Pipe_Thre
op->op.image.dy,
op->op.image.dw,
op->op.image.dh);
/*
#else
if (op->op.image.smooth)
evas_common_scale_rgba_in_to_out_clip_smooth(op->op.image.src,
dst, &(context),
@ -602,10 +604,11 @@ evas_common_pipe_image_draw_do(RGBA_Image *dst, RGBA_Pipe_Op *op, RGBA_Pipe_Thre
op->op.image.dy,
op->op.image.dw,
op->op.image.dh);
*/
#endif
}
else
{
#ifdef SCALECACHE
evas_common_rgba_image_scalecache_do(op->op.image.src,
dst, &(op->context),
op->op.image.smooth,
@ -617,7 +620,7 @@ evas_common_pipe_image_draw_do(RGBA_Image *dst, RGBA_Pipe_Op *op, RGBA_Pipe_Thre
op->op.image.dy,
op->op.image.dw,
op->op.image.dh);
/*
#else
if (op->op.image.smooth)
evas_common_scale_rgba_in_to_out_clip_smooth(op->op.image.src,
dst, &(op->context),
@ -640,7 +643,7 @@ evas_common_pipe_image_draw_do(RGBA_Image *dst, RGBA_Pipe_Op *op, RGBA_Pipe_Thre
op->op.image.dy,
op->op.image.dw,
op->op.image.dh);
*/
#endif
}
}