> Before all, thanks for your help. It's really appreciated! :)
> 
> I've applied the changes you suggested and adjusted r300DoBlit3D()
> to use normalized texture coordinates. Well, it's working more or less!
> I said "more or less" because, at least with my hardware (X850 PRO),
> it seems the texture must be alway tiled, either if the
> R300_TXO_*_TILE flags of R300_TX_OFFSET are not set.
> 
> Have you experienced a similar behaviour?
> 
> I ask because it may be a limit of the R400... :(

No problem, you have no idea how grateful I am that I could learn from
your drivers. It would be almost impossible to understand the one's from
xfree and dri at first.

I knew I forgot something;p

R300_TX_FILTER_0 = (R300_TX_CLAMP_TO_EDGE << R300_TX_WRAP_S_SHIFT)
                    | (R300_TX_CLAMP_TO_EDGE << R300_TX_WRAP_T_SHIFT)
                    | (R300_TX_CLAMP_TO_EDGE << R300_TX_WRAP_Q_SHIFT)
                    | R300_TX_MAG_FILTER_LINEAR
                    | R300_TX_MIN_FILTER_LINEAR);

This might do the trick, though I'm not sure if we had the same problem,
in my case the texture was (if i remember correctly) tiled only on x axis.
I had many problems with x texture cordinates (y was just fine) and tried
many things, at the same time so I'm not even quite sure what fixed what.


Best regards,
        Timon


----------------------------------------------------------------------
Jestes kierowca? To poczytaj! >>> http://link.interia.pl/f199e


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

Reply via email to