[cairo] Pen vertex estimation solutions

Carl Worth cworth at cworth.org
Tue Oct 12 12:49:05 PDT 2004


On Tue, 12 Oct 2004 12:35:39 -0700, Keith Packard wrote:
> btw -- I've still got a few patches here and would like feedback before 
> deleting or committing them.

Sorry, I know you mentioned 1 or 2 of these earlier. I'm still working
through a pretty big email backlog with regards to cairo stuff.

> 1)	trapezoid list doubled in size instead of incremented.  Changes.
> 	from O(n) to O(1) (amortized).  Should actually do traps in batches
> 	and ship them to the server in chunks to reduce X server latency.
> 	Would need to use trap extents to create temp pixmap.
> 
> 2)	trapezoid extents computed on-the-fly with a sloppy, but
> 	correct-for-our-usage algorithm.
> 
> 3)	Kludge in xlib_surface.c mapping pixmaps with 0 width/height to 1
> 	to avoid limit in X protocol.

Conceptually, these all seem fine to me. Is that all you wanted to wait
for, or would you like someone to look at the implementation as well?

-Carl



More information about the cairo mailing list