• 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
Puzzling graphics behavior in 10.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Puzzling graphics behavior in 10.2


  • Subject: Puzzling graphics behavior in 10.2
  • From: Warren Nagourney <email@hidden>
  • Date: Mon, 2 Sep 2002 21:52:22 -0700

I have a number of OpenGL-based Cocoa programs which I wrote about 6 months ago in 10.1 and I have noticed some strange behavior in 10.2. I am running all this on a 500 MHz Tibook (not quartz extreme capable, since it uses a rage 128).

1. The screensaver graphics (I use "Cosmos") occasionally appear in an OpenGL window when the system wakes up from sleep (the app was launched before the machine want to sleep). The graphics window needs to be reset to restore the original content (I assume this is a bug, as it didn't happen with 10.1).

2. Certain system-wide graphics operations are *much* slower if one of the openGL apps is active (even if the app is quiescent and in the background). For example, opaque screen moving is *very* jerky under these conditions - quitting the openGl app restores the former smooth screen moving.

3. Two apps using openGl seem to interfere with one another - they seem to run a bit slower (in screen operations) if both are resident, even if only one app is doing anything.

I have recompiled the apps in question using the current 10.2 dev tools and have not seen any change in their behavior or performance (I use gcc 3.1 with the maximum optimization under both systems - formerly using the April dev tools). I assume my experience is related to changes in the OpenGL system caused by the advent of quartz extreme. Does anyone know whether I should change my OpenGL code to conform to the newer frameworks?

Finally (this is a very elementary question), does anyone know how one does fine-grained profiling of Cocoa apps? I have used Sampler.app, but it is not very fine-grained (I would like to have statistics on source statement frequencies).

Thanks.

Warren Nagourney
Univ. of Wash.
Physics Dept.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: iso-8859-1 over UTF8 (was: Re: cString deprecated!)
  • Next by Date: Storing NSRect in an NSMutableArray...
  • Previous by thread: [ANN] Umbrella Frameworks
  • Next by thread: Storing NSRect in an NSMutableArray...
  • Index(es):
    • Date
    • Thread