gokrazy / fbstatus

fbstatus graphically shows the gokrazy system status on the Linux frame buffer, which is typically available via HDMI when running on a Raspberry Pi or a PC.
Apache License 2.0
27 stars 10 forks source link

optimize pixel copying path for destination type *fbimage.BGRA #4

Closed bradfitz closed 1 year ago

bradfitz commented 1 year ago

This specialization brings down copying time to 5ms (from 60-70ms) on an amd64 qemu VM with virtio VGA.

bradfitz commented 1 year ago

cc @stapelberg

bradfitz commented 1 year ago

(Ignore the typo in my branch name... 🤦)

stapelberg commented 1 year ago

Thank you!