Re: clipmask of multiple rects in different angles
"Enrico Weigelt, metux IT consult" <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
On 20.07.2016 21:15, Theo Veenker wrote: > Not an answer to your question, but if you just take the bounding box > of the modified element and use that as a clip mask and clear and > redraw everything that is in or partly in the box you can get very > good performance in my experience. I'm meanwhile clipping to only the regions to be redrawn. Doesn't seem to get faster (xcb), but even slower (drm). Maybe the damage tracking itself is slowing it down ... I'll now try to cache the matrices. By the way: is there a way to create a region and subsequently add new boxes to it, without going via a context ? --mtx -- cairo mailing list [email protected] https://lists.cairographics.org/mailman/listinfo/cairo