FWIW, I did push the pixel aligning stuff out to git if you want to try. It only ended up showing a 10-15% speed boost for me. Feel free to check it out yourself. Simply uncomment out the "PIXEL_ALIGN" def at the top of draw.c and recompile if you want to see the speed WITHOUT the aligning code. It seems to only speed up drawing shapes with vertical or horizontal edges, since it doesn't have to calculate the pixel intensity for those. However, as you can guess, most gerbers (and all drill files) don't have a lot of vertical/horizontal edges, so it doesn't speed up things that much. Cairo now has a trace option that I may use to get a sample render trace file and send it to the cairo developers for any speed tips they have. Cheers--
Julian On 08/19/2010 07:44 AM, Stefan Petersen wrote: > DJ Delorie wrote: > >> PCB has a benchmark option, but it's live - you can see the screen >> going nuts while it happens. >> >> It does mean that the benchmark is window-size-sensitive. >> > I am surprised to hear that Nvidia is not that good in this case. My > friends always say "Nvidia is the shit". ;) But, as you say, speed might > be dependent on window-size. > > That indicates that the benchmark option in gerbv should actually draw > to screen. Is it hard to implement, Julian? > > When it comes to throw out GDK I think it is a good idea _when there is > a good enough replacement_. And they claim that GDK will disappear in > GTK-3.0. I think it will take some time to get there, since many > applications use GDK. I had to do some changes in the code when going > from GTK-1.2 to GTK-2.0, so this is just a natural evolvement. > > So my hope is on the pixel tweaking thing mentioned in the comments of > the thread Julian linked to. > > Best regards, > /Stefan > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > Gerbv-devel mailing list > Gerbv-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gerbv-devel > ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Gerbv-devel mailing list Gerbv-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gerbv-devel