1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 09:58:14 +00:00
serenity/Servers/WindowServer
Conrad Pankoff 23b6ef29dd WindowServer: Detect framebuffer capabilities and settings
The main changes are twofold:

* Buffer flipping is now controlled by the m_screen_can_set_buffer flag
  in WSCompositor. This flag, in turn, is impacted by m_can_set_buffer
  flag, in WSScreen. m_can_set_buffer is set in the WSScreen constructor
  by checking the return value of fb_set_buffer. If the framebuffer
  supports this operation, it will succeed, and we record this fact. This
  information is then used by WSCompositor to set its own
  m_screen_can_set_buffer flag.

* WSScreen now only requests a resolution change of the framebuffer. The
  driver itself is ultimately responsible for what resolution or mode is
  actually set, so WSScreen has to read the response from that request,
  and has no choice but to accept the answer. This allows the driver to
  choose a "close enough" value to what was requested, or simply ignore
  it.

The result of this is that there is no special configuration necessary
for WindowServer to work with reduced-capability framebuffer devices.
2019-08-18 07:40:02 +02:00
..
install.sh Build: Install most headers to Root (and libcore.a/libgui.a) 2019-05-17 21:59:48 +02:00
main.cpp WSEventLoop: Remove inheritance from CEventLoop 2019-07-17 20:16:44 +02:00
Makefile LibDraw: Introduce (formerly known as SharedGraphics.) 2019-07-18 10:18:16 +02:00
WSAPITypes.h WindowServer+LibGUI: Remove old "icon path" way of doing things. 2019-07-28 10:24:58 +02:00
WSButton.cpp LibDraw: Introduce (formerly known as SharedGraphics.) 2019-07-18 10:18:16 +02:00
WSButton.h LibDraw: Introduce (formerly known as SharedGraphics.) 2019-07-18 10:18:16 +02:00
WSClientConnection.cpp WindowServer: Control WSClientConnection's window list teardown better 2019-07-31 10:23:12 +02:00
WSClientConnection.h WindowServer+LibGUI: Remove old "icon path" way of doing things. 2019-07-28 10:24:58 +02:00
WSClipboard.cpp AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
WSClipboard.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
WSCompositor.cpp WindowServer: Detect framebuffer capabilities and settings 2019-08-18 07:40:02 +02:00
WSCompositor.h WindowServer: Detect framebuffer capabilities and settings 2019-08-18 07:40:02 +02:00
WSCPUMonitor.cpp CProcessStatisticsReader: Be consistent about terminology from the kernel down 2019-07-18 07:23:26 +02:00
WSCPUMonitor.h WindowServer: Use CProcessStatisticsReader in WSCPUMonitor. 2019-07-10 15:22:44 +02:00
WSCursor.cpp AK: Rename RetainPtr => RefPtr and Retained => NonnullRefPtr. 2019-06-21 18:37:47 +02:00
WSCursor.h LibDraw: Introduce (formerly known as SharedGraphics.) 2019-07-18 10:18:16 +02:00
WSEvent.h WindowServer+LibGUI: Remove old "icon path" way of doing things. 2019-07-28 10:24:58 +02:00
WSEventLoop.cpp LibCore: Port CoreIPCServer to using CLocalServer. 2019-07-27 10:53:50 +02:00
WSEventLoop.h LibCore: Port CoreIPCServer to using CLocalServer. 2019-07-27 10:53:50 +02:00
WSMenu.cpp WindowServer: Convert Vector<OwnPtr> to NonnullOwnPtrVector. 2019-07-24 09:04:57 +02:00
WSMenu.h LibCore: Introduce a C_OBJECT macro. 2019-07-25 19:49:28 +02:00
WSMenuBar.cpp WindowServer: Run clang-format on everything. 2019-06-07 11:47:19 +02:00
WSMenuBar.h Add clang-format file 2019-05-28 17:31:20 +02:00
WSMenuItem.cpp LibGUI+WindowServer: Make it possible to have checkable GActions. 2019-04-26 21:09:56 +02:00
WSMenuItem.h LibDraw: Introduce (formerly known as SharedGraphics.) 2019-07-18 10:18:16 +02:00
WSMenuManager.cpp WindowServer: Disable the global menubar while a modal window is active. 2019-07-21 10:23:21 +02:00
WSMenuManager.h LibCore: Introduce a C_OBJECT macro. 2019-07-25 19:49:28 +02:00
WSScreen.cpp WindowServer: Detect framebuffer capabilities and settings 2019-08-18 07:40:02 +02:00
WSScreen.h WindowServer: Detect framebuffer capabilities and settings 2019-08-18 07:40:02 +02:00
WSWindow.cpp WindowServer+LibGUI: Remove old "icon path" way of doing things. 2019-07-28 10:24:58 +02:00
WSWindow.h WindowServer: Allow moving the Launcher window type. 2019-07-31 17:49:40 +02:00
WSWindowFrame.cpp WindowServer: Convert Vector<OwnPtr> to NonnullOwnPtrVector. 2019-07-24 09:04:57 +02:00
WSWindowFrame.h WindowServer: Convert Vector<OwnPtr> to NonnullOwnPtrVector. 2019-07-24 09:04:57 +02:00
WSWindowManager.cpp WindowServer: Fix incorrect "window left" event after button drag 2019-08-12 18:36:33 +02:00
WSWindowManager.h WindowServer: Use range-for with InlineLinkedList 2019-08-08 13:40:47 +02:00
WSWindowSwitcher.cpp LibDraw: Introduce (formerly known as SharedGraphics.) 2019-07-18 10:18:16 +02:00
WSWindowSwitcher.h LibCore: Introduce a C_OBJECT macro. 2019-07-25 19:49:28 +02:00
WSWindowType.h WindowServer: Add a custom window type for Launcher 2019-07-14 00:06:47 +02:00