[Bug 15334] Radeon EXA + Sampling off the edge of REPEAT_NONE sources

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Apr 13 08:56:44 PDT 2008


--- Comment #12 from Owen Taylor <otaylor at redhat.com>  2008-04-13 08:56:44 PST ---
Created an attachment (id=15878)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=15878)
Trial patch to use border color on R100/R200

Here's a patch that tries using the border color on R100/R200 (taking
the advantage of the fact that it is always ARGB in a fixed format.)
However, it fails on R100 because the hardware doesn't seem smoothly blend
with the border color using linear interpolation, but rather to 
abruptly just use the border color for pixels near the edge.

I'll attach a test that demonstrates this with expected and actual

I reproduced the same behavior using an OpenGL program, so I don't
think it's misprogramming of the hardware, though obviously some
missing element could be shared between Mesa and the 2D driver.

I have not yet tested on R200. The easy test would be to try the
GL program, which I'll attach as well. Compile with:

 gcc -g -Wall -o gl-border-test gl-border-test.c `pkg-config --cflags --libs gl
glu` -lglut

And run as:

 ./gl-border-test +linear

Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the xorg-driver-ati mailing list