Kim Fredenberg wrote:
> Denis Oliver Kropp wrote:
> 
>>> I've enabled smooth scaling using:
>>>
>>> DFBSurfaceRenderOptions render_options = 
>>> (DFBSurfaceRenderOptions)(DSRO_SMOOTH_UPSCALE | DSRO_SMOOTH_DOWNSCALE);
>>>
>>> srfc->SetRenderOptions( srfc, render_options );
>>> tmpsurface->StretchBlit (tmpsurface, srfc, NULL, &rect2);
>> Did you change blitting flags?
>>
>> What formats are you using?

I put some printf:s into directfb:s gfx/generic/generic.c and I seem to 
get through the condition (on line 8526):

if (state->render_options & (DSRO_SMOOTH_UPSCALE | DSRO_SMOOTH_DOWNSCALE) &&
          stretch_hvx( state, srect, drect ))

Doesn't this mean that the smooth scaling should have succeeded? Or am I 
totally out?

Still the output looks the same as when I didn't have smooth scaling 
compiled in.

br, Kim

_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to