[cairo] [Patch] Limit the amount of shared memory that cairo-xcb uses

Chris Wilson chris at chris-wilson.co.uk
Sun Jan 30 13:15:39 PST 2011


On Sun, 30 Jan 2011 20:54:39 +0100, Uli Schlachter <psychon at znc.in> wrote:
> cairo_surface_create_similar / _cairo_xcb_surface_create_similar already does
> exactly this. (Mesh gradients always use SHM currently, too)
> 
> But why do you think we need client participation for SHM? It works just fine
> currently without any magic on the client side.

We are using an extremely limited resource; or at least excessive use of a
global resource by multiple applications. Just remember those embedded
systems where even a 16 MiB segment will be too much.

Fundamentally, I think the client can do a *much* better job.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the cairo mailing list