[squeak-dev] offscreen buffer/bitmap/array access

Joshua Gargus josh at schwa.ca
Wed Feb 3 19:07:44 UTC 2010

Thanks for pointing this out David.  I'm on vacation right now and have
sporadic access.  I'll be back on the 9th, and will follow up on this
thread then.  Lawson, if you have any trouble, feel free to ping me at
that time.


On Mon, 01 Feb 2010 07:37 -0500, "David T. Lewis" <lewis at mail.msen.com>
> On Mon, Feb 01, 2010 at 04:49:58AM -0700, Lawson English wrote:
> > I've managed to work up a trivial access to the shm*   calls in Mac OS X 
> > so that I can obtain a pointer to a shared memory buffer. How can I 
> > render to this buffer without more c-level programming? The goal would 
> > be to take the shared memory address and use it to build various things 
> > like bitmaps, forms, etc. I've spent several hours rummaging around with 
> > google and searching the various squeak-related mailing lists, but there 
> > doesn't seem to be any Squeak way to draw to/write to an offscreen 
> > buffer which is only defined by an external address. Certainly, with far 
> > more work, I can devise ways to do this with FFI/plugins/etc but I'd 
> > like to prototype in smalltalk, not C.
> The SurfacePlugin (in VMMaker package) forms the basis for a number
> of plugins that do this sort of thing, and this recent posting by Josh
> Gargus may be of some help:
>   http://lists.squeakfoundation.org/pipermail/vm-dev/2010-January/003820.html
> Dave
  Joshua Gargus
  schwa at cc.gatech.edu

More information about the Squeak-dev mailing list