Replies: 1 comment
|
Thanks for letting me know. If you try a cutting edge build now I think this should be fixed? I also spotted that scrolling is effectively a blit operation, so I've swapped things around to remove a bit of code duplication there. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I was using it to speed up an "on the fly" italics text rendering.. and I discovered it behaves unexpectedly when the src and tgt areas overlap. I'm including a snippet you can run on the Bangle emulator to see the difference:
Depending on if you're shifting the graphic area to the left or right, you get different behaviour. I understand why if I consider that you are likely starting the process from lowest array offset. By the time you get to higher offsets, data has already been copied on top of the old data.. understandable. but if i had the option to perform it in the reverse order (higher offset to lower), I could accomplish what I intended (move an entire chunk of data, not repeat a pattern).
All reactions