[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: PCB+GL Testers (please test)



On Thu, 2010-11-04 at 02:13 +0000, Richard Barlow wrote:
> On Thu, 2010-11-04 at 02:01 +0000, Peter Clifton wrote:
> > Perhaps try with the patch I just sent in reply to KMK which moves a
> > couple of glEnableClientState calls.
> 
> Using VBOs that gives 85.4FPS, so effectively no difference.
> Using arrays it gives an average of 93.1FPS, literally no difference!

Thanks for trying it. I'm embarassed to say your board manages about
9fps on my machine, with every trick I can throw at it!

The board is an interesting test-case though, as I don't typically work
with grouped layers. It might be something which triggers a performance
hit.

The solder layers render relatively fast on their own, (~30fps), as do
the pads on their own (~60fps). But if I switch both on, I get ~5 fps.

1/30 = 33ms
1/60 = 17ms

Assuming the overheads just sum, that is per 50ms frame with both
enabled. That should give me approx 20fps, not 5!

The more sub-composited layers involved, the more slow glClear calls are
made. I'm not sure this accounts for the difference though, so I'll
investigate. It has got me quite curious now!


-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)
Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)



_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user