[Glamor] [PATCH 1/9] glamor-composite: Optimize the computation of composite region.

Chris Wilson chris at chris-wilson.co.uk
Mon Jan 9 04:19:52 PST 2012


On Mon,  9 Jan 2012 13:36:03 +0800, zhigang.gong at linux.intel.com wrote:
> From: Zhigang Gong <zhigang.gong at linux.intel.com>
> 
> Computing the composite region at the composite_with_shader is very
> inefficient. As when we call to here from the glamor_glyph's temproary
> picture, we don't need to compute this region at all. So we move this
> computing out from this function and do that at the glamor_composite
> function. This can get about 5% performance gain for aa10text/rgb10text.

I'm hitting a segfault running through cairo-traces (swfdec-youtube)
introduced by this patch. I'll give you a clue: it looks like something
decided to scribble over the stack.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Glamor mailing list