[Bug 19712] exa: composite: driver ignores repeatType attribute

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jan 30 01:07:42 PST 2009


--- Comment #16 from Michel Dänzer <michel at daenzer.net>  2009-01-30 01:07:42 PST ---
(In reply to comment #13)
> 8 isn't big enough since the EXA pitch alignment is 64 bytes.

Argh. Try the 16x16 test. I also forgot this doesn't matter for >= R300, so I
was hitting acceleration even with 2x2.

(In reply to comment #14)
> Some documentation about hardware restrictions would be quite cool - I am
> currently working on a Java2D XRender backend - and optimal performance across
> different driver/gpu combinations causes a lot of guessing.

In general, older hardware tends to only support repeat with power-of-two
dimensions. And pre-R300 Radeons have this peculiarity where you can't choose
an explicit pitch for power-of-two textures, the hardware just rounds up the
width to the next multiple of 32 bytes. For other reasons, we can currently
only use multiples of 64 bytes for the pitch, so if those pitches don't match
(and the height is > 1) we can't do repeat. See RADEONPitchMatches() and its

(In reply to comment #12)
> Sorry, I probably should have mentioned this earlier.  This is a known bug in
> pixman:
> http://bugs.freedesktop.org/show_bug.cgi?id=19704

So it looks like this patch already gets us ahead of software fallbacks, at
least on >= R300. :)

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