[ENH]MPEGPlayerMorph (a new beginning)

Lex Spoon lex at cc.gatech.edu
Sat Nov 18 17:52:45 UTC 2000


Karl Ramberg <karl.ramberg at chello.se> wrote:
> This is a multi-part message in MIME format.
> --------------DF717BC0A1F59024E803B063
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
> 
> Hi
>  Here is the latest I did on the MPEGPlayer2 
> and I also hocked the MPEGPlayerMorph up to it.
> 
> I found a way to display faster to a morph:
> form displayAt: morph topLeft.
> That way it's as fast as just a form:-)
> No need for the MPEGImageMorph.
> 


I'm surprised this makes a difference.  Normally drawOn: is passed a
FormCanvas on Display, so there would be no extra copies involved.  Were
you using drawImage: or paintImage: before?  If paintImage:, maybe
switching to drawImage: will have the same speedup, while not bypassing
Morphic.


-Lex





More information about the Squeak-dev mailing list