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: Problems in windowed mode



On 12/3/00 1:43 AM, nicolasb <email@hidden> wrote:

>The problem we face is that even when only 100 polygons are rendered in the
>buffer, it is extremely slow.
>For example, on a G3 300Mhz with an ATI Rage Pro 6Mb, it takes something
>like 40 milliseconds to render 100 polygons. In the best case, we can only
>render 25 frames per second. It is possible that the "windowed" mode tends
>to slow things down? Or is there a problem with our OpenGL implementation?

I'm not sure if this is your problem, but I notice you're using
glPush/PopAttrib. I have found these calls to cause a MAJOR slowdown, for
whatever reason. I'd recommend avoiding them if at all possible. It's
much faster to do specific glEnable/Disable calls.

-Ben

+--------------------------+-----------------------------------+
| Ben Spees | Ambrosia Software, Inc. |
| Coding Boffin | http://www.AmbrosiaSW.com/ |
+--------------------------+-----------------------------------+




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.