• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: OpenGL and Tiger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OpenGL and Tiger


  • Subject: Re: OpenGL and Tiger
  • From: Shawn Erickson <email@hidden>
  • Date: Sat, 14 May 2005 11:16:51 -0700


On May 14, 2005, at 10:54 AM, Lorenzo wrote:

Hi,
I compiled my OpenGL app with XCode 2.0.
On Panther is everything ok. On Tiger I get this problem.
When another window of another application (e.g. a Finder window, an XCode
window...) is over my OpenGL window (even partially), that application runs
very very slow. If I drag that window out of the OpenGL window, that program
turns back to work well.


It's a very annoying problem. I cannot use my application this way.
Do you know how to fix this problem?

What does this have to do with Cocoa development (the subject of the Cocoa dev list)? Please avoid cross posting and keep it relevant if you do.


Anyways try using Shark and/or OpenGL profiler (etc.) to understand what is going on. Likely folks with need more information then what you provided above (what does your GL application do, what hardware are you seeing this on, etc.).

A side note I don't see what you describe above happening on my Dual 2GHz G5 with 6800 GT (and two 23" monitors attached) when using one of the GLUT examples ("atlantis timing"). I however do see the GLUT example slowing down its animation to the refresh rate of the monitor when the shadow of another window is over the examples content. The example uses glutSwapBuffers at the end of each draw cycle. It stands to reason when the window is not overlaid by any other window (aka opengl surfaces) then buffer swapping can happen as fast as the hardware can do it. If a window overlays things then it is likely clamped to the swap rate of window manager for its surfaces which likely is no faster then the display refresh rate (I have only LCDs at home so I cannot twiddle with refresh rates to confirm).

-Shawn


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: OpenGL and Tiger
      • From: Shaun Wexler <email@hidden>
References: 
 >OpenGL and Tiger (From: Lorenzo <email@hidden>)

  • Prev by Date: Re: embedding web server in cocoa app
  • Next by Date: Re: embedding web server in cocoa app
  • Previous by thread: OpenGL and Tiger
  • Next by thread: Re: OpenGL and Tiger
  • Index(es):
    • Date
    • Thread