ladybird/Servers
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
..
AudioServer IPCCompiler+AudioServer: Accept "//"-style comments in IPC defintions 2019-08-03 21:29:09 +02:00
LookupServer AK: Make HashMap::get(Key) return an Optional<Value>. 2019-07-24 10:25:43 +02:00
SystemServer SystemServer: Don't spawn a TTYServer on on /dev/tty0 2019-08-17 14:19:18 +02:00
TTYServer Server: Add TTYServer, a rudimentary text console manager 2019-08-12 13:52:20 +02:00
WindowServer WindowServer: Detect framebuffer capabilities and settings 2019-08-18 07:40:02 +02:00