Re: inter process NSView sharing
Re: inter process NSView sharing
- Subject: Re: inter process NSView sharing
- From: "Kyle Sluder" <email@hidden>
- Date: Fri, 23 May 2008 10:48:49 -0400
On Fri, May 23, 2008 at 9:59 AM, Jonathan Cochrane
<email@hidden> wrote:
> Now, on OSX the java app gets a NSView/cocoaviewref. Is there some member of
> NSView similar to the HWND on windows that I can pass to my C process? The C
> process can then create a hardware accelerated opengl rendering context from
> this 'handle' and render to the java apps NSView.
So you have taken a pointer that points to your Cocoa app's virtual
memory and passed it to a different process? Do you really expect
this to work?
A process is not allowed to draw in another process's window on OS X.
You cannot do what you want to do the same way you have on Windows.
You must refactor your application to compensate for the enhanced
separation between processes on OS X.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden