mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:27:45 +00:00
DisplaySettings+WindowServer: Add support for display connector devices
This commit is contained in:
parent
e6ebf9e5c1
commit
d9a2706079
12 changed files with 308 additions and 38 deletions
|
@ -721,6 +721,13 @@ void Compositor::flush(Screen& screen)
|
|||
// now so that they can be sent to the device.
|
||||
screen.flush_display(screen_data.m_buffers_are_flipped ? 1 : 0);
|
||||
}
|
||||
|
||||
// Note: We write all contents from the internal buffer of WindowServer Screen
|
||||
// to the actual framebuffer with the write() syscall, but after we flush the screen
|
||||
// to ensure we are in a "clean state"...
|
||||
// FIXME: This write is completely inefficient and needs to be done in chunks
|
||||
// only when appropriate...
|
||||
screen.write_all_display_contents();
|
||||
}
|
||||
|
||||
void Compositor::invalidate_screen()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue