[Bug 68524] radeonsi with glamor has very poor performance with primitives drawing

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jan 9 17:28:14 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=68524

--- Comment #25 from Aaron Watry <awatry at gmail.com> ---
Created attachment 91802
  --> https://bugs.freedesktop.org/attachment.cgi?id=91802&action=edit
First attempt at handling diagonal lines in poly_line code

First attempt at handling diagonal lines without excessive cpu<->gpu traffic

Splits a diagonal line into 2 or more horizontal/vertical lines.

Before:
GtkDrawingArea - Lines - time: 242.57

After:
GtkDrawingArea - Lines - time: 23.01

It's not amazingly fast this way, but it is a 10x performance improvement. The
closer to horizontal/vertical the line is, the better it should perform. The
worst case would be a line with a perfect slope of 1 or -1, which would be
de-constructed to a bunch of points.

I don't know if there's a certain slope that would be a good cutoff for this
handling versus the old method. Someone can feel free to play with that.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-driver-ati/attachments/20140110/48fca96a/attachment-0001.html>


More information about the xorg-driver-ati mailing list