[squeak-dev] PixelPeeker plugin

karl ramberg karlramberg at gmail.com
Fri Mar 15 19:57:54 UTC 2013


Cool

I have wished for something like this a long time

Karl



On Fri, Mar 15, 2013 at 7:27 PM, tim Rowledge <tim at rowledge.org> wrote:

> One of the issues with doing Squeak/Scratch for the Pi is the rather
> dismal bitblt performance. I'm working on that with another colleague in
> the UK, but one interesting common case I've found in my tracing runs of
> Scratch is alot of use of pixelValueAt:, which builds a bitblt and runs it
> to move a single pixel and then look at it. That adds up to a lot of work
> for not much result so I've written a little plugin with (so far) a single
> prim to read a single pixel  with rather less fiddling.
>
> So far it only deals with Squeak internal format bitmps (ie demented spawn
> of satan big-endian not-at-all-like-RISC-OS structure) but does cope with
> 1/2/4/8/16/32 bpp ok.  I could probably make it handle LSB (which is closer
> to convenient for almost all machines these days) and probably even
> external bitmaps if there is any real need.
>
> Currently the code is all on its lonesome but I suppose it could be added
> to the bitblt plugin if that's a popular idea.
> Included is a copy for anyone interested to try out and find bugs -
>
>
>
> tim
> --
> tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
> Strange OpCodes: IA: Illogical And
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20130315/a8037304/attachment.htm


More information about the Squeak-dev mailing list