[cairo] Solid pattern caching revisited
otaylor at redhat.com
Wed Apr 18 07:00:36 PDT 2007
On Wed, 2007-04-18 at 10:23 +0100, Chris Wilson wrote:
> Behdad Esfahbod (behdad at behdad.org) said:
> > That is all for now. I think it would be natural for Chris Wilson,
> > given his recent experience with the xlib screen stuff, to implement the
> > xlib part and then porting Jorn's solid pattern cache to it will be
> > trivial.
> Ok, I prepared a branch that reimplements Jorn's cache on top of a
> X11 workqueue and it is available for review under xlib-dpy-workqueue
> I've checked that evince works for me but I welcome some feedback before
> preparing a final version for inclusion.
> The implementation is almost exactly as envisioned by Behdad with the
> major complication arising with destroying X11 resources during
> CloseDisplay. Something that is missing is reviewing the other backends
> as to whether they too occasionally need to invalidate cached entries.
Can we back up here and discuss why it wouldn't be simpler and better to
use a per-display solid-surface cache?
More information about the cairo