Hi,

I have encountered a problem that is caused when StretchBlit() with
clipping of destination. The problem is that, image jumps when it is
stretched with the same source and destination rectangle each time,
but with different clip rectangles of destination.

I think this had been introduced by a commit on 2006/09/11 (**). This
commit changed dfb_clip_stretchblit() to use simple rounding down
instead of rounding off integer. ("+ 0.5f" and D_ICEIL() were
remeved). Meanwhile In IDirectFBStretchBlit(), to calculate clip
rectangle of source, rounding off is used.

I think clipping of destination also should use the same calculation
method of source. So I would like the developers comment on this.

My configuration is as below

    * DirectFB: 1.3.0
    * system, gfxdriver: my original code

(**) commit on 2006/09/11: cbe590f1452e64c2607ef302692a0f8f717e9b40

Regards,
daisuke.og...@gmail.com
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to