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: OpenGL and Tiger



On May 15, 2005, at 8:39 PM, Steve Christensen wrote:

A posting to the Carbon list on Friday (5/13) mentioned a change to the HIToolbox that can cause a slowdown (on purpose) if you try to draw faster than the video card's frame rate. This may be related to what you're seeing.

This is the document they refer to (and please note the constant disclaimers for the performance-zapping "feature"):


    http://developer.apple.com/releasenotes/Carbon/HIToolbox.html

If beam synchronization is disabled using Quartz Debug, everything works properly again. I confirmed this with MacFOH, and all windows maintain 75 fps regardless if they're occluded and being composited.

According to the above doc, only apps linked against 10.4 will use the "automatic" beam sync. It is definitely a bug in CGS: all apps are being force-synchronized (regardless of executable link), and unfortunately this feature SUCKS to begin with. Anything forcibly imposed on developers further restricts our ability to provide high- performance without making constant workarounds for these "conveniences". If the API were nicely rolled into CG, NSScreen, etc, then it would be more useful. If this behavior was in fact only enabled by the link version of the executable, I'm in luck, because I can build just the executable with Panther, and everything else with Tiger if necessary, hopefully avoiding this sync issue.

On a good note, using Quartz Debug to turn off beam synchronization globally actually makes Tiger seem fast, like Panther. I'm never turning it back on... ;)
--
Shaun Wexler
MacFOH
http://www.macfoh.com



_______________________________________________ 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: 
 >Re: OpenGL and Tiger (From: Lorenzo <email@hidden>)
 >Re: OpenGL and Tiger (From: Shaun Wexler <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.