ladybird/SharedGraphics
Andreas Kling 86eae0f8df Let userland retain the window backing store while drawing into it.
To start painting, call:
gui$get_window_backing_store()

Then finish up with:
gui$release_window_backing_store()

Process will retain the underlying GraphicsBitmap behind the scenes.
This fixes racing between the WindowServer and GUI clients.

This patch also adds a WSWindowLocker that is exactly what it sounds like.
2019-01-24 23:44:19 +01:00
..
.gitignore Make a SharedGraphics directory for classes shared between Kernel and LibGUI. 2019-01-19 23:22:46 +01:00
CharacterBitmap.cpp Make a SharedGraphics directory for classes shared between Kernel and LibGUI. 2019-01-19 23:22:46 +01:00
CharacterBitmap.h Make a SharedGraphics directory for classes shared between Kernel and LibGUI. 2019-01-19 23:22:46 +01:00
Color.cpp Make a SharedGraphics directory for classes shared between Kernel and LibGUI. 2019-01-19 23:22:46 +01:00
Color.h Make a SharedGraphics directory for classes shared between Kernel and LibGUI. 2019-01-19 23:22:46 +01:00
Font.cpp SharedGraphics: Draw an error glyph instead of crashing due to missing glyphs. 2019-01-23 08:07:58 +01:00
Font.h SharedGraphics: Draw an error glyph instead of crashing due to missing glyphs. 2019-01-23 08:07:58 +01:00
GraphicsBitmap.cpp Kernel: Finally stop exposing Region members to the public. 2019-01-24 18:09:46 +01:00
GraphicsBitmap.h Let userland retain the window backing store while drawing into it. 2019-01-24 23:44:19 +01:00
Painter.cpp Let userland retain the window backing store while drawing into it. 2019-01-24 23:44:19 +01:00
Painter.h Let userland retain the window backing store while drawing into it. 2019-01-24 23:44:19 +01:00
Peanut8x8.h SharedGraphics: Draw an error glyph instead of crashing due to missing glyphs. 2019-01-23 08:07:58 +01:00
Peanut8x10.h SharedGraphics: Draw an error glyph instead of crashing due to missing glyphs. 2019-01-23 08:07:58 +01:00
Point.h Make a SharedGraphics directory for classes shared between Kernel and LibGUI. 2019-01-19 23:22:46 +01:00
Rect.cpp WindowServer: Only blit dirty rect of windows to back buffer. 2019-01-20 23:42:36 +01:00
Rect.h WindowServer: Only blit dirty rect of windows to back buffer. 2019-01-20 23:42:36 +01:00
Size.h Make a SharedGraphics directory for classes shared between Kernel and LibGUI. 2019-01-19 23:22:46 +01:00