[2/2] wined3d: Don't translate by a full half pixel
stefandoesinger at gmx.at
Wed Mar 12 05:46:37 CDT 2008
Am Mittwoch, 12. März 2008 09:46:25 schrieb Chris Robinson:
I am not yet conviced that those patches are a good idea. Some time ago I
found that I need the full half pixel to make DCT happy. Furthermore I see
different behavior among drivers, e.g. my r200 driver doesn't need any
correction(it rather hurts instead), and the nvidia driver behaves odd on
very small render targets.
As I said on IRC, I am afraid that we have to do those position fixes per
driver. In the extension detection we have to draw a few points onto the back
buffer and read back the results, and then configure the offsets accordingly.
As I keep saying, we need proper tests for that. Your test to test the corner
points is a good start, but we also have to test offscreen targets of
different sizes(e.g. 1x1, 4x4, 16x16, ...), and we have to test all 3
codepaths(rhw, fixed function, shader).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20080312/8b9f5479/attachment.pgp
More information about the wine-devel