[Vm-dev] primitiveDisplayCharacters

Eliot Miranda eliot.miranda at gmail.com
Tue Oct 16 23:59:25 UTC 2018


Hi All,

    I notice that primitiveDisplayCharacters calls copyBits for each
character when doing blits that don't use copyLoopPixMap (as recorded in
the quickBlt variable).  That means for certain usages we're invoking
lockSurfaces & unlockSurfaces for each character.  It would be
straight-forward to hoist the (un)lockSurfaces sends out of the loop.  Is
there any reason not too do this?  i..e is there any reason why one would
want (un)lockSurfaces invoked on each character in the quickBlt == false
case?

_,,,^..^,,,_
best, Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20181016/40af945b/attachment.html>


More information about the Vm-dev mailing list