Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GLUT speed issues



On Mar 23, 2005, at 11:32 PM, Kevin Wojniak wrote:

OK so does anyone have a clue as to why an extremely simple GLUT project runs way too fast on any Mac running OS 10.3 yet on my PC (256MB vram, Athlon XP 3200, WinXP Pro) it runs at what appears to be the "right" speed? I've uploaded the small Xcode project (http://www.kainjow.com/opengl/Kube.zip - 12KB) if anyone would be so kind as to compile it and let me know if it's running too fast for them too (original code from http://www.cosc.brocku.ca/Offerings/3P98/course/MSVC/ msvcnetglut.html).

Well, I actually managed to make it faster -- removed the glFlush() :). But that isn't what your after.


I feel like there's something small and stupid I'm just not getting here.

Your not doing any form of timing between idles. AFAIK there isn't a standard rate at which your idle function will be called, so it is probably called more often on OS X than on XP, thus causing your OS X version to look faster.


--
Reality is what, when you stop believing in it, doesn't go away.
Failure is not an option. It is a privilege reserved for those who try.

David Duncan

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden

This email sent to email@hidden
References: 
 >GLUT speed issues (From: Kevin Wojniak <email@hidden>)
 >Re: GLUT speed issues (From: Michael Pollitt <email@hidden>)
 >Re: GLUT speed issues (From: Kevin Wojniak <email@hidden>)
 >Re: GLUT speed issues (From: Keith Bauer <email@hidden>)
 >Re: GLUT speed issues (From: John Stiles <email@hidden>)
 >Re: GLUT speed issues (From: Kevin Wojniak <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.