Skip to content

More efficient waterfall operation#22

Merged
KI3P merged 2 commits intoKI3P:mainfrom
tmr4:main
Mar 26, 2026
Merged

More efficient waterfall operation#22
KI3P merged 2 commits intoKI3P:mainfrom
tmr4:main

Conversation

@tmr4
Copy link
Copy Markdown
Contributor

@tmr4 tmr4 commented Mar 26, 2026

Here is a more efficient waterfall operation. It only requires a single call to tft.BTE_move. It's similar to the typical DMA ping/pong double buffering. The key is we only need one copy of the waterfall, either on layer 1 or 2 and can switch back and forth between the layers with each draw. This cuts 10ms from the time required to update the display.

*** Sorry for the extraneous whitespace edits. My editor doesn't like whitespace at the end of lines.

@KI3P
Copy link
Copy Markdown
Owner

KI3P commented Mar 26, 2026

Thanks for the pull request!

@KI3P KI3P merged commit a583750 into KI3P:main Mar 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants