Hello,

on my working copy of clutter / cogl, I've added two new functions
which allow filling and stroking of paths with a texture. Basically it
computes texture coordinates according to path points. I've done this
because cogl does already everything on path such as bezier
computation and so on. The major problem is that each time
cogl_path_fill_with_texture is called it re-computes texture
coordinates, moreover if you have lots of path on your scene, you
compute each of them n times...

So, I'm also working on something else which exports path as a
CoglHandle. This avoid computation of path for each new form you would
make. It also allows the filling and stroking of path using a texture
as
above functions. With this design, everything is kept inside the
handle and avoids repeated computation.

So, I would like to start an open discussion about this and then, if
it worth it I will submit a patch. In my case, I need it though ...

Regards

Rno
-- 

  "Given enough eyeballs, all bugs are shallow"
    Eric Steven Raymond
-- 
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to