summaryrefslogtreecommitdiff
path: root/Userland/Services/WindowServer/Compositor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Services/WindowServer/Compositor.cpp')
-rw-r--r--Userland/Services/WindowServer/Compositor.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/Userland/Services/WindowServer/Compositor.cpp b/Userland/Services/WindowServer/Compositor.cpp
index 645b98f176..485e5987dc 100644
--- a/Userland/Services/WindowServer/Compositor.cpp
+++ b/Userland/Services/WindowServer/Compositor.cpp
@@ -724,13 +724,6 @@ 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()