[cairo] keeping paths as doubles through high-level backend interface
behdad at behdad.org
Mon Nov 5 11:18:08 PST 2007
On Mon, 2007-11-05 at 09:13 -0800, Vladimir Vukicevic wrote:
> Ok, I'll get started.
I had a quick look at it while waiting the whole Friday night in a
hospital for a doctor to come check out my friend after a mild accident.
It looks harder than I first thought. The majority of the work seems to
be in cairo-path-stroke.c and that code is called for every
cairo_in_stroke() call. I wonder if we need a smarter implementation of
that function, or just need to keep both a fixed path structure and a
double one and just create the fixed one lazily, or just go ahead and do
it and measure any impacts later...
> >> - Vlad
> > PS. What needs to be done in the 24.8 branch? Can we get that moving
> > too?
> It's already been merged (a while ago) -- the only thing needed to do
> the switch is to change the #define in cairo-fixed-private.h, and to
> double check what happens on linux. We've already done the switch in
> mozilla's cairo version and haven't seen any ill effects yet.
Ok, I'll test it here.
> - Vlad
"Those who would give up Essential Liberty to purchase a little
Temporary Safety, deserve neither Liberty nor Safety."
-- Benjamin Franklin, 1759
More information about the cairo