aboutsummaryrefslogtreecommitdiff
path: root/doc/gui-stack-design.md
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2015-03-14 20:12:30 +0100
committerAlex Auvolat <alex@adnab.me>2015-03-14 20:12:30 +0100
commit27a6934ea3073c3eaf782cc7615ce4ed0dbf4a18 (patch)
tree6eadb22d60c3efc300a43793236f725fb8279312 /doc/gui-stack-design.md
parent36d1583b8958b79723ea2785dc320b5233183b14 (diff)
downloadkogata-27a6934ea3073c3eaf782cc7615ce4ed0dbf4a18.tar.gz
kogata-27a6934ea3073c3eaf782cc7615ce4ed0dbf4a18.zip
Talk about the GUI in english.
Diffstat (limited to 'doc/gui-stack-design.md')
-rw-r--r--doc/gui-stack-design.md32
1 files changed, 31 insertions, 1 deletions
diff --git a/doc/gui-stack-design.md b/doc/gui-stack-design.md
index b545520..5da0eeb 100644
--- a/doc/gui-stack-design.md
+++ b/doc/gui-stack-design.md
@@ -1,6 +1,36 @@
(sorry, in french for the moment)
-# Design de la pile GUI
+GUI stack design
+================
+
+Two protocols :
+
+- GIP (Graphics Initiation Protocol) : one GIP session handles one graphical
+ framebuffer, a keyboard, a mouse. The buffer is created by the server and
+ shared to the client with a token (a kernel IPC mechanism for file
+ descriptors). Reset operation. Possible extention for audio input/output to be
+ done at this level.
+- WMP (Window Management Protocol) : creation of windows and of a GIP channel
+ for interacting with each window. Usual window managing messages. Hierarchy of
+ WMP channels : in a WMP channel you can ask for the creation of a sub-channel
+ ; when a channel is closed all the sub-channels are closed too.
+
+Software components of the GUI stack :
+
+- `giosrv` handles the i/o with the hardware and makes that available as a GIP
+ channel
+- login manager : talks to `giosrv`, displays the login manager, and once a
+ user is logged in, simply proxies the GIP between `giosrv` and the user
+ desktop manager. Intercepts Ctrl+Alt+Del to lock the current session and go
+ back to login screen.
+- sessin manager : instantiated by login manager, runs with the privileges of
+ the user. Window managing.
+- graphical toolkit library
+
+
+----
+
+Version française.
Deux protocoles :