[Glamor] [PATCH] Fix translation of clip region for composite fallback.

Chris Wilson chris at chris-wilson.co.uk
Wed Jul 11 00:51:10 PDT 2012


On Wed, 11 Jul 2012 09:34:20 +0200, Michel Dänzer <michel at daenzer.net> wrote:
> On Mit, 2012-07-11 at 15:28 +0800, Zhigang Gong wrote: 
> > But I'm a little interested in how it hit the fallback path, could you
> > let me know detail? Thx.
> 
> The gtkhtml library uses CAIRO_OPERATOR_DIFFERENCE for the cursor, which
> translates to PictOpDifference.
> 
> Has anyone looked into accelerating more composite operators?

Obviously I don't hit F1 too often, I wasn't aware anyone had made use of
the extended operators yet. Difference and Subtract are perhaps going to
be the most used in the near future as they most closely relate to the
missing frequentely used GC rops. The other one that I see occasionally
used by GTK+ is Saturate.

But I simply haven't seen the operator fallbacks hit often enough to
register as a need to accelerate them yet. But it is a catch 22 with their
potential users...
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Glamor mailing list