[PATCH] render: export TriStrip and TriFan to the drivers

Chris Wilson chris at chris-wilson.co.uk
Sun Sep 4 10:05:59 PDT 2011

On Sun, 04 Sep 2011 09:57:32 -0700, Keith Packard <keithp at keithp.com> wrote:
Non-text part: multipart/signed
> On Sun,  4 Sep 2011 17:34:08 +0100, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> > Rather than perform an intermediate copy and expand the strip and the
> > fan into a triangle list (thereby tripling the number of edges that the
> > driver needs to process), allow the backend to hook directly into the
> > appropriate Composite function.
> Do you know of any applications actually using this API?

I've switched Cairo to use TriStrips locally as it is the closest I can
get to simply passing the polygon and notably does not require breaking
into Y-bands. It is a good win for strokes, and I am hoping for some
similar inspiration for fills.

Chris Wilson, Intel Open Source Technology Centre

More information about the xorg-devel mailing list