Re: [Gerbv-devel] End of the road for GDK?
Brought to you by:
spetm,
thepurlieu
From: Julian L. <the...@gm...> - 2010-08-18 01:22:18
|
DJ, Thanks for the info. I may see if there's a way to get more accurate benchmark numbers to actually compare GDK vs cairo, since GDK is clearly much faster in actual use than the benchmark numbers suggest on my machine (benchmark says only 50% slower, but it looks more like 1/4 the speed in actual use on my machine). The benchmarks were mainly added to judge how optimization improvements worked with the cairo rendering code. Years ago I would have volunteered to help with the GTK/cairo cleanup of PCB, but I have much less free time these days... :) Julian On 08/17/2010 07:10 PM, DJ Delorie wrote: >> We actually have benchmarking code built into gerbv, so it's easy >> to run (menu Analyze->Benchmark...runs blocked for 2 minutes and returns >> total frames rendered/sec). For example, loading example/dan/top.gbx >> and running the benchmarks on my laptop (open source Intel drivers) >> yields the data below. >> > Full zoom benchmarks > FAST mode benchmark: 2590 redraws in 30 seconds (86.3333 redraws/second) > NORMAL mode benchmark: 4659 redraws in 30 seconds (155.3 redraws/second) > x5 zoom benchmarks > FAST mode benchmark: 3365 redraws in 30 seconds (112.167 redraws/second) > NORMAL mode benchmark: 8622 redraws in 30 seconds (287.4 redraws/second) > > However, it takes two seconds to switch to high quality mode from > fast, if I use the button. > > If I bring up my powermeter stack (8 gerbers, very complex) it takes > 35 seconds to switch from FAST to HIGH QUALITY. This is on a machine > that can render 90 FPS at 2560x1600 playing Quake III. > > Full zoom benchmarks > FAST mode benchmark: 243 redraws in 30 seconds (8.1 redraws/second) > NORMAL mode benchmark: 199 redraws in 30 seconds (6.63333 redraws/second) > x5 zoom benchmarks > FAST mode benchmark: 779 redraws in 30 seconds (25.9667 redraws/second) > NORMAL mode benchmark: 1400 redraws in 30 seconds (46.6667 redraws/second) > > >> By the way, do gschem and pcb still use the GDK drawing API? I >> know Peter was doing a cairo port for gschem, but has that been >> incorporated yet? Any plans for pcb to go to cairo? >> > gschem uses cairo. > > PCB uses gdk, but pcb really needs a gtk advocate to redo the whole > thing and make it current, pretty, and standardized - customizable > toolbars and icons, icons on menus, dockable toolboxes, etc. > |