1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-13 01:01:00 +00:00
serenity/WindowServer
Andreas Kling fbcc8ab840 WindowServer: Slurp all available client messages when checking them.
We were reading one client message per client per event loop iteration.
That was not very snappy. Make the sockets non-blocking and read() until
there are no messages left.

It would be even better to make as few calls to read() as possible to
reduce context switching, but this is already a huge improvement.
2019-02-15 11:43:43 +01:00
..
.gitignore Add basic automatic dependency management to Makefiles. 2019-02-02 04:41:59 +01:00
main.cpp WindowServer: Set the WSMessageLoop::server_process() as early as possible. 2019-02-08 09:47:57 +01:00
WSAPITypes.h WindowServer: Rename GUI_Foo to WSAPI_Foo. 2019-02-15 09:17:18 +01:00
WSClientConnection.cpp WindowServer: Rename GUI_Foo to WSAPI_Foo. 2019-02-15 09:17:18 +01:00
WSClientConnection.h WindowServer: Rename GUI_Foo to WSAPI_Foo. 2019-02-15 09:17:18 +01:00
WSMenu.cpp WindowServer: Rename GUI_Foo to WSAPI_Foo. 2019-02-15 09:17:18 +01:00
WSMenu.h WindowServer: Make WSMenu use WSClientConnection::post_message(). 2019-02-14 10:45:27 +01:00
WSMenuBar.cpp WindowServer: Make MenuBar unaware of Process. 2019-02-14 10:49:59 +01:00
WSMenuBar.h WindowServer: Make MenuBar unaware of Process. 2019-02-14 10:49:59 +01:00
WSMenuItem.cpp WindowServer: Give menu items an identifier field and add a simple callback. 2019-02-11 10:55:02 +01:00
WSMenuItem.h WindowServer: Give menu items an identifier field and add a simple callback. 2019-02-11 10:55:02 +01:00
WSMessage.h WindowServer: Refactor WSClientConnection to have one function per request. 2019-02-14 08:43:29 +01:00
WSMessageLoop.cpp WindowServer: Slurp all available client messages when checking them. 2019-02-15 11:43:43 +01:00
WSMessageLoop.h WindowServer: Slurp all available client messages when checking them. 2019-02-15 11:43:43 +01:00
WSMessageReceiver.cpp WindowServer: Rename WSEvent to WSMessage. 2019-01-26 05:28:02 +01:00
WSMessageReceiver.h WindowServer: More event -> message renaming. 2019-01-26 05:35:45 +01:00
WSScreen.cpp WindowServer: Coordinate double-buffering with the BochsVGA card. 2019-02-07 08:56:26 +01:00
WSScreen.h Bootloader: Locate the kernel's data segment and clear it. 2019-02-06 16:02:10 +01:00
WSWindow.cpp WindowServer: Rename GUI_Foo to WSAPI_Foo. 2019-02-15 09:17:18 +01:00
WSWindow.h WindowServer: Get rid of the WSWindow lock now that accesses are serial. 2019-02-14 10:35:56 +01:00
WSWindowManager.cpp WindowServer: Ignore attempts to make menu windows the active window. 2019-02-14 10:56:45 +01:00
WSWindowManager.h WindowServer: Make MenuBar unaware of Process. 2019-02-14 10:49:59 +01:00
WSWindowType.h WindowServer: Add a WSWindowType enum. 2019-02-12 11:53:45 +01:00