[cairo] xtrace, part the second
MenTaLguY
mental at rydia.net
Wed Dec 13 14:48:14 PST 2006
On Wed, 13 Dec 2006 15:23:15 -0500, Behdad Esfahbod <behdad at behdad.org> wrote:
> However, to do this correctly, we need to introduce a new object for a
> display. Moreover, we need to do locking around it (right?). So, maybe
> using a pattern-private member is easier. You just don't get to reuse
> them between patterns.
cairo_set_source_rgb{,a} seems to be the most common way to switch amongst solid colors -- doesn't it just create a new pattern each time, making a per-pattern cache relatively useless for solid colors?
-mental
More information about the cairo
mailing list