summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-01-12 06:39:34 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-01-12 06:39:34 +0100
commit780e15a6cc08db0b8a956400a0515c220493abdd (patch)
tree34e8c4151fb4183db0ccd12ae7156e0f7ba37bea /Kernel
parentfd4e86460bd54acd1ff80688e7dde6ad4aed4beb (diff)
downloadserenity-780e15a6cc08db0b8a956400a0515c220493abdd.zip
All right, let's double buffer the display. It looks so much better.
This performs like dogshit. I need to make some optimizations. :^)
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/Process.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/Process.h b/Kernel/Process.h
index f84ca09fb7..45a0584338 100644
--- a/Kernel/Process.h
+++ b/Kernel/Process.h
@@ -42,6 +42,7 @@ struct DisplayInfo {
class Process : public InlineLinkedListNode<Process> {
friend class InlineLinkedListNode<Process>;
+ friend class WindowManager; // FIXME: Make a better API for allocate_region().
public:
static Process* create_kernel_process(String&& name, void (*entry)());
static Process* create_user_process(const String& path, uid_t, gid_t, pid_t ppid, int& error, Vector<String>&& arguments = Vector<String>(), Vector<String>&& environment = Vector<String>(), TTY* = nullptr);