ladybird/Ladybird/WebContent
Aliaksandr Kalenik c92f8ab1ea Everywhere: Use IOSurface as backing store on macOS
Using mmap-allocated memory for backing stores does not allow us to
benefit from using GPU-accelerated painting, because all the performance
increase we get is mostly negated by reading the GPU-allocated texture
back into RAM, so it can be shared with the browser process.

With IOSurface, we get a framebuffer that is both shareable between
processes and can be used as underlying memory for an OpenGL/Metal
texture.

This change does not yet benefit from using IOSurface and merely wraps
them into Gfx::Bitmap to be used by the CPU painter.
2024-06-24 13:09:08 +02:00
..
CMakeLists.txt LibWebView+WebContent: Move backing store allocation into WebContent 2024-06-24 13:09:08 +02:00
main.cpp Everywhere: Use IOSurface as backing store on macOS 2024-06-24 13:09:08 +02:00