[Bug 28670] some 2D apps way too slow, fast with noaccel (regression)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jun 24 02:41:08 PDT 2010


--- Comment #10 from Michel Dänzer <michel at daenzer.net> 2010-06-24 02:41:08 PDT ---
(In reply to comment #7)
> Wouldn't it be possible to have a simple shader that checked whether the sample
> point was outside the bounds and simply return 0 in that case instead of
> sampling?

One problem with that is the required filtering between samples inside and
outside of the picture; it would require doing the filtering in the shader as
well. Less efficient than using the hardware texture sampler filtering
capabilities, though certainly doable.

(In reply to comment #9)
> the transformed RGB24+RepeatNone case is quite a common fallback situation.
> If it can't be done with shaders, would a temporary ARGB32 pixmap help?

That's probably one of many possible solutions.

Something else that might help would be for exaComposite() to try RepeatPad if
the driver can't handle RepeatNone and the operation doesn't sample outside of
the picture.

Configure bugmail: https://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