diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-12-02 09:33:37 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-12-02 11:11:05 +0100 |
commit | 272d65e3e2ed32981114d89df26d9154e51fb47e (patch) | |
tree | aac9b2f42f311eb86336175ca57ec0fea7ff3930 /Games | |
parent | 30db7813dedcb16afa67a9c9b6d4f39e04bce536 (diff) | |
download | serenity-272d65e3e2ed32981114d89df26d9154e51fb47e.zip |
WindowServer: Port to the new IPC system
This patch introduces code generation for the WindowServer IPC with
its clients. The client/server endpoints are defined by the two .ipc
files in Servers/WindowServer/: WindowServer.ipc and WindowClient.ipc
It now becomes significantly easier to add features and capabilities
to WindowServer since you don't have to know nearly as much about all
the intricate paths that IPC messages take between LibGUI and WSWindow.
The new system also uses significantly less IPC bandwidth since we're
now doing packed serialization instead of passing fixed-sized structs
of ~600 bytes for each message.
Some repaint coalescing optimizations are lost in this conversion and
we'll need to look at how to implement those in the new world.
The old CoreIPC::Client::Connection and CoreIPC::Server::Connection
classes are removed by this patch and replaced by use of ConnectionNG,
which will be renamed eventually.
Goodbye, old WindowServer IPC. You served us well :^)
Diffstat (limited to 'Games')
-rw-r--r-- | Games/Minesweeper/Makefile | 2 | ||||
-rw-r--r-- | Games/Snake/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Games/Minesweeper/Makefile b/Games/Minesweeper/Makefile index 360d9a8bc3..396deec731 100644 --- a/Games/Minesweeper/Makefile +++ b/Games/Minesweeper/Makefile @@ -11,7 +11,7 @@ DEFINES += -DUSERLAND all: $(APP) $(APP): $(OBJS) - $(LD) -o $(APP) $(LDFLAGS) $(OBJS) -lgui -ldraw -lcore -lc + $(LD) -o $(APP) $(LDFLAGS) $(OBJS) -lgui -ldraw -lipc -lcore -lc .cpp.o: @echo "CXX $<"; $(CXX) $(CXXFLAGS) -o $@ -c $< diff --git a/Games/Snake/Makefile b/Games/Snake/Makefile index 3c3e15e437..fea7faf332 100644 --- a/Games/Snake/Makefile +++ b/Games/Snake/Makefile @@ -11,7 +11,7 @@ DEFINES += -DUSERLAND all: $(APP) $(APP): $(OBJS) - $(LD) -o $(APP) $(LDFLAGS) $(OBJS) -lgui -ldraw -lcore -lc + $(LD) -o $(APP) $(LDFLAGS) $(OBJS) -lgui -ldraw -lipc -lcore -lc .cpp.o: @echo "CXX $<"; $(CXX) $(CXXFLAGS) -o $@ -c $< |