Re: A couple of questions

Keith Packard <[email protected]> Thu, 13 Jun 2002 15:19:01 -0700
Newsgroups gmane.comp.xfree86.render
Message-ID <E17Icvq-0000XZ-00@localhost>
Around 19 o'clock on Jun 10, Jorge Valencia wrote:

> This would avoid the performance penalty of the function call overhead which
> is considerable when thousand of polygons are redrawn per iteration.

Trust me, we're not to the point where a client-side function call per 
polygon is a performance issue.  Note that because Render pre-composes the 
trapezoids to avoid rendering errors along edges, even a hypothetical 
multi-polygon API would still need to generate multiple protocol requests.

> How do I disable clipping set by XRenderSetClipRegion()?

You don't.  Use XRenderChangePicture with a clip_mask of None.  This 
parallels the Xlib routines for the core protocol.

Keith Packard        XFree86 Core Team        HP Cambridge Research Lab