Andreas Kling
aa24547e12
Kernel: Finally stop exposing Region members to the public.
2019-01-24 18:09:46 +01:00
Andreas Kling
2f2f28f212
Kernel: Refactor Region/PageDirectory ownership model.
...
Make PageDirectory retainable and have each Region co-own the PageDirectory
they're mapped into. When unmapped, Region has no associated PageDirectory.
This allows Region to automatically unmap itself when destroyed.
2019-01-22 05:06:22 +01:00
Andreas Kling
a47f33bed3
WindowServer: Map shared GraphicsBitmaps read-only on the server side.
2019-01-21 19:27:23 +01:00
Andreas Kling
76a2881793
Mark the two Regions used GraphicsBitmaps as explicitly shared.
...
This fixes a goofy problem where forking a GUI process would cowify the
GraphicsBitmap for everyone making a hue confusing mess.
2019-01-21 05:18:28 +01:00
Andreas Kling
7e5b81fe48
Make a SharedGraphics directory for classes shared between Kernel and LibGUI.
2019-01-19 23:22:46 +01:00