• 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
NSOpenGLView from a second NSThread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSOpenGLView from a second NSThread


  • Subject: NSOpenGLView from a second NSThread
  • From: Nicolas Berloquin <email@hidden>
  • Date: Fri, 21 May 2004 17:07:36 +0200

Hello !

I'm using an NSOpenGLView that I call from a second NSThread (other than the main thread), and only from this thread.
The code works fine, only when I resize the window that holds the view, I get into a systematical kernel panic.
I read about the kernel panics and opengl on the web, and I understand why this is happening, and I'm trying to find the best way to catch when to stop drawing in the background and when to start again.

I read about an NSOpenGLView selector that gets called before the context is changed (from what I remember), but I couldn't find an equivallent that would be called when drawing can restart...

Since any not working code gets me into a kernel panic, I thought I'd ask you guys before I got into a loooong loop of restarting my mac ;-)

thanks for you help ^_^
_______________________________________________
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: Avoiding == and = mixup in if statements
  • Next by Date: Utility Panel and Child Windows
  • Previous by thread: Re: NSButton setKeyEquivalent (NSString*)charcodes?
  • Next by thread: Re: NSOpenGLView from a second NSThread
  • Index(es):
    • Date
    • Thread