• 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
ScreenSaverView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ScreenSaverView


  • Subject: ScreenSaverView
  • From: Dylan Neild <email@hidden>
  • Date: Mon, 23 Sep 2002 17:10:25 -0400

Hey Everyone,

This is a Cocoa ScreenSaverView / OpenGL question.
Currently, I'm implementing, obviously, initWithFrame in my ScreenSaverView object (called MyView).

This object takes the incoming frame, provides to it a newly instantiated NSOpenGLView object, and then initialized OpenGL.

Trouble is, if there is more then one monitor on the system, I get multiple calls to initWithFrame and the whole system goes to crap performance wise because I'm now drawing a very CPU intensive screen saver to 3 monitors instead of just the main one.

How can I use initWithFrame's arguments, or other system calls, to determine if I should/should not draw to a specific display? Ideally, the other displays should darken to black as normal, and only the main should draw.

Thanks,

Dylan
_______________________________________________
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.

  • Follow-Ups:
    • Re: ScreenSaverView
      • From: Christopher Holland <email@hidden>
  • Prev by Date: RE: Licences 101 - Copy Protection for Newbies
  • Next by Date: Re: Licences 101 - Copy Protection for Newbies
  • Previous by thread: Multi user
  • Next by thread: Re: ScreenSaverView
  • Index(es):
    • Date
    • Thread