mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:07:34 +00:00
Userland: Add FB_FLUSH ioctl for fbdev
This commit is contained in:
parent
34e9fa4d3b
commit
974e996d33
5 changed files with 27 additions and 0 deletions
|
@ -662,6 +662,7 @@ void Compositor::flush(Screen& screen)
|
|||
from_ptr = (const Gfx::RGBA32*)((const u8*)from_ptr + pitch);
|
||||
to_ptr = (Gfx::RGBA32*)((u8*)to_ptr + pitch);
|
||||
}
|
||||
screen.flush_display(a_rect.intersected(screen.rect()));
|
||||
};
|
||||
for (auto& rect : screen_data.m_flush_rects.rects())
|
||||
do_flush(rect);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue