Re: Speeding up thumbnail generation (like multi threaded). Thoughts please.

2009-08-30 Thread jcupitt
2009/8/28 Mark : > static GdkPixbuf * > scale_pixbuf_preserve_aspect_ratio (GdkPixbuf *pixbuf, >                                    gint size, >                                    GdkInterpType interp) One more idea: this will be very slow for JPEGs (your use case, I think). It will decode the wh

Re: Speeding up thumbnail generation (like multi threaded). Thoughts please.

2009-08-30 Thread Matthias Clasen
On Sun, Aug 30, 2009 at 9:51 AM, wrote: > 2009/8/28 Mark : >> static GdkPixbuf * >> scale_pixbuf_preserve_aspect_ratio (GdkPixbuf *pixbuf, >>                                    gint size, >>                                    GdkInterpType interp) > > One more idea: this will be very slow for JPEG

Re: Gir XML format

2009-08-30 Thread Colin Walters
On Sat, Aug 29, 2009 at 6:09 PM, Maciej Piechotka wrote: > Is there any GIR format specification? I'd like to write some bindings > but I don't want rev-eng it. Not at the moment, but you should consider it fairly close to final. The two major things left to do that might result in a .gir format c

Re: Gir XML format

2009-08-30 Thread Maciej Piechotka
On Sun, 2009-08-30 at 15:13 -0400, Colin Walters wrote: > On Sat, Aug 29, 2009 at 6:09 PM, Maciej Piechotka > wrote: > > Is there any GIR format specification? I'd like to write some bindings > > but I don't want rev-eng it. > > Not at the moment, but you should consider it fairly close to final.

Re: Speeding up thumbnail generation (like multi threaded). Thoughts please.

2009-08-30 Thread Mark
On Sun, Aug 30, 2009 at 3:51 PM, wrote: > 2009/8/28 Mark : >> static GdkPixbuf * >> scale_pixbuf_preserve_aspect_ratio (GdkPixbuf *pixbuf, >>                                    gint size, >>                                    GdkInterpType interp) > > One more idea: this will be very slow for JPEG

Re: Gir XML format

2009-08-30 Thread Colin Walters
On Sun, Aug 30, 2009 at 3:21 PM, Maciej Piechotka wrote: > Well. But what is the format? Is there any documentation of it? Or at > least any hints? Most of the terminology comes from the annotations: http://live.gnome.org/GObjectIntrospection/Annotations __

Extended input device breakage

2009-08-30 Thread Thomas Jaeger
[CCing Dennis Auroux, the author of xournal -- sorry for sending this twice, this message should actually hit the list] Hi, In recent gtk development versions, applications using XInput started misbehaving badly. I'm going to focus on xournal, because this is the application I use most, but simi

Re: Speeding up thumbnail generation (like multi threaded). Thoughts please.

2009-08-30 Thread muppet
On Aug 29, 2009, at 8:08 AM, Mark wrote: Oke, i did some ltracing now. Here is the ltrace output for 5 images that get thumbnailed. I hope anyone here could help me a bit in explaining this output since it's not all obvious to me. Before you read the output. i put a 2 second sleep after a image