1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 22:18:12 +00:00

WindowServer: Drop support for the DisplayConnector write interface

All DisplayConnectors should support the mmap interface and it should
provide better performance now, so let's just use it and drop support
for the DisplayConnector's write interface from the WindowServer side.
This commit is contained in:
Liav A 2022-05-13 03:25:16 +03:00 committed by Linus Groh
parent e2ed6ef741
commit f62cd52d12
6 changed files with 5 additions and 36 deletions

View file

@ -558,11 +558,6 @@ void Screen::flush_display(int buffer_index)
flush_rects.pending_flush_rects.clear_with_capacity();
}
void Screen::write_all_display_contents()
{
MUST(m_backend->write_all_contents(m_physical_rect));
}
void Screen::flush_display_entire_framebuffer()
{
VERIFY(m_backend->m_can_device_flush_entire_framebuffer);