[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] macOS --metal backwards compatibility regarding primitives 126, 127, 231 (Issue #627)

Eliot Miranda notifications at github.com
Sat Apr 30 03:00:22 UTC 2022


Well, this would be trivial to make backwards compatible were the necessary imager fix only
    PasteUpMorph disableDeferredUpdates: true.
Here's how.
1. introduce a new flag bit in the image flags (alongside full screen, preemption yields, send wheel events, do mixed arithmetic, et al). This bit is unset in old images
2. have the beDIsplay primitive #102 interrogate this bit and if unset invoke primitiveDeferDisplayUpdates's innards with false as the effective argument
3. set the flag bit in new images

Now if there's a way of side effecting the canvas in old images we have a solution, no?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/627#issuecomment-1113899392
You are receiving this because you are subscribed to this thread.

Message ID: <OpenSmalltalk/opensmalltalk-vm/issues/627/1113899392 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20220429/4e9c3160/attachment.html>


More information about the Vm-dev mailing list