Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork175
uefi-test-runner: speed up ploting of sierpinski triangle by updating changed pixel only#1209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
phip1611 commentedJun 17, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Interesting. May you tell us a little about the background how/where you noticed the slow performance? Are you running everything inside a QEMU without accelerator? Looks cool and sensible - thanks! |
Yes, I executed the example within QEMU on my laptop, and it took several tens of seconds for the outline to appear. |
… changed pixel onlySigned-off-by: Jeff Li <lijinfeng01@ieisystem.com>
I ran it locally on my machine. A notable performance improvement - thanks for your contribution! |
8ea4837
Uh oh!
There was an error while loading.Please reload this page.
When only one pixel needs to be updated, there is no need to transfer the entire buffer. After drawing the background in advance, you only need to update each pixel that requires it.