ScreenSaverView
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.