Kernel: Add fast fill method to framebuffer device

This makes `clear` much faster when running without kvm!
This commit is contained in:
2025-07-01 13:53:19 +03:00
parent c2d09b64ca
commit fb7e9719a1
3 changed files with 10 additions and 3 deletions

View File

@@ -17,6 +17,7 @@ namespace Kernel
uint32_t get_pixel(uint32_t x, uint32_t y) const;
void set_pixel(uint32_t x, uint32_t y, uint32_t rgb);
void fill(uint32_t rgb);
// positive rows -> empty pixels on bottom
// negative rows -> empty pixels on top