BitBlt >> #pixelAt:put: speed

Marcel Weiher marcel at metaobject.com
Wed May 3 21:07:54 UTC 2000


> From: "Lex Spoon" <lex at cc.gatech.edu>
>
> "Raab, Andreas" <Andreas.Raab at disney.com> wrote:
> > "Make us a canvas"
> > fc _ FormCanvas on: Display.
>
> Hrm.  A general mechanism for getting a caching canvas for a given 
> canvas would be nice.  For instance, you might have an 8-bit display, 
> but drawOn: might be given a PostscriptCanvas as an  
argument--you'd like
> to cache in full color rather than 8-bit color (assuming Squeak's
> PostscriptCanvas handles color).

Yes, it does... :-)  Anyway, it is of course even somewhat  
questionable wether a Postscript canvas should even supply a  
form-based cache at all, or even any cache.  OTOH, sometimes you  
really, really do want a form.

> It would be nice to have "aCanvas canvasForCaching: size".

I think I even implemented something like this in the experimetnal  
DPS screen-display code, can't remember, though.

Marcel





More information about the Squeak-dev mailing list