]> source.dussan.org Git - tigervnc.git/commitdiff
Synched AbortDDX, OsVendorInit, OsVendorFatalError and ddxBeforeReset, as well as...
authorPeter Åstrand <astrand@cendio.se>
Tue, 22 Feb 2005 20:18:24 +0000 (20:18 +0000)
committerPeter Åstrand <astrand@cendio.se>
Tue, 22 Feb 2005 20:18:24 +0000 (20:18 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@214 3789f03b-4d11-0410-bbf8-ca57d06f2519

xc/programs/Xserver/vnc/Xvnc/xvnc.cc

index baf6c5e3e33dce38839648d734e21027fb592efc..7ad34f25b7947b68af45943f4169ee20574cb2ea 100644 (file)
@@ -246,12 +246,53 @@ ddxGiveUp()
     }
 }
 
-  void AbortDDX() { ddxGiveUp(); }
-  void OsVendorInit() {}
-  void OsVendorFatalError() {}
+void
+AbortDDX()
+{
+    ddxGiveUp();
+}
 
-  void ddxUseMsg()
-  {
+#ifdef __DARWIN__
+void
+DarwinHandleGUI(int argc, char *argv[])
+{
+}
+
+void GlxExtensionInit();
+void GlxWrapInitVisuals(void *procPtr);
+
+void
+DarwinGlxExtensionInit()
+{
+    GlxExtensionInit();
+}
+
+void
+DarwinGlxWrapInitVisuals(
+    void *procPtr)
+{
+    GlxWrapInitVisuals(procPtr);
+}
+#endif
+
+void
+OsVendorInit()
+{
+}
+
+void
+OsVendorFatalError()
+{
+}
+
+void ddxBeforeReset(void)
+{
+    return;
+}
+
+void 
+ddxUseMsg()
+{
     ErrorF("\nXvnc version %s - built %s\n", XVNCVERSION, buildtime);
     ErrorF("Underlying X server release %d, %s\n\n", VENDOR_RELEASE,
            VENDOR_STRING);
@@ -264,6 +305,15 @@ ddxGiveUp()
     ErrorF("-linebias n            adjust thin line pixelization\n");
     ErrorF("-blackpixel n          pixel value for black\n");
     ErrorF("-whitepixel n          pixel value for white\n");
+
+#ifdef HAS_MMAP
+    ErrorF("-fbdir directory       put framebuffers in mmap'ed files in directory\n");
+#endif
+
+#ifdef HAS_SHM
+    ErrorF("-shmem                 put framebuffers in shared memory\n");
+#endif
+
     ErrorF("-geometry WxH          set screen 0's width, height\n");
     ErrorF("-depth D               set screen 0's depth\n");
     ErrorF("-pixelformat fmt       set pixel format (rgbNNN or bgrNNN)\n");