[Glamor] [PATCH 05/15] glamor_fbo: Introduce glamor fbo to manage all the fb/tex.

Chris Wilson chris at chris-wilson.co.uk
Fri Jan 20 06:08:16 PST 2012


On Fri, 20 Jan 2012 16:52:03 +0800, zhigang.gong at linux.intel.com wrote:
> From: Zhigang Gong <zhigang.gong at linux.intel.com>
> 
> This is the first patch to implement a fbo/tex pool mechanism which
> is like the sna's BO cache list. We firstly need to decopule the
> fbo/tex from each pixmap. The new glamor_pixmap_fbo data
> structure is for that purpose. It's somehow independent to each
> pixmap and can be reused latter by other pixmaps once it's detached
> from the current pixmap.

I'd had to greatly curtail the maximum cache time in order to prevent
my snb machine from going into swap whilst running cairo-traces.
Initial results there do not look that promising, I haven't had time to
do a complete run, but firefox-paintball regressed by 50% on an
i5-2520m with CACHE_EXPIRE_MAX 50 (which kept the cache size under 2G
where w/o the fbo cache it only uses at most 0.5G).
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Glamor mailing list