I've developed a CocoaUI app, which implements the example you copied. A cocoa window, with a custom NSView, which renders an OpenGL surface. The app also catches events, and notifies it via sockets.
My idea is to render within Pharo to a frame buffer object(offscreen rendering), and communicate the redisplay to the cocoa app via sockets (IPC). So we can code all the UI in Smalltalk, using offscreen rendering as a means to draw to a native OS X window. I will continue experimenting with this approach, to assess its performance and usability. Wether IPC via sockets is fast enough, amongst other technical challenges. Yes, i noticed two that the OpenGL info in the Mac, returns 'APPLE SOFTWARE RENDERER 2.1". Surely we can find a way to solve this problem, i will look into Lawson's link. Fernando pd: Enjoy the vacations Igor, have a pint or two. On Wed, Jan 11, 2012 at 1:21 AM, Igor Stasenko <[email protected]> wrote: > On 10 January 2012 21:28, Stéphane Ducasse <[email protected]> wrote: >> thanks >> >> May be this page is interesting: >> http://developer.apple.com/library/mac/#documentation/GraphicsImaging/Conceptual/OpenGL-MacProgGuide/opengl_drawing/opengl_drawing.html#//apple_ref/doc/uid/TP40001987-CH404-SW8 >> >> Igor how is london :) ? >> >> Crowded? > > like hell. :) > Kiev is more or less same in this regard, so i already having immunity > > Yes, i will definitely get back to this issue, once i return from vacation. > And now i should stop reading and replying mails and spend time on > just resting :) > > -- > Best regards, > Igor Stasenko. >
