-
-
Notifications
You must be signed in to change notification settings - Fork 177
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
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!
Are you running everything inside a QEMU without accelerator?
Yes, I executed the example within QEMU on my laptop, and it took several tens of seconds for the outline to appear.
... changed pixel only Signed-off-by: Jeff Li <lijinfeng01@ieisystem.com>
I ran it locally on my machine. A notable performance improvement - thanks for your contribution!
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.