Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorvald Natvig <slicer@users.sourceforge.net>2010-01-22 03:10:46 +0300
committerThorvald Natvig <slicer@users.sourceforge.net>2010-01-22 03:10:46 +0300
commit1f51f0cfbe42cfeff7e51be3e86e6013598aea97 (patch)
tree047c052e337deb2bd2e3953d472390877433d6dc /overlay
parent30b63c2f87982468384daa55baf8acb27df885f1 (diff)
Shmem based overlay (still WIP)
Diffstat (limited to 'overlay')
-rw-r--r--overlay/overlay.h23
1 files changed, 17 insertions, 6 deletions
diff --git a/overlay/overlay.h b/overlay/overlay.h
index baec50bf7..ab2518c25 100644
--- a/overlay/overlay.h
+++ b/overlay/overlay.h
@@ -83,16 +83,27 @@ struct OverlayMsgInit {
unsigned int uiHeight;
};
-#define OVERLAY_MSGTYPE_BLIT 1
+#define OVERLAY_MSGTYPE_SHMEM 1
+struct OverlayMsgShmem {
+ char a_cName[2048];
+};
+
+#define OVERLAY_MSGTYPE_BLIT 2
struct OverlayMsgBlit {
unsigned int x, y, w, h;
};
-union OverlayMsgs {
- char buffer[1];
- OverlayMsgHeader omh;
- OverlayMsgInit omi;
- OverlayMsgBlit omb;
+struct OverlayMsg {
+ union {
+ char headerbuffer[1];
+ OverlayMsgHeader omh;
+ };
+ union {
+ char msgbuffer[1];
+ OverlayMsgShmem oms;
+ OverlayMsgInit omi;
+ OverlayMsgBlit omb;
+ };
};
#endif