From f0abc6f0061255195880cc281f428f4adcf3b33a Mon Sep 17 00:00:00 2001 From: marha Date: Wed, 28 Apr 2010 15:17:20 +0000 Subject: svn merge -r554:HEAD "^/branches/released" . --- xorg-server/hw/dmx/doc/html/ChkNotMaskEv_8c.html | 103 -- xorg-server/hw/dmx/doc/html/ChkNotMaskEv_8h.html | 86 - .../hw/dmx/doc/html/ChkNotMaskEv_8h_source.html | 73 - xorg-server/hw/dmx/doc/html/annotated.html | 80 - xorg-server/hw/dmx/doc/html/classes.html | 45 - xorg-server/hw/dmx/doc/html/dmx_8h.html | 445 ----- xorg-server/hw/dmx/doc/html/dmx_8h_source.html | 327 ---- .../hw/dmx/doc/html/dmx__glxvisuals_8h_source.html | 94 - xorg-server/hw/dmx/doc/html/dmxarg_8c.html | 228 --- xorg-server/hw/dmx/doc/html/dmxarg_8h.html | 225 --- xorg-server/hw/dmx/doc/html/dmxarg_8h_source.html | 82 - xorg-server/hw/dmx/doc/html/dmxbackend_8c.html | 1187 ------------ xorg-server/hw/dmx/doc/html/dmxbackend_8h.html | 338 ---- .../hw/dmx/doc/html/dmxbackend_8h_source.html | 88 - xorg-server/hw/dmx/doc/html/dmxcb_8c.html | 180 -- xorg-server/hw/dmx/doc/html/dmxcb_8h.html | 190 -- xorg-server/hw/dmx/doc/html/dmxcb_8h_source.html | 83 - xorg-server/hw/dmx/doc/html/dmxclient_8h.html | 227 --- .../hw/dmx/doc/html/dmxclient_8h_source.html | 172 -- xorg-server/hw/dmx/doc/html/dmxcmap_8c.html | 254 --- xorg-server/hw/dmx/doc/html/dmxcmap_8h.html | 338 ---- xorg-server/hw/dmx/doc/html/dmxcmap_8h_source.html | 98 - xorg-server/hw/dmx/doc/html/dmxcommon_8c.html | 889 --------- xorg-server/hw/dmx/doc/html/dmxcommon_8h.html | 775 -------- .../hw/dmx/doc/html/dmxcommon_8h_source.html | 156 -- xorg-server/hw/dmx/doc/html/dmxcompat_8c.html | 254 --- xorg-server/hw/dmx/doc/html/dmxcompat_8h.html | 72 - .../hw/dmx/doc/html/dmxcompat_8h_source.html | 74 - xorg-server/hw/dmx/doc/html/dmxconfig_8c.html | 863 --------- xorg-server/hw/dmx/doc/html/dmxconfig_8h.html | 426 ----- .../hw/dmx/doc/html/dmxconfig_8h_source.html | 94 - xorg-server/hw/dmx/doc/html/dmxconsole_8c.html | 1482 --------------- xorg-server/hw/dmx/doc/html/dmxconsole_8h.html | 427 ----- .../hw/dmx/doc/html/dmxconsole_8h_source.html | 92 - xorg-server/hw/dmx/doc/html/dmxcursor_8c.html | 1458 --------------- xorg-server/hw/dmx/doc/html/dmxcursor_8h.html | 478 ----- .../hw/dmx/doc/html/dmxcursor_8h_source.html | 102 -- xorg-server/hw/dmx/doc/html/dmxdetach_8c.html | 79 - xorg-server/hw/dmx/doc/html/dmxdpms_8c.html | 175 -- xorg-server/hw/dmx/doc/html/dmxdpms_8h.html | 115 -- xorg-server/hw/dmx/doc/html/dmxdpms_8h_source.html | 75 - xorg-server/hw/dmx/doc/html/dmxdummy_8c.html | 109 -- xorg-server/hw/dmx/doc/html/dmxdummy_8h.html | 109 -- .../hw/dmx/doc/html/dmxdummy_8h_source.html | 76 - xorg-server/hw/dmx/doc/html/dmxevents_8c.html | 1098 ----------- xorg-server/hw/dmx/doc/html/dmxevents_8h.html | 221 --- .../hw/dmx/doc/html/dmxevents_8h_source.html | 79 - xorg-server/hw/dmx/doc/html/dmxextension_8c.html | 855 --------- xorg-server/hw/dmx/doc/html/dmxextension_8h.html | 560 ------ .../hw/dmx/doc/html/dmxextension_8h_source.html | 144 -- xorg-server/hw/dmx/doc/html/dmxfont_8c.html | 467 ----- xorg-server/hw/dmx/doc/html/dmxfont_8h.html | 280 --- xorg-server/hw/dmx/doc/html/dmxfont_8h_source.html | 91 - xorg-server/hw/dmx/doc/html/dmxgc_8c.html | 446 ----- xorg-server/hw/dmx/doc/html/dmxgc_8h.html | 512 ------ xorg-server/hw/dmx/doc/html/dmxgc_8h_source.html | 119 -- xorg-server/hw/dmx/doc/html/dmxgcops_8c.html | 1384 -------------- xorg-server/hw/dmx/doc/html/dmxgcops_8h.html | 1279 ------------- .../hw/dmx/doc/html/dmxgcops_8h_source.html | 128 -- xorg-server/hw/dmx/doc/html/dmxinit_8c.html | 891 --------- xorg-server/hw/dmx/doc/html/dmxinit_8h.html | 209 --- xorg-server/hw/dmx/doc/html/dmxinit_8h_source.html | 83 - xorg-server/hw/dmx/doc/html/dmxinput_8c.html | 215 --- xorg-server/hw/dmx/doc/html/dmxinput_8h.html | 591 ------ .../hw/dmx/doc/html/dmxinput_8h_source.html | 157 -- xorg-server/hw/dmx/doc/html/dmxinputinit_8c.html | 1463 --------------- xorg-server/hw/dmx/doc/html/dmxinputinit_8h.html | 1096 ----------- .../hw/dmx/doc/html/dmxinputinit_8h_source.html | 269 --- xorg-server/hw/dmx/doc/html/dmxlog_8c.html | 632 ------- xorg-server/hw/dmx/doc/html/dmxlog_8h.html | 525 ------ xorg-server/hw/dmx/doc/html/dmxlog_8h_source.html | 102 -- xorg-server/hw/dmx/doc/html/dmxmap_8c.html | 141 -- xorg-server/hw/dmx/doc/html/dmxmap_8h.html | 139 -- xorg-server/hw/dmx/doc/html/dmxmap_8h_source.html | 75 - xorg-server/hw/dmx/doc/html/dmxmotion_8c.html | 200 -- xorg-server/hw/dmx/doc/html/dmxmotion_8h.html | 171 -- .../hw/dmx/doc/html/dmxmotion_8h_source.html | 82 - xorg-server/hw/dmx/doc/html/dmxparse_8c.html | 1394 -------------- xorg-server/hw/dmx/doc/html/dmxparse_8h.html | 1928 -------------------- .../hw/dmx/doc/html/dmxparse_8h_source.html | 316 ---- xorg-server/hw/dmx/doc/html/dmxpict_8c.html | 1407 -------------- xorg-server/hw/dmx/doc/html/dmxpict_8h.html | 1243 ------------- xorg-server/hw/dmx/doc/html/dmxpict_8h_source.html | 156 -- xorg-server/hw/dmx/doc/html/dmxpixmap_8c.html | 221 --- xorg-server/hw/dmx/doc/html/dmxpixmap_8h.html | 299 --- .../hw/dmx/doc/html/dmxpixmap_8h_source.html | 97 - xorg-server/hw/dmx/doc/html/dmxprint_8c.html | 711 -------- xorg-server/hw/dmx/doc/html/dmxprint_8h.html | 113 -- .../hw/dmx/doc/html/dmxprint_8h_source.html | 76 - xorg-server/hw/dmx/doc/html/dmxprop_8c.html | 346 ---- xorg-server/hw/dmx/doc/html/dmxprop_8h.html | 165 -- xorg-server/hw/dmx/doc/html/dmxprop_8h_source.html | 79 - xorg-server/hw/dmx/doc/html/dmxscrinit_8c.html | 492 ----- xorg-server/hw/dmx/doc/html/dmxscrinit_8h.html | 173 -- .../hw/dmx/doc/html/dmxscrinit_8h_source.html | 83 - xorg-server/hw/dmx/doc/html/dmxshadow_8c.html | 80 - xorg-server/hw/dmx/doc/html/dmxshadow_8h.html | 82 - .../hw/dmx/doc/html/dmxshadow_8h_source.html | 79 - xorg-server/hw/dmx/doc/html/dmxsigio_8c.html | 381 ---- xorg-server/hw/dmx/doc/html/dmxsigio_8h.html | 196 -- .../hw/dmx/doc/html/dmxsigio_8h_source.html | 78 - xorg-server/hw/dmx/doc/html/dmxstat_8c.html | 398 ---- xorg-server/hw/dmx/doc/html/dmxstat_8h.html | 299 --- xorg-server/hw/dmx/doc/html/dmxstat_8h_source.html | 87 - xorg-server/hw/dmx/doc/html/dmxsync_8c.html | 319 ---- xorg-server/hw/dmx/doc/html/dmxsync_8h.html | 131 -- xorg-server/hw/dmx/doc/html/dmxsync_8h_source.html | 76 - xorg-server/hw/dmx/doc/html/dmxvisual_8c.html | 146 -- xorg-server/hw/dmx/doc/html/dmxvisual_8h.html | 147 -- .../hw/dmx/doc/html/dmxvisual_8h_source.html | 80 - xorg-server/hw/dmx/doc/html/dmxwindow_8c.html | 865 --------- xorg-server/hw/dmx/doc/html/dmxwindow_8h.html | 949 ---------- .../hw/dmx/doc/html/dmxwindow_8h_source.html | 170 -- xorg-server/hw/dmx/doc/html/dmxxinput_8c.html | 328 ---- xorg-server/hw/dmx/doc/html/doxygen.css | 49 - xorg-server/hw/dmx/doc/html/doxygen.png | Bin 2352 -> 0 bytes xorg-server/hw/dmx/doc/html/files.html | 136 -- xorg-server/hw/dmx/doc/html/ftv2blank.png | Bin 174 -> 0 bytes xorg-server/hw/dmx/doc/html/ftv2doc.png | Bin 255 -> 0 bytes xorg-server/hw/dmx/doc/html/ftv2folderclosed.png | Bin 259 -> 0 bytes xorg-server/hw/dmx/doc/html/ftv2folderopen.png | Bin 261 -> 0 bytes xorg-server/hw/dmx/doc/html/ftv2lastnode.png | Bin 233 -> 0 bytes xorg-server/hw/dmx/doc/html/ftv2link.png | Bin 358 -> 0 bytes xorg-server/hw/dmx/doc/html/ftv2mlastnode.png | Bin 160 -> 0 bytes xorg-server/hw/dmx/doc/html/ftv2mnode.png | Bin 194 -> 0 bytes xorg-server/hw/dmx/doc/html/ftv2node.png | Bin 235 -> 0 bytes xorg-server/hw/dmx/doc/html/ftv2plastnode.png | Bin 165 -> 0 bytes xorg-server/hw/dmx/doc/html/ftv2pnode.png | Bin 200 -> 0 bytes xorg-server/hw/dmx/doc/html/ftv2vertline.png | Bin 229 -> 0 bytes xorg-server/hw/dmx/doc/html/functions.html | 94 - xorg-server/hw/dmx/doc/html/functions_vars.html | 94 - xorg-server/hw/dmx/doc/html/globals.html | 110 -- xorg-server/hw/dmx/doc/html/globals_defs.html | 86 - xorg-server/hw/dmx/doc/html/globals_enum.html | 87 - xorg-server/hw/dmx/doc/html/globals_eval.html | 218 --- xorg-server/hw/dmx/doc/html/globals_func.html | 102 -- xorg-server/hw/dmx/doc/html/globals_type.html | 343 ---- xorg-server/hw/dmx/doc/html/globals_vars.html | 614 ------- xorg-server/hw/dmx/doc/html/index.html | 16 - xorg-server/hw/dmx/doc/html/lnx-keyboard_8c.html | 1258 ------------- xorg-server/hw/dmx/doc/html/lnx-keyboard_8h.html | 394 ---- .../hw/dmx/doc/html/lnx-keyboard_8h_source.html | 96 - xorg-server/hw/dmx/doc/html/lnx-ms_8c.html | 720 -------- xorg-server/hw/dmx/doc/html/lnx-ms_8h.html | 302 --- xorg-server/hw/dmx/doc/html/lnx-ms_8h_source.html | 88 - xorg-server/hw/dmx/doc/html/lnx-ps2_8c.html | 716 -------- xorg-server/hw/dmx/doc/html/lnx-ps2_8h.html | 302 --- xorg-server/hw/dmx/doc/html/lnx-ps2_8h_source.html | 88 - xorg-server/hw/dmx/doc/html/main.html | 38 - .../hw/dmx/doc/html/structDMXConfigCmdStruct.html | 128 -- .../hw/dmx/doc/html/structDMXConfigListStruct.html | 80 - .../doc/html/structDMXDesktopAttributesRec.html | 114 -- .../dmx/doc/html/structDMXInputAttributesRec.html | 162 -- .../dmx/doc/html/structDMXScreenAttributesRec.html | 242 --- .../dmx/doc/html/structDMXWindowAttributesRec.html | 114 -- .../hw/dmx/doc/html/struct__DMXConfigComment.html | 98 - .../hw/dmx/doc/html/struct__DMXConfigDisplay.html | 370 ---- .../hw/dmx/doc/html/struct__DMXConfigEntry.html | 114 -- .../hw/dmx/doc/html/struct__DMXConfigFullDim.html | 82 - .../hw/dmx/doc/html/struct__DMXConfigNumber.html | 114 -- .../hw/dmx/doc/html/struct__DMXConfigOption.html | 114 -- .../hw/dmx/doc/html/struct__DMXConfigPair.html | 162 -- .../hw/dmx/doc/html/struct__DMXConfigParam.html | 178 -- .../hw/dmx/doc/html/struct__DMXConfigPartDim.html | 82 - .../hw/dmx/doc/html/struct__DMXConfigString.html | 130 -- .../hw/dmx/doc/html/struct__DMXConfigSub.html | 162 -- .../hw/dmx/doc/html/struct__DMXConfigToken.html | 98 - .../hw/dmx/doc/html/struct__DMXConfigVirtual.html | 194 -- .../hw/dmx/doc/html/struct__DMXConfigWall.html | 194 -- .../hw/dmx/doc/html/struct__DMXEventMap.html | 84 - .../hw/dmx/doc/html/struct__DMXInputInfo.html | 405 ---- .../hw/dmx/doc/html/struct__DMXLocalInitInfo.html | 571 ------ .../hw/dmx/doc/html/struct__DMXLocalInputInfo.html | 769 -------- .../hw/dmx/doc/html/struct__DMXScreenInfo.html | 1650 ----------------- .../hw/dmx/doc/html/struct__DMXStatAvg.html | 96 - .../hw/dmx/doc/html/struct__DMXStatInfo.html | 128 -- xorg-server/hw/dmx/doc/html/struct__dmxArg.html | 99 - .../hw/dmx/doc/html/struct__dmxColormapPriv.html | 66 - .../hw/dmx/doc/html/struct__dmxCursorPriv.html | 66 - .../hw/dmx/doc/html/struct__dmxFontPriv.html | 82 - xorg-server/hw/dmx/doc/html/struct__dmxGCPriv.html | 114 -- .../hw/dmx/doc/html/struct__dmxGlyphPriv.html | 67 - .../hw/dmx/doc/html/struct__dmxPictPriv.html | 84 - .../hw/dmx/doc/html/struct__dmxPixPriv.html | 82 - .../hw/dmx/doc/html/struct__dmxWinPriv.html | 194 -- xorg-server/hw/dmx/doc/html/struct__myPrivate.html | 1110 ----------- .../hw/dmx/doc/html/structdmxGlxVisualPrivate.html | 82 - xorg-server/hw/dmx/doc/html/tree.html | 215 --- xorg-server/hw/dmx/doc/html/usb-common_8c.html | 732 -------- xorg-server/hw/dmx/doc/html/usb-common_8h.html | 225 --- .../hw/dmx/doc/html/usb-common_8h_source.html | 87 - xorg-server/hw/dmx/doc/html/usb-keyboard_8c.html | 717 -------- xorg-server/hw/dmx/doc/html/usb-keyboard_8h.html | 203 --- .../hw/dmx/doc/html/usb-keyboard_8h_source.html | 81 - xorg-server/hw/dmx/doc/html/usb-mouse_8c.html | 460 ----- xorg-server/hw/dmx/doc/html/usb-mouse_8h.html | 200 -- .../hw/dmx/doc/html/usb-mouse_8h_source.html | 81 - xorg-server/hw/dmx/doc/html/usb-other_8c.html | 444 ----- xorg-server/hw/dmx/doc/html/usb-other_8h.html | 200 -- .../hw/dmx/doc/html/usb-other_8h_source.html | 81 - xorg-server/hw/dmx/doc/html/usb-private_8h.html | 305 ---- .../hw/dmx/doc/html/usb-private_8h_source.html | 144 -- 202 files changed, 61024 deletions(-) delete mode 100644 xorg-server/hw/dmx/doc/html/ChkNotMaskEv_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/ChkNotMaskEv_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/ChkNotMaskEv_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/annotated.html delete mode 100644 xorg-server/hw/dmx/doc/html/classes.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmx_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmx_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmx__glxvisuals_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxarg_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxarg_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxarg_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxbackend_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxbackend_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxbackend_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxcb_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxcb_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxcb_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxclient_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxclient_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxcmap_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxcmap_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxcmap_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxcommon_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxcommon_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxcommon_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxcompat_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxcompat_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxcompat_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxconfig_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxconfig_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxconfig_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxconsole_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxconsole_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxconsole_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxcursor_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxcursor_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxcursor_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxdetach_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxdpms_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxdpms_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxdpms_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxdummy_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxdummy_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxdummy_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxevents_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxevents_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxevents_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxextension_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxextension_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxextension_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxfont_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxfont_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxfont_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxgc_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxgc_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxgc_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxgcops_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxgcops_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxgcops_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxinit_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxinit_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxinit_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxinput_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxinput_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxinput_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxinputinit_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxinputinit_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxinputinit_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxlog_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxlog_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxlog_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxmap_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxmap_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxmap_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxmotion_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxmotion_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxmotion_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxparse_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxparse_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxparse_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxpict_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxpict_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxpict_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxpixmap_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxpixmap_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxpixmap_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxprint_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxprint_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxprint_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxprop_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxprop_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxprop_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxscrinit_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxscrinit_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxscrinit_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxshadow_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxshadow_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxshadow_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxsigio_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxsigio_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxsigio_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxstat_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxstat_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxstat_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxsync_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxsync_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxsync_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxvisual_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxvisual_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxvisual_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxwindow_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxwindow_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxwindow_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxxinput_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/doxygen.css delete mode 100644 xorg-server/hw/dmx/doc/html/doxygen.png delete mode 100644 xorg-server/hw/dmx/doc/html/files.html delete mode 100644 xorg-server/hw/dmx/doc/html/ftv2blank.png delete mode 100644 xorg-server/hw/dmx/doc/html/ftv2doc.png delete mode 100644 xorg-server/hw/dmx/doc/html/ftv2folderclosed.png delete mode 100644 xorg-server/hw/dmx/doc/html/ftv2folderopen.png delete mode 100644 xorg-server/hw/dmx/doc/html/ftv2lastnode.png delete mode 100644 xorg-server/hw/dmx/doc/html/ftv2link.png delete mode 100644 xorg-server/hw/dmx/doc/html/ftv2mlastnode.png delete mode 100644 xorg-server/hw/dmx/doc/html/ftv2mnode.png delete mode 100644 xorg-server/hw/dmx/doc/html/ftv2node.png delete mode 100644 xorg-server/hw/dmx/doc/html/ftv2plastnode.png delete mode 100644 xorg-server/hw/dmx/doc/html/ftv2pnode.png delete mode 100644 xorg-server/hw/dmx/doc/html/ftv2vertline.png delete mode 100644 xorg-server/hw/dmx/doc/html/functions.html delete mode 100644 xorg-server/hw/dmx/doc/html/functions_vars.html delete mode 100644 xorg-server/hw/dmx/doc/html/globals.html delete mode 100644 xorg-server/hw/dmx/doc/html/globals_defs.html delete mode 100644 xorg-server/hw/dmx/doc/html/globals_enum.html delete mode 100644 xorg-server/hw/dmx/doc/html/globals_eval.html delete mode 100644 xorg-server/hw/dmx/doc/html/globals_func.html delete mode 100644 xorg-server/hw/dmx/doc/html/globals_type.html delete mode 100644 xorg-server/hw/dmx/doc/html/globals_vars.html delete mode 100644 xorg-server/hw/dmx/doc/html/index.html delete mode 100644 xorg-server/hw/dmx/doc/html/lnx-keyboard_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/lnx-keyboard_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/lnx-keyboard_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/lnx-ms_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/lnx-ms_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/lnx-ms_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/lnx-ps2_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/lnx-ps2_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/lnx-ps2_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/main.html delete mode 100644 xorg-server/hw/dmx/doc/html/structDMXConfigCmdStruct.html delete mode 100644 xorg-server/hw/dmx/doc/html/structDMXConfigListStruct.html delete mode 100644 xorg-server/hw/dmx/doc/html/structDMXDesktopAttributesRec.html delete mode 100644 xorg-server/hw/dmx/doc/html/structDMXInputAttributesRec.html delete mode 100644 xorg-server/hw/dmx/doc/html/structDMXScreenAttributesRec.html delete mode 100644 xorg-server/hw/dmx/doc/html/structDMXWindowAttributesRec.html delete mode 100644 xorg-server/hw/dmx/doc/html/struct__DMXConfigComment.html delete mode 100644 xorg-server/hw/dmx/doc/html/struct__DMXConfigDisplay.html delete mode 100644 xorg-server/hw/dmx/doc/html/struct__DMXConfigEntry.html delete mode 100644 xorg-server/hw/dmx/doc/html/struct__DMXConfigFullDim.html delete mode 100644 xorg-server/hw/dmx/doc/html/struct__DMXConfigNumber.html delete mode 100644 xorg-server/hw/dmx/doc/html/struct__DMXConfigOption.html delete mode 100644 xorg-server/hw/dmx/doc/html/struct__DMXConfigPair.html delete mode 100644 xorg-server/hw/dmx/doc/html/struct__DMXConfigParam.html delete mode 100644 xorg-server/hw/dmx/doc/html/struct__DMXConfigPartDim.html delete mode 100644 xorg-server/hw/dmx/doc/html/struct__DMXConfigString.html delete mode 100644 xorg-server/hw/dmx/doc/html/struct__DMXConfigSub.html delete mode 100644 xorg-server/hw/dmx/doc/html/struct__DMXConfigToken.html delete mode 100644 xorg-server/hw/dmx/doc/html/struct__DMXConfigVirtual.html delete mode 100644 xorg-server/hw/dmx/doc/html/struct__DMXConfigWall.html delete mode 100644 xorg-server/hw/dmx/doc/html/struct__DMXEventMap.html delete mode 100644 xorg-server/hw/dmx/doc/html/struct__DMXInputInfo.html delete mode 100644 xorg-server/hw/dmx/doc/html/struct__DMXLocalInitInfo.html delete mode 100644 xorg-server/hw/dmx/doc/html/struct__DMXLocalInputInfo.html delete mode 100644 xorg-server/hw/dmx/doc/html/struct__DMXScreenInfo.html delete mode 100644 xorg-server/hw/dmx/doc/html/struct__DMXStatAvg.html delete mode 100644 xorg-server/hw/dmx/doc/html/struct__DMXStatInfo.html delete mode 100644 xorg-server/hw/dmx/doc/html/struct__dmxArg.html delete mode 100644 xorg-server/hw/dmx/doc/html/struct__dmxColormapPriv.html delete mode 100644 xorg-server/hw/dmx/doc/html/struct__dmxCursorPriv.html delete mode 100644 xorg-server/hw/dmx/doc/html/struct__dmxFontPriv.html delete mode 100644 xorg-server/hw/dmx/doc/html/struct__dmxGCPriv.html delete mode 100644 xorg-server/hw/dmx/doc/html/struct__dmxGlyphPriv.html delete mode 100644 xorg-server/hw/dmx/doc/html/struct__dmxPictPriv.html delete mode 100644 xorg-server/hw/dmx/doc/html/struct__dmxPixPriv.html delete mode 100644 xorg-server/hw/dmx/doc/html/struct__dmxWinPriv.html delete mode 100644 xorg-server/hw/dmx/doc/html/struct__myPrivate.html delete mode 100644 xorg-server/hw/dmx/doc/html/structdmxGlxVisualPrivate.html delete mode 100644 xorg-server/hw/dmx/doc/html/tree.html delete mode 100644 xorg-server/hw/dmx/doc/html/usb-common_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/usb-common_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/usb-common_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/usb-keyboard_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/usb-keyboard_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/usb-keyboard_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/usb-mouse_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/usb-mouse_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/usb-mouse_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/usb-other_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/usb-other_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/usb-other_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/usb-private_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/usb-private_8h_source.html (limited to 'xorg-server/hw/dmx/doc/html') diff --git a/xorg-server/hw/dmx/doc/html/ChkNotMaskEv_8c.html b/xorg-server/hw/dmx/doc/html/ChkNotMaskEv_8c.html deleted file mode 100644 index fffd19f23..000000000 --- a/xorg-server/hw/dmx/doc/html/ChkNotMaskEv_8c.html +++ /dev/null @@ -1,103 +0,0 @@ - - - - - File Index - - - - - -
-

ChkNotMaskEv.c File Reference

#include "dmx.h"
-#include "ChkNotMaskEv.h"
- - - - - -

Functions

Bool XCheckNotMaskEvent (Display *dpy, long mask, XEvent *event)

Variables

long const _Xevent_to_mask []
-

Detailed Description

-

This file provides a XCheckNotMaskEvent function that is derived from the standard Xlib XCheckMaskEvent function.

-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Bool XCheckNotMaskEvent (Display *  dpy,
long  mask,
XEvent *  event 
)
-
-
-

Check existing events in queue to find if any match. If so, return. If not, flush buffer and see if any more events are readable. If one matches, return. If all else fails, tell the user no events found.

- -

References _Xevent_to_mask.

- -

Referenced by dmxBackendTestEvents().

- -
-
-

Variable Documentation

- -
-
- - - - -
long const _Xevent_to_mask[]
-
-
- -

Referenced by XCheckNotMaskEvent().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/ChkNotMaskEv_8h.html b/xorg-server/hw/dmx/doc/html/ChkNotMaskEv_8h.html deleted file mode 100644 index c06558216..000000000 --- a/xorg-server/hw/dmx/doc/html/ChkNotMaskEv_8h.html +++ /dev/null @@ -1,86 +0,0 @@ - - - - - File Index - - - - - -
-

ChkNotMaskEv.h File Reference

-

Go to the source code of this file.

- - - -

Functions

Bool XCheckNotMaskEvent (Display *dpy, long mask, XEvent *event)
-

Detailed Description

-

Interface for XCheckNotMaskEvent function.

-
See also:
ChkNotMaskEv.c
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Bool XCheckNotMaskEvent (Display *  dpy,
long  mask,
XEvent *  event 
)
-
-
-

Check existing events in queue to find if any match. If so, return. If not, flush buffer and see if any more events are readable. If one matches, return. If all else fails, tell the user no events found.

- -

References _Xevent_to_mask.

- -

Referenced by dmxBackendTestEvents().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/ChkNotMaskEv_8h_source.html b/xorg-server/hw/dmx/doc/html/ChkNotMaskEv_8h_source.html deleted file mode 100644 index d48888718..000000000 --- a/xorg-server/hw/dmx/doc/html/ChkNotMaskEv_8h_source.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/annotated.html b/xorg-server/hw/dmx/doc/html/annotated.html deleted file mode 100644 index 88ce7d6df..000000000 --- a/xorg-server/hw/dmx/doc/html/annotated.html +++ /dev/null @@ -1,80 +0,0 @@ - - - - - File Index - - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/classes.html b/xorg-server/hw/dmx/doc/html/classes.html deleted file mode 100644 index b7b6b8d3b..000000000 --- a/xorg-server/hw/dmx/doc/html/classes.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - File Index - - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmx_8h.html b/xorg-server/hw/dmx/doc/html/dmx_8h.html deleted file mode 100644 index 1cb2f06ea..000000000 --- a/xorg-server/hw/dmx/doc/html/dmx_8h.html +++ /dev/null @@ -1,445 +0,0 @@ - - - - - File Index - - - - - -
-

dmx.h File Reference

#include "gcstruct.h"
-#include "dmxclient.h"
-#include "globals.h"
-#include "scrnintstr.h"
-#include "picturestr.h"
- -

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - -

Data Structures

struct  _DMXScreenInfo

Defines

#define DMX_WRAP(_entry, _newfunc, _saved, _actual)
#define DMX_UNWRAP(_entry, _saved, _actual)

Typedefs

typedef struct _DMXInputInfo DMXInputInfo
typedef struct _DMXStatInfo DMXStatInfo
typedef struct _DMXScreenInfo DMXScreenInfo

Enumerations

enum  PositionType {
-  PosNone = -1, -PosAbsolute = 0, -PosRightOf, -PosLeftOf, -
-  PosAbove, -PosBelow, -PosRelative -
- }

Variables

int dmxNumScreens
DMXScreenInfodmxScreens
int dmxShadowFB
XErrorEvent dmxLastErrorEvent
Bool dmxErrorOccurred
Bool dmxOffScreenOpt
Bool dmxSubdividePrimitives
Bool dmxLazyWindowCreation
Bool dmxUseXKB
int dmxDepth
char * dmxFontPath
Bool dmxIgnoreBadFontPaths
Bool dmxAddRemoveScreens
-

Detailed Description

-

Main header file included by all other DMX-related files.

-

Define Documentation

- - - - -

Typedef Documentation

- -
-
- - - - -
typedef struct _DMXInputInfo DMXInputInfo
-
-
-

Provide the typedef globally, but keep the contents opaque outside of the input routines.

-
See also:
dmxinput.h
- -
-
- -
-
- - - - -
typedef struct _DMXScreenInfo DMXScreenInfo
-
-
-

Global structure containing information about each backend screen.

- -
-
- -
-
- - - - -
typedef struct _DMXStatInfo DMXStatInfo
-
-
-

Provide the typedef globally, but keep the contents opaque outside of the XSync statistic routines.

-
See also:
dmxstat.c
- -
-
-

Enumeration Type Documentation

- -
-
- - - - -
enum PositionType
-
-
-
Enumerator:
- - - - - - - -
PosNone  -
PosAbsolute  -
PosRightOf  -
PosLeftOf  -
PosAbove  -
PosBelow  -
PosRelative  -
-
-
- -
-
-

Variable Documentation

- -
-
- - - - -
Bool dmxAddRemoveScreens
-
-
-

True if add and remove screens support is enabled

- -

Referenced by ddxProcessArgument(), dmxAttachScreen(), dmxDetachScreen(), and InitOutput().

- -
-
- -
-
- - - - -
int dmxDepth
-
-
-

Requested depth if non-zero

- -

Referenced by ddxProcessArgument(), and dmxGetVisualInfo().

- -
-
- -
-
- - - - -
Bool dmxErrorOccurred
-
-
-

True if an error occurred

- -

Referenced by dmxErrorHandler().

- -
-
- -
-
- - - - -
char* dmxFontPath
-
-
-

NULL if no font path is set on the command line; otherwise, a string of comma separated paths built from the command line specified font paths

- -

Referenced by dmxBELoadFont(), and dmxSetDefaultFontPath().

- -
-
- -
-
- - - - -
Bool dmxIgnoreBadFontPaths
-
-
-

True if bad font paths should be ignored during server init

- -

Referenced by ddxProcessArgument(), and dmxBELoadFont().

- -
-
- -
-
- - - - -
XErrorEvent dmxLastErrorEvent
-
-
-

Last error that occurred

- -

Referenced by dmxErrorHandler().

- -
-
- -
-
- - - - -
Bool dmxLazyWindowCreation
-
-
-

True if using the lazy window creation optimization

- -

Referenced by ddxProcessArgument(), dmxCreateWindow(), and InitOutput().

- -
-
- - - -
-
- - - - -
Bool dmxOffScreenOpt
-
-
-

True if using off screen optimizations

- -

Referenced by ddxProcessArgument(), and InitOutput().

- -
-
- -
- -
-

List of outputs

- -

Referenced by _dmxMoveCursor(), _dmxRealizeCursor(), _dmxSetCursor(), _dmxUnrealizeCursor(), dmxAttachScreen(), dmxBackendFindOverlapping(), dmxBackendInitPrivate(), dmxBackendOffscreen(), dmxBackendProcessInput(), dmxBackendUpdatePosition(), dmxBECloseScreen(), dmxBECreateColormap(), dmxBECreateCursor(), dmxBECreateGC(), dmxBECreateGlyphSet(), dmxBECreatePixmap(), dmxBECreateWindowTree(), dmxBEDestroyWindow(), dmxBEFreeColormap(), dmxBEFreeCursor(), dmxBEFreeFont(), dmxBEFreeGC(), dmxBEFreeGlyphSet(), dmxBEFreePicture(), dmxBEFreePixmap(), dmxBELoadFont(), dmxBERestorePixmap(), dmxBERestoreRenderGlyph(), dmxBESavePixmap(), dmxBEScreenInit(), dmxBitmapToRegion(), dmxChangeBorderWidth(), dmxChangeClip(), dmxChangeGC(), dmxChangePicture(), dmxChangePictureClip(), dmxChangeWindowAttributes(), dmxCheckCursor(), dmxCloseScreen(), dmxColormapFromDefaultVisual(), dmxCommonMouOn(), dmxCommonSaveState(), dmxComposite(), dmxCompositeRects(), dmxComputeScreenOrigins(), dmxComputeWidthHeight(), dmxConfigAddDisplay(), dmxConfigConfigInputs(), dmxConfigCopyFromWall(), dmxConfigFromCommandLine(), dmxConnectionBlockCallback(), dmxConsoleDraw(), dmxCopyArea(), dmxCopyGC(), dmxCopyPlane(), dmxCopyWindow(), dmxCoreMotion(), dmxCreateAndRealizeWindow(), dmxCreateColormap(), dmxCreateGC(), dmxCreateNonRootWindow(), dmxCreatePicture(), dmxCreatePixmap(), dmxCreateRootWindow(), dmxCreateWindow(), dmxCursorOffScreen(), dmxDestroyClip(), dmxDestroyColormap(), dmxDestroyGC(), dmxDestroyPicture(), dmxDestroyPictureClip(), dmxDestroyPixmap(), dmxDestroyWindow(), dmxDetachScreen(), dmxDoCreatePicture(), dmxDoRestackWindow(), dmxDoSetShape(), dmxFillPolygon(), dmxFindAlternatePixmap(), dmxFindFirstScreen(), dmxGetImage(), dmxGetScreenAttributes(), dmxImageText16(), dmxImageText8(), dmxInitOrigins(), dmxInitOverlap(), dmxInputAttachBackend(), dmxInputInit(), dmxInstallColormap(), dmxLookupVisual(), dmxLookupVisualFromID(), dmxMoveCursor(), dmxPictureInit(), dmxPolyArc(), dmxPolyFillArc(), dmxPolyFillRect(), dmxPolylines(), dmxPolyPoint(), dmxPolyRectangle(), dmxPolySegment(), dmxPolyText16(), dmxPolyText8(), dmxPositionWindow(), dmxProcRenderAddGlyphs(), dmxProcRenderCompositeGlyphs(), dmxProcRenderCreateGlyphSet(), dmxProcRenderFreeGlyphs(), dmxProcRenderFreeGlyphSet(), dmxProcRenderSetPictureFilter(), dmxProcRenderSetPictureTransform(), dmxProcSetFontPath(), dmxPropertyCheckOtherWindows(), dmxPutImage(), dmxRealizeCursor(), dmxRealizeFont(), dmxRealizeWindow(), dmxReInitOrigins(), dmxReparentWindow(), dmxResizeRootWindow(), dmxResizeScreenWindow(), dmxResizeWindow(), dmxRestackWindow(), dmxSaveScreen(), dmxScreenInit(), dmxSetCursor(), dmxSetShape(), dmxShadowUpdateProc(), dmxStatCallback(), dmxStoreColors(), dmxSyncCallback(), dmxTrapezoids(), dmxTriangles(), dmxTriFan(), dmxTriStrip(), dmxTryComputeScreenOrigins(), dmxUnrealizeCursor(), dmxUnrealizeFont(), dmxUnrealizeWindow(), dmxUpdateScreenResources(), dmxValidatePicture(), and dmxWindowExposures().

- -
-
- -
-
- - - - -
int dmxShadowFB
-
-
-

Non-zero if using shadow frame-buffer (deprecated)

- -

Referenced by ddxProcessArgument(), dmxBECloseScreen(), dmxBEScreenInit(), dmxCloseScreen(), dmxCommonMouOn(), dmxPictureInit(), dmxScreenInit(), and InitOutput().

- -
-
- -
-
- - - - -
Bool dmxSubdividePrimitives
-
-
-

True if using the primitive subdivision optimization

- -

Referenced by ddxProcessArgument(), and dmxPutImage().

- -
-
- -
-
- - - - -
Bool dmxUseXKB
-
-
-

True if the XKB extension should be used with the backend servers

- -

Referenced by ddxProcessArgument(), and dmxCommonSaveState().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmx_8h_source.html b/xorg-server/hw/dmx/doc/html/dmx_8h_source.html deleted file mode 100644 index ce2f78e50..000000000 --- a/xorg-server/hw/dmx/doc/html/dmx_8h_source.html +++ /dev/null @@ -1,327 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmx__glxvisuals_8h_source.html b/xorg-server/hw/dmx/doc/html/dmx__glxvisuals_8h_source.html deleted file mode 100644 index cd0361f9b..000000000 --- a/xorg-server/hw/dmx/doc/html/dmx__glxvisuals_8h_source.html +++ /dev/null @@ -1,94 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxarg_8c.html b/xorg-server/hw/dmx/doc/html/dmxarg_8c.html deleted file mode 100644 index ae8912a7e..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxarg_8c.html +++ /dev/null @@ -1,228 +0,0 @@ - - - - - File Index - - - - - -
-

dmxarg.c File Reference

#include "dmx.h"
-#include "dmxarg.h"
-#include <stdio.h>
-#include <string.h>
- - - - - - - - - - - - -

Data Structures

struct  _dmxArg

Defines

#define DMX_ARG_TEST   0

Functions

dmxArg dmxArgCreate (void)
void dmxArgFree (dmxArg a)
void dmxArgAdd (dmxArg a, const char *string)
const char * dmxArgV (dmxArg a, int item)
int dmxArgC (dmxArg a)
dmxArg dmxArgParse (const char *string)
-

Detailed Description

-

Generic comma-delimited argument processing.

-

Define Documentation

- -
-
- - - - -
#define DMX_ARG_TEST   0
-
-
- -
-
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
void dmxArgAdd (dmxArg  a,
const char *  string 
)
-
-
-

Add the string as the next argument in the dmxArg object.

- -

References _dmxArg::argc, _dmxArg::argm, and _dmxArg::argv.

- -

Referenced by dmxArgParse().

- -
-
- -
-
- - - - - - - - - -
int dmxArgC (dmxArg  a ) 
-
-
-

Return the number of arguments in the dmxArg object.

- -

References _dmxArg::argc.

- -

Referenced by dmxInputInit(), and dmxPopulateLocal().

- -
-
- -
-
- - - - - - - - - -
dmxArg dmxArgCreate (void  ) 
-
-
-

Create an (externally opaque) dmxArg object.

- -

References _dmxArg::argc, _dmxArg::argm, and _dmxArg::argv.

- -

Referenced by dmxArgParse().

- -
-
- -
-
- - - - - - - - - -
void dmxArgFree (dmxArg  a ) 
-
-
-

Free the specified dmxArg object.

- -

References _dmxArg::argc, and _dmxArg::argv.

- -

Referenced by dmxInputInit().

- -
-
- -
-
- - - - - - - - - -
dmxArg dmxArgParse (const char *  string ) 
-
-
-

Parse a string into arguments delimited by commas. Return a new dmxArg object containing the arguments.

- -

References dmxArgAdd(), and dmxArgCreate().

- -

Referenced by dmxInputInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
const char* dmxArgV (dmxArg  a,
int  item 
)
-
-
-

Return the argument number item in the dmxArg object. Arguments are 0 based. NULL will be returned for values less than 0 or equal to or greater than the number of arguments in the object.

- -

References _dmxArg::argc, and _dmxArg::argv.

- -

Referenced by dmxInputInit(), and dmxPopulateLocal().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxarg_8h.html b/xorg-server/hw/dmx/doc/html/dmxarg_8h.html deleted file mode 100644 index 6446dfb48..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxarg_8h.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - File Index - - - - - -
-

dmxarg.h File Reference

-

Go to the source code of this file.

- - - - - - - - - - -

Typedefs

typedef struct _dmxArgdmxArg

Functions

dmxArg dmxArgCreate (void)
void dmxArgFree (dmxArg a)
void dmxArgAdd (dmxArg a, const char *string)
const char * dmxArgV (dmxArg a, int item)
int dmxArgC (dmxArg a)
dmxArg dmxArgParse (const char *string)
-

Detailed Description

-

Interface to argument handling functions.

-
See also:
dmxarg.c
-

Typedef Documentation

- -
-
- - - - -
typedef struct _dmxArg* dmxArg
-
-
- -
-
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
void dmxArgAdd (dmxArg  a,
const char *  string 
)
-
-
-

Add the string as the next argument in the dmxArg object.

- -

References _dmxArg::argc, _dmxArg::argm, and _dmxArg::argv.

- -

Referenced by dmxArgParse().

- -
-
- -
-
- - - - - - - - - -
int dmxArgC (dmxArg  a ) 
-
-
-

Return the number of arguments in the dmxArg object.

- -

References _dmxArg::argc.

- -

Referenced by dmxInputInit(), and dmxPopulateLocal().

- -
-
- -
-
- - - - - - - - - -
dmxArg dmxArgCreate (void  ) 
-
-
-

Create an (externally opaque) dmxArg object.

- -

References _dmxArg::argc, _dmxArg::argm, and _dmxArg::argv.

- -

Referenced by dmxArgParse().

- -
-
- -
-
- - - - - - - - - -
void dmxArgFree (dmxArg  a ) 
-
-
-

Free the specified dmxArg object.

- -

References _dmxArg::argc, and _dmxArg::argv.

- -

Referenced by dmxInputInit().

- -
-
- -
-
- - - - - - - - - -
dmxArg dmxArgParse (const char *  string ) 
-
-
-

Parse a string into arguments delimited by commas. Return a new dmxArg object containing the arguments.

- -

References dmxArgAdd(), and dmxArgCreate().

- -

Referenced by dmxInputInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
const char* dmxArgV (dmxArg  a,
int  item 
)
-
-
-

Return the argument number item in the dmxArg object. Arguments are 0 based. NULL will be returned for values less than 0 or equal to or greater than the number of arguments in the object.

- -

References _dmxArg::argc, and _dmxArg::argv.

- -

Referenced by dmxInputInit(), and dmxPopulateLocal().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxarg_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxarg_8h_source.html deleted file mode 100644 index c48d76d06..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxarg_8h_source.html +++ /dev/null @@ -1,82 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxbackend_8c.html b/xorg-server/hw/dmx/doc/html/dmxbackend_8c.html deleted file mode 100644 index d2bf63f5f..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxbackend_8c.html +++ /dev/null @@ -1,1187 +0,0 @@ - - - - - File Index - - - - - -
-

dmxbackend.c File Reference

#include "dmxinputinit.h"
-#include "dmxbackend.h"
-#include "dmxcommon.h"
-#include "dmxconsole.h"
-#include "dmxcursor.h"
-#include "dmxprop.h"
-#include "dmxsync.h"
-#include "dmxcb.h"
-#include "dmxevents.h"
-#include "ChkNotMaskEv.h"
-#include "inputstr.h"
-#include "input.h"
-#include <X11/keysym.h>
-#include "mipointer.h"
-#include "scrnintstr.h"
-#include "windowstr.h"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Data Structures

struct  _myPrivate

Defines

#define DMX_BACKEND_DEBUG   0
#define DMXDBG0(f)
#define DMXDBG1(f, a)
#define DMXDBG2(f, a, b)
#define DMXDBG3(f, a, b, c)
#define DMXDBG4(f, a, b, c, d)
#define DMXDBG5(f, a, b, c, d, e)
#define DMXDBG6(f, a, b, c, d, e, g)
#define DMXDBG7(f, a, b, c, d, e, g, h)
#define DMXDBG8(f, a, b, c, d, e, g, h, i)
#define DMXDBG9(f, a, b, c, d, e, g, h, i, j)

Typedefs

typedef struct _myPrivate myPrivate

Functions

pointer dmxBackendCreatePrivate (DeviceIntPtr pDevice)
void dmxBackendDestroyPrivate (pointer private)
static void * dmxBackendTestScreen (DMXScreenInfo *dmxScreen, void *closure)
static int dmxBackendSameDisplay (myPrivate *priv, long screen)
static void * dmxBackendTestEvents (DMXScreenInfo *dmxScreen, void *closure)
static void * dmxBackendTestMotionEvent (DMXScreenInfo *dmxScreen, void *closure)
static DMXScreenInfodmxBackendGetEvent (myPrivate *priv, XEvent *X)
static DMXScreenInfodmxBackendPendingMotionEvent (myPrivate *priv, int save)
static void * dmxBackendTestWindow (DMXScreenInfo *dmxScreen, void *closure)
static DMXScreenInfodmxBackendFindWindow (myPrivate *priv, Window win)
static int dmxBackendFindOverlapping (myPrivate *priv, int screen, int x, int y)
static int dmxBackendOffscreen (int screen, int x, int y)
void dmxBackendUpdatePosition (pointer private, int x, int y)
void dmxBackendCollectEvents (DevicePtr pDev, dmxMotionProcPtr motion, dmxEnqueueProcPtr enqueue, dmxCheckSpecialProcPtr checkspecial, DMXBlockType block)
void dmxBackendProcessInput (pointer private)
static void dmxBackendComputeCenter (myPrivate *priv)
static DMXScreenInfodmxBackendInitPrivate (DevicePtr pDev)
void dmxBackendLateReInit (DevicePtr pDev)
void dmxBackendInit (DevicePtr pDev)
void dmxBackendMouGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info)
void dmxBackendKbdGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info)
int dmxBackendFunctions (pointer private, DMXFunctionType function)
-

Detailed Description

-

These routines support taking input from devices on the backend (output) displays.

-
See also:
dmxcommon.c.
-

Define Documentation

- -
-
- - - - -
#define DMX_BACKEND_DEBUG   0
-
-
- -
-
- -
-
- - - - - - - - - -
#define DMXDBG0( ) 
-
-
- -
-
- -
-
- - - - - - - - - - - - - - -
#define DMXDBG1(f,
 ) 
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - -
#define DMXDBG2(f,
a,
 ) 
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
#define DMXDBG3(f,
a,
b,
 ) 
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#define DMXDBG4(f,
a,
b,
c,
 ) 
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#define DMXDBG5(f,
a,
b,
c,
d,
 ) 
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#define DMXDBG6(f,
a,
b,
c,
d,
e,
 ) 
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#define DMXDBG7(f,
a,
b,
c,
d,
e,
g,
 ) 
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#define DMXDBG8(f,
a,
b,
c,
d,
e,
g,
h,
 ) 
-
-
- -

Referenced by dmxBackendCollectEvents().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#define DMXDBG9(f,
a,
b,
c,
d,
e,
g,
h,
i,
 ) 
-
- -
-

Typedef Documentation

- -
-
- - - - -
typedef struct _myPrivate myPrivate
-
-
- -
-
-

Function Documentation

- - - -
-
- - - - - - - - - -
static void dmxBackendComputeCenter (myPrivate priv )  [static]
-
-
- -

References _myPrivate::centerX, and _myPrivate::centerY.

- -

Referenced by dmxBackendInit(), and dmxBackendLateReInit().

- -
-
- -
-
- - - - - - - - - -
pointer dmxBackendCreatePrivate (DeviceIntPtr  pDevice ) 
-
-
-

Create and return a private data structure.

- -

References GETDMXLOCALFROMPDEVICE.

- -
-
- -
-
- - - - - - - - - -
void dmxBackendDestroyPrivate (pointer  private ) 
-
-
-

Destroy the private data structure. No checking is performed to verify that the structure was actually created by dmxBackendCreatePrivate.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
static int dmxBackendFindOverlapping (myPrivate priv,
int  screen,
int  x,
int  y 
) [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
static DMXScreenInfo* dmxBackendFindWindow (myPrivate priv,
Window  win 
) [static]
-
-
- -

References dmxBackendTestWindow(), and dmxPropertyIterate().

- -

Referenced by dmxBackendCollectEvents().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
int dmxBackendFunctions (pointer  private,
DMXFunctionType  function 
)
-
-
-

Process DMXFunctionType functions. The only function handled here is to acknowledge a pending server shutdown.

- -

References DMX_FUNCTION_TERMINATE.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
static DMXScreenInfo* dmxBackendGetEvent (myPrivate priv,
XEvent *  X 
) [static]
-
-
- -

References dmxBackendTestEvents(), and dmxPropertyIterate().

- -

Referenced by dmxBackendCollectEvents().

- -
-
- -
-
- - - - - - - - - -
void dmxBackendInit (DevicePtr  pDev ) 
-
- -
- -
-
- - - - - - - - - -
static DMXScreenInfo* dmxBackendInitPrivate (DevicePtr  pDev )  [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxBackendKbdGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  info 
)
-
- -
- -
-
- - - - - - - - - -
void dmxBackendLateReInit (DevicePtr  pDev ) 
-
- -
- - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
static int dmxBackendOffscreen (int  screen,
int  x,
int  y 
) [static]
-
-
- -

References dmxOnScreen(), and dmxScreens.

- -

Referenced by dmxBackendUpdatePosition().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
static DMXScreenInfo* dmxBackendPendingMotionEvent (myPrivate priv,
int  save 
) [static]
-
- -
- -
-
- - - - - - - - - -
void dmxBackendProcessInput (pointer  private ) 
-
-
-

Called after input events are processed from the DMX queue. No event processing actually takes place here, but this is a convenient place to update the pointer.

- -

References DMXDBG4, DMXDBG6, dmxScreens, dmxSync(), and GETPRIVFROMPRIVATE.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
static int dmxBackendSameDisplay (myPrivate priv,
long  screen 
) [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
static void* dmxBackendTestEvents (DMXScreenInfo dmxScreen,
void *  closure 
) [static]
-
-
- -

References _DMXScreenInfo::beDisplay, and XCheckNotMaskEvent().

- -

Referenced by dmxBackendGetEvent().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
static void* dmxBackendTestMotionEvent (DMXScreenInfo dmxScreen,
void *  closure 
) [static]
-
-
- -

References _DMXScreenInfo::beDisplay.

- -

Referenced by dmxBackendPendingMotionEvent().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
static void* dmxBackendTestScreen (DMXScreenInfo dmxScreen,
void *  closure 
) [static]
-
-
- -

References _DMXScreenInfo::index.

- -

Referenced by dmxBackendSameDisplay().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
static void* dmxBackendTestWindow (DMXScreenInfo dmxScreen,
void *  closure 
) [static]
-
-
- -

References _DMXScreenInfo::scrnWin.

- -

Referenced by dmxBackendFindWindow().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxBackendUpdatePosition (pointer  private,
int  x,
int  y 
)
-
- -
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxbackend_8h.html b/xorg-server/hw/dmx/doc/html/dmxbackend_8h.html deleted file mode 100644 index ace4261c4..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxbackend_8h.html +++ /dev/null @@ -1,338 +0,0 @@ - - - - - File Index - - - - - -
-

dmxbackend.h File Reference

-

Go to the source code of this file.

- - - - - - - - - - - - -

Functions

pointer dmxBackendCreatePrivate (DeviceIntPtr pDevice)
void dmxBackendDestroyPrivate (pointer private)
void dmxBackendInit (DevicePtr pDev)
void dmxBackendLateReInit (DevicePtr pDev)
void dmxBackendMouGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info)
void dmxBackendKbdGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info)
void dmxBackendCollectEvents (DevicePtr pDev, dmxMotionProcPtr motion, dmxEnqueueProcPtr enqueue, dmxCheckSpecialProcPtr checkspecial, DMXBlockType block)
void dmxBackendProcessInput (pointer private)
int dmxBackendFunctions (pointer private, DMXFunctionType function)
void dmxBackendUpdatePosition (pointer private, int x, int y)
-

Detailed Description

-

Interface to backend input device support.

-
See also:
dmxbackend.c
-
-dmxcommon.c
-

Function Documentation

- - - -
-
- - - - - - - - - -
pointer dmxBackendCreatePrivate (DeviceIntPtr  pDevice ) 
-
-
-

Create and return a private data structure.

- -

References GETDMXLOCALFROMPDEVICE.

- -
-
- -
-
- - - - - - - - - -
void dmxBackendDestroyPrivate (pointer  private ) 
-
-
-

Destroy the private data structure. No checking is performed to verify that the structure was actually created by dmxBackendCreatePrivate.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
int dmxBackendFunctions (pointer  private,
DMXFunctionType  function 
)
-
-
-

Process DMXFunctionType functions. The only function handled here is to acknowledge a pending server shutdown.

- -

References DMX_FUNCTION_TERMINATE.

- -
-
- -
-
- - - - - - - - - -
void dmxBackendInit (DevicePtr  pDev ) 
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxBackendKbdGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  info 
)
-
- -
- -
-
- - - - - - - - - -
void dmxBackendLateReInit (DevicePtr  pDev ) 
-
- -
- - - -
-
- - - - - - - - - -
void dmxBackendProcessInput (pointer  private ) 
-
-
-

Called after input events are processed from the DMX queue. No event processing actually takes place here, but this is a convenient place to update the pointer.

- -

References DMXDBG4, DMXDBG6, dmxScreens, dmxSync(), and GETPRIVFROMPRIVATE.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxBackendUpdatePosition (pointer  private,
int  x,
int  y 
)
-
- -
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxbackend_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxbackend_8h_source.html deleted file mode 100644 index 8e43b858f..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxbackend_8h_source.html +++ /dev/null @@ -1,88 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxcb_8c.html b/xorg-server/hw/dmx/doc/html/dmxcb_8c.html deleted file mode 100644 index 99916930b..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxcb_8c.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - File Index - - - - - -
-

dmxcb.c File Reference

#include "dmx.h"
-#include "dmxcb.h"
-#include "dmxinput.h"
-#include "dmxlog.h"
- - - - - - - - - -

Functions

void dmxSetWidthHeight (int width, int height)
void dmxComputeWidthHeight (DMXRecomputeFlag flag)
void dmxConnectionBlockCallback (void)

Variables

int connBlockScreenStart
int dmxGlobalWidth
int dmxGlobalHeight
-

Detailed Description

-

This code queries and modifies the connection block.

-

Function Documentation

- -
-
- - - - - - - - - -
void dmxComputeWidthHeight (DMXRecomputeFlag  flag ) 
-
-
-

Computes the global bounding box for DMX. This may be larger than the one computed by Xinerama because of the DMX configuration file.

- -

References DMX_NO_RECOMPUTE_BOUNDING_BOX, DMX_RECOMPUTE_BOUNDING_BOX, dmxGlobalHeight, dmxGlobalWidth, dmxInfo, dmxLog(), dmxNumScreens, dmxScreens, _DMXScreenInfo::rootXOrigin, _DMXScreenInfo::rootYOrigin, _DMXScreenInfo::scrnHeight, and _DMXScreenInfo::scrnWidth.

- -

Referenced by dmxAdjustCursorBoundaries(), and InitOutput().

- -
-
- -
-
- - - - - - - - - -
void dmxConnectionBlockCallback (void  ) 
-
-
-

A callback routine that hooks into Xinerama and provides a convenient place to print summary log information during server startup. This routine does not modify any values.

- -

References _DMXScreenInfo::beDefVisualIndex, _DMXScreenInfo::beDisplay, _DMXScreenInfo::beVisuals, connBlockScreenStart, dmxError, dmxFatal, dmxGlobalHeight, dmxGlobalWidth, dmxInfo, dmxInputLogDevices(), dmxLog(), dmxLogVisual(), and dmxScreens.

- -

Referenced by dmxAdjustCursorBoundaries(), and InitOutput().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxSetWidthHeight (int  width,
int  height 
)
-
-
-

We may want the wall dimensions to be different from the bounding box dimensions that Xinerama computes, so save those and update them here.

- -

References dmxGlobalHeight, and dmxGlobalWidth.

- -

Referenced by dmxConfigCopyData().

- -
-
-

Variable Documentation

- -
-
- - - - -
int connBlockScreenStart
-
-
- -

Referenced by dmxConnectionBlockCallback().

- -
-
- - - -
-
- - - - -
int dmxGlobalWidth
-
- -
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxcb_8h.html b/xorg-server/hw/dmx/doc/html/dmxcb_8h.html deleted file mode 100644 index cac6d4303..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxcb_8h.html +++ /dev/null @@ -1,190 +0,0 @@ - - - - - File Index - - - - - -
-

dmxcb.h File Reference

-

Go to the source code of this file.

- - - - - - - - - - -

Enumerations

enum  DMXRecomputeFlag { DMX_RECOMPUTE_BOUNDING_BOX, -DMX_NO_RECOMPUTE_BOUNDING_BOX - }

Functions

void dmxSetWidthHeight (int width, int height)
void dmxComputeWidthHeight (DMXRecomputeFlag flag)
void dmxConnectionBlockCallback (void)

Variables

int dmxGlobalWidth
int dmxGlobalHeight
-

Detailed Description

-

Header file for connection block functions.

-
See also:
dmxcb.c.
-

Enumeration Type Documentation

- -
-
- - - - -
enum DMXRecomputeFlag
-
-
-

dmxComputeWidthHeight can either recompute the global bounding box or not.

-
Enumerator:
- - -
DMX_RECOMPUTE_BOUNDING_BOX  -
DMX_NO_RECOMPUTE_BOUNDING_BOX  -
-
-
- -
-
-

Function Documentation

- -
-
- - - - - - - - - -
void dmxComputeWidthHeight (DMXRecomputeFlag  flag ) 
-
-
-

Computes the global bounding box for DMX. This may be larger than the one computed by Xinerama because of the DMX configuration file.

- -

References DMX_NO_RECOMPUTE_BOUNDING_BOX, DMX_RECOMPUTE_BOUNDING_BOX, dmxGlobalHeight, dmxGlobalWidth, dmxInfo, dmxLog(), dmxNumScreens, dmxScreens, _DMXScreenInfo::rootXOrigin, _DMXScreenInfo::rootYOrigin, _DMXScreenInfo::scrnHeight, and _DMXScreenInfo::scrnWidth.

- -

Referenced by dmxAdjustCursorBoundaries(), and InitOutput().

- -
-
- -
-
- - - - - - - - - -
void dmxConnectionBlockCallback (void  ) 
-
-
-

A callback routine that hooks into Xinerama and provides a convenient place to print summary log information during server startup. This routine does not modify any values.

- -

References _DMXScreenInfo::beDefVisualIndex, _DMXScreenInfo::beDisplay, _DMXScreenInfo::beVisuals, connBlockScreenStart, dmxError, dmxFatal, dmxGlobalHeight, dmxGlobalWidth, dmxInfo, dmxInputLogDevices(), dmxLog(), dmxLogVisual(), and dmxScreens.

- -

Referenced by dmxAdjustCursorBoundaries(), and InitOutput().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxSetWidthHeight (int  width,
int  height 
)
-
-
-

We may want the wall dimensions to be different from the bounding box dimensions that Xinerama computes, so save those and update them here.

- -

References dmxGlobalHeight, and dmxGlobalWidth.

- -

Referenced by dmxConfigCopyData().

- -
-
-

Variable Documentation

- - - -
-
- - - - -
int dmxGlobalWidth
-
- -
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxcb_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxcb_8h_source.html deleted file mode 100644 index 37d1380d2..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxcb_8h_source.html +++ /dev/null @@ -1,83 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxclient_8h.html b/xorg-server/hw/dmx/doc/html/dmxclient_8h.html deleted file mode 100644 index cb22c41c6..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxclient_8h.html +++ /dev/null @@ -1,227 +0,0 @@ - - - - - File Index - - - - - -
-

dmxclient.h File Reference

#include <X11/Xlib.h>
-#include <X11/Xlibint.h>
-#include <X11/X.h>
-#include <X11/Xmd.h>
-#include <X11/Xproto.h>
-#include <X11/Xutil.h>
-#include <X11/Xatom.h>
-#include <X11/cursorfont.h>
-#include <X11/Xmu/SysUtil.h>
-#include <X11/extensions/shape.h>
-#include <X11/extensions/Xrender.h>
-#include <X11/extensions/XKB.h>
-#include "xkbstr.h"
-#include <X11/extensions/XI.h>
-#include <X11/extensions/XInput.h>
-#include <X11/extensions/Xext.h>
-#include <X11/XKBlib.h>
-#include <X11/extensions/XKBproto.h>
-#include <X11/extensions/XIproto.h>
- -

Go to the source code of this file.

- - - - - - - - - - - - - -

Defines

#define GC   XlibGC

Variables

int ProximityIn
int ProximityOut
int DeviceValuator
int DeviceMotionNotify
int DeviceFocusIn
int DeviceFocusOut
int DeviceStateNotify
int DeviceMappingNotify
int ChangeDeviceNotify
-

Detailed Description

-

This file includes all client-side include files with proper wrapping.

-

Define Documentation

- -
-
- - - - -
#define GC   XlibGC
-
-
- -

Referenced by dmxConfigCanvasUpdate().

- -
-
-

Variable Documentation

- -
-
- - - - -
int ChangeDeviceNotify
-
- -
- -
-
- - - - -
int DeviceFocusIn
-
- -
- -
-
- - - - -
int DeviceFocusOut
-
- -
- -
-
- - - - -
int DeviceMappingNotify
-
- -
- -
-
- - - - -
int DeviceMotionNotify
-
-
- -

Referenced by dmxCommonOthOn(), and dmxExtMotion().

- -
-
- -
-
- - - - -
int DeviceStateNotify
-
- -
- -
-
- - - - -
int DeviceValuator
-
- -
- -
-
- - - - -
int ProximityIn
-
- -
- -
-
- - - - -
int ProximityOut
-
- -
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxclient_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxclient_8h_source.html deleted file mode 100644 index 1f976b74a..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxclient_8h_source.html +++ /dev/null @@ -1,172 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxcmap_8c.html b/xorg-server/hw/dmx/doc/html/dmxcmap_8c.html deleted file mode 100644 index adbef732d..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxcmap_8c.html +++ /dev/null @@ -1,254 +0,0 @@ - - - - - File Index - - - - - -
-

dmxcmap.c File Reference

#include "dmx.h"
-#include "dmxlog.h"
-#include "dmxsync.h"
-#include "dmxcmap.h"
-#include "dmxvisual.h"
-#include "micmap.h"
- - - - - - - - - - -

Functions

static Bool dmxAllocateColormapPrivates (ColormapPtr pColormap)
Bool dmxBECreateColormap (ColormapPtr pColormap)
Bool dmxCreateColormap (ColormapPtr pColormap)
Bool dmxBEFreeColormap (ColormapPtr pColormap)
void dmxDestroyColormap (ColormapPtr pColormap)
void dmxInstallColormap (ColormapPtr pColormap)
void dmxStoreColors (ColormapPtr pColormap, int ndef, xColorItem *pdef)
Bool dmxCreateDefColormap (ScreenPtr pScreen)
-

Detailed Description

-

Colormap support.

-

Function Documentation

- -
-
- - - - - - - - - -
static Bool dmxAllocateColormapPrivates (ColormapPtr  pColormap )  [static]
-
-
- -

References _dmxColormapPriv::cmap, and DMX_SET_COLORMAP_PRIV.

- -

Referenced by dmxCreateColormap().

- -
-
- -
-
- - - - - - - - - -
Bool dmxBECreateColormap (ColormapPtr  pColormap ) 
-
- -
- -
-
- - - - - - - - - -
Bool dmxBEFreeColormap (ColormapPtr  pColormap ) 
-
-
-

Destroy pColormap on the back-end server.

- -

References _DMXScreenInfo::beDisplay, _dmxColormapPriv::cmap, DMX_GET_COLORMAP_PRIV, and dmxScreens.

- -

Referenced by dmxBEDestroyResources(), and dmxDestroyColormap().

- -
-
- -
-
- - - - - - - - - -
Bool dmxCreateColormap (ColormapPtr  pColormap ) 
-
-
-

Create colormap on back-end server associated with pColormap's screen.

- -

References _DMXScreenInfo::beDisplay, DMX_UNWRAP, DMX_WRAP, dmxAllocateColormapPrivates(), dmxBECreateColormap(), dmxCreateColormap(), and dmxScreens.

- -

Referenced by dmxCreateColormap(), and dmxScreenInit().

- -
-
- -
-
- - - - - - - - - -
Bool dmxCreateDefColormap (ScreenPtr  pScreen ) 
-
-
-

Create the DMX server's default colormap.

- -

Referenced by dmxScreenInit().

- -
-
- -
-
- - - - - - - - - -
void dmxDestroyColormap (ColormapPtr  pColormap ) 
-
-
-

Destroy colormap on back-end server associated with pColormap's screen.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_COLORMAP_PRIV, DMX_SET_COLORMAP_PRIV, DMX_UNWRAP, DMX_WRAP, dmxBEFreeColormap(), dmxDestroyColormap(), and dmxScreens.

- -

Referenced by dmxDestroyColormap(), and dmxScreenInit().

- -
-
- -
-
- - - - - - - - - -
void dmxInstallColormap (ColormapPtr  pColormap ) 
-
-
-

Install colormap on back-end server associated with pColormap's screen.

- -

References _DMXScreenInfo::beDisplay, _dmxColormapPriv::cmap, DMX_GET_COLORMAP_PRIV, DMX_UNWRAP, DMX_WRAP, dmxInstallColormap(), dmxScreens, and dmxSync().

- -

Referenced by dmxInstallColormap(), and dmxScreenInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxStoreColors (ColormapPtr  pColormap,
int  ndef,
xColorItem *  pdef 
)
-
-
-

Store colors in pColormap on back-end server associated with pColormap's screen.

- -

References _DMXScreenInfo::beDisplay, _dmxColormapPriv::cmap, DMX_GET_COLORMAP_PRIV, DMX_UNWRAP, DMX_WRAP, dmxScreens, dmxStoreColors(), and dmxSync().

- -

Referenced by dmxScreenInit(), and dmxStoreColors().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxcmap_8h.html b/xorg-server/hw/dmx/doc/html/dmxcmap_8h.html deleted file mode 100644 index d07836d7a..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxcmap_8h.html +++ /dev/null @@ -1,338 +0,0 @@ - - - - - File Index - - - - - -
-

dmxcmap.h File Reference

#include "colormapst.h"
- -

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - -

Data Structures

struct  _dmxColormapPriv

Defines

#define DMX_SET_COLORMAP_PRIV(_pCMap, _pCMapPriv)   dixSetPrivate(&(_pCMap)->devPrivates, dmxColormapPrivateKey, _pCMapPriv)
#define DMX_GET_COLORMAP_PRIV(_pCMap)

Typedefs

typedef struct _dmxColormapPriv dmxColormapPrivRec
typedef struct _dmxColormapPrivdmxColormapPrivPtr

Functions

Bool dmxCreateColormap (ColormapPtr pColormap)
void dmxDestroyColormap (ColormapPtr pColormap)
void dmxInstallColormap (ColormapPtr pColormap)
void dmxStoreColors (ColormapPtr pColormap, int ndef, xColorItem *pdef)
Bool dmxCreateDefColormap (ScreenPtr pScreen)
Bool dmxBECreateColormap (ColormapPtr pColormap)
Bool dmxBEFreeColormap (ColormapPtr pColormap)

Variables

DevPrivateKey dmxColormapPrivateKey
-

Detailed Description

-

Header file for colormap support.

-
See also:
dmxcmap.c.
-

Define Documentation

- -
-
- - - - - - - - - -
#define DMX_GET_COLORMAP_PRIV(_pCMap  ) 
-
- -
- -
-
- - - - - - - - - - - - - - -
#define DMX_SET_COLORMAP_PRIV(_pCMap,
_pCMapPriv  )    dixSetPrivate(&(_pCMap)->devPrivates, dmxColormapPrivateKey, _pCMapPriv)
-
-
-

Set colormap private structure.

- -

Referenced by dmxAllocateColormapPrivates(), and dmxDestroyColormap().

- -
-
-

Typedef Documentation

- -
-
- - - - -
typedef struct _dmxColormapPriv * dmxColormapPrivPtr
-
-
- -
-
- -
-
- - - - -
typedef struct _dmxColormapPriv dmxColormapPrivRec
-
-
-

Colormap private area.

- -
-
-

Function Documentation

- -
-
- - - - - - - - - -
Bool dmxBECreateColormap (ColormapPtr  pColormap ) 
-
- -
- -
-
- - - - - - - - - -
Bool dmxBEFreeColormap (ColormapPtr  pColormap ) 
-
-
-

Destroy pColormap on the back-end server.

- -

References _DMXScreenInfo::beDisplay, _dmxColormapPriv::cmap, DMX_GET_COLORMAP_PRIV, and dmxScreens.

- -

Referenced by dmxBEDestroyResources(), and dmxDestroyColormap().

- -
-
- -
-
- - - - - - - - - -
Bool dmxCreateColormap (ColormapPtr  pColormap ) 
-
-
-

Create colormap on back-end server associated with pColormap's screen.

- -

References _DMXScreenInfo::beDisplay, DMX_UNWRAP, DMX_WRAP, dmxAllocateColormapPrivates(), dmxBECreateColormap(), dmxCreateColormap(), and dmxScreens.

- -

Referenced by dmxCreateColormap(), and dmxScreenInit().

- -
-
- -
-
- - - - - - - - - -
Bool dmxCreateDefColormap (ScreenPtr  pScreen ) 
-
-
-

Create the DMX server's default colormap.

- -

Referenced by dmxScreenInit().

- -
-
- -
-
- - - - - - - - - -
void dmxDestroyColormap (ColormapPtr  pColormap ) 
-
-
-

Destroy colormap on back-end server associated with pColormap's screen.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_COLORMAP_PRIV, DMX_SET_COLORMAP_PRIV, DMX_UNWRAP, DMX_WRAP, dmxBEFreeColormap(), dmxDestroyColormap(), and dmxScreens.

- -

Referenced by dmxDestroyColormap(), and dmxScreenInit().

- -
-
- -
-
- - - - - - - - - -
void dmxInstallColormap (ColormapPtr  pColormap ) 
-
-
-

Install colormap on back-end server associated with pColormap's screen.

- -

References _DMXScreenInfo::beDisplay, _dmxColormapPriv::cmap, DMX_GET_COLORMAP_PRIV, DMX_UNWRAP, DMX_WRAP, dmxInstallColormap(), dmxScreens, and dmxSync().

- -

Referenced by dmxInstallColormap(), and dmxScreenInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxStoreColors (ColormapPtr  pColormap,
int  ndef,
xColorItem *  pdef 
)
-
-
-

Store colors in pColormap on back-end server associated with pColormap's screen.

- -

References _DMXScreenInfo::beDisplay, _dmxColormapPriv::cmap, DMX_GET_COLORMAP_PRIV, DMX_UNWRAP, DMX_WRAP, dmxScreens, dmxStoreColors(), and dmxSync().

- -

Referenced by dmxScreenInit(), and dmxStoreColors().

- -
-
-

Variable Documentation

- -
-
- - - - -
DevPrivateKey dmxColormapPrivateKey
-
-
-

Private index.

-
See also:
dmxcmap.c
-
-dmxscrinit.c
-
-dmxwindow.c
-

Private index for Colormaps

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxcmap_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxcmap_8h_source.html deleted file mode 100644 index e9e0ed041..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxcmap_8h_source.html +++ /dev/null @@ -1,98 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxcommon_8c.html b/xorg-server/hw/dmx/doc/html/dmxcommon_8c.html deleted file mode 100644 index 6782e36ff..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxcommon_8c.html +++ /dev/null @@ -1,889 +0,0 @@ - - - - - File Index - - - - - -
-

dmxcommon.c File Reference

#include "dmxinputinit.h"
-#include "dmxcommon.h"
-#include "dmxconsole.h"
-#include "dmxprop.h"
-#include "dmxsync.h"
-#include "dmxmap.h"
-#include "inputstr.h"
-#include "input.h"
-#include <X11/keysym.h>
-#include "mipointer.h"
-#include "scrnintstr.h"
-#include <unistd.h>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Data Structures

struct  _myPrivate

Defines

#define DMX_STATE_DEBUG   0
#define DMXDBG0(f)
#define NAME(x)   priv->xkb->names->x ? XGetAtomName(priv->display,priv->xkb->names->x) : NULL
#define ADD(type)

Typedefs

typedef struct _myPrivate myPrivate

Functions

static void dmxCommonKbdSetAR (Display *display, unsigned char *old, unsigned char *new)
static void dmxCommonKbdSetLeds (Display *display, unsigned long new)
static void dmxCommonKbdSetCtrl (Display *display, KeybdCtrl *old, KeybdCtrl *new)
static void dmxCommonMouSetCtrl (Display *display, PtrCtrl *old, PtrCtrl *new)
void dmxCommonKbdCtrl (DevicePtr pDev, KeybdCtrl *ctrl)
void dmxCommonMouCtrl (DevicePtr pDev, PtrCtrl *ctrl)
void dmxCommonKbdBell (DevicePtr pDev, int percent, int volume, int pitch, int duration)
void dmxCommonKbdGetMap (DevicePtr pDev, KeySymsPtr pKeySyms, CARD8 *pModMap)
void dmxCommonKbdGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info)
int dmxCommonKbdOn (DevicePtr pDev)
void dmxCommonKbdOff (DevicePtr pDev)
int dmxCommonOthOn (DevicePtr pDev)
void dmxCommonOthOff (DevicePtr pDev)
void dmxCommonOthGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info)
void dmxCommonMouGetMap (DevicePtr pDev, unsigned char *map, int *nButtons)
static void * dmxCommonXSelect (DMXScreenInfo *dmxScreen, void *closure)
static void * dmxCommonAddEnabledDevice (DMXScreenInfo *dmxScreen, void *closure)
static void * dmxCommonRemoveEnabledDevice (DMXScreenInfo *dmxScreen, void *closure)
int dmxCommonMouOn (DevicePtr pDev)
void dmxCommonMouOff (DevicePtr pDev)
int dmxFindPointerScreen (int x, int y)
pointer dmxCommonCopyPrivate (DeviceIntPtr pDevice)
void dmxCommonSaveState (pointer private)
void dmxCommonRestoreState (pointer private)
-

Detailed Description

-

This file implements common routines used by the backend and console input devices.

-

Define Documentation

- -
-
- - - - - - - - - -
#define ADD(type  ) 
-
-
-Value:
if (count < DMX_MAX_XINPUT_EVENT_TYPES) {                                \
-        type(priv->xi, event_type[count], event_list[count]);                \
-        if (event_type[count]) {                                             \
-            dmxMapInsert(dmxLocal, event_type[count], XI_##type);            \
-            ++count;                                                         \
-        }                                                                    \
-    } else {                                                                 \
-        dmxLog(dmxWarning, "More than %d event types for %s\n",              \
-               DMX_MAX_XINPUT_EVENT_TYPES, dmxInput->name);                  \
-    }
-
-

Referenced by dmxCommonOthOn().

- -
-
- -
-
- - - - -
#define DMX_STATE_DEBUG   0
-
-
- -
-
- -
-
- - - - - - - - - -
#define DMXDBG0( ) 
-
-
- -
-
- -
-
- - - - - - - - - -
#define NAME( )    priv->xkb->names->x ? XGetAtomName(priv->display,priv->xkb->names->x) : NULL
-
-
- -

Referenced by dmxCommonKbdGetInfo().

- -
-
-

Typedef Documentation

- -
-
- - - - -
typedef struct _myPrivate myPrivate
-
-
-

Each device has a private area that is visible only from inside the driver code.

- -
-
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
static void* dmxCommonAddEnabledDevice (DMXScreenInfo dmxScreen,
void *  closure 
) [static]
-
-
- -

References _DMXScreenInfo::beDisplay.

- -

Referenced by dmxCommonMouOn().

- -
-
- -
-
- - - - - - - - - -
pointer dmxCommonCopyPrivate (DeviceIntPtr  pDevice ) 
-
-
-

Returns a pointer to the private area for the device that comes just prior to pDevice in the current dmxInput device list. This is used as the private area for the current device in some situations (e.g., when a keyboard and mouse form a pair that should share the same private area). If the requested private area cannot be located, then NULL is returned.

- -

References _DMXInputInfo::devs, dmxInputs, GETDMXLOCALFROMPDEVICE, _DMXInputInfo::numDevs, and _DMXLocalInputInfo::private.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxCommonKbdBell (DevicePtr  pDev,
int  percent,
int  volume,
int  pitch,
int  duration 
)
-
-
-

Sound they keyboard bell.

- -

References GETPRIVFROMPDEV.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxCommonKbdCtrl (DevicePtr  pDev,
KeybdCtrl *  ctrl 
)
-
-
-

Update the keyboard control.

- -

References dmxCommonKbdSetCtrl(), dmxCommonSaveState(), and GETPRIVFROMPDEV.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxCommonKbdGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  info 
)
-
-
-

Fill in the XKEYBOARD parts of the info structure for the specified pDev.

- -

References dmxCommonRestoreState(), dmxCommonSaveState(), dmxLogInput(), _DMXLocalInitInfo::freenames, GETDMXINPUTFROMPRIV, GETPRIVFROMPDEV, NAME, and _DMXLocalInitInfo::names.

- -

Referenced by dmxBackendKbdGetInfo(), and dmxConsoleKbdGetInfo().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxCommonKbdGetMap (DevicePtr  pDev,
KeySymsPtr  pKeySyms,
CARD8 *  pModMap 
)
-
-
-

Get the keyboard mapping.

- -

References GETPRIVFROMPDEV.

- -

Referenced by dmxBackendKbdGetInfo(), and dmxConsoleKbdGetInfo().

- -
-
- -
-
- - - - - - - - - -
void dmxCommonKbdOff (DevicePtr  pDev ) 
-
-
-

Turn pDev off.

- -

References DMX_KEYBOARD_EVENT_MASK, dmxCommonRestoreState(), and GETPRIVFROMPDEV.

- -
-
- -
-
- - - - - - - - - -
int dmxCommonKbdOn (DevicePtr  pDev ) 
-
-
-

Turn pDev on (i.e., take input from pDev).

- -

References DMX_KEYBOARD_EVENT_MASK, dmxCommonSaveState(), and GETPRIVFROMPDEV.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
static void dmxCommonKbdSetAR (Display *  display,
unsigned char *  old,
unsigned char *  new 
) [static]
-
-
- -

Referenced by dmxCommonKbdSetCtrl().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
static void dmxCommonKbdSetCtrl (Display *  display,
KeybdCtrl *  old,
KeybdCtrl *  new 
) [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
static void dmxCommonKbdSetLeds (Display *  display,
unsigned long  new 
) [static]
-
-
- -

Referenced by dmxCommonKbdSetCtrl().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxCommonMouCtrl (DevicePtr  pDev,
PtrCtrl *  ctrl 
)
-
-
-

Update the mouse control.

- -

References dmxCommonMouSetCtrl(), and GETPRIVFROMPDEV.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxCommonMouGetMap (DevicePtr  pDev,
unsigned char *  map,
int *  nButtons 
)
-
-
-

Obtain the mouse button mapping.

- -

References DMX_MAX_BUTTONS, and GETPRIVFROMPDEV.

- -

Referenced by dmxBackendMouGetInfo(), and dmxConsoleMouGetInfo().

- -
-
- -
-
- - - - - - - - - -
void dmxCommonMouOff (DevicePtr  pDev ) 
-
- -
- -
-
- - - - - - - - - -
int dmxCommonMouOn (DevicePtr  pDev ) 
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
static void dmxCommonMouSetCtrl (Display *  display,
PtrCtrl *  old,
PtrCtrl *  new 
) [static]
-
-
- -

Referenced by dmxCommonMouCtrl().

- -
-
- - - -
-
- - - - - - - - - -
void dmxCommonOthOff (DevicePtr  pDev ) 
-
-
-

Turn pDev off.

- -

References GETPRIVFROMPDEV.

- -
-
- -
-
- - - - - - - - - -
int dmxCommonOthOn (DevicePtr  pDev ) 
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
static void* dmxCommonRemoveEnabledDevice (DMXScreenInfo dmxScreen,
void *  closure 
) [static]
-
-
- -

References _DMXScreenInfo::beDisplay.

- -

Referenced by dmxCommonMouOff().

- -
-
- -
-
- - - - - - - - - -
void dmxCommonRestoreState (pointer  private ) 
-
- -
- -
-
- - - - - - - - - -
void dmxCommonSaveState (pointer  private ) 
-
-
-

This routine saves and resets some important state for the backend and console device drivers:

-
    -
  • the modifier map is saved and set to 0 (so DMX controls the LEDs)
  • -
  • the key click, bell, led, and repeat masks are saved and set to the values that DMX claims to be using
  • -
-

This routine and dmxCommonRestoreState are used when the pointer enters and leaves the console window, or when the backend window is active or not active (for a full-screen window, this only happens at server startup and server shutdown).

- -

References dmxCommonKbdSetCtrl(), DMXDBG0, dmxLogInput(), dmxScreens, dmxSync(), dmxUseXKB, and GETPRIVFROMPRIVATE.

- -

Referenced by dmxBackendCollectEvents(), dmxCommonKbdCtrl(), dmxCommonKbdGetInfo(), dmxCommonKbdOn(), and dmxConsoleCollectEvents().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
static void* dmxCommonXSelect (DMXScreenInfo dmxScreen,
void *  closure 
) [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
int dmxFindPointerScreen (int  x,
int  y 
)
-
-
-

Given the global coordinates x and y, determine the screen with the lowest number on which those coordinates lie. If they are not on any screen, return -1. The number returned is an index into dmxScreenInfo and is between -1 and dmxNumScreens - 1, inclusive.

- -

References dmxNumScreens.

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxcommon_8h.html b/xorg-server/hw/dmx/doc/html/dmxcommon_8h.html deleted file mode 100644 index 469d991a7..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxcommon_8h.html +++ /dev/null @@ -1,775 +0,0 @@ - - - - - File Index - - - - - -
-

dmxcommon.h File Reference

-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Defines

#define DMX_COMMON_OTHER
#define DMX_COMMON_XKB
#define DMX_COMMON_PRIVATE
#define GETONLYPRIVFROMPRIVATE   myPrivate *priv = private
#define GETPRIVFROMPRIVATE
#define GETDMXLOCALFROMPDEVICE
#define GETDMXINPUTFROMPRIV   DMXInputInfo *dmxInput = &dmxInputs[priv->dmxLocal->inputIdx]
#define GETDMXINPUTFROMPDEVICE
#define GETDMXLOCALFROMPDEV   DMXLocalInputInfoPtr dmxLocal = pDev->devicePrivate
#define GETDMXINPUTFROMPDEV
#define GETPRIVFROMPDEV
#define DMX_KEYBOARD_EVENT_MASK   (KeyPressMask | KeyReleaseMask | KeymapStateMask)
#define DMX_POINTER_EVENT_MASK   (ButtonPressMask | ButtonReleaseMask | PointerMotionMask)

Functions

void dmxCommonKbdGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info)
void dmxCommonKbdGetMap (DevicePtr pDev, KeySymsPtr pKeySyms, CARD8 *pModMap)
void dmxCommonKbdCtrl (DevicePtr pDev, KeybdCtrl *ctrl)
void dmxCommonKbdBell (DevicePtr pDev, int percent, int volume, int pitch, int duration)
int dmxCommonKbdOn (DevicePtr pDev)
void dmxCommonKbdOff (DevicePtr pDev)
void dmxCommonMouGetMap (DevicePtr pDev, unsigned char *map, int *nButtons)
void dmxCommonMouCtrl (DevicePtr pDev, PtrCtrl *ctrl)
int dmxCommonMouOn (DevicePtr pDev)
void dmxCommonMouOff (DevicePtr pDev)
int dmxFindPointerScreen (int x, int y)
int dmxCommonOthOn (DevicePtr pDev)
void dmxCommonOthOff (DevicePtr pDev)
void dmxCommonOthGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info)
pointer dmxCommonCopyPrivate (DeviceIntPtr pDevice)
void dmxCommonSaveState (pointer private)
void dmxCommonRestoreState (pointer private)
-

Detailed Description

-

Interface to functions used by backend and console input devices.

-
See also:
dmxcommon.c
-
-dmxbackend.c
-
-dmxconsole.c
-

Define Documentation

- -
-
- - - - -
#define DMX_COMMON_OTHER
-
-
-Value:
Display                 *display;       \
-    Window                  window;         \
-    DMXScreenInfo           *be;            \
-    DMXLocalInputInfoPtr    dmxLocal;       \
-    int                     initPointerX;   \
-    int                     initPointerY;   \
-    long                    eventMask;      \
-    KeybdCtrl               kctrl;          \
-    PtrCtrl                 mctrl;          \
-    int                     kctrlset;       \
-    int                     mctrlset;       \
-    KeybdCtrl               savedKctrl;     \
-    XModifierKeymap         *savedModMap;   \
-    int                     stateSaved
-
-
-
- -
-
- - - - -
#define DMX_COMMON_PRIVATE
-
-
-Value:
DMX_COMMON_XKB;                         \
-    XDevice                 *xi
-
-
-
- -
-
- - - - -
#define DMX_COMMON_XKB
-
-
-Value:
DMX_COMMON_OTHER;                       \
-    XkbDescPtr              xkb;            \
-    XkbIndicatorRec         savedIndicators
-
-
-
- -
-
- - - - -
#define DMX_KEYBOARD_EVENT_MASK   (KeyPressMask | KeyReleaseMask | KeymapStateMask)
-
-
- -

Referenced by dmxCommonKbdOff(), and dmxCommonKbdOn().

- -
-
- -
-
- - - - -
#define DMX_POINTER_EVENT_MASK   (ButtonPressMask | ButtonReleaseMask | PointerMotionMask)
-
-
- -

Referenced by dmxCommonMouOff(), and dmxCommonMouOn().

- -
-
- -
-
- - - - -
#define GETDMXINPUTFROMPDEV
-
-
-Value:
GETDMXLOCALFROMPDEV;                                                \
-    DMXInputInfo         *dmxInput = &dmxInputs[dmxLocal->inputIdx]
-
-

Referenced by dmxCheckSpecialKeys(), and dmxEnqueue().

- -
-
- -
-
- - - - -
#define GETDMXINPUTFROMPDEVICE
-
-
-Value:
GETDMXLOCALFROMPDEVICE;                                             \
-    DMXInputInfo         *dmxInput = &dmxInputs[dmxLocal->inputIdx]
-
-

Referenced by dmxDeviceOnOff(), and dmxKeyboardOn().

- -
-
- -
-
- - - - -
#define GETDMXINPUTFROMPRIV   DMXInputInfo *dmxInput = &dmxInputs[priv->dmxLocal->inputIdx]
-
- -
- -
-
- - - - -
#define GETDMXLOCALFROMPDEV   DMXLocalInputInfoPtr dmxLocal = pDev->devicePrivate
-
-
- -

Referenced by dmxFixup(), dmxMotion(), and enqueueMotion().

- -
-
- -
-
- - - - -
#define GETDMXLOCALFROMPDEVICE
-
- -
- -
-
- - - - -
#define GETONLYPRIVFROMPRIVATE   myPrivate *priv = private
-
- -
- - - -
-
- - - - -
#define GETPRIVFROMPRIVATE
-
- -
-

Function Documentation

- -
-
- - - - - - - - - -
pointer dmxCommonCopyPrivate (DeviceIntPtr  pDevice ) 
-
-
-

Returns a pointer to the private area for the device that comes just prior to pDevice in the current dmxInput device list. This is used as the private area for the current device in some situations (e.g., when a keyboard and mouse form a pair that should share the same private area). If the requested private area cannot be located, then NULL is returned.

- -

References _DMXInputInfo::devs, dmxInputs, GETDMXLOCALFROMPDEVICE, _DMXInputInfo::numDevs, and _DMXLocalInputInfo::private.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxCommonKbdBell (DevicePtr  pDev,
int  percent,
int  volume,
int  pitch,
int  duration 
)
-
-
-

Sound they keyboard bell.

- -

References GETPRIVFROMPDEV.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxCommonKbdCtrl (DevicePtr  pDev,
KeybdCtrl *  ctrl 
)
-
-
-

Update the keyboard control.

- -

References dmxCommonKbdSetCtrl(), dmxCommonSaveState(), and GETPRIVFROMPDEV.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxCommonKbdGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  info 
)
-
-
-

Fill in the XKEYBOARD parts of the info structure for the specified pDev.

- -

References dmxCommonRestoreState(), dmxCommonSaveState(), dmxLogInput(), _DMXLocalInitInfo::freenames, GETDMXINPUTFROMPRIV, GETPRIVFROMPDEV, NAME, and _DMXLocalInitInfo::names.

- -

Referenced by dmxBackendKbdGetInfo(), and dmxConsoleKbdGetInfo().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxCommonKbdGetMap (DevicePtr  pDev,
KeySymsPtr  pKeySyms,
CARD8 *  pModMap 
)
-
-
-

Get the keyboard mapping.

- -

References GETPRIVFROMPDEV.

- -

Referenced by dmxBackendKbdGetInfo(), and dmxConsoleKbdGetInfo().

- -
-
- -
-
- - - - - - - - - -
void dmxCommonKbdOff (DevicePtr  pDev ) 
-
-
-

Turn pDev off.

- -

References DMX_KEYBOARD_EVENT_MASK, dmxCommonRestoreState(), and GETPRIVFROMPDEV.

- -
-
- -
-
- - - - - - - - - -
int dmxCommonKbdOn (DevicePtr  pDev ) 
-
-
-

Turn pDev on (i.e., take input from pDev).

- -

References DMX_KEYBOARD_EVENT_MASK, dmxCommonSaveState(), and GETPRIVFROMPDEV.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxCommonMouCtrl (DevicePtr  pDev,
PtrCtrl *  ctrl 
)
-
-
-

Update the mouse control.

- -

References dmxCommonMouSetCtrl(), and GETPRIVFROMPDEV.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxCommonMouGetMap (DevicePtr  pDev,
unsigned char *  map,
int *  nButtons 
)
-
-
-

Obtain the mouse button mapping.

- -

References DMX_MAX_BUTTONS, and GETPRIVFROMPDEV.

- -

Referenced by dmxBackendMouGetInfo(), and dmxConsoleMouGetInfo().

- -
-
- -
-
- - - - - - - - - -
void dmxCommonMouOff (DevicePtr  pDev ) 
-
- -
- -
-
- - - - - - - - - -
int dmxCommonMouOn (DevicePtr  pDev ) 
-
- -
- - - -
-
- - - - - - - - - -
void dmxCommonOthOff (DevicePtr  pDev ) 
-
-
-

Turn pDev off.

- -

References GETPRIVFROMPDEV.

- -
-
- -
-
- - - - - - - - - -
int dmxCommonOthOn (DevicePtr  pDev ) 
-
- -
- -
-
- - - - - - - - - -
void dmxCommonRestoreState (pointer  private ) 
-
- -
- -
-
- - - - - - - - - -
void dmxCommonSaveState (pointer  private ) 
-
-
-

This routine saves and resets some important state for the backend and console device drivers:

-
    -
  • the modifier map is saved and set to 0 (so DMX controls the LEDs)
  • -
  • the key click, bell, led, and repeat masks are saved and set to the values that DMX claims to be using
  • -
-

This routine and dmxCommonRestoreState are used when the pointer enters and leaves the console window, or when the backend window is active or not active (for a full-screen window, this only happens at server startup and server shutdown).

- -

References dmxCommonKbdSetCtrl(), DMXDBG0, dmxLogInput(), dmxScreens, dmxSync(), dmxUseXKB, and GETPRIVFROMPRIVATE.

- -

Referenced by dmxBackendCollectEvents(), dmxCommonKbdCtrl(), dmxCommonKbdGetInfo(), dmxCommonKbdOn(), and dmxConsoleCollectEvents().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
int dmxFindPointerScreen (int  x,
int  y 
)
-
-
-

Given the global coordinates x and y, determine the screen with the lowest number on which those coordinates lie. If they are not on any screen, return -1. The number returned is an index into dmxScreenInfo and is between -1 and dmxNumScreens - 1, inclusive.

- -

References dmxNumScreens.

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxcommon_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxcommon_8h_source.html deleted file mode 100644 index eb99e95dc..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxcommon_8h_source.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxcompat_8c.html b/xorg-server/hw/dmx/doc/html/dmxcompat_8c.html deleted file mode 100644 index c8100f532..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxcompat_8c.html +++ /dev/null @@ -1,254 +0,0 @@ - - - - - File Index - - - - - -
-

dmxcompat.c File Reference

#include "dmxconfig.h"
-#include "dmxparse.h"
-#include "dmxcompat.h"
-#include "parser.h"
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <ctype.h>
- - - - - - - -

Functions

static int dmxVDLReadLine (FILE *str, char *buf, int len)
static int dmxVDLCount (const char *buf)
static void dmxVDLVirtualEntry (const char *buf, char *name, int *len, int *x, int *y)
static void dmxVDLDisplayEntry (const char *buf, char *name, int *len, int *x, int *y, int *xoff, int *yoff, int *xorig, int *yorig)
DMXConfigEntryPtr dmxVDLRead (const char *filename)
-

Detailed Description

-

This file provides some compatibility support for reading VDL files that are used by xmovie (http://www.llnl.gov/icc/sdd/img/xmovie/xmovie.shtml).

-

This file is not used by the DMX server.

-

Function Documentation

- -
-
- - - - - - - - - -
static int dmxVDLCount (const char *  buf )  [static]
-
-
- -

Referenced by dmxVDLRead().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
static void dmxVDLDisplayEntry (const char *  buf,
char *  name,
int *  len,
int *  x,
int *  y,
int *  xoff,
int *  yoff,
int *  xorig,
int *  yorig 
) [static]
-
-
- -

Referenced by dmxVDLRead().

- -
-
- - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
static int dmxVDLReadLine (FILE *  str,
char *  buf,
int  len 
) [static]
-
-
- -

Referenced by dmxVDLRead().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
static void dmxVDLVirtualEntry (const char *  buf,
char *  name,
int *  len,
int *  x,
int *  y 
) [static]
-
-
- -

Referenced by dmxVDLRead().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxcompat_8h.html b/xorg-server/hw/dmx/doc/html/dmxcompat_8h.html deleted file mode 100644 index 4fc44d7fa..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxcompat_8h.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - File Index - - - - - -
-

dmxcompat.h File Reference

-

Go to the source code of this file.

- - - -

Functions

DMXConfigEntryPtr dmxVDLRead (const char *filename)
-

Detailed Description

-

Interface to VDL compatibility support.

-
See also:
dmxcompat.c
-

This file is not used by the DMX server.

-

Function Documentation

- - -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxcompat_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxcompat_8h_source.html deleted file mode 100644 index 16b073d47..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxcompat_8h_source.html +++ /dev/null @@ -1,74 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxconfig_8c.html b/xorg-server/hw/dmx/doc/html/dmxconfig_8c.html deleted file mode 100644 index 1a404fc5f..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxconfig_8c.html +++ /dev/null @@ -1,863 +0,0 @@ - - - - - File Index - - - - - -
-

dmxconfig.c File Reference

#include "dmx.h"
-#include "dmxinput.h"
-#include "dmxconfig.h"
-#include "dmxparse.h"
-#include "dmxlog.h"
-#include "dmxcb.h"
-#include "dmxstat.h"
-#include "parser.h"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Data Structures

struct  DMXConfigListStruct
struct  DMXConfigCmdStruct

Defines

#define GEN(param, glob, def)

Typedefs

typedef struct DMXConfigListStruct DMXConfigList
typedef struct
-DMXConfigListStruct
DMXConfigListPtr
typedef struct DMXConfigCmdStruct DMXConfigCmd
typedef struct DMXConfigCmdStructDMXConfigCmdPtr

Functions

int yyparse (void)
void dmxConfigStoreDisplay (const char *display)
void dmxConfigStoreInput (const char *input)
void dmxConfigStoreXInput (const char *input)
void dmxConfigStoreFile (const char *file)
void dmxConfigStoreConfig (const char *config)
static int dmxConfigReadFile (const char *filename, int debug)
static const char * dmxConfigMatch (const char *target, DMXConfigEntryPtr entry)
static DMXScreenInfodmxConfigAddDisplay (const char *name, int scrnWidth, int scrnHeight, int scrnX, int scrnY, int scrnXSign, int scrnYSign, int rootWidth, int rootHeight, int rootX, int rootY, int rootXSign, int rootYSign)
DMXInputInfodmxConfigAddInput (const char *name, int core)
static void dmxConfigCopyFromDisplay (DMXConfigDisplayPtr d)
static void dmxConfigCopyFromWall (DMXConfigWallPtr w)
static void dmxConfigCopyFromOption (DMXConfigOptionPtr o)
static void dmxConfigCopyFromParam (DMXConfigParamPtr p)
static void dmxConfigCopyData (DMXConfigVirtualPtr v)
static void dmxConfigFromCommandLine (void)
static void dmxConfigFromConfigFile (void)
static void dmxConfigConfigInputs (void)
void dmxConfigConfigure (void)
void dmxConfigSetMaxScreens (void)

Variables

FILE * yyin
static char * dmxXkbRules
static char * dmxXkbModel
static char * dmxXkbLayout
static char * dmxXkbVariant
static char * dmxXkbOptions
DMXConfigEntryPtr dmxConfigEntry
static DMXConfigCmd dmxConfigCmd
static int dmxDisplaysFromCommandLine
-

Detailed Description

-

Provides interface for reading DMX configuration files and for combining that information with command-line configuration parameters.

-

Define Documentation

- -
-
- - - - - - - - - - - - - - - - - - - -
#define GEN(param,
glob,
def  ) 
-
-
-Value:
void dmxConfigSet##glob(const char *param) {                                 \
-     if (dmx##glob) free((void *)dmx##glob);                                  \
-     dmx##glob = strdup(param);                                               \
- }                                                                            \
- char *dmxConfigGet##glob(void) {                                             \
-     return (char *)(dmx##glob ? dmx##glob : def);                            \
- }
-

This macro is used to generate the following access methods:

-
    -
  • dmxConfig{Set,Get}rules
  • -
  • dmxConfig{Set,Get}model
  • -
  • dmxConfig{Set,Get}layout
  • -
  • dmxConfig{Set,Get}variant
  • -
  • dmxConfig{Set,Get}options These methods are used to read and write information about the keyboard.
  • -
- -
-
-

Typedef Documentation

- -
-
- - - - -
typedef struct DMXConfigCmdStruct DMXConfigCmd
-
-
-

This stucture stores the parsed configuration information.

- -
-
- -
-
- - - - -
typedef struct DMXConfigCmdStruct * DMXConfigCmdPtr
-
-
- -
-
- -
-
- - - - -
typedef struct DMXConfigListStruct DMXConfigList
-
-
-

Stores lists of configuration information.

- -
-
- -
-
- - - - -
typedef struct DMXConfigListStruct * DMXConfigListPtr
-
-
- -
-
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
static DMXScreenInfo* dmxConfigAddDisplay (const char *  name,
int  scrnWidth,
int  scrnHeight,
int  scrnX,
int  scrnY,
int  scrnXSign,
int  scrnYSign,
int  rootWidth,
int  rootHeight,
int  rootX,
int  rootY,
int  rootXSign,
int  rootYSign 
) [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
DMXInputInfo* dmxConfigAddInput (const char *  name,
int  core 
)
-
- -
- -
-
- - - - - - - - - -
static void dmxConfigConfigInputs (void  )  [static]
-
- -
- -
-
- - - - - - - - - -
void dmxConfigConfigure (void  ) 
-
-
-

Set up the appropriate global variables so that the DMX server will be initialized using the configuration specified in the config file and on the command line.

- -

References DMXConfigCmdStruct::config, DMXConfigCmdStruct::displays, dmxConfigConfigInputs(), dmxConfigFreeEntry(), dmxConfigFromCommandLine(), dmxConfigFromConfigFile(), dmxConfigReadFile(), dmxLog(), dmxWarning, and DMXConfigCmdStruct::filename.

- -

Referenced by dmxConfigSetMaxScreens(), and InitOutput().

- -
-
- - - - - -
-
- - - - - - - - - -
static void dmxConfigCopyFromOption (DMXConfigOptionPtr  o )  [static]
-
- -
- -
-
- - - - - - - - - -
static void dmxConfigCopyFromParam (DMXConfigParamPtr  p )  [static]
-
- -
- - - - - -
-
- - - - - - - - - -
static void dmxConfigFromConfigFile (void  )  [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
static const char* dmxConfigMatch (const char *  target,
DMXConfigEntryPtr  entry 
) [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
static int dmxConfigReadFile (const char *  filename,
int  debug 
) [static]
-
-
- -

References dmxInfo, dmxLog(), str, yydebug, yyin, and yyparse().

- -

Referenced by dmxConfigConfigure().

- -
-
- -
-
- - - - - - - - - -
void dmxConfigSetMaxScreens (void  ) 
-
-
-

This function determines the number of displays we WILL have and sets MAXSCREENS to that value. This is difficult since the number depends on the command line (which is easy to count) or on the config file, which has to be parsed.

- -

References dmxConfigConfigure(), dmxDisplaysFromCommandLine, dmxNumScreens, and DMXConfigCmdStruct::filename.

- -

Referenced by ddxProcessArgument().

- -
-
- -
-
- - - - - - - - - -
void dmxConfigStoreConfig (const char *  config ) 
-
-
-

Make a note that config should be used as the configuration for current instantiation of the DMX server.

- -

References DMXConfigCmdStruct::config, dmxFatal, and dmxLog().

- -

Referenced by ddxProcessArgument().

- -
-
- -
-
- - - - - - - - - -
void dmxConfigStoreDisplay (const char *  display ) 
-
-
-

Make a note that display is the name of an X11 display that should be initialized as a backend (output) display. Called from ddxProcessArgument.

- -

References DMXConfigCmdStruct::displays, dmxDisplaysFromCommandLine, dmxFatal, dmxLog(), DMXConfigListStruct::name, and DMXConfigListStruct::next.

- -

Referenced by ddxProcessArgument().

- -
-
- -
-
- - - - - - - - - -
void dmxConfigStoreFile (const char *  file ) 
-
-
-

Make a note that file is the configuration file.

- -

References dmxFatal, dmxLog(), and DMXConfigCmdStruct::filename.

- -

Referenced by ddxProcessArgument().

- -
-
- -
-
- - - - - - - - - -
void dmxConfigStoreInput (const char *  input ) 
-
-
-

Make a note that input is the name of an X11 display that should be used for input (either a backend or a console input device).

- -

References dmxFatal, dmxLog(), DMXConfigCmdStruct::inputs, DMXConfigListStruct::name, and DMXConfigListStruct::next.

- -

Referenced by ddxProcessArgument().

- -
-
- -
-
- - - - - - - - - -
void dmxConfigStoreXInput (const char *  input ) 
-
-
-

Make a note that input is the name of an X11 display that should be used for input from XInput extension devices.

- -

References dmxFatal, dmxLog(), DMXConfigListStruct::name, DMXConfigListStruct::next, and DMXConfigCmdStruct::xinputs.

- -

Referenced by ddxProcessArgument().

- -
-
- -
-
- - - - - - - - - -
int yyparse (void  ) 
-
-
- -

Referenced by dmxConfigReadFile(), and main().

- -
-
-

Variable Documentation

- -
-
- - - - -
DMXConfigCmd dmxConfigCmd [static]
-
-
- -
-
- -
- -
- -

Referenced by main().

- -
-
- -
-
- - - - -
int dmxDisplaysFromCommandLine [static]
-
- -
- -
-
- - - - -
char* dmxXkbLayout [static]
-
-
- -
-
- -
-
- - - - -
char* dmxXkbModel [static]
-
-
- -
-
- -
-
- - - - -
char* dmxXkbOptions [static]
-
-
- -
-
- -
-
- - - - -
char* dmxXkbRules [static]
-
-
- -
-
- -
-
- - - - -
char* dmxXkbVariant [static]
-
-
- -
-
- -
-
- - - - -
FILE* yyin
-
-
- -

Referenced by dmxConfigReadFile().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxconfig_8h.html b/xorg-server/hw/dmx/doc/html/dmxconfig_8h.html deleted file mode 100644 index 72d5e1e57..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxconfig_8h.html +++ /dev/null @@ -1,426 +0,0 @@ - - - - - File Index - - - - - -
-

dmxconfig.h File Reference

#include <xkb-config.h>
- -

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - -

Functions

void dmxConfigStoreDisplay (const char *display)
void dmxConfigStoreInput (const char *input)
void dmxConfigStoreXInput (const char *input)
void dmxConfigStoreFile (const char *file)
void dmxConfigStoreConfig (const char *config)
void dmxConfigConfigure (void)
void dmxConfigSetMaxScreens (void)
void dmxConfigSetXkbRules (const char *rules)
void dmxConfigSetXkbModel (const char *model)
void dmxConfigSetXkbLayout (const char *layout)
void dmxConfigSetXkbVariant (const char *variant)
void dmxConfigSetXkbOptions (const char *options)
char * dmxConfigGetXkbRules (void)
char * dmxConfigGetXkbModel (void)
char * dmxConfigGetXkbLayout (void)
char * dmxConfigGetXkbVariant (void)
char * dmxConfigGetXkbOptions (void)
-

Detailed Description

-

Interface for DMX configuration file support.

-
See also:
dmxconfig.c
-

Function Documentation

- -
-
- - - - - - - - - -
void dmxConfigConfigure (void  ) 
-
-
-

Set up the appropriate global variables so that the DMX server will be initialized using the configuration specified in the config file and on the command line.

- -

References DMXConfigCmdStruct::config, DMXConfigCmdStruct::displays, dmxConfigConfigInputs(), dmxConfigFreeEntry(), dmxConfigFromCommandLine(), dmxConfigFromConfigFile(), dmxConfigReadFile(), dmxLog(), dmxWarning, and DMXConfigCmdStruct::filename.

- -

Referenced by dmxConfigSetMaxScreens(), and InitOutput().

- -
-
- -
-
- - - - - - - - - -
char* dmxConfigGetXkbLayout (void  ) 
-
-
- -

Referenced by dmxDeviceOnOff(), and dmxKeyboardOn().

- -
-
- -
-
- - - - - - - - - -
char* dmxConfigGetXkbModel (void  ) 
-
-
- -

Referenced by dmxDeviceOnOff(), and dmxKeyboardOn().

- -
-
- -
-
- - - - - - - - - -
char* dmxConfigGetXkbOptions (void  ) 
-
-
- -

Referenced by dmxDeviceOnOff(), and dmxKeyboardOn().

- -
-
- -
-
- - - - - - - - - -
char* dmxConfigGetXkbRules (void  ) 
-
-
- -

Referenced by dmxDeviceOnOff(), and dmxKeyboardOn().

- -
-
- -
-
- - - - - - - - - -
char* dmxConfigGetXkbVariant (void  ) 
-
-
- -

Referenced by dmxDeviceOnOff(), and dmxKeyboardOn().

- -
-
- -
-
- - - - - - - - - -
void dmxConfigSetMaxScreens (void  ) 
-
-
-

This function determines the number of displays we WILL have and sets MAXSCREENS to that value. This is difficult since the number depends on the command line (which is easy to count) or on the config file, which has to be parsed.

- -

References dmxConfigConfigure(), dmxDisplaysFromCommandLine, dmxNumScreens, and DMXConfigCmdStruct::filename.

- -

Referenced by ddxProcessArgument().

- -
-
- -
-
- - - - - - - - - -
void dmxConfigSetXkbLayout (const char *  layout ) 
-
- -
- -
-
- - - - - - - - - -
void dmxConfigSetXkbModel (const char *  model ) 
-
- -
- -
-
- - - - - - - - - -
void dmxConfigSetXkbOptions (const char *  options ) 
-
- -
- -
-
- - - - - - - - - -
void dmxConfigSetXkbRules (const char *  rules ) 
-
- -
- -
-
- - - - - - - - - -
void dmxConfigSetXkbVariant (const char *  variant ) 
-
- -
- -
-
- - - - - - - - - -
void dmxConfigStoreConfig (const char *  config ) 
-
-
-

Make a note that config should be used as the configuration for current instantiation of the DMX server.

- -

References DMXConfigCmdStruct::config, dmxFatal, and dmxLog().

- -

Referenced by ddxProcessArgument().

- -
-
- -
-
- - - - - - - - - -
void dmxConfigStoreDisplay (const char *  display ) 
-
-
-

Make a note that display is the name of an X11 display that should be initialized as a backend (output) display. Called from ddxProcessArgument.

- -

References DMXConfigCmdStruct::displays, dmxDisplaysFromCommandLine, dmxFatal, dmxLog(), DMXConfigListStruct::name, and DMXConfigListStruct::next.

- -

Referenced by ddxProcessArgument().

- -
-
- -
-
- - - - - - - - - -
void dmxConfigStoreFile (const char *  file ) 
-
-
-

Make a note that file is the configuration file.

- -

References dmxFatal, dmxLog(), and DMXConfigCmdStruct::filename.

- -

Referenced by ddxProcessArgument().

- -
-
- -
-
- - - - - - - - - -
void dmxConfigStoreInput (const char *  input ) 
-
-
-

Make a note that input is the name of an X11 display that should be used for input (either a backend or a console input device).

- -

References dmxFatal, dmxLog(), DMXConfigCmdStruct::inputs, DMXConfigListStruct::name, and DMXConfigListStruct::next.

- -

Referenced by ddxProcessArgument().

- -
-
- -
-
- - - - - - - - - -
void dmxConfigStoreXInput (const char *  input ) 
-
-
-

Make a note that input is the name of an X11 display that should be used for input from XInput extension devices.

- -

References dmxFatal, dmxLog(), DMXConfigListStruct::name, DMXConfigListStruct::next, and DMXConfigCmdStruct::xinputs.

- -

Referenced by ddxProcessArgument().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxconfig_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxconfig_8h_source.html deleted file mode 100644 index 836bd94be..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxconfig_8h_source.html +++ /dev/null @@ -1,94 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxconsole_8c.html b/xorg-server/hw/dmx/doc/html/dmxconsole_8c.html deleted file mode 100644 index 1ee466b09..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxconsole_8c.html +++ /dev/null @@ -1,1482 +0,0 @@ - - - - - File Index - - - - - -
-

dmxconsole.c File Reference

#include "dmxinputinit.h"
-#include "dmxevents.h"
-#include "dmxconsole.h"
-#include "dmxcommon.h"
-#include "dmxscrinit.h"
-#include "dmxcb.h"
-#include "dmxsync.h"
-#include "inputstr.h"
-#include "input.h"
-#include "mipointer.h"
-#include "windowstr.h"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Data Structures

struct  _myPrivate

Defines

#define DMX_CONSOLE_DEBUG   0
#define DMX_WINDOW_DEBUG   0
#define CONSOLE_NUM   3
#define CONSOLE_DEN   4
#define DMX_CONSOLE_NAME   "DMX Console"
#define DMX_RES_NAME   "Xdmx"
#define DMX_RES_CLASS   "XDmx"
#define CONSOLE_BG_COLOR   "gray75"
#define CONSOLE_FG_COLOR   "black"
#define CONSOLE_SCREEN_BG_COLOR   "white"
#define CONSOLE_SCREEN_FG_COLOR   "black"
#define CONSOLE_SCREEN_DET_COLOR   "gray75"
#define CONSOLE_SCREEN_CUR_COLOR   "red"
#define DMXDBG0(f)
#define DMXDBG1(f, a)
#define DMXDBG2(f, a, b)
#define DMXDBG3(f, a, b, c)
#define DMXDBG4(f, a, b, c, d)
#define DMXDBG5(f, a, b, c, d, e)
#define DMXDBG6(f, a, b, c, d, e, g)
#define DMXDBG7(f, a, b, c, d, e, g, h)

Typedefs

typedef struct _myPrivate myPrivate

Functions

static int scalex (myPrivate *priv, int x)
static int scaley (myPrivate *priv, int y)
static int unscalex (myPrivate *priv, int x)
static int unscaley (myPrivate *priv, int y)
pointer dmxConsoleCreatePrivate (DeviceIntPtr pDevice)
void dmxConsoleDestroyPrivate (pointer private)
static void dmxConsoleDrawFineCursor (myPrivate *priv, XRectangle *rect)
static void dmxConsoleDrawWindows (pointer private)
static void dmxConsoleDraw (myPrivate *priv, int updateCursor, int update)
static void dmxConsoleClearCursor (myPrivate *priv, int x, int y, XRectangle *rect)
static void dmxConsoleUpdateFineCursor (myPrivate *priv)
void dmxConsoleUpdateInfo (pointer private, DMXUpdateType type, WindowPtr pWindow)
static void dmxConsoleMoveAbsolute (myPrivate *priv, int x, int y, DevicePtr pDev, dmxMotionProcPtr motion, DMXBlockType block)
static void dmxConsoleMoveRelative (myPrivate *priv, int x, int y, DevicePtr pDev, dmxMotionProcPtr motion, DMXBlockType block)
void dmxConsoleUpdatePosition (pointer private, int x, int y)
void dmxConsoleCollectEvents (DevicePtr pDev, dmxMotionProcPtr motion, dmxEnqueueProcPtr enqueue, dmxCheckSpecialProcPtr checkspecial, DMXBlockType block)
static void dmxCloseConsole (myPrivate *priv)
static Bool dmxCloseConsoleScreen (int idx, ScreenPtr pScreen)
static Cursor dmxConsoleCreateEmptyCursor (myPrivate *priv)
static void dmxConsoleComputeWidthHeight (myPrivate *priv, int *width, int *height, double *xScale, double *yScale, int *consWidth, int *consHeight)
void dmxConsoleReInit (DevicePtr pDev)
void dmxConsoleInit (DevicePtr pDev)
void dmxConsoleMouGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info)
void dmxConsoleKbdGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info)
int dmxConsoleFunctions (pointer private, DMXFunctionType function)
static void dmxDump (void)
void dmxConsoleCapture (DMXInputInfo *dmxInput)
void dmxConsoleUncapture (DMXInputInfo *dmxInput)
-

Detailed Description

-

This file implements the console input devices.

-

Define Documentation

- -
-
- - - - -
#define CONSOLE_BG_COLOR   "gray75"
-
-
- -

Referenced by dmxConsoleInit().

- -
-
- -
-
- - - - -
#define CONSOLE_DEN   4
-
-
- -

Referenced by dmxConsoleComputeWidthHeight().

- -
-
- -
-
- - - - -
#define CONSOLE_FG_COLOR   "black"
-
-
- -
-
- -
-
- - - - -
#define CONSOLE_NUM   3
-
-
- -

Referenced by dmxConsoleComputeWidthHeight().

- -
-
- -
-
- - - - -
#define CONSOLE_SCREEN_BG_COLOR   "white"
-
-
- -

Referenced by dmxConsoleInit().

- -
-
- -
-
- - - - -
#define CONSOLE_SCREEN_CUR_COLOR   "red"
-
-
- -

Referenced by dmxConsoleInit().

- -
-
- -
-
- - - - -
#define CONSOLE_SCREEN_DET_COLOR   "gray75"
-
-
- -

Referenced by dmxConsoleInit().

- -
-
- -
-
- - - - -
#define CONSOLE_SCREEN_FG_COLOR   "black"
-
-
- -

Referenced by dmxConsoleInit().

- -
-
- -
-
- - - - -
#define DMX_CONSOLE_DEBUG   0
-
-
- -
-
- -
-
- - - - -
#define DMX_CONSOLE_NAME   "DMX Console"
-
-
- -

Referenced by dmxConsoleInit().

- -
-
- -
-
- - - - -
#define DMX_RES_CLASS   "XDmx"
-
-
- -

Referenced by dmxConsoleInit().

- -
-
- -
-
- - - - -
#define DMX_RES_NAME   "Xdmx"
-
-
- -

Referenced by dmxConsoleInit().

- -
-
- -
-
- - - - -
#define DMX_WINDOW_DEBUG   0
-
-
- -
-
- -
-
- - - - - - - - - -
#define DMXDBG0( ) 
-
-
- -
-
- -
-
- - - - - - - - - - - - - - -
#define DMXDBG1(f,
 ) 
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - -
#define DMXDBG2(f,
a,
 ) 
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
#define DMXDBG3(f,
a,
b,
 ) 
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#define DMXDBG4(f,
a,
b,
c,
 ) 
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#define DMXDBG5(f,
a,
b,
c,
d,
 ) 
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#define DMXDBG6(f,
a,
b,
c,
d,
e,
 ) 
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#define DMXDBG7(f,
a,
b,
c,
d,
e,
g,
 ) 
-
-
- -
-
-

Typedef Documentation

- -
-
- - - - -
typedef struct _myPrivate myPrivate
-
-
- -
-
-

Function Documentation

- -
-
- - - - - - - - - -
static void dmxCloseConsole (myPrivate priv )  [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
static Bool dmxCloseConsoleScreen (int  idx,
ScreenPtr  pScreen 
) [static]
-
- -
- -
-
- - - - - - - - - -
void dmxConsoleCapture (DMXInputInfo dmxInput ) 
-
-
-

This routine is used to warp the pointer into the console window from anywhere on the screen. It is used when backend and console input are both being taken from the same X display.

- -

References _myPrivate::captured, _myPrivate::curX, _myPrivate::curY, _DMXInputInfo::devs, DMX_LOCAL_MOUSE, DMX_LOCAL_TYPE_CONSOLE, dmxConsoleUpdateFineCursor(), DMXDBG0, DMXDBG3, dmxDump(), dmxSync(), _DMXLocalInputInfo::extType, _myPrivate::fine, _DMXInputInfo::name, _DMXInputInfo::numDevs, _DMXLocalInputInfo::private, and _DMXLocalInputInfo::type.

- -

Referenced by dmxBackendUpdatePosition().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
static void dmxConsoleClearCursor (myPrivate priv,
int  x,
int  y,
XRectangle *  rect 
) [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxConsoleCollectEvents (DevicePtr  pDev,
dmxMotionProcPtr  motion,
dmxEnqueueProcPtr  enqueue,
dmxCheckSpecialProcPtr  checkspecial,
DMXBlockType  block 
)
-
-
-

Collect all pending events from the console's display. Plase these events on the server event queue using the motion and enqueue routines. The checkspecial routine is used to check for special keys that need handling. block tells if signals should be blocked when updating the event queue.

- -

References dmxCommonRestoreState(), dmxCommonSaveState(), dmxConsoleDraw(), dmxConsoleMoveAbsolute(), dmxConsoleMoveRelative(), dmxConsoleUncapture(), DMXDBG2, DMXDBG4, DMXDBG5, DMXDBG6, _myPrivate::dmxInput, GETDMXINPUTFROMPRIV, GETPRIVFROMPDEV, _myPrivate::height, and _myPrivate::width.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
static void dmxConsoleComputeWidthHeight (myPrivate priv,
int *  width,
int *  height,
double *  xScale,
double *  yScale,
int *  consWidth,
int *  consHeight 
) [static]
-
- -
- -
-
- - - - - - - - - -
static Cursor dmxConsoleCreateEmptyCursor (myPrivate priv )  [static]
-
-
- -

References dmxFatal, dmxLog(), and _myPrivate::pixmap.

- -

Referenced by dmxConsoleInit().

- -
-
- -
-
- - - - - - - - - -
pointer dmxConsoleCreatePrivate (DeviceIntPtr  pDevice ) 
-
-
-

Create the private area for pDevice.

- -

References GETDMXLOCALFROMPDEVICE.

- -
-
- -
-
- - - - - - - - - -
void dmxConsoleDestroyPrivate (pointer  private ) 
-
-
-

If private is non-NULL, free its associated memory.

- -
-
- - - -
-
- - - - - - - - - - - - - - - - - - -
static void dmxConsoleDrawFineCursor (myPrivate priv,
XRectangle *  rect 
) [static]
-
- -
- -
-
- - - - - - - - - -
static void dmxConsoleDrawWindows (pointer  private )  [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
int dmxConsoleFunctions (pointer  private,
DMXFunctionType  function 
)
-
- -
- - - -
-
- - - - - - - - - - - - - - - - - - -
void dmxConsoleKbdGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  info 
)
-
- -
- - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
static void dmxConsoleMoveAbsolute (myPrivate priv,
int  x,
int  y,
DevicePtr  pDev,
dmxMotionProcPtr  motion,
DMXBlockType  block 
) [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
static void dmxConsoleMoveRelative (myPrivate priv,
int  x,
int  y,
DevicePtr  pDev,
dmxMotionProcPtr  motion,
DMXBlockType  block 
) [static]
-
- -
- -
-
- - - - - - - - - -
void dmxConsoleReInit (DevicePtr  pDev ) 
-
-
-

Re-initialized the console device described by pDev (after a reconfig).

- -

References dmxConsoleComputeWidthHeight(), dmxConsoleDraw(), and GETPRIVFROMPDEV.

- -
-
- - - - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxConsoleUpdateInfo (pointer  private,
DMXUpdateType  type,
WindowPtr  pWindow 
)
-
-
-

Whenever the window layout (size, position, stacking order) might be changed, this routine is called with the pWindow that changed and the type of change. This routine is called in a conservative fashion: the actual layout of the windows of the screen might not have had any human-visible changes.

- -

References dmxConsoleDraw(), and GETONLYPRIVFROMPRIVATE.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxConsoleUpdatePosition (pointer  private,
int  x,
int  y 
)
-
-
-

This routine gets called from dmxCoreMotion for each motion. This allows the console's notion of the cursor postion to change when another input device actually caused the change.

- -

References dmxConsoleDraw(), dmxConsoleUpdateFineCursor(), DMXDBG2, DMXDBG6, dmxGeneration, GETONLYPRIVFROMPRIVATE, scalex(), and scaley().

- -
-
- -
-
- - - - - - - - - -
static void dmxDump (void  )  [static]
-
- -
- - - - - -
-
- - - - - - - - - - - - - - - - - - -
static int unscalex (myPrivate priv,
int  x 
) [static]
-
-
- -

References _myPrivate::xScale.

- -

Referenced by dmxConsoleMoveAbsolute().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
static int unscaley (myPrivate priv,
int  y 
) [static]
-
-
- -

References _myPrivate::yScale.

- -

Referenced by dmxConsoleMoveAbsolute().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxconsole_8h.html b/xorg-server/hw/dmx/doc/html/dmxconsole_8h.html deleted file mode 100644 index 5baa40b29..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxconsole_8h.html +++ /dev/null @@ -1,427 +0,0 @@ - - - - - File Index - - - - - -
-

dmxconsole.h File Reference

-

Go to the source code of this file.

- - - - - - - - - - - - - - - -

Functions

pointer dmxConsoleCreatePrivate (DeviceIntPtr pDevice)
void dmxConsoleDestroyPrivate (pointer private)
void dmxConsoleInit (DevicePtr pDev)
void dmxConsoleReInit (DevicePtr pDev)
void dmxConsoleMouGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info)
void dmxConsoleKbdGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info)
void dmxConsoleCollectEvents (DevicePtr pDev, dmxMotionProcPtr motion, dmxEnqueueProcPtr enqueue, dmxCheckSpecialProcPtr checkspecial, DMXBlockType block)
int dmxConsoleFunctions (pointer private, DMXFunctionType function)
void dmxConsoleUpdatePosition (pointer private, int x, int y)
void dmxConsoleKbdSetCtrl (pointer private, KeybdCtrl *ctrl)
void dmxConsoleCapture (DMXInputInfo *dmxInput)
void dmxConsoleUncapture (DMXInputInfo *dmxInput)
void dmxConsoleUpdateInfo (pointer private, DMXUpdateType, WindowPtr pWindow)
-

Detailed Description

-

Interface for console device support.

-
See also:
dmxconsole.c
-
-dmxcommon.c
-

Function Documentation

- -
-
- - - - - - - - - -
void dmxConsoleCapture (DMXInputInfo dmxInput ) 
-
-
-

This routine is used to warp the pointer into the console window from anywhere on the screen. It is used when backend and console input are both being taken from the same X display.

- -

References _myPrivate::captured, _myPrivate::curX, _myPrivate::curY, _DMXInputInfo::devs, DMX_LOCAL_MOUSE, DMX_LOCAL_TYPE_CONSOLE, dmxConsoleUpdateFineCursor(), DMXDBG0, DMXDBG3, dmxDump(), dmxSync(), _DMXLocalInputInfo::extType, _myPrivate::fine, _DMXInputInfo::name, _DMXInputInfo::numDevs, _DMXLocalInputInfo::private, and _DMXLocalInputInfo::type.

- -

Referenced by dmxBackendUpdatePosition().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxConsoleCollectEvents (DevicePtr  pDev,
dmxMotionProcPtr  motion,
dmxEnqueueProcPtr  enqueue,
dmxCheckSpecialProcPtr  checkspecial,
DMXBlockType  block 
)
-
-
-

Collect all pending events from the console's display. Plase these events on the server event queue using the motion and enqueue routines. The checkspecial routine is used to check for special keys that need handling. block tells if signals should be blocked when updating the event queue.

- -

References dmxCommonRestoreState(), dmxCommonSaveState(), dmxConsoleDraw(), dmxConsoleMoveAbsolute(), dmxConsoleMoveRelative(), dmxConsoleUncapture(), DMXDBG2, DMXDBG4, DMXDBG5, DMXDBG6, _myPrivate::dmxInput, GETDMXINPUTFROMPRIV, GETPRIVFROMPDEV, _myPrivate::height, and _myPrivate::width.

- -
-
- -
-
- - - - - - - - - -
pointer dmxConsoleCreatePrivate (DeviceIntPtr  pDevice ) 
-
-
-

Create the private area for pDevice.

- -

References GETDMXLOCALFROMPDEVICE.

- -
-
- -
-
- - - - - - - - - -
void dmxConsoleDestroyPrivate (pointer  private ) 
-
-
-

If private is non-NULL, free its associated memory.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
int dmxConsoleFunctions (pointer  private,
DMXFunctionType  function 
)
-
- -
- - - -
-
- - - - - - - - - - - - - - - - - - -
void dmxConsoleKbdGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  info 
)
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxConsoleKbdSetCtrl (pointer  private,
KeybdCtrl *  ctrl 
)
-
-
- -
-
- - - -
-
- - - - - - - - - -
void dmxConsoleReInit (DevicePtr  pDev ) 
-
-
-

Re-initialized the console device described by pDev (after a reconfig).

- -

References dmxConsoleComputeWidthHeight(), dmxConsoleDraw(), and GETPRIVFROMPDEV.

- -
-
- - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxConsoleUpdateInfo (pointer  private,
DMXUpdateType  type,
WindowPtr  pWindow 
)
-
-
-

Whenever the window layout (size, position, stacking order) might be changed, this routine is called with the pWindow that changed and the type of change. This routine is called in a conservative fashion: the actual layout of the windows of the screen might not have had any human-visible changes.

- -

References dmxConsoleDraw(), and GETONLYPRIVFROMPRIVATE.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxConsoleUpdatePosition (pointer  private,
int  x,
int  y 
)
-
-
-

This routine gets called from dmxCoreMotion for each motion. This allows the console's notion of the cursor postion to change when another input device actually caused the change.

- -

References dmxConsoleDraw(), dmxConsoleUpdateFineCursor(), DMXDBG2, DMXDBG6, dmxGeneration, GETONLYPRIVFROMPRIVATE, scalex(), and scaley().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxconsole_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxconsole_8h_source.html deleted file mode 100644 index 1f3f4e911..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxconsole_8h_source.html +++ /dev/null @@ -1,92 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxcursor_8c.html b/xorg-server/hw/dmx/doc/html/dmxcursor_8c.html deleted file mode 100644 index f6abb7f83..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxcursor_8c.html +++ /dev/null @@ -1,1458 +0,0 @@ - - - - - File Index - - - - - -
-

dmxcursor.c File Reference

#include "dmx.h"
-#include "dmxsync.h"
-#include "dmxcursor.h"
-#include "dmxlog.h"
-#include "dmxprop.h"
-#include "dmxinput.h"
-#include "mipointer.h"
-#include "windowstr.h"
-#include "globals.h"
-#include "cursorstr.h"
-#include "dixevents.h"
-#include "inputstr.h"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Defines

#define DMX_CURSOR_DEBUG   0
#define DMXDBG0(f)
#define DMXDBG1(f, a)
#define DMXDBG2(f, a, b)
#define DMXDBG3(f, a, b, c)
#define DMXDBG4(f, a, b, c, d)
#define DMXDBG5(f, a, b, c, d, e)
#define DMXDBG6(f, a, b, c, d, e, g)
#define DMXDBG7(f, a, b, c, d, e, g, h)

Functions

void dmxCursorNoMulti (void)
static Bool dmxCursorOffScreen (ScreenPtr *ppScreen, int *x, int *y)
static void dmxCrossScreen (ScreenPtr pScreen, Bool entering)
static void dmxWarpCursor (DeviceIntPtr pDev, ScreenPtr pScreen, int x, int y)
static int * dmxSLCreate (void)
static void dmxSLFree (int *list)
static int dmxSLFindNext (int *list)
static int dmxTryComputeScreenOrigins (int *screensLeft)
static void dmxComputeScreenOrigins (void)
void dmxReInitOrigins (void)
void dmxInitOrigins (void)
int dmxOnScreen (int x, int y, DMXScreenInfo *dmxScreen)
static int dmxDoesOverlap (DMXScreenInfo *a, DMXScreenInfo *b)
static void * dmxPrintOverlap (DMXScreenInfo *dmxScreen, void *closure)
static void * dmxIterateOverlap (DMXScreenInfo *start, void *(*f)(DMXScreenInfo *dmxScreen, void *), void *closure)
static void * dmxTestSameDisplay (DMXScreenInfo *a, void *closure)
void dmxInitOverlap (void)
void dmxBECreateCursor (ScreenPtr pScreen, CursorPtr pCursor)
static Bool _dmxRealizeCursor (ScreenPtr pScreen, CursorPtr pCursor)
Bool dmxBEFreeCursor (ScreenPtr pScreen, CursorPtr pCursor)
static Bool _dmxUnrealizeCursor (ScreenPtr pScreen, CursorPtr pCursor)
static void _dmxMoveCursor (ScreenPtr pScreen, int x, int y)
static void _dmxSetCursor (ScreenPtr pScreen, CursorPtr pCursor, int x, int y)
static Bool dmxRealizeCursor (DeviceIntPtr pDev, ScreenPtr pScreen, CursorPtr pCursor)
static Bool dmxUnrealizeCursor (DeviceIntPtr pDev, ScreenPtr pScreen, CursorPtr pCursor)
static CursorPtr dmxFindCursor (DMXScreenInfo *start)
void dmxMoveCursor (DeviceIntPtr pDev, ScreenPtr pScreen, int x, int y)
static void dmxSetCursor (DeviceIntPtr pDev, ScreenPtr pScreen, CursorPtr pCursor, int x, int y)
void dmxHideCursor (DMXScreenInfo *dmxScreen)
void dmxCheckCursor (void)
static Bool dmxDeviceCursorInitialize (DeviceIntPtr pDev, ScreenPtr pScr)
static void dmxDeviceCursorCleanup (DeviceIntPtr pDev, ScreenPtr pScr)

Variables

static int dmxCursorDoMultiCursors = 1
miPointerScreenFuncRec dmxPointerCursorFuncs
miPointerSpriteFuncRec dmxPointerSpriteFuncs
-

Detailed Description

-

This file contains code than supports cursor movement, including the code that initializes and reinitializes the screen positions and computes screen overlap.

-

"This code is based very closely on the XFree86 equivalent - (xfree86/common/xf86Cursor.c)." --David Dawes.

-

"This code was then extensively re-written, as explained here." --Rik Faith

-

The code in xf86Cursor.c used edge lists to implement the CursorOffScreen function. The edge list computation was complex (especially in the face of arbitrarily overlapping screens) compared with the speed savings in the CursorOffScreen function. The new implementation has erred on the side of correctness, readability, and maintainability over efficiency. For the common (non-edge) case, the dmxCursorOffScreen function does avoid a loop over all the screens. When the cursor has left the screen, all the screens are searched, and the first screen (in dmxScreens order) containing the cursor will be returned. If run-time profiling shows that this routing is a performance bottle-neck, then an edge list may have to be reimplemented. An edge list algorithm is O(edges) whereas the new algorithm is O(dmxNumScreens). Since edges is usually 1-3 and dmxNumScreens may be 30-60 for large backend walls, this trade off may be compelling.

-

The xf86InitOrigins routine uses bit masks during the computation and is therefore limited to the length of a word (e.g., 32 or 64 bits) screens. Because Xdmx is expected to be used with a large number of backend displays, this limitation was removed. The new implementation has erred on the side of readability over efficiency, using the dmxSL* routines to manage a screen list instead of a bitmap, and a function call to decrease the length of the main routine. Both algorithms are of the same order, and both are called only at server generation time, so trading clarity and long-term maintainability for efficiency does not seem justified in this case.

-

Define Documentation

- -
-
- - - - -
#define DMX_CURSOR_DEBUG   0
-
-
- -
-
- -
-
- - - - - - - - - -
#define DMXDBG0( ) 
-
- -
- -
-
- - - - - - - - - - - - - - -
#define DMXDBG1(f,
 ) 
-
-
- -

Referenced by dmxBackendLateReInit().

- -
-
- - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
#define DMXDBG3(f,
a,
b,
 ) 
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#define DMXDBG4(f,
a,
b,
c,
 ) 
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#define DMXDBG5(f,
a,
b,
c,
d,
 ) 
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#define DMXDBG6(f,
a,
b,
c,
d,
e,
 ) 
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#define DMXDBG7(f,
a,
b,
c,
d,
e,
g,
 ) 
-
-
- -

Referenced by dmxBackendCollectEvents().

- -
-
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
static void _dmxMoveCursor (ScreenPtr  pScreen,
int  x,
int  y 
) [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
static Bool _dmxRealizeCursor (ScreenPtr  pScreen,
CursorPtr  pCursor 
) [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
static void _dmxSetCursor (ScreenPtr  pScreen,
CursorPtr  pCursor,
int  x,
int  y 
) [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
static Bool _dmxUnrealizeCursor (ScreenPtr  pScreen,
CursorPtr  pCursor 
) [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxBECreateCursor (ScreenPtr  pScreen,
CursorPtr  pCursor 
)
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
Bool dmxBEFreeCursor (ScreenPtr  pScreen,
CursorPtr  pCursor 
)
-
-
-

Free pCursor on the back-end associated with pScreen.

- -

References _DMXScreenInfo::beDisplay, _dmxCursorPriv::cursor, DMX_GET_CURSOR_PRIV, and dmxScreens.

- -

Referenced by _dmxUnrealizeCursor(), and dmxBEDestroyResources().

- -
-
- -
-
- - - - - - - - - -
void dmxCheckCursor (void  ) 
-
- -
- -
-
- - - - - - - - - -
static void dmxComputeScreenOrigins (void  )  [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
static void dmxCrossScreen (ScreenPtr  pScreen,
Bool  entering 
) [static]
-
-
- -
-
- -
-
- - - - - - - - - -
void dmxCursorNoMulti (void  ) 
-
-
-

Turn off support for displaying multiple cursors on overlapped back-end displays. See dmxCursorDoMultiCursors.

- -

References dmxCursorDoMultiCursors.

- -

Referenced by ddxProcessArgument().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
static Bool dmxCursorOffScreen (ScreenPtr *  ppScreen,
int *  x,
int *  y 
) [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
static void dmxDeviceCursorCleanup (DeviceIntPtr  pDev,
ScreenPtr  pScr 
) [static]
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
static Bool dmxDeviceCursorInitialize (DeviceIntPtr  pDev,
ScreenPtr  pScr 
) [static]
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
static int dmxDoesOverlap (DMXScreenInfo a,
DMXScreenInfo b 
) [static]
-
- -
- -
-
- - - - - - - - - -
static CursorPtr dmxFindCursor (DMXScreenInfo start )  [static]
-
-
- -

References _DMXScreenInfo::cursor, and _DMXScreenInfo::over.

- -

Referenced by dmxCheckCursor(), and dmxMoveCursor().

- -
-
- -
-
- - - - - - - - - -
void dmxHideCursor (DMXScreenInfo dmxScreen ) 
-
-
-

This routine is used by the backend input routines to hide the cursor on a screen that is being used for relative input.

-
See also:
dmxbackend.c
- -

References _dmxSetCursor(), dmxGetGlobalPosition(), and _DMXScreenInfo::index.

- -

Referenced by dmxBackendUpdatePosition().

- -
-
- - - -
-
- - - - - - - - - -
void dmxInitOverlap (void  ) 
-
-
-

Detects overlapping dmxScreens and creates circular lists. This uses an O(dmxNumScreens^2) algorithm, but dmxNumScreens is < 100 and the computation only needs to be performed for every server generation or dynamic reconfiguration .

- -

References _DMXScreenInfo::cursorNotShared, DMXDBG6, dmxDoesOverlap(), dmxInfo, dmxIterateOverlap(), dmxLog(), dmxLogOutput(), dmxLogOutputCont(), dmxNumScreens, dmxPrintOverlap(), dmxPropertyIterate(), dmxScreens, dmxTestSameDisplay(), _DMXScreenInfo::index, _DMXScreenInfo::name, and _DMXScreenInfo::over.

- -

Referenced by dmxAdjustCursorBoundaries(), and InitOutput().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
static void* dmxIterateOverlap (DMXScreenInfo start,
void *(*)(DMXScreenInfo *dmxScreen, void *)  f,
void *  closure 
) [static]
-
-
-

Iterate over the screens which overlap with the start screen, calling f with the closure for each argument. Often used with dmxPrintOverlap.

- -

References _DMXScreenInfo::over.

- -

Referenced by dmxInitOverlap().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxMoveCursor (DeviceIntPtr  pDev,
ScreenPtr  pScreen,
int  x,
int  y 
)
-
-
-

Move the cursor to coordinates (x, y)on pScreen. This function is usually called via dmxPointerSpriteFuncs, except during reconfiguration when the cursor is repositioned to force an update on newley overlapping screens and on screens that no longer overlap.

-

The coords (x,y) are in global coord space. We'll loop over the back-end screens and see if they contain the global coord. If so, call _dmxMoveCursor() (XWarpPointer) to position the pointer on that screen.

- -

References _dmxMoveCursor(), _dmxRealizeCursor(), _dmxSetCursor(), _DMXScreenInfo::cursor, _DMXScreenInfo::cursorNotShared, _DMXScreenInfo::cursorVisible, dmxCursorDoMultiCursors, DMXDBG3, dmxFindCursor(), dmxOnScreen(), dmxScreens, _DMXScreenInfo::index, _DMXScreenInfo::over, _DMXScreenInfo::rootXOrigin, and _DMXScreenInfo::rootYOrigin.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
int dmxOnScreen (int  x,
int  y,
DMXScreenInfo dmxScreen 
)
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
static void* dmxPrintOverlap (DMXScreenInfo dmxScreen,
void *  closure 
) [static]
-
-
-

Used with dmxInterateOverlap to print out a list of screens which overlap each other.

- -

References _DMXScreenInfo::cursorNotShared, dmxLogOutputCont(), _DMXScreenInfo::index, and _DMXScreenInfo::name.

- -

Referenced by dmxInitOverlap().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
static Bool dmxRealizeCursor (DeviceIntPtr  pDev,
ScreenPtr  pScreen,
CursorPtr  pCursor 
) [static]
-
- -
- - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
static void dmxSetCursor (DeviceIntPtr  pDev,
ScreenPtr  pScreen,
CursorPtr  pCursor,
int  x,
int  y 
) [static]
-
- -
- -
-
- - - - - - - - - -
static int* dmxSLCreate (void  )  [static]
-
-
-

Create a list of screens that we'll manipulate.

- -

References dmxNumScreens.

- -

Referenced by dmxComputeScreenOrigins().

- -
-
- -
-
- - - - - - - - - -
static int dmxSLFindNext (int *  list )  [static]
-
-
-

Find next uninitialized entry in list.

- -

References dmxNumScreens.

- -

Referenced by dmxComputeScreenOrigins().

- -
-
- -
-
- - - - - - - - - -
static void dmxSLFree (int *  list )  [static]
-
-
-

Free list.

- -

Referenced by dmxComputeScreenOrigins().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
static void* dmxTestSameDisplay (DMXScreenInfo a,
void *  closure 
) [static]
-
-
-

Used with dmxPropertyIterate to determine if screen a is the same as the screen closure.

- -

Referenced by dmxInitOverlap().

- -
-
- -
-
- - - - - - - - - -
static int dmxTryComputeScreenOrigins (int *  screensLeft )  [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
static Bool dmxUnrealizeCursor (DeviceIntPtr  pDev,
ScreenPtr  pScreen,
CursorPtr  pCursor 
) [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
static void dmxWarpCursor (DeviceIntPtr  pDev,
ScreenPtr  pScreen,
int  x,
int  y 
) [static]
-
-
- -

References DMXDBG3.

- -
-
-

Variable Documentation

- - - -
-
- - - - -
miPointerScreenFuncRec dmxPointerCursorFuncs
-
-
-Initial value:
-{
-    dmxCursorOffScreen,
-    dmxCrossScreen,
-    dmxWarpCursor,
-    NULL,
-    NULL,
-}
-

Cursor functions for mi layer.

-
See also:
dmxcursor.c
-
-dmxscrinit.c
- -

Referenced by dmxScreenInit().

- -
-
- -
-
- - - - -
miPointerSpriteFuncRec dmxPointerSpriteFuncs
-
-
-Initial value:

Sprite functions for mi layer.

-
See also:
dmxcursor.c
-
-dmxscrinit.c
- -

Referenced by dmxScreenInit().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxcursor_8h.html b/xorg-server/hw/dmx/doc/html/dmxcursor_8h.html deleted file mode 100644 index 93ac65165..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxcursor_8h.html +++ /dev/null @@ -1,478 +0,0 @@ - - - - - File Index - - - - - -
-

dmxcursor.h File Reference

#include "mipointer.h"
- -

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - -

Data Structures

struct  _dmxCursorPriv

Defines

#define DMX_GET_CURSOR_PRIV(_pCursor, _pScreen)
#define DMX_SET_CURSOR_PRIV(_pCursor, _pScreen, v)   dixSetPrivate(&(_pCursor)->devPrivates, CursorScreenKey(_pScreen), v)

Typedefs

typedef struct _dmxCursorPriv dmxCursorPrivRec
typedef struct _dmxCursorPrivdmxCursorPrivPtr

Functions

void dmxReInitOrigins (void)
void dmxInitOrigins (void)
void dmxInitOverlap (void)
void dmxCursorNoMulti (void)
void dmxMoveCursor (DeviceIntPtr pDev, ScreenPtr pScreen, int x, int y)
void dmxCheckCursor (void)
int dmxOnScreen (int x, int y, DMXScreenInfo *dmxScreen)
void dmxHideCursor (DMXScreenInfo *dmxScreen)
void dmxBECreateCursor (ScreenPtr pScreen, CursorPtr pCursor)
Bool dmxBEFreeCursor (ScreenPtr pScreen, CursorPtr pCursor)

Variables

miPointerScreenFuncRec dmxPointerCursorFuncs
miPointerSpriteFuncRec dmxPointerSpriteFuncs
-

Detailed Description

-

Interface for cursor support.

-
See also:
dmxcursor.c.
-

Define Documentation

- -
-
- - - - - - - - - - - - - - -
#define DMX_GET_CURSOR_PRIV(_pCursor,
_pScreen  ) 
-
-
-Value:
((dmxCursorPrivPtr) \
-    dixLookupPrivate(&(_pCursor)->devPrivates, CursorScreenKey(_pScreen)))
-
-

Referenced by _dmxRealizeCursor(), _dmxSetCursor(), _dmxUnrealizeCursor(), dmxBECreateCursor(), and dmxBEFreeCursor().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - -
#define DMX_SET_CURSOR_PRIV(_pCursor,
_pScreen,
 )    dixSetPrivate(&(_pCursor)->devPrivates, CursorScreenKey(_pScreen), v)
-
-
- -

Referenced by _dmxRealizeCursor(), and _dmxUnrealizeCursor().

- -
-
-

Typedef Documentation

- -
-
- - - - -
typedef struct _dmxCursorPriv * dmxCursorPrivPtr
-
-
- -
-
- -
-
- - - - -
typedef struct _dmxCursorPriv dmxCursorPrivRec
-
-
-

Cursor private area.

- -
-
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
void dmxBECreateCursor (ScreenPtr  pScreen,
CursorPtr  pCursor 
)
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
Bool dmxBEFreeCursor (ScreenPtr  pScreen,
CursorPtr  pCursor 
)
-
-
-

Free pCursor on the back-end associated with pScreen.

- -

References _DMXScreenInfo::beDisplay, _dmxCursorPriv::cursor, DMX_GET_CURSOR_PRIV, and dmxScreens.

- -

Referenced by _dmxUnrealizeCursor(), and dmxBEDestroyResources().

- -
-
- -
-
- - - - - - - - - -
void dmxCheckCursor (void  ) 
-
- -
- -
-
- - - - - - - - - -
void dmxCursorNoMulti (void  ) 
-
-
-

Turn off support for displaying multiple cursors on overlapped back-end displays. See dmxCursorDoMultiCursors.

- -

References dmxCursorDoMultiCursors.

- -

Referenced by ddxProcessArgument().

- -
-
- -
-
- - - - - - - - - -
void dmxHideCursor (DMXScreenInfo dmxScreen ) 
-
-
-

This routine is used by the backend input routines to hide the cursor on a screen that is being used for relative input.

-
See also:
dmxbackend.c
- -

References _dmxSetCursor(), dmxGetGlobalPosition(), and _DMXScreenInfo::index.

- -

Referenced by dmxBackendUpdatePosition().

- -
-
- - - -
-
- - - - - - - - - -
void dmxInitOverlap (void  ) 
-
-
-

Detects overlapping dmxScreens and creates circular lists. This uses an O(dmxNumScreens^2) algorithm, but dmxNumScreens is < 100 and the computation only needs to be performed for every server generation or dynamic reconfiguration .

- -

References _DMXScreenInfo::cursorNotShared, DMXDBG6, dmxDoesOverlap(), dmxInfo, dmxIterateOverlap(), dmxLog(), dmxLogOutput(), dmxLogOutputCont(), dmxNumScreens, dmxPrintOverlap(), dmxPropertyIterate(), dmxScreens, dmxTestSameDisplay(), _DMXScreenInfo::index, _DMXScreenInfo::name, and _DMXScreenInfo::over.

- -

Referenced by dmxAdjustCursorBoundaries(), and InitOutput().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxMoveCursor (DeviceIntPtr  pDev,
ScreenPtr  pScreen,
int  x,
int  y 
)
-
-
-

Move the cursor to coordinates (x, y)on pScreen. This function is usually called via dmxPointerSpriteFuncs, except during reconfiguration when the cursor is repositioned to force an update on newley overlapping screens and on screens that no longer overlap.

-

The coords (x,y) are in global coord space. We'll loop over the back-end screens and see if they contain the global coord. If so, call _dmxMoveCursor() (XWarpPointer) to position the pointer on that screen.

- -

References _dmxMoveCursor(), _dmxRealizeCursor(), _dmxSetCursor(), _DMXScreenInfo::cursor, _DMXScreenInfo::cursorNotShared, _DMXScreenInfo::cursorVisible, dmxCursorDoMultiCursors, DMXDBG3, dmxFindCursor(), dmxOnScreen(), dmxScreens, _DMXScreenInfo::index, _DMXScreenInfo::over, _DMXScreenInfo::rootXOrigin, and _DMXScreenInfo::rootYOrigin.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
int dmxOnScreen (int  x,
int  y,
DMXScreenInfo dmxScreen 
)
-
- -
- - -

Variable Documentation

- -
-
- - - - -
miPointerScreenFuncRec dmxPointerCursorFuncs
-
-
-

Cursor functions for mi layer.

-
See also:
dmxcursor.c
-
-dmxscrinit.c
- -

Referenced by dmxScreenInit().

- -
-
- -
-
- - - - -
miPointerSpriteFuncRec dmxPointerSpriteFuncs
-
-
-

Sprite functions for mi layer.

-
See also:
dmxcursor.c
-
-dmxscrinit.c
- -

Referenced by dmxScreenInit().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxcursor_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxcursor_8h_source.html deleted file mode 100644 index 6211c73eb..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxcursor_8h_source.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxdetach_8c.html b/xorg-server/hw/dmx/doc/html/dmxdetach_8c.html deleted file mode 100644 index b1394f74c..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxdetach_8c.html +++ /dev/null @@ -1,79 +0,0 @@ - - - - - File Index - - - - - -
-

dmxdetach.c File Reference

#include "dmxinputinit.h"
-#include "dmxextension.h"
- - - -

Functions

void dmxInputDetach (DMXScreenInfo *dmxScreen, Bool reserveId)
-

Detailed Description

-

Provide support and helper functions for input detach and attach.

-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
void dmxInputDetach (DMXScreenInfo dmxScreen,
Bool  reserveId 
)
-
-
-

Search for input associated with dmxScreen, and detach.

- -

References _DMXInputInfo::detached, dmxInputs, dmxLogInput(), dmxNumInputs, _DMXScreenInfo::index, and _DMXInputInfo::scrnIdx.

- -

Referenced by dmxInputDetachAll(), and dmxInputDetachId().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxdpms_8c.html b/xorg-server/hw/dmx/doc/html/dmxdpms_8c.html deleted file mode 100644 index 2912b4e7c..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxdpms_8c.html +++ /dev/null @@ -1,175 +0,0 @@ - - - - - File Index - - - - - -
-

dmxdpms.c File Reference

#include "dmx.h"
-#include "dmxdpms.h"
-#include "dmxlog.h"
-#include "dmxsync.h"
-#include "windowstr.h"
-#include <X11/extensions/dpms.h>
- - - - - - - - - -

Functions

static void _dmxDPMSInit (DMXScreenInfo *dmxScreen)
void dmxDPMSInit (DMXScreenInfo *dmxScreen)
void dmxDPMSTerm (DMXScreenInfo *dmxScreen)
void dmxDPMSWakeup (void)

Variables

static unsigned long dpmsGeneration = 0
static Bool dpmsSupported = TRUE
-

Detailed Description

-

Provides DPMS support and unifies all DPMS and other screen-saver support in one file. If -dpms is given on the command line, or the Xdmx server is not compiled with DPMS support, then the DPMS extension does not work for clients, but DPMS on the backends is still disables (and restored at Xdmx server shutdown time).

-

Function Documentation

- - - -
-
- - - - - - - - - -
void dmxDPMSInit (DMXScreenInfo dmxScreen ) 
-
-
-

Initialize DPMS support. We save the current settings and turn off DPMS. The settings are restored in dmxDPMSTerm.

- -

References _dmxDPMSInit(), _DMXScreenInfo::beDisplay, dmxSync(), and _DMXScreenInfo::savedTimeout.

- -

Referenced by dmxBEScreenInit().

- -
-
- -
-
- - - - - - - - - -
void dmxDPMSTerm (DMXScreenInfo dmxScreen ) 
-
- -
- -
-
- - - - - - - - - -
void dmxDPMSWakeup (void  ) 
-
-
-

Called when activity is detected so that DPMS power-saving mode can be deactivated.

- -
-
-

Variable Documentation

- -
-
- - - - -
unsigned long dpmsGeneration = 0 [static]
-
-
- -

Referenced by _dmxDPMSInit().

- -
-
- -
-
- - - - -
Bool dpmsSupported = TRUE [static]
-
-
- -

Referenced by _dmxDPMSInit().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxdpms_8h.html b/xorg-server/hw/dmx/doc/html/dmxdpms_8h.html deleted file mode 100644 index d9254f24b..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxdpms_8h.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - File Index - - - - - -
-

dmxdpms.h File Reference

-

Go to the source code of this file.

- - - - - -

Functions

void dmxDPMSInit (DMXScreenInfo *dmxScreen)
void dmxDPMSTerm (DMXScreenInfo *dmxScreen)
void dmxDPMSWakeup (void)
-

Detailed Description

-

Interface for DPMS extension support.

-
See also:
dmxdpms.c
-

Function Documentation

- -
-
- - - - - - - - - -
void dmxDPMSInit (DMXScreenInfo dmxScreen ) 
-
-
-

Initialize DPMS support. We save the current settings and turn off DPMS. The settings are restored in dmxDPMSTerm.

- -

References _dmxDPMSInit(), _DMXScreenInfo::beDisplay, dmxSync(), and _DMXScreenInfo::savedTimeout.

- -

Referenced by dmxBEScreenInit().

- -
-
- -
-
- - - - - - - - - -
void dmxDPMSTerm (DMXScreenInfo dmxScreen ) 
-
- -
- -
-
- - - - - - - - - -
void dmxDPMSWakeup (void  ) 
-
-
-

Called when activity is detected so that DPMS power-saving mode can be deactivated.

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxdpms_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxdpms_8h_source.html deleted file mode 100644 index 892d60eeb..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxdpms_8h_source.html +++ /dev/null @@ -1,75 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxdummy_8c.html b/xorg-server/hw/dmx/doc/html/dmxdummy_8c.html deleted file mode 100644 index f504a462f..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxdummy_8c.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - File Index - - - - - -
-

dmxdummy.c File Reference

#include "dmx.h"
-#include "dmxinputinit.h"
-#include "dmxdummy.h"
- - - - -

Functions

void dmxDummyKbdGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info)
void dmxDummyMouGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info)
-

Detailed Description

-

Provide mouse and keyboard that are sufficient for starting the X server, but that don't actually provide any events. This is useful for testing.

-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
void dmxDummyKbdGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  info 
)
-
-
-

Return information about the dummy keyboard device specified in pDev into the structure pointed to by info. The keyboard is set up to have 1 valid key code that is NoSymbol

- -

References _DMXLocalInitInfo::focusClass, _DMXLocalInitInfo::force, _DMXLocalInitInfo::freemap, _DMXLocalInitInfo::kbdFeedbackClass, _DMXLocalInitInfo::keyboard, _DMXLocalInitInfo::keyClass, and _DMXLocalInitInfo::keySyms.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxDummyMouGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  info 
)
-
- -
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxdummy_8h.html b/xorg-server/hw/dmx/doc/html/dmxdummy_8h.html deleted file mode 100644 index 158731b70..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxdummy_8h.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - File Index - - - - - -
-

dmxdummy.h File Reference

-

Go to the source code of this file.

- - - - -

Functions

void dmxDummyMouGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info)
void dmxDummyKbdGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info)
-

Detailed Description

-

Interface to dummy input device support.

-
See also:
dmxdummy.c
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
void dmxDummyKbdGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  info 
)
-
-
-

Return information about the dummy keyboard device specified in pDev into the structure pointed to by info. The keyboard is set up to have 1 valid key code that is NoSymbol

- -

References _DMXLocalInitInfo::focusClass, _DMXLocalInitInfo::force, _DMXLocalInitInfo::freemap, _DMXLocalInitInfo::kbdFeedbackClass, _DMXLocalInitInfo::keyboard, _DMXLocalInitInfo::keyClass, and _DMXLocalInitInfo::keySyms.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxDummyMouGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  info 
)
-
- -
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxdummy_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxdummy_8h_source.html deleted file mode 100644 index 0eff00785..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxdummy_8h_source.html +++ /dev/null @@ -1,76 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxevents_8c.html b/xorg-server/hw/dmx/doc/html/dmxevents_8c.html deleted file mode 100644 index ad24bc82a..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxevents_8c.html +++ /dev/null @@ -1,1098 +0,0 @@ - - - - - File Index - - - - - -
-

dmxevents.c File Reference

#include "dmxinputinit.h"
-#include "dmxevents.h"
-#include "dmxcb.h"
-#include "dmxcommon.h"
-#include "dmxcursor.h"
-#include "dmxmotion.h"
-#include "dmxsigio.h"
-#include "dmxmap.h"
-#include <X11/keysym.h>
-#include "opaque.h"
-#include "inputstr.h"
-#include "mipointer.h"
-#include "mi.h"
-#include "exglobals.h"
-#include "xkbsrv.h"
-#include "XIstubs.h"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Defines

#define DMX_EVENTS_DEBUG   0
#define DMXDBG0(f)
#define DMXDBG1(f, a)
#define DMXDBG2(f, a, b)
#define DMXDBG3(f, a, b, c)
#define DMXDBG4(f, a, b, c, d)
#define DMXDBG5(f, a, b, c, d, e)
#define DMXDBG6(f, a, b, c, d, e, g)
#define DMXDBG7(f, a, b, c, d, e, g, h)
#define DMX_MAX_AXES   32
#define EXTRACT_VALUATORS(ke, valuators)

Functions

static int dmxApplyFunctions (DMXInputInfo *dmxInput, DMXFunctionType f)
static int dmxCheckFunctionKeys (DMXLocalInputInfoPtr dmxLocal, int type, KeySym keySym)
DMXScreenInfodmxFindFirstScreen (int x, int y)
static void enqueueMotion (DevicePtr pDev, int x, int y)
void dmxCoreMotion (DevicePtr pDev, int x, int y, int delta, DMXBlockType block)
static void dmxExtMotion (DMXLocalInputInfoPtr dmxLocal, int *v, int firstAxis, int axesCount, DMXMotionType type, DMXBlockType block)
static int dmxTranslateAndEnqueueExtEvent (DMXLocalInputInfoPtr dmxLocal, XEvent *e, DMXBlockType block)
static int dmxGetButtonMapping (DMXLocalInputInfoPtr dmxLocal, int button)
void dmxGetGlobalPosition (int *x, int *y)
void dmxInvalidateGlobalPosition (void)
void dmxMotion (DevicePtr pDev, int *v, int firstAxes, int axesCount, DMXMotionType type, DMXBlockType block)
static KeySym dmxKeyCodeToKeySym (DMXLocalInputInfoPtr dmxLocal, KeyCode keyCode)
static KeyCode dmxKeySymToKeyCode (DMXLocalInputInfoPtr dmxLocal, KeySym keySym, int tryFirst)
static int dmxFixup (DevicePtr pDev, int detail, KeySym keySym)
void dmxEnqueue (DevicePtr pDev, int type, int detail, KeySym keySym, XEvent *e, DMXBlockType block)
int dmxCheckSpecialKeys (DevicePtr pDev, KeySym keySym)

Variables

static int dmxGlobalX
static int dmxGlobalY
static int dmxGlobalInvalid
-

Detailed Description

-

Provide support and helper functions for enqueing events received by the low-level input drivers.

-

Define Documentation

- -
-
- - - - -
#define DMX_EVENTS_DEBUG   0
-
-
- -
-
- -
-
- - - - -
#define DMX_MAX_AXES   32
-
-
- -

Referenced by dmxExtMotion(), othUSBGetInfo(), and usbRead().

- -
-
- -
-
- - - - - - - - - -
#define DMXDBG0( ) 
-
-
- -
-
- -
-
- - - - - - - - - - - - - - -
#define DMXDBG1(f,
 ) 
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - -
#define DMXDBG2(f,
a,
 ) 
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
#define DMXDBG3(f,
a,
b,
 ) 
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#define DMXDBG4(f,
a,
b,
c,
 ) 
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#define DMXDBG5(f,
a,
b,
c,
d,
 ) 
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#define DMXDBG6(f,
a,
b,
c,
d,
e,
 ) 
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#define DMXDBG7(f,
a,
b,
c,
d,
e,
g,
 ) 
-
-
- -
-
- -
-
- - - - - - - - - - - - - - -
#define EXTRACT_VALUATORS(ke,
valuators  ) 
-
-
-Value:
valuators[0]       = ke->axis_data[0]; \
-        valuators[1]       = ke->axis_data[1]; \
-        valuators[2]       = ke->axis_data[2]; \
-        valuators[3]       = ke->axis_data[3]; \
-        valuators[4]       = ke->axis_data[4]; \
-        valuators[5]       = ke->axis_data[5]; \
-
-

Referenced by dmxTranslateAndEnqueueExtEvent().

- -
-
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
static int dmxApplyFunctions (DMXInputInfo dmxInput,
DMXFunctionType  f 
) [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
static int dmxCheckFunctionKeys (DMXLocalInputInfoPtr  dmxLocal,
int  type,
KeySym  keySym 
) [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
int dmxCheckSpecialKeys (DevicePtr  pDev,
KeySym  keySym 
)
-
-
-

A pointer to this routine is passed to low-level input drivers so that all special keychecking is unified to this file. This function returns 0 if no special keys have been pressed. If the user has requested termination of the DMX server, -1 is returned. If the user has requested a switch to a VT, then the (1-based) number of that VT is returned.

- -

References DMXDBG2, dmxInfo, dmxLocalCoreKeyboard, dmxLog(), GETDMXINPUTFROMPDEV, and _DMXLocalInputInfo::pDevice.

- -

Referenced by dmxCollectAll(), and dmxSigioHandler().

- -
-
- - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxEnqueue (DevicePtr  pDev,
int  type,
int  detail,
KeySym  keySym,
XEvent *  e,
DMXBlockType  block 
)
-
-
-

Enqueue an event from the pDev device with the specified type and detail. If the event is a KeyPress or KeyRelease event, then the keySym is also specified.

-

FIXME: make the code do what the comment says, or remove this comment. If block is set to DMX_BLOCK, then the SIGIO handler will be blocked around calls to dmxeqEnqueue().

- -

References dmxCheckFunctionKeys(), DMXDBG2, dmxEventName(), dmxFixup(), dmxGetButtonMapping(), dmxKeyCodeToKeySym(), dmxLocalCoreKeyboard, dmxLogInput(), dmxTranslateAndEnqueueExtEvent(), GETDMXINPUTFROMPDEV, ProximityIn, and ProximityOut.

- -

Referenced by dmxCollectAll(), and dmxSigioHandler().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
static void dmxExtMotion (DMXLocalInputInfoPtr  dmxLocal,
int *  v,
int  firstAxis,
int  axesCount,
DMXMotionType  type,
DMXBlockType  block 
) [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
DMXScreenInfo* dmxFindFirstScreen (int  x,
int  y 
)
-
-
- -

References dmxNumScreens, dmxOnScreen(), and dmxScreens.

- -

Referenced by dmxCheckCursor(), and dmxCoreMotion().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
static int dmxFixup (DevicePtr  pDev,
int  detail,
KeySym  keySym 
) [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
static int dmxGetButtonMapping (DMXLocalInputInfoPtr  dmxLocal,
int  button 
) [static]
-
-
- -

References dmxLog(), dmxWarning, and _DMXLocalInputInfo::pDevice.

- -

Referenced by dmxEnqueue().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxGetGlobalPosition (int *  x,
int *  y 
)
-
-
-

Return DMX's notion of the pointer position in the global coordinate space.

- -

References dmxGlobalX, and dmxGlobalY.

- -

Referenced by dmxBackendLateReInit(), dmxCheckCursor(), dmxConsoleUpdateFineCursor(), dmxHideCursor(), and dmxSetCursor().

- -
-
- -
-
- - - - - - - - - -
void dmxInvalidateGlobalPosition (void  ) 
-
-
-

Invalidate the global position for dmxCoreMotion.

- -

References dmxGlobalInvalid.

- -

Referenced by dmxBackendLateReInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
static KeySym dmxKeyCodeToKeySym (DMXLocalInputInfoPtr  dmxLocal,
KeyCode  keyCode 
) [static]
-
-
- -

References DMXDBG2, and _DMXLocalInputInfo::pDevice.

- -

Referenced by dmxEnqueue(), dmxFixup(), and dmxKeySymToKeyCode().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
static KeyCode dmxKeySymToKeyCode (DMXLocalInputInfoPtr  dmxLocal,
KeySym  keySym,
int  tryFirst 
) [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxMotion (DevicePtr  pDev,
int *  v,
int  firstAxes,
int  axesCount,
DMXMotionType  type,
DMXBlockType  block 
)
-
-
-

Enqueue a motion event for pDev. The v vector has length axesCount, and contains values for each of the axes, starting at firstAxes.

-

The type of the motion may be DMX_RELATIVE, DMX_ABSOLUTE, or DMX_ABSOLUTE_CONFINED (in the latter case, the pointer will not be allowed to move outside the global boundaires).

-

If block is set to DMX_BLOCK, then the SIGIO handler will be blocked around calls to enqueueMotion().

- -

References DMX_ABSOLUTE, DMX_ABSOLUTE_CONFINED, DMX_RELATIVE, dmxCoreMotion(), dmxExtMotion(), dmxGlobalX, dmxGlobalY, and GETDMXLOCALFROMPDEV.

- -

Referenced by dmxCollectAll(), and dmxSigioHandler().

- -
-
- - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
static void enqueueMotion (DevicePtr  pDev,
int  x,
int  y 
) [static]
-
-
-

Enqueue a motion event.

- -

References GETDMXLOCALFROMPDEV.

- -

Referenced by dmxCoreMotion().

- -
-
-

Variable Documentation

- -
-
- - - - -
int dmxGlobalInvalid [static]
-
- -
- -
-
- - - - -
int dmxGlobalX [static]
-
- -
- -
-
- - - - -
int dmxGlobalY [static]
-
- -
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxevents_8h.html b/xorg-server/hw/dmx/doc/html/dmxevents_8h.html deleted file mode 100644 index bbf1da023..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxevents_8h.html +++ /dev/null @@ -1,221 +0,0 @@ - - - - - File Index - - - - - -
-

dmxevents.h File Reference

-

Go to the source code of this file.

- - - - - - -

Functions

void dmxMotion (DevicePtr pDev, int *v, int firstAxis, int axesCount, DMXMotionType type, DMXBlockType block)
void dmxEnqueue (DevicePtr pDev, int type, int detail, KeySym keySym, XEvent *e, DMXBlockType block)
int dmxCheckSpecialKeys (DevicePtr pDev, KeySym keySym)
void dmxInvalidateGlobalPosition (void)
-

Detailed Description

-

Interface to event processing functions.

-
See also:
dmxevents.h
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
int dmxCheckSpecialKeys (DevicePtr  pDev,
KeySym  keySym 
)
-
-
-

A pointer to this routine is passed to low-level input drivers so that all special keychecking is unified to this file. This function returns 0 if no special keys have been pressed. If the user has requested termination of the DMX server, -1 is returned. If the user has requested a switch to a VT, then the (1-based) number of that VT is returned.

- -

References DMXDBG2, dmxInfo, dmxLocalCoreKeyboard, dmxLog(), GETDMXINPUTFROMPDEV, and _DMXLocalInputInfo::pDevice.

- -

Referenced by dmxCollectAll(), and dmxSigioHandler().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxEnqueue (DevicePtr  pDev,
int  type,
int  detail,
KeySym  keySym,
XEvent *  e,
DMXBlockType  block 
)
-
-
-

Enqueue an event from the pDev device with the specified type and detail. If the event is a KeyPress or KeyRelease event, then the keySym is also specified.

-

FIXME: make the code do what the comment says, or remove this comment. If block is set to DMX_BLOCK, then the SIGIO handler will be blocked around calls to dmxeqEnqueue().

- -

References dmxCheckFunctionKeys(), DMXDBG2, dmxEventName(), dmxFixup(), dmxGetButtonMapping(), dmxKeyCodeToKeySym(), dmxLocalCoreKeyboard, dmxLogInput(), dmxTranslateAndEnqueueExtEvent(), GETDMXINPUTFROMPDEV, ProximityIn, and ProximityOut.

- -

Referenced by dmxCollectAll(), and dmxSigioHandler().

- -
-
- -
-
- - - - - - - - - -
void dmxInvalidateGlobalPosition (void  ) 
-
-
-

Invalidate the global position for dmxCoreMotion.

- -

References dmxGlobalInvalid.

- -

Referenced by dmxBackendLateReInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxMotion (DevicePtr  pDev,
int *  v,
int  firstAxes,
int  axesCount,
DMXMotionType  type,
DMXBlockType  block 
)
-
-
-

Enqueue a motion event for pDev. The v vector has length axesCount, and contains values for each of the axes, starting at firstAxes.

-

The type of the motion may be DMX_RELATIVE, DMX_ABSOLUTE, or DMX_ABSOLUTE_CONFINED (in the latter case, the pointer will not be allowed to move outside the global boundaires).

-

If block is set to DMX_BLOCK, then the SIGIO handler will be blocked around calls to enqueueMotion().

- -

References DMX_ABSOLUTE, DMX_ABSOLUTE_CONFINED, DMX_RELATIVE, dmxCoreMotion(), dmxExtMotion(), dmxGlobalX, dmxGlobalY, and GETDMXLOCALFROMPDEV.

- -

Referenced by dmxCollectAll(), and dmxSigioHandler().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxevents_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxevents_8h_source.html deleted file mode 100644 index 7e430c086..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxevents_8h_source.html +++ /dev/null @@ -1,79 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxextension_8c.html b/xorg-server/hw/dmx/doc/html/dmxextension_8c.html deleted file mode 100644 index 1f2034321..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxextension_8c.html +++ /dev/null @@ -1,855 +0,0 @@ - - - - - File Index - - - - - -
-

dmxextension.c File Reference

#include <stdlib.h>
-#include "dmx.h"
-#include "dmxinit.h"
-#include "dmxextension.h"
-#include "dmxwindow.h"
-#include "dmxcb.h"
-#include "dmxcursor.h"
-#include "dmxpixmap.h"
-#include "dmxgc.h"
-#include "dmxfont.h"
-#include "dmxcmap.h"
-#include "dmxpict.h"
-#include "dmxinput.h"
-#include "dmxsync.h"
-#include "dmxscrinit.h"
-#include "input/dmxinputinit.h"
-#include "windowstr.h"
-#include "inputstr.h"
-#include <X11/extensions/dmxproto.h>
-#include "cursorstr.h"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Functions

Bool dmxGetScreenAttributes (int physical, DMXScreenAttributesPtr attr)
Bool dmxGetWindowAttributes (WindowPtr pWindow, DMXWindowAttributesPtr attr)
void dmxGetDesktopAttributes (DMXDesktopAttributesPtr attr)
int dmxGetInputCount (void)
int dmxGetInputAttributes (int deviceId, DMXInputAttributesPtr attr)
static void dmxAdjustCursorBoundaries (void)
int dmxAddInput (DMXInputAttributesPtr attr, int *id)
int dmxRemoveInput (int id)
unsigned long dmxGetNumScreens (void)
void dmxForceWindowCreation (WindowPtr pWindow)
void dmxFlushPendingSyncs (void)
void dmxUpdateScreenResources (ScreenPtr pScreen, int x, int y, int w, int h)
static void dmxBECreateScratchGCs (int scrnNum)
static void dmxBERestorePixmap (PixmapPtr pPixmap)
static void dmxBECreateResources (pointer value, XID id, RESTYPE type, pointer n)
static void dmxBECreateWindowTree (int idx)
static void dmxForceExposures (int idx)
static Bool dmxCompareScreens (DMXScreenInfo *new, DMXScreenInfo *old)
static void dmxBERestoreRenderPict (pointer value, XID id, pointer n)
static void dmxBERestoreRenderGlyph (pointer value, XID id, pointer n)
int dmxAttachScreen (int idx, DMXScreenAttributesPtr attr)
static void dmxBESavePixmap (PixmapPtr pPixmap)
static void dmxBEDestroyResources (pointer value, XID id, RESTYPE type, pointer n)
static void dmxBEDestroyScratchGCs (int scrnNum)
static void dmxBEDestroyWindowTree (int idx)
int dmxDetachScreen (int idx)

Variables

FontPtr defaultFont
-

Detailed Description

-

This file provides the only interface to the X server extension support in programs/Xserver/Xext. Those programs should only include dmxext.h

-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
int dmxAddInput (DMXInputAttributesPtr  attr,
int *  id 
)
-
-
-

Add an input with the specified attributes. If the input is added, the physical id is returned in deviceId.

- -

References dmxAdjustCursorBoundaries(), dmxInputAttachBackend(), dmxInputAttachConsole(), dmxSync(), DMXInputAttributesRec::inputType, DMXInputAttributesRec::name, DMXInputAttributesRec::physicalScreen, and DMXInputAttributesRec::sendsCore.

- -

Referenced by ProcDMXAddInput().

- -
-
- -
-
- - - - - - - - - -
static void dmxAdjustCursorBoundaries (void  )  [static]
-
- -
- - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
static void dmxBECreateResources (pointer  value,
XID  id,
RESTYPE  type,
pointer  n 
) [static]
-
-
-

Create resources on the back-end server. This function is called from dmxAttachScreen() via the dix layer's FindAllResources function. It walks all resources, compares them to the screen number passed in as n and calls the appropriate DMX function to create the associated resource on the back-end server.

- -

References defaultFont, dmxBECreateColormap(), dmxBECreateCursor(), dmxBECreateGC(), dmxBECreatePixmap(), dmxBEFreeGlyphSet(), dmxBELoadFont(), dmxBERestorePixmap(), and dmxChangeGC().

- -

Referenced by dmxAttachScreen().

- -
-
- -
-
- - - - - - - - - -
static void dmxBECreateScratchGCs (int  scrnNum )  [static]
-
-
-

Create the scratch GCs per depth.

- -

References dmxBECreateGC().

- -

Referenced by dmxAttachScreen().

- -
-
- -
-
- - - - - - - - - -
static void dmxBECreateWindowTree (int  idx )  [static]
-
-
-

Create window hierachy on back-end server. The window tree is created in a special order (bottom most subwindow first) so that the dmxCreateNonRootWindow() function does not need to recursively call itself to create each window's parents. This is required so that we have the opportunity to create each window's border and background pixmaps (where appropriate) before the window is created.

- -

References _DMXScreenInfo::beDisplay, _dmxWinPriv::cmap, DMX_GET_WINDOW_PRIV, dmxBECreatePixmap(), dmxBERestorePixmap(), dmxCreateAndRealizeWindow(), dmxCreateRootWindow(), dmxGetDefaultWindowAttributes(), dmxScreens, _dmxWinPriv::mapped, _dmxWinPriv::offscreen, _DMXScreenInfo::rootWin, _dmxWinPriv::visual, and _dmxWinPriv::window.

- -

Referenced by dmxAttachScreen().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
static void dmxBEDestroyResources (pointer  value,
XID  id,
RESTYPE  type,
pointer  n 
) [static]
-
-
-

Destroy resources on the back-end server. This function is called from dmxDetachScreen() via the dix layer's FindAllResources function. It walks all resources, compares them to the screen number passed in as n and calls the appropriate DMX function to free the associated resource on the back-end server.

- -

References dmxBEFreeColormap(), dmxBEFreeCursor(), dmxBEFreeFont(), dmxBEFreeGC(), dmxBEFreeGlyphSet(), dmxBEFreePicture(), dmxBEFreePixmap(), and dmxBESavePixmap().

- -

Referenced by dmxDetachScreen().

- -
-
- -
-
- - - - - - - - - -
static void dmxBEDestroyScratchGCs (int  scrnNum )  [static]
-
-
-

Destroy the scratch GCs that are created per depth.

- -

References dmxBEFreeGC().

- -

Referenced by dmxDetachScreen().

- -
-
- -
-
- - - - - - - - - -
static void dmxBEDestroyWindowTree (int  idx )  [static]
-
-
-

Destroy window hierachy on back-end server. To ensure that all XDestroyWindow() calls succeed, they must be performed in a bottom up order so that windows are not destroyed before their children. XDestroyWindow(), which is called from dmxBEDestroyWindow(), will destroy a window as well as all of it's children.

- -

References dmxBEDestroyWindow(), dmxBEFreePixmap(), and dmxBESavePixmap().

- -

Referenced by dmxDetachScreen().

- -
-
- -
-
- - - - - - - - - -
static void dmxBERestorePixmap (PixmapPtr  pPixmap )  [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
static void dmxBERestoreRenderGlyph (pointer  value,
XID  id,
pointer  n 
) [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
static void dmxBERestoreRenderPict (pointer  value,
XID  id,
pointer  n 
) [static]
-
-
-

Restore Render's picture

- -

References dmxBECreatePicture(), dmxBECreatePixmap(), and dmxBERestorePixmap().

- -

Referenced by dmxAttachScreen().

- -
-
- -
-
- - - - - - - - - -
static void dmxBESavePixmap (PixmapPtr  pPixmap )  [static]
-
-
-

Save the pixmap image only when there is not another screen with that pixmap from which the image can be read when the screen is reattached. To do this, we first try to find a pixmap on another screen corresponding to the one we are trying to save. If we find one, then we do not need to save the image data since during reattachment, the image data can be read from that other pixmap. However, if we do not find one, then we need to save the image data. The common case for these are for the default stipple and root tile.

- -

References _DMXScreenInfo::beDisplay, _dmxPixPriv::detachedImage, DMX_GET_PIXMAP_PRIV, dmxLog(), dmxScreens, dmxWarning, and _dmxPixPriv::pixmap.

- -

Referenced by dmxBEDestroyResources(), dmxBEDestroyWindowTree(), and dmxDetachScreen().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
static Bool dmxCompareScreens (DMXScreenInfo new,
DMXScreenInfo old 
) [static]
-
- -
- - - -
-
- - - - - - - - - -
void dmxFlushPendingSyncs (void  ) 
-
-
-

Flush pending syncs for all screens.

- -

References dmxSync().

- -

Referenced by ProcDMXForceWindowCreation(), ProcDMXGetWindowAttributes(), and ProcDMXSync().

- -
-
- -
-
- - - - - - - - - -
static void dmxForceExposures (int  idx )  [static]
-
-
- -

Referenced by dmxAttachScreen().

- -
-
- -
-
- - - - - - - - - -
void dmxForceWindowCreation (WindowPtr  pWindow ) 
-
-
-

Make sure that dmxCreateAndRealizeWindow has been called for pWindow.

- -

References DMX_GET_WINDOW_PRIV, dmxCreateAndRealizeWindow(), and _dmxWinPriv::window.

- -

Referenced by ProcDMXForceWindowCreation().

- -
-
- - - - - -
-
- - - - - - - - - -
int dmxGetInputCount (void  ) 
-
-
-

Return the total number of devices, not just dmxNumInputs. The number returned should be the same as that returned by XListInputDevices.

- -

References dmxInputs, and dmxNumInputs.

- -

Referenced by dmxInputLogDevices(), and ProcDMXGetInputCount().

- -
-
- -
-
- - - - - - - - - -
unsigned long dmxGetNumScreens (void  ) 
-
-
-

Return the value of dmxNumScreens -- the total number of backend screens in use (these are logical screens and may be larger than the number of backend displays).

- -

References dmxNumScreens.

- -

Referenced by ProcDMXGetScreenAttributes(), and ProcDMXGetScreenCount().

- -
-
- - - -
-
- - - - - - - - - - - - - - - - - - -
Bool dmxGetWindowAttributes (WindowPtr  pWindow,
DMXWindowAttributesPtr  attr 
)
-
-
-

This routine provides information to the DMX protocol extension about a particular window.

- -

References DMX_GET_WINDOW_PRIV, _dmxWinPriv::offscreen, DMXWindowAttributesRec::pos, DMXWindowAttributesRec::screen, DMXWindowAttributesRec::vis, _dmxWinPriv::window, and DMXWindowAttributesRec::window.

- -

Referenced by dmxPopulate().

- -
-
- -
-
- - - - - - - - - -
int dmxRemoveInput (int  id ) 
-
-
-

Remove the input with physical id id.

- -

References dmxInputDetachId().

- -

Referenced by ProcDMXRemoveInput().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxUpdateScreenResources (ScreenPtr  pScreen,
int  x,
int  y,
int  w,
int  h 
)
-
-
-

Update DMX's screen resources to match those of the newly moved and/or resized "root" window.

- -

References _DMXScreenInfo::beXDPI, _DMXScreenInfo::beYDPI, and dmxScreens.

- -

Referenced by dmxCreateWindow().

- -
-
-

Variable Documentation

- -
-
- - - - -
FontPtr defaultFont
-
-
- -

Referenced by dmxAttachScreen(), and dmxBECreateResources().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxextension_8h.html b/xorg-server/hw/dmx/doc/html/dmxextension_8h.html deleted file mode 100644 index fdf40a9d6..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxextension_8h.html +++ /dev/null @@ -1,560 +0,0 @@ - - - - - File Index - - - - - -
-

dmxextension.h File Reference

-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - -

Data Structures

struct  DMXScreenAttributesRec
struct  DMXWindowAttributesRec
struct  DMXDesktopAttributesRec
struct  DMXInputAttributesRec

Typedefs

typedef struct
-DMXScreenAttributesRec
DMXScreenAttributesPtr
typedef struct
-DMXWindowAttributesRec
DMXWindowAttributesPtr
typedef struct
-DMXDesktopAttributesRec
DMXDesktopAttributesPtr
typedef struct
-DMXInputAttributesRec
DMXInputAttributesPtr

Functions

unsigned long dmxGetNumScreens (void)
void dmxForceWindowCreation (WindowPtr pWindow)
void dmxFlushPendingSyncs (void)
Bool dmxGetScreenAttributes (int physical, DMXScreenAttributesPtr attr)
Bool dmxGetWindowAttributes (WindowPtr pWindow, DMXWindowAttributesPtr attr)
void dmxGetDesktopAttributes (DMXDesktopAttributesPtr attr)
int dmxGetInputCount (void)
int dmxGetInputAttributes (int deviceId, DMXInputAttributesPtr attr)
int dmxAddInput (DMXInputAttributesPtr attr, int *deviceId)
int dmxRemoveInput (int deviceId)
int dmxConfigureScreenWindows (int nscreens, CARD32 *screens, DMXScreenAttributesPtr attribs, int *errorScreen)
int dmxConfigureDesktop (DMXDesktopAttributesPtr attribs)
void dmxUpdateScreenResources (ScreenPtr pScreen, int x, int y, int w, int h)
int dmxAttachScreen (int idx, DMXScreenAttributesPtr attr)
int dmxDetachScreen (int idx)
-

Detailed Description

-

Interface for DMX extension support. These routines are called by function in Xserver/Xext/dmx.c.

-
See also:
dmxextension.c
-

Typedef Documentation

- -
-
- - - - -
typedef struct DMXDesktopAttributesRec * DMXDesktopAttributesPtr
-
-
- -
-
- -
-
- - - - -
typedef struct DMXInputAttributesRec * DMXInputAttributesPtr
-
-
- -
-
- -
-
- - - - -
typedef struct DMXScreenAttributesRec * DMXScreenAttributesPtr
-
-
- -
-
- -
-
- - - - -
typedef struct DMXWindowAttributesRec * DMXWindowAttributesPtr
-
-
- -
-
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
int dmxAddInput (DMXInputAttributesPtr  attr,
int *  id 
)
-
-
-

Add an input with the specified attributes. If the input is added, the physical id is returned in deviceId.

- -

References dmxAdjustCursorBoundaries(), dmxInputAttachBackend(), dmxInputAttachConsole(), dmxSync(), DMXInputAttributesRec::inputType, DMXInputAttributesRec::name, DMXInputAttributesRec::physicalScreen, and DMXInputAttributesRec::sendsCore.

- -

Referenced by ProcDMXAddInput().

- -
-
- - - -
-
- - - - - - - - - -
int dmxConfigureDesktop (DMXDesktopAttributesPtr  attribs ) 
-
-
- -

Referenced by ProcDMXChangeDesktopAttributes().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
int dmxConfigureScreenWindows (int  nscreens,
CARD32 *  screens,
DMXScreenAttributesPtr  attribs,
int *  errorScreen 
)
-
- -
- - - -
-
- - - - - - - - - -
void dmxFlushPendingSyncs (void  ) 
-
-
-

Flush pending syncs for all screens.

- -

References dmxSync().

- -

Referenced by ProcDMXForceWindowCreation(), ProcDMXGetWindowAttributes(), and ProcDMXSync().

- -
-
- -
-
- - - - - - - - - -
void dmxForceWindowCreation (WindowPtr  pWindow ) 
-
-
-

Make sure that dmxCreateAndRealizeWindow has been called for pWindow.

- -

References DMX_GET_WINDOW_PRIV, dmxCreateAndRealizeWindow(), and _dmxWinPriv::window.

- -

Referenced by ProcDMXForceWindowCreation().

- -
-
- - - - - -
-
- - - - - - - - - -
int dmxGetInputCount (void  ) 
-
-
-

Return the total number of devices, not just dmxNumInputs. The number returned should be the same as that returned by XListInputDevices.

- -

References dmxInputs, and dmxNumInputs.

- -

Referenced by dmxInputLogDevices(), and ProcDMXGetInputCount().

- -
-
- -
-
- - - - - - - - - -
unsigned long dmxGetNumScreens (void  ) 
-
-
-

Return the value of dmxNumScreens -- the total number of backend screens in use (these are logical screens and may be larger than the number of backend displays).

- -

References dmxNumScreens.

- -

Referenced by ProcDMXGetScreenAttributes(), and ProcDMXGetScreenCount().

- -
-
- - - -
-
- - - - - - - - - - - - - - - - - - -
Bool dmxGetWindowAttributes (WindowPtr  pWindow,
DMXWindowAttributesPtr  attr 
)
-
-
-

This routine provides information to the DMX protocol extension about a particular window.

- -

References DMX_GET_WINDOW_PRIV, _dmxWinPriv::offscreen, DMXWindowAttributesRec::pos, DMXWindowAttributesRec::screen, DMXWindowAttributesRec::vis, _dmxWinPriv::window, and DMXWindowAttributesRec::window.

- -

Referenced by dmxPopulate().

- -
-
- -
-
- - - - - - - - - -
int dmxRemoveInput (int  id ) 
-
-
-

Remove the input with physical id id.

- -

References dmxInputDetachId().

- -

Referenced by ProcDMXRemoveInput().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxUpdateScreenResources (ScreenPtr  pScreen,
int  x,
int  y,
int  w,
int  h 
)
-
-
-

Update DMX's screen resources to match those of the newly moved and/or resized "root" window.

- -

References _DMXScreenInfo::beXDPI, _DMXScreenInfo::beYDPI, and dmxScreens.

- -

Referenced by dmxCreateWindow().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxextension_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxextension_8h_source.html deleted file mode 100644 index b2cd168ec..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxextension_8h_source.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxfont_8c.html b/xorg-server/hw/dmx/doc/html/dmxfont_8c.html deleted file mode 100644 index b1768ae01..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxfont_8c.html +++ /dev/null @@ -1,467 +0,0 @@ - - - - - File Index - - - - - -
-

dmxfont.c File Reference

#include "dmx.h"
-#include "dmxsync.h"
-#include "dmxfont.h"
-#include "dmxlog.h"
-#include <X11/fonts/fontstruct.h>
-#include "dixfont.h"
-#include "dixstruct.h"
- - - - - - - - - - - - - - - - - - - - -

Defines

#define DMX_FONTPATH_DEBUG   0

Functions

static int dmxFontErrorHandler (Display *dpy, XErrorEvent *ev)
static char ** dmxGetFontPath (int *npaths)
static void dmxFreeFontPath (char **fp)
static Bool dmxCheckFontPathElement (DMXScreenInfo *dmxScreen, char *fp)
static int dmxSetFontPath (DMXScreenInfo *dmxScreen)
static int dmxCheckFontPath (DMXScreenInfo *dmxScreen, int *error)
static int dmxProcSetFontPath (ClientPtr client)
void dmxInitFonts (void)
void dmxResetFonts (void)
Bool dmxBELoadFont (ScreenPtr pScreen, FontPtr pFont)
Bool dmxRealizeFont (ScreenPtr pScreen, FontPtr pFont)
Bool dmxBEFreeFont (ScreenPtr pScreen, FontPtr pFont)
Bool dmxUnrealizeFont (ScreenPtr pScreen, FontPtr pFont)

Variables

static int(* dmxSaveProcVector [256])(ClientPtr)
static int dmxFontLastError
-

Detailed Description

-

This file provides support for fonts.

-

Define Documentation

- -
-
- - - - -
#define DMX_FONTPATH_DEBUG   0
-
-
- -
-
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
Bool dmxBEFreeFont (ScreenPtr  pScreen,
FontPtr  pFont 
)
-
-
-

Free pFont on the back-end associated with pScreen.

- -

References _DMXScreenInfo::beDisplay, dmxFontPrivateIndex, dmxScreens, and _dmxFontPriv::font.

- -

Referenced by dmxBEDestroyResources(), and dmxUnrealizeFont().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
Bool dmxBELoadFont (ScreenPtr  pScreen,
FontPtr  pFont 
)
-
-
-

Load the font, pFont, on the back-end server associated with pScreen. When a font is loaded, the font path on back-end server is first initialized to that specified on the command line with the -fontpath options, and then the font is loaded.

- -

References _DMXScreenInfo::beDisplay, dmxCheckFontPathElement(), dmxError, dmxFontPath, dmxFontPrivateIndex, dmxFreeFontPath(), dmxGetFontPath(), dmxIgnoreBadFontPaths, dmxLog(), dmxScreens, dmxSetFontPath(), dmxSync(), dmxWarning, and _dmxFontPriv::font.

- -

Referenced by dmxAttachScreen(), dmxBECreateResources(), and dmxRealizeFont().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
static int dmxCheckFontPath (DMXScreenInfo dmxScreen,
int *  error 
) [static]
-
-
- -

References _DMXScreenInfo::beDisplay, dmxSetFontPath(), and dmxSync().

- -

Referenced by dmxProcSetFontPath().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
static Bool dmxCheckFontPathElement (DMXScreenInfo dmxScreen,
char *  fp 
) [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
static int dmxFontErrorHandler (Display *  dpy,
XErrorEvent *  ev 
) [static]
-
-
- -

References dmxFontLastError.

- -

Referenced by dmxCheckFontPathElement(), and dmxSetFontPath().

- -
-
- -
-
- - - - - - - - - -
static void dmxFreeFontPath (char **  fp )  [static]
-
-
- -

Referenced by dmxBELoadFont(), and dmxSetFontPath().

- -
-
- -
-
- - - - - - - - - -
static char** dmxGetFontPath (int *  npaths )  [static]
-
-
- -

References dmxDebug, and dmxLog().

- -

Referenced by dmxBELoadFont(), and dmxSetFontPath().

- -
-
- -
-
- - - - - - - - - -
void dmxInitFonts (void  ) 
-
-
-

Initialize font support. In addition to the screen function call pointers, DMX also hooks in at the ProcVector[] level. Here the old ProcVector function pointers are saved and the new ProcVector function pointers are initialized.

- -

References dmxProcSetFontPath(), and dmxSaveProcVector.

- -

Referenced by InitOutput().

- -
-
- -
-
- - - - - - - - - -
static int dmxProcSetFontPath (ClientPtr  client )  [static]
-
-
- -

References dmxCheckFontPath(), dmxNumScreens, and dmxScreens.

- -

Referenced by dmxInitFonts().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
Bool dmxRealizeFont (ScreenPtr  pScreen,
FontPtr  pFont 
)
-
-
-

Realize the font, pFont, on the back-end server associated with pScreen.

- -

References _DMXScreenInfo::beDisplay, dmxBELoadFont(), dmxFontPrivateIndex, dmxScreens, _dmxFontPriv::font, and _dmxFontPriv::refcnt.

- -

Referenced by dmxScreenInit().

- -
-
- -
-
- - - - - - - - - -
void dmxResetFonts (void  ) 
-
-
-

Reset font support by restoring the original ProcVector function pointers.

- -

References dmxSaveProcVector.

- -

Referenced by dmxCloseScreen().

- -
-
- -
-
- - - - - - - - - -
static int dmxSetFontPath (DMXScreenInfo dmxScreen )  [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
Bool dmxUnrealizeFont (ScreenPtr  pScreen,
FontPtr  pFont 
)
-
-
-

Unrealize the font, pFont, on the back-end server associated with pScreen.

- -

References _DMXScreenInfo::beDisplay, dmxBEFreeFont(), dmxFontPrivateIndex, dmxScreens, _dmxFontPriv::font, and _dmxFontPriv::refcnt.

- -

Referenced by dmxScreenInit().

- -
-
-

Variable Documentation

- -
-
- - - - -
int dmxFontLastError [static]
-
- -
- -
-
- - - - -
int(* dmxSaveProcVector[256])(ClientPtr) [static]
-
-
- -

Referenced by dmxInitFonts(), and dmxResetFonts().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxfont_8h.html b/xorg-server/hw/dmx/doc/html/dmxfont_8h.html deleted file mode 100644 index 72b0b35b2..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxfont_8h.html +++ /dev/null @@ -1,280 +0,0 @@ - - - - - File Index - - - - - -
-

dmxfont.h File Reference

#include <X11/fonts/fontstruct.h>
- -

Go to the source code of this file.

- - - - - - - - - - - - - - - -

Data Structures

struct  _dmxFontPriv

Typedefs

typedef struct _dmxFontPriv dmxFontPrivRec
typedef struct _dmxFontPrivdmxFontPrivPtr

Functions

void dmxInitFonts (void)
void dmxResetFonts (void)
Bool dmxRealizeFont (ScreenPtr pScreen, FontPtr pFont)
Bool dmxUnrealizeFont (ScreenPtr pScreen, FontPtr pFont)
Bool dmxBELoadFont (ScreenPtr pScreen, FontPtr pFont)
Bool dmxBEFreeFont (ScreenPtr pScreen, FontPtr pFont)

Variables

int dmxFontPrivateIndex
-

Detailed Description

-

Interface for font-related functions.

-
See also:
dmxfont.c
-

Typedef Documentation

- -
-
- - - - -
typedef struct _dmxFontPriv * dmxFontPrivPtr
-
-
- -
-
- -
-
- - - - -
typedef struct _dmxFontPriv dmxFontPrivRec
-
-
-

Font private area.

- -
-
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
Bool dmxBEFreeFont (ScreenPtr  pScreen,
FontPtr  pFont 
)
-
-
-

Free pFont on the back-end associated with pScreen.

- -

References _DMXScreenInfo::beDisplay, dmxFontPrivateIndex, dmxScreens, and _dmxFontPriv::font.

- -

Referenced by dmxBEDestroyResources(), and dmxUnrealizeFont().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
Bool dmxBELoadFont (ScreenPtr  pScreen,
FontPtr  pFont 
)
-
-
-

Load the font, pFont, on the back-end server associated with pScreen. When a font is loaded, the font path on back-end server is first initialized to that specified on the command line with the -fontpath options, and then the font is loaded.

- -

References _DMXScreenInfo::beDisplay, dmxCheckFontPathElement(), dmxError, dmxFontPath, dmxFontPrivateIndex, dmxFreeFontPath(), dmxGetFontPath(), dmxIgnoreBadFontPaths, dmxLog(), dmxScreens, dmxSetFontPath(), dmxSync(), dmxWarning, and _dmxFontPriv::font.

- -

Referenced by dmxAttachScreen(), dmxBECreateResources(), and dmxRealizeFont().

- -
-
- -
-
- - - - - - - - - -
void dmxInitFonts (void  ) 
-
-
-

Initialize font support. In addition to the screen function call pointers, DMX also hooks in at the ProcVector[] level. Here the old ProcVector function pointers are saved and the new ProcVector function pointers are initialized.

- -

References dmxProcSetFontPath(), and dmxSaveProcVector.

- -

Referenced by InitOutput().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
Bool dmxRealizeFont (ScreenPtr  pScreen,
FontPtr  pFont 
)
-
-
-

Realize the font, pFont, on the back-end server associated with pScreen.

- -

References _DMXScreenInfo::beDisplay, dmxBELoadFont(), dmxFontPrivateIndex, dmxScreens, _dmxFontPriv::font, and _dmxFontPriv::refcnt.

- -

Referenced by dmxScreenInit().

- -
-
- -
-
- - - - - - - - - -
void dmxResetFonts (void  ) 
-
-
-

Reset font support by restoring the original ProcVector function pointers.

- -

References dmxSaveProcVector.

- -

Referenced by dmxCloseScreen().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
Bool dmxUnrealizeFont (ScreenPtr  pScreen,
FontPtr  pFont 
)
-
-
-

Unrealize the font, pFont, on the back-end server associated with pScreen.

- -

References _DMXScreenInfo::beDisplay, dmxBEFreeFont(), dmxFontPrivateIndex, dmxScreens, _dmxFontPriv::font, and _dmxFontPriv::refcnt.

- -

Referenced by dmxScreenInit().

- -
-
-

Variable Documentation

- -
-
- - - - -
int dmxFontPrivateIndex
-
-
-

Private index for Fonts

- -

Referenced by dmxBEFreeFont(), dmxBELoadFont(), dmxChangeGC(), dmxRealizeFont(), dmxScreenInit(), and dmxUnrealizeFont().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxfont_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxfont_8h_source.html deleted file mode 100644 index be962052f..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxfont_8h_source.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxgc_8c.html b/xorg-server/hw/dmx/doc/html/dmxgc_8c.html deleted file mode 100644 index 0d14817e1..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxgc_8c.html +++ /dev/null @@ -1,446 +0,0 @@ - - - - - File Index - - - - - -
-

dmxgc.c File Reference

#include "dmx.h"
-#include "dmxsync.h"
-#include "dmxgc.h"
-#include "dmxgcops.h"
-#include "dmxpixmap.h"
-#include "dmxfont.h"
-#include "gcstruct.h"
-#include "pixmapstr.h"
-#include "migc.h"
- - - - - - - - - - - - - - - - -

Functions

Bool dmxInitGC (ScreenPtr pScreen)
void dmxBECreateGC (ScreenPtr pScreen, GCPtr pGC)
Bool dmxCreateGC (GCPtr pGC)
void dmxValidateGC (GCPtr pGC, unsigned long changes, DrawablePtr pDrawable)
void dmxChangeGC (GCPtr pGC, unsigned long mask)
void dmxCopyGC (GCPtr pGCSrc, unsigned long changes, GCPtr pGCDst)
Bool dmxBEFreeGC (GCPtr pGC)
void dmxDestroyGC (GCPtr pGC)
void dmxChangeClip (GCPtr pGC, int type, pointer pvalue, int nrects)
void dmxDestroyClip (GCPtr pGC)
void dmxCopyClip (GCPtr pGCDst, GCPtr pGCSrc)

Variables

static GCFuncs dmxGCFuncs
static GCOps dmxGCOps
-

Detailed Description

-

This file provides support for GCs.

-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
void dmxBECreateGC (ScreenPtr  pScreen,
GCPtr  pGC 
)
-
- -
- -
-
- - - - - - - - - -
Bool dmxBEFreeGC (GCPtr  pGC ) 
-
-
-

Free the pGC on the back-end server.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_GC_PRIV, dmxScreens, and _dmxGCPriv::gc.

- -

Referenced by dmxBEDestroyResources(), dmxBEDestroyScratchGCs(), and dmxDestroyGC().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxChangeClip (GCPtr  pGC,
int  type,
pointer  pvalue,
int  nrects 
)
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxChangeGC (GCPtr  pGC,
unsigned long  mask 
)
-
-
-

Set the values in the graphics context on the back-end server associated with pGC's screen.

- -

References _DMXScreenInfo::beDisplay, DMX_GC_FUNC_EPILOGUE, DMX_GC_FUNC_PROLOGUE, DMX_GET_GC_PRIV, DMX_GET_PIXMAP_PRIV, dmxFontPrivateIndex, dmxScreens, dmxSync(), _dmxFontPriv::font, _dmxGCPriv::gc, _dmxGCPriv::msc, and _dmxPixPriv::pixmap.

- -

Referenced by dmxBECreateResources().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxCopyClip (GCPtr  pGCDst,
GCPtr  pGCSrc 
)
-
-
-

Copy a GC's clip rects.

- -

References DMX_GC_FUNC_EPILOGUE, and DMX_GC_FUNC_PROLOGUE.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxCopyGC (GCPtr  pGCSrc,
unsigned long  changes,
GCPtr  pGCDst 
)
-
-
-

Copy pGCSrc to pGCDst on the back-end server associated with pGCSrc's screen.

- -

References _DMXScreenInfo::beDisplay, DMX_GC_FUNC_EPILOGUE, DMX_GC_FUNC_PROLOGUE, DMX_GET_GC_PRIV, dmxScreens, and _dmxGCPriv::gc.

- -
-
- -
-
- - - - - - - - - -
Bool dmxCreateGC (GCPtr  pGC ) 
-
-
-

Create a graphics context on the back-end server associated /a pGC's screen.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_GC_PRIV, DMX_UNWRAP, DMX_WRAP, dmxBECreateGC(), dmxCreateGC(), dmxGCFuncs, dmxScreens, _dmxGCPriv::funcs, _dmxGCPriv::gc, _dmxGCPriv::msc, and _dmxGCPriv::ops.

- -

Referenced by dmxCreateGC(), and dmxScreenInit().

- -
-
- -
-
- - - - - - - - - -
void dmxDestroyClip (GCPtr  pGC ) 
-
- -
- -
-
- - - - - - - - - -
void dmxDestroyGC (GCPtr  pGC ) 
-
-
-

Destroy the graphics context, pGC and free the corresponding GC on the back-end server.

- -

References _DMXScreenInfo::beDisplay, DMX_GC_FUNC_EPILOGUE, DMX_GC_FUNC_PROLOGUE, dmxBEFreeGC(), and dmxScreens.

- -
-
- -
-
- - - - - - - - - -
Bool dmxInitGC (ScreenPtr  pScreen ) 
-
-
-

Initialize the GC on pScreen

- -

References dmxGCPrivateKey.

- -

Referenced by dmxScreenInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxValidateGC (GCPtr  pGC,
unsigned long  changes,
DrawablePtr  pDrawable 
)
-
-
-

Validate a graphics context, pGC, locally in the DMX server and recompute the composite clip, if necessary.

- -

References DMX_GC_FUNC_EPILOGUE, DMX_GC_FUNC_PROLOGUE, DMX_GET_GC_PRIV, and _dmxGCPriv::ops.

- -
-
-

Variable Documentation

- -
-
- - - - -
GCFuncs dmxGCFuncs [static]
-
-
-Initial value: -

Referenced by dmxCreateGC().

- -
-
- - -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxgc_8h.html b/xorg-server/hw/dmx/doc/html/dmxgc_8h.html deleted file mode 100644 index 3341c2b68..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxgc_8h.html +++ /dev/null @@ -1,512 +0,0 @@ - - - - - File Index - - - - - -
-

dmxgc.h File Reference

#include "gcstruct.h"
- -

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - -

Data Structures

struct  _dmxGCPriv

Defines

#define DMX_GET_GC_PRIV(_pGC)   (dmxGCPrivPtr)dixLookupPrivate(&(_pGC)->devPrivates, dmxGCPrivateKey)
#define DMX_GC_FUNC_PROLOGUE(_pGC)
#define DMX_GC_FUNC_EPILOGUE(_pGC)

Typedefs

typedef struct _dmxGCPriv dmxGCPrivRec
typedef struct _dmxGCPrivdmxGCPrivPtr

Functions

Bool dmxInitGC (ScreenPtr pScreen)
Bool dmxCreateGC (GCPtr pGC)
void dmxValidateGC (GCPtr pGC, unsigned long changes, DrawablePtr pDrawable)
void dmxChangeGC (GCPtr pGC, unsigned long mask)
void dmxCopyGC (GCPtr pGCSrc, unsigned long changes, GCPtr pGCDst)
void dmxDestroyGC (GCPtr pGC)
void dmxChangeClip (GCPtr pGC, int type, pointer pvalue, int nrects)
void dmxDestroyClip (GCPtr pGC)
void dmxCopyClip (GCPtr pGCDst, GCPtr pGCSrc)
void dmxBECreateGC (ScreenPtr pScreen, GCPtr pGC)
Bool dmxBEFreeGC (GCPtr pGC)

Variables

DevPrivateKey dmxGCPrivateKey
-

Detailed Description

-

Interface for GC support.

-
See also:
dmxgc.c
-

Define Documentation

- -
-
- - - - - - - - - -
#define DMX_GC_FUNC_EPILOGUE(_pGC  ) 
-
-
-Value:
do {                                                                    \
-    dmxGCPrivPtr _pGCPriv = DMX_GET_GC_PRIV(_pGC);                      \
-    DMX_WRAP(funcs, &dmxGCFuncs, _pGCPriv, (_pGC));                     \
-    if (_pGCPriv->ops)                                                  \
-        DMX_WRAP(ops, &dmxGCOps, _pGCPriv, (_pGC));                     \
-} while (0)
-
-

Referenced by dmxChangeClip(), dmxChangeGC(), dmxCopyClip(), dmxCopyGC(), dmxDestroyClip(), dmxDestroyGC(), and dmxValidateGC().

- -
-
- -
-
- - - - - - - - - -
#define DMX_GC_FUNC_PROLOGUE(_pGC  ) 
-
-
-Value:
do {                                                                    \
-    dmxGCPrivPtr _pGCPriv = DMX_GET_GC_PRIV(_pGC);                      \
-    DMX_UNWRAP(funcs, _pGCPriv, (_pGC));                                \
-    if (_pGCPriv->ops)                                                  \
-        DMX_UNWRAP(ops, _pGCPriv, (_pGC));                              \
-} while (0)
-
-

Referenced by dmxChangeClip(), dmxChangeGC(), dmxCopyClip(), dmxCopyGC(), dmxDestroyClip(), dmxDestroyGC(), and dmxValidateGC().

- -
-
- - -

Typedef Documentation

- -
-
- - - - -
typedef struct _dmxGCPriv * dmxGCPrivPtr
-
-
- -
-
- -
-
- - - - -
typedef struct _dmxGCPriv dmxGCPrivRec
-
-
-

GC private area.

- -
-
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
void dmxBECreateGC (ScreenPtr  pScreen,
GCPtr  pGC 
)
-
- -
- -
-
- - - - - - - - - -
Bool dmxBEFreeGC (GCPtr  pGC ) 
-
-
-

Free the pGC on the back-end server.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_GC_PRIV, dmxScreens, and _dmxGCPriv::gc.

- -

Referenced by dmxBEDestroyResources(), dmxBEDestroyScratchGCs(), and dmxDestroyGC().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxChangeClip (GCPtr  pGC,
int  type,
pointer  pvalue,
int  nrects 
)
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxChangeGC (GCPtr  pGC,
unsigned long  mask 
)
-
-
-

Set the values in the graphics context on the back-end server associated with pGC's screen.

- -

References _DMXScreenInfo::beDisplay, DMX_GC_FUNC_EPILOGUE, DMX_GC_FUNC_PROLOGUE, DMX_GET_GC_PRIV, DMX_GET_PIXMAP_PRIV, dmxFontPrivateIndex, dmxScreens, dmxSync(), _dmxFontPriv::font, _dmxGCPriv::gc, _dmxGCPriv::msc, and _dmxPixPriv::pixmap.

- -

Referenced by dmxBECreateResources().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxCopyClip (GCPtr  pGCDst,
GCPtr  pGCSrc 
)
-
-
-

Copy a GC's clip rects.

- -

References DMX_GC_FUNC_EPILOGUE, and DMX_GC_FUNC_PROLOGUE.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxCopyGC (GCPtr  pGCSrc,
unsigned long  changes,
GCPtr  pGCDst 
)
-
-
-

Copy pGCSrc to pGCDst on the back-end server associated with pGCSrc's screen.

- -

References _DMXScreenInfo::beDisplay, DMX_GC_FUNC_EPILOGUE, DMX_GC_FUNC_PROLOGUE, DMX_GET_GC_PRIV, dmxScreens, and _dmxGCPriv::gc.

- -
-
- -
-
- - - - - - - - - -
Bool dmxCreateGC (GCPtr  pGC ) 
-
-
-

Create a graphics context on the back-end server associated /a pGC's screen.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_GC_PRIV, DMX_UNWRAP, DMX_WRAP, dmxBECreateGC(), dmxCreateGC(), dmxGCFuncs, dmxScreens, _dmxGCPriv::funcs, _dmxGCPriv::gc, _dmxGCPriv::msc, and _dmxGCPriv::ops.

- -

Referenced by dmxCreateGC(), and dmxScreenInit().

- -
-
- -
-
- - - - - - - - - -
void dmxDestroyClip (GCPtr  pGC ) 
-
- -
- -
-
- - - - - - - - - -
void dmxDestroyGC (GCPtr  pGC ) 
-
-
-

Destroy the graphics context, pGC and free the corresponding GC on the back-end server.

- -

References _DMXScreenInfo::beDisplay, DMX_GC_FUNC_EPILOGUE, DMX_GC_FUNC_PROLOGUE, dmxBEFreeGC(), and dmxScreens.

- -
-
- -
-
- - - - - - - - - -
Bool dmxInitGC (ScreenPtr  pScreen ) 
-
-
-

Initialize the GC on pScreen

- -

References dmxGCPrivateKey.

- -

Referenced by dmxScreenInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxValidateGC (GCPtr  pGC,
unsigned long  changes,
DrawablePtr  pDrawable 
)
-
-
-

Validate a graphics context, pGC, locally in the DMX server and recompute the composite clip, if necessary.

- -

References DMX_GC_FUNC_EPILOGUE, DMX_GC_FUNC_PROLOGUE, DMX_GET_GC_PRIV, and _dmxGCPriv::ops.

- -
-
-

Variable Documentation

- -
-
- - - - -
DevPrivateKey dmxGCPrivateKey
-
-
-

Private index.

-
See also:
dmxgc.c
-
-dmxscrinit.c
-

Private index for GCs

- -

Referenced by dmxInitGC().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxgc_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxgc_8h_source.html deleted file mode 100644 index 11b8e5a9f..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxgc_8h_source.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxgcops_8c.html b/xorg-server/hw/dmx/doc/html/dmxgcops_8c.html deleted file mode 100644 index 42ecb5c79..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxgcops_8c.html +++ /dev/null @@ -1,1384 +0,0 @@ - - - - - File Index - - - - - -
-

dmxgcops.c File Reference

#include "dmx.h"
-#include "dmxsync.h"
-#include "dmxgc.h"
-#include "dmxgcops.h"
-#include "dmxwindow.h"
-#include "dmxpixmap.h"
-#include "mi.h"
-#include "gcstruct.h"
-#include "pixmapstr.h"
-#include "dixfontstr.h"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Defines

#define DMX_GCOPS_SET_DRAWABLE(_pDraw, _draw)
#define DMX_GCOPS_OFFSCREEN(_pDraw)

Functions

void dmxFillSpans (DrawablePtr pDrawable, GCPtr pGC, int nInit, DDXPointPtr pptInit, int *pwidthInit, int fSorted)
void dmxSetSpans (DrawablePtr pDrawable, GCPtr pGC, char *psrc, DDXPointPtr ppt, int *pwidth, int nspans, int fSorted)
void dmxPutImage (DrawablePtr pDrawable, GCPtr pGC, int depth, int x, int y, int w, int h, int leftPad, int format, char *pBits)
RegionPtr dmxCopyArea (DrawablePtr pSrc, DrawablePtr pDst, GCPtr pGC, int srcx, int srcy, int w, int h, int dstx, int dsty)
RegionPtr dmxCopyPlane (DrawablePtr pSrc, DrawablePtr pDst, GCPtr pGC, int srcx, int srcy, int width, int height, int dstx, int dsty, unsigned long bitPlane)
void dmxPolyPoint (DrawablePtr pDrawable, GCPtr pGC, int mode, int npt, DDXPointPtr pptInit)
void dmxPolylines (DrawablePtr pDrawable, GCPtr pGC, int mode, int npt, DDXPointPtr pptInit)
void dmxPolySegment (DrawablePtr pDrawable, GCPtr pGC, int nseg, xSegment *pSegs)
void dmxPolyRectangle (DrawablePtr pDrawable, GCPtr pGC, int nrects, xRectangle *pRects)
void dmxPolyArc (DrawablePtr pDrawable, GCPtr pGC, int narcs, xArc *parcs)
void dmxFillPolygon (DrawablePtr pDrawable, GCPtr pGC, int shape, int mode, int count, DDXPointPtr pPts)
void dmxPolyFillRect (DrawablePtr pDrawable, GCPtr pGC, int nrectFill, xRectangle *prectInit)
void dmxPolyFillArc (DrawablePtr pDrawable, GCPtr pGC, int narcs, xArc *parcs)
int dmxPolyText8 (DrawablePtr pDrawable, GCPtr pGC, int x, int y, int count, char *chars)
int dmxPolyText16 (DrawablePtr pDrawable, GCPtr pGC, int x, int y, int count, unsigned short *chars)
void dmxImageText8 (DrawablePtr pDrawable, GCPtr pGC, int x, int y, int count, char *chars)
void dmxImageText16 (DrawablePtr pDrawable, GCPtr pGC, int x, int y, int count, unsigned short *chars)
void dmxImageGlyphBlt (DrawablePtr pDrawable, GCPtr pGC, int x, int y, unsigned int nglyph, CharInfoPtr *ppci, pointer pglyphBase)
void dmxPolyGlyphBlt (DrawablePtr pDrawable, GCPtr pGC, int x, int y, unsigned int nglyph, CharInfoPtr *ppci, pointer pglyphBase)
void dmxPushPixels (GCPtr pGC, PixmapPtr pBitMap, DrawablePtr pDst, int w, int h, int x, int y)
static DMXScreenInfodmxFindAlternatePixmap (DrawablePtr pDrawable, XID *draw)
void dmxGetImage (DrawablePtr pDrawable, int sx, int sy, int w, int h, unsigned int format, unsigned long planeMask, char *pdstLine)
void dmxGetSpans (DrawablePtr pDrawable, int wMax, DDXPointPtr ppt, int *pwidth, int nspans, char *pdstStart)
-

Detailed Description

-

This file provides support for GC operations.

-

Define Documentation

- -
-
- - - - - - - - - -
#define DMX_GCOPS_OFFSCREEN(_pDraw  ) 
-
-
-Value:
(!dmxScreens[(_pDraw)->pScreen->myNum].beDisplay ||                     \
-     (dmxOffScreenOpt &&                                                \
-      (_pDraw)->type == DRAWABLE_WINDOW &&                              \
-      (DMX_GET_WINDOW_PRIV((WindowPtr)(_pDraw))->offscreen ||           \
-       !DMX_GET_WINDOW_PRIV((WindowPtr)(_pDraw))->window)))
-
-

Referenced by dmxCopyArea(), dmxCopyPlane(), dmxFillPolygon(), dmxGetImage(), dmxImageText16(), dmxImageText8(), dmxPolyArc(), dmxPolyFillArc(), dmxPolyFillRect(), dmxPolylines(), dmxPolyPoint(), dmxPolyRectangle(), dmxPolySegment(), dmxPolyText16(), dmxPolyText8(), and dmxPutImage().

- -
-
- -
-
- - - - - - - - - - - - - - -
#define DMX_GCOPS_SET_DRAWABLE(_pDraw,
_draw  ) 
-
-
-Value:
do {                                                                    \
-    if ((_pDraw)->type == DRAWABLE_WINDOW) {                            \
-        dmxWinPrivPtr  pWinPriv =                                       \
-            DMX_GET_WINDOW_PRIV((WindowPtr)(_pDraw));                   \
-        (_draw) = (Drawable)pWinPriv->window;                           \
-    } else {                                                            \
-        dmxPixPrivPtr  pPixPriv =                                       \
-            DMX_GET_PIXMAP_PRIV((PixmapPtr)(_pDraw));                   \
-        (_draw) = (Drawable)pPixPriv->pixmap;                           \
-    }                                                                   \
-} while (0)
-
-

Referenced by dmxCopyArea(), dmxCopyPlane(), dmxFillPolygon(), dmxGetImage(), dmxImageText16(), dmxImageText8(), dmxPolyArc(), dmxPolyFillArc(), dmxPolyFillRect(), dmxPolylines(), dmxPolyPoint(), dmxPolyRectangle(), dmxPolySegment(), dmxPolyText16(), dmxPolyText8(), and dmxPutImage().

- -
-
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
RegionPtr dmxCopyArea (DrawablePtr  pSrc,
DrawablePtr  pDst,
GCPtr  pGC,
int  srcx,
int  srcy,
int  w,
int  h,
int  dstx,
int  dsty 
)
-
-
-

Copy area from pSrc drawable to pDst drawable on the back-end server associated with pSrc drawable's screen. If the offscreen optimization is enabled, only copy when both pSrc and pDst are at least partially visible.

- -

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
RegionPtr dmxCopyPlane (DrawablePtr  pSrc,
DrawablePtr  pDst,
GCPtr  pGC,
int  srcx,
int  srcy,
int  width,
int  height,
int  dstx,
int  dsty,
unsigned long  bitPlane 
)
-
-
-

Copy plane number bitPlane from pSrc drawable to pDst drawable on the back-end server associated with pSrc drawable's screen. If the offscreen optimization is enabled, only copy when both pSrc and pDst are at least partially visible.

- -

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxFillPolygon (DrawablePtr  pDrawable,
GCPtr  pGC,
int  shape,
int  mode,
int  count,
DDXPointPtr  pPts 
)
-
-
-

Render a filled polygons in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

- -

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxFillSpans (DrawablePtr  pDrawable,
GCPtr  pGC,
int  nInit,
DDXPointPtr  pptInit,
int *  pwidthInit,
int  fSorted 
)
-
-
-

Fill spans -- this function should never be called.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
static DMXScreenInfo* dmxFindAlternatePixmap (DrawablePtr  pDrawable,
XID *  draw 
) [static]
-
-
-

When Xinerama is active, the client pixmaps are always obtained from screen 0. When screen 0 is detached, the pixmaps must be obtained from any other screen that is not detached. Usually, this is screen 1.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_PIXMAP_PRIV, dmxScreens, and _dmxPixPriv::pixmap.

- -

Referenced by dmxGetImage().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxGetImage (DrawablePtr  pDrawable,
int  sx,
int  sy,
int  w,
int  h,
unsigned int  format,
unsigned long  planeMask,
char *  pdstLine 
)
-
-
-

Get an image from the back-end server associated with pDrawable's screen. If pDrawable is a window, it must be viewable to get an image from it. If it is not viewable, then get the image from the first ancestor of pDrawable that is viewable. If no viewable ancestor is found, then simply return without getting an image.

- -

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, dmxFindAlternatePixmap(), dmxScreens, and dmxSync().

- -

Referenced by dmxScreenInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxGetSpans (DrawablePtr  pDrawable,
int  wMax,
DDXPointPtr  ppt,
int *  pwidth,
int  nspans,
char *  pdstStart 
)
-
-
-

Get Spans -- this function should never be called.

- -

Referenced by dmxScreenInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxImageGlyphBlt (DrawablePtr  pDrawable,
GCPtr  pGC,
int  x,
int  y,
unsigned int  nglyph,
CharInfoPtr *  ppci,
pointer  pglyphBase 
)
-
-
-

Image Glyph Blt -- this function should never be called.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxImageText16 (DrawablePtr  pDrawable,
GCPtr  pGC,
int  x,
int  y,
int  count,
unsigned short *  chars 
)
-
-
-

Render string of 16-bit chars (both foreground and background) in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

- -

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxImageText8 (DrawablePtr  pDrawable,
GCPtr  pGC,
int  x,
int  y,
int  count,
char *  chars 
)
-
-
-

Render string of 8-bit chars (both foreground and background) in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

- -

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxPolyArc (DrawablePtr  pDrawable,
GCPtr  pGC,
int  narcs,
xArc *  parcs 
)
-
-
-

Render list of arc outlines, parcs in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

- -

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxPolyFillArc (DrawablePtr  pDrawable,
GCPtr  pGC,
int  narcs,
xArc *  parcs 
)
-
-
-

Render list of filled arcs, parcs in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

- -

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxPolyFillRect (DrawablePtr  pDrawable,
GCPtr  pGC,
int  nrectFill,
xRectangle *  prectInit 
)
-
-
-

Render list of filled rectangles, prectInit in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

- -

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxPolyGlyphBlt (DrawablePtr  pDrawable,
GCPtr  pGC,
int  x,
int  y,
unsigned int  nglyph,
CharInfoPtr *  ppci,
pointer  pglyphBase 
)
-
-
-

Poly Glyph Blt -- this function should never be called.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxPolylines (DrawablePtr  pDrawable,
GCPtr  pGC,
int  mode,
int  npt,
DDXPointPtr  pptInit 
)
-
-
-

Render list of connected lines, pptInit in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

- -

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxPolyPoint (DrawablePtr  pDrawable,
GCPtr  pGC,
int  mode,
int  npt,
DDXPointPtr  pptInit 
)
-
-
-

Render list of points, pptInit in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

- -

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxPolyRectangle (DrawablePtr  pDrawable,
GCPtr  pGC,
int  nrects,
xRectangle *  pRects 
)
-
-
-

Render list of rectangle outlines, pRects in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

- -

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxPolySegment (DrawablePtr  pDrawable,
GCPtr  pGC,
int  nseg,
xSegment *  pSegs 
)
-
-
-

Render list of disjoint segments, pSegs in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

- -

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
int dmxPolyText16 (DrawablePtr  pDrawable,
GCPtr  pGC,
int  x,
int  y,
int  count,
unsigned short *  chars 
)
-
-
-

Render string of 16-bit chars (foreground only) in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

- -

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
int dmxPolyText8 (DrawablePtr  pDrawable,
GCPtr  pGC,
int  x,
int  y,
int  count,
char *  chars 
)
-
-
-

Render string of 8-bit chars (foreground only) in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

- -

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxPushPixels (GCPtr  pGC,
PixmapPtr  pBitMap,
DrawablePtr  pDst,
int  w,
int  h,
int  x,
int  y 
)
-
-
-

Push Pixels -- this function should never be called.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxPutImage (DrawablePtr  pDrawable,
GCPtr  pGC,
int  depth,
int  x,
int  y,
int  w,
int  h,
int  leftPad,
int  format,
char *  pBits 
)
-
-
-

Transfer pBits image to back-end server associated with pDrawable's screen. If primitive subdivision optimization is enabled, then only transfer the sections of pBits that are visible (i.e., not-clipped) to the back-end server.

- -

References _DMXScreenInfo::beDefVisualIndex, _DMXScreenInfo::beDisplay, _DMXScreenInfo::beVisuals, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSubdividePrimitives, dmxSync(), and _dmxGCPriv::gc.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxSetSpans (DrawablePtr  pDrawable,
GCPtr  pGC,
char *  psrc,
DDXPointPtr  ppt,
int *  pwidth,
int  nspans,
int  fSorted 
)
-
-
-

Set spans -- this function should never be called.

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxgcops_8h.html b/xorg-server/hw/dmx/doc/html/dmxgcops_8h.html deleted file mode 100644 index acaef7d88..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxgcops_8h.html +++ /dev/null @@ -1,1279 +0,0 @@ - - - - - File Index - - - - - -
-

dmxgcops.h File Reference

-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - -

Functions

void dmxFillSpans (DrawablePtr pDrawable, GCPtr pGC, int nInit, DDXPointPtr pptInit, int *pwidthInit, int fSorted)
void dmxSetSpans (DrawablePtr pDrawable, GCPtr pGC, char *psrc, DDXPointPtr ppt, int *pwidth, int nspans, int fSorted)
void dmxPutImage (DrawablePtr pDrawable, GCPtr pGC, int depth, int x, int y, int w, int h, int leftPad, int format, char *pBits)
RegionPtr dmxCopyArea (DrawablePtr pSrc, DrawablePtr pDst, GCPtr pGC, int srcx, int srcy, int w, int h, int dstx, int dsty)
RegionPtr dmxCopyPlane (DrawablePtr pSrc, DrawablePtr pDst, GCPtr pGC, int srcx, int srcy, int width, int height, int dstx, int dsty, unsigned long bitPlane)
void dmxPolyPoint (DrawablePtr pDrawable, GCPtr pGC, int mode, int npt, DDXPointPtr pptInit)
void dmxPolylines (DrawablePtr pDrawable, GCPtr pGC, int mode, int npt, DDXPointPtr pptInit)
void dmxPolySegment (DrawablePtr pDrawable, GCPtr pGC, int nseg, xSegment *pSegs)
void dmxPolyRectangle (DrawablePtr pDrawable, GCPtr pGC, int nrects, xRectangle *pRects)
void dmxPolyArc (DrawablePtr pDrawable, GCPtr pGC, int narcs, xArc *parcs)
void dmxFillPolygon (DrawablePtr pDrawable, GCPtr pGC, int shape, int mode, int count, DDXPointPtr pPts)
void dmxPolyFillRect (DrawablePtr pDrawable, GCPtr pGC, int nrectFill, xRectangle *prectInit)
void dmxPolyFillArc (DrawablePtr pDrawable, GCPtr pGC, int narcs, xArc *parcs)
int dmxPolyText8 (DrawablePtr pDrawable, GCPtr pGC, int x, int y, int count, char *chars)
int dmxPolyText16 (DrawablePtr pDrawable, GCPtr pGC, int x, int y, int count, unsigned short *chars)
void dmxImageText8 (DrawablePtr pDrawable, GCPtr pGC, int x, int y, int count, char *chars)
void dmxImageText16 (DrawablePtr pDrawable, GCPtr pGC, int x, int y, int count, unsigned short *chars)
void dmxImageGlyphBlt (DrawablePtr pDrawable, GCPtr pGC, int x, int y, unsigned int nglyph, CharInfoPtr *ppci, pointer pglyphBase)
void dmxPolyGlyphBlt (DrawablePtr pDrawable, GCPtr pGC, int x, int y, unsigned int nglyph, CharInfoPtr *ppci, pointer pglyphBase)
void dmxPushPixels (GCPtr pGC, PixmapPtr pBitMap, DrawablePtr pDst, int w, int h, int x, int y)
void dmxGetImage (DrawablePtr pDrawable, int sx, int sy, int w, int h, unsigned int format, unsigned long planeMask, char *pdstLine)
void dmxGetSpans (DrawablePtr pDrawable, int wMax, DDXPointPtr ppt, int *pwidth, int nspans, char *pdstStart)
-

Detailed Description

-

Interface for gcops support.

-
See also:
dmxgcops.c
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
RegionPtr dmxCopyArea (DrawablePtr  pSrc,
DrawablePtr  pDst,
GCPtr  pGC,
int  srcx,
int  srcy,
int  w,
int  h,
int  dstx,
int  dsty 
)
-
-
-

Copy area from pSrc drawable to pDst drawable on the back-end server associated with pSrc drawable's screen. If the offscreen optimization is enabled, only copy when both pSrc and pDst are at least partially visible.

- -

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
RegionPtr dmxCopyPlane (DrawablePtr  pSrc,
DrawablePtr  pDst,
GCPtr  pGC,
int  srcx,
int  srcy,
int  width,
int  height,
int  dstx,
int  dsty,
unsigned long  bitPlane 
)
-
-
-

Copy plane number bitPlane from pSrc drawable to pDst drawable on the back-end server associated with pSrc drawable's screen. If the offscreen optimization is enabled, only copy when both pSrc and pDst are at least partially visible.

- -

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxFillPolygon (DrawablePtr  pDrawable,
GCPtr  pGC,
int  shape,
int  mode,
int  count,
DDXPointPtr  pPts 
)
-
-
-

Render a filled polygons in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

- -

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxFillSpans (DrawablePtr  pDrawable,
GCPtr  pGC,
int  nInit,
DDXPointPtr  pptInit,
int *  pwidthInit,
int  fSorted 
)
-
-
-

Fill spans -- this function should never be called.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxGetImage (DrawablePtr  pDrawable,
int  sx,
int  sy,
int  w,
int  h,
unsigned int  format,
unsigned long  planeMask,
char *  pdstLine 
)
-
-
-

Get an image from the back-end server associated with pDrawable's screen. If pDrawable is a window, it must be viewable to get an image from it. If it is not viewable, then get the image from the first ancestor of pDrawable that is viewable. If no viewable ancestor is found, then simply return without getting an image.

- -

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, dmxFindAlternatePixmap(), dmxScreens, and dmxSync().

- -

Referenced by dmxScreenInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxGetSpans (DrawablePtr  pDrawable,
int  wMax,
DDXPointPtr  ppt,
int *  pwidth,
int  nspans,
char *  pdstStart 
)
-
-
-

Get Spans -- this function should never be called.

- -

Referenced by dmxScreenInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxImageGlyphBlt (DrawablePtr  pDrawable,
GCPtr  pGC,
int  x,
int  y,
unsigned int  nglyph,
CharInfoPtr *  ppci,
pointer  pglyphBase 
)
-
-
-

Image Glyph Blt -- this function should never be called.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxImageText16 (DrawablePtr  pDrawable,
GCPtr  pGC,
int  x,
int  y,
int  count,
unsigned short *  chars 
)
-
-
-

Render string of 16-bit chars (both foreground and background) in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

- -

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxImageText8 (DrawablePtr  pDrawable,
GCPtr  pGC,
int  x,
int  y,
int  count,
char *  chars 
)
-
-
-

Render string of 8-bit chars (both foreground and background) in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

- -

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxPolyArc (DrawablePtr  pDrawable,
GCPtr  pGC,
int  narcs,
xArc *  parcs 
)
-
-
-

Render list of arc outlines, parcs in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

- -

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxPolyFillArc (DrawablePtr  pDrawable,
GCPtr  pGC,
int  narcs,
xArc *  parcs 
)
-
-
-

Render list of filled arcs, parcs in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

- -

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxPolyFillRect (DrawablePtr  pDrawable,
GCPtr  pGC,
int  nrectFill,
xRectangle *  prectInit 
)
-
-
-

Render list of filled rectangles, prectInit in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

- -

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxPolyGlyphBlt (DrawablePtr  pDrawable,
GCPtr  pGC,
int  x,
int  y,
unsigned int  nglyph,
CharInfoPtr *  ppci,
pointer  pglyphBase 
)
-
-
-

Poly Glyph Blt -- this function should never be called.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxPolylines (DrawablePtr  pDrawable,
GCPtr  pGC,
int  mode,
int  npt,
DDXPointPtr  pptInit 
)
-
-
-

Render list of connected lines, pptInit in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

- -

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxPolyPoint (DrawablePtr  pDrawable,
GCPtr  pGC,
int  mode,
int  npt,
DDXPointPtr  pptInit 
)
-
-
-

Render list of points, pptInit in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

- -

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxPolyRectangle (DrawablePtr  pDrawable,
GCPtr  pGC,
int  nrects,
xRectangle *  pRects 
)
-
-
-

Render list of rectangle outlines, pRects in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

- -

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxPolySegment (DrawablePtr  pDrawable,
GCPtr  pGC,
int  nseg,
xSegment *  pSegs 
)
-
-
-

Render list of disjoint segments, pSegs in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

- -

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
int dmxPolyText16 (DrawablePtr  pDrawable,
GCPtr  pGC,
int  x,
int  y,
int  count,
unsigned short *  chars 
)
-
-
-

Render string of 16-bit chars (foreground only) in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

- -

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
int dmxPolyText8 (DrawablePtr  pDrawable,
GCPtr  pGC,
int  x,
int  y,
int  count,
char *  chars 
)
-
-
-

Render string of 8-bit chars (foreground only) in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

- -

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxPushPixels (GCPtr  pGC,
PixmapPtr  pBitMap,
DrawablePtr  pDst,
int  w,
int  h,
int  x,
int  y 
)
-
-
-

Push Pixels -- this function should never be called.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxPutImage (DrawablePtr  pDrawable,
GCPtr  pGC,
int  depth,
int  x,
int  y,
int  w,
int  h,
int  leftPad,
int  format,
char *  pBits 
)
-
-
-

Transfer pBits image to back-end server associated with pDrawable's screen. If primitive subdivision optimization is enabled, then only transfer the sections of pBits that are visible (i.e., not-clipped) to the back-end server.

- -

References _DMXScreenInfo::beDefVisualIndex, _DMXScreenInfo::beDisplay, _DMXScreenInfo::beVisuals, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSubdividePrimitives, dmxSync(), and _dmxGCPriv::gc.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxSetSpans (DrawablePtr  pDrawable,
GCPtr  pGC,
char *  psrc,
DDXPointPtr  ppt,
int *  pwidth,
int  nspans,
int  fSorted 
)
-
-
-

Set spans -- this function should never be called.

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxgcops_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxgcops_8h_source.html deleted file mode 100644 index bfa4842ec..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxgcops_8h_source.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxinit_8c.html b/xorg-server/hw/dmx/doc/html/dmxinit_8c.html deleted file mode 100644 index 314910174..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxinit_8c.html +++ /dev/null @@ -1,891 +0,0 @@ - - - - - File Index - - - - - -
-

dmxinit.c File Reference

#include "dmx.h"
-#include "dmxinit.h"
-#include "dmxsync.h"
-#include "dmxlog.h"
-#include "dmxinput.h"
-#include "dmxscrinit.h"
-#include "dmxcursor.h"
-#include "dmxfont.h"
-#include "config/dmxconfig.h"
-#include "dmxcb.h"
-#include "dmxprop.h"
-#include "dmxstat.h"
-#include "dmxpict.h"
-#include <X11/Xos.h>
-#include "dixstruct.h"
-#include <signal.h>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Defines

#define DMX_ERROR_BUF_SIZE   256

Functions

static int dmxErrorHandler (Display *dpy, XErrorEvent *ev)
Bool dmxOpenDisplay (DMXScreenInfo *dmxScreen)
void dmxSetErrorHandler (DMXScreenInfo *dmxScreen)
static void dmxPrintScreenInfo (DMXScreenInfo *dmxScreen)
void dmxGetScreenAttribs (DMXScreenInfo *dmxScreen)
Bool dmxGetVisualInfo (DMXScreenInfo *dmxScreen)
void dmxGetColormaps (DMXScreenInfo *dmxScreen)
void dmxGetPixmapFormats (DMXScreenInfo *dmxScreen)
static Bool dmxSetPixmapFormats (ScreenInfo *pScreenInfo, DMXScreenInfo *dmxScreen)
void dmxCheckForWM (DMXScreenInfo *dmxScreen)
static void dmxDisplayInit (DMXScreenInfo *dmxScreen)
static const char * dmxExecOS (void)
static const char * dmxBuildCompiler (void)
static const char * dmxExecHost (void)
void InitOutput (ScreenInfo *pScreenInfo, int argc, char *argv[])
static void dmxSetDefaultFontPath (char *fp)
void AbortDDX (void)
void ddxGiveUp (void)
void OsVendorInit (void)
void OsVendorFatalError (void)
int ddxProcessArgument (int argc, char *argv[], int i)
void ddxUseMsg (void)

Variables

int dmxNumScreens
DMXScreenInfodmxScreens
int dmxNumInputs
DMXInputInfodmxInputs
int dmxShadowFB = FALSE
XErrorEvent dmxLastErrorEvent
Bool dmxErrorOccurred = FALSE
char * dmxFontPath = NULL
Bool dmxOffScreenOpt = TRUE
Bool dmxSubdividePrimitives = TRUE
Bool dmxLazyWindowCreation = TRUE
Bool dmxUseXKB = TRUE
int dmxDepth = 0
static Bool dmxGLXProxy = FALSE
Bool dmxIgnoreBadFontPaths = FALSE
Bool dmxAddRemoveScreens = FALSE
-

Detailed Description

-

Provide expected functions for initialization from the ddx layer and global variables for the DMX server.

-

Define Documentation

- -
-
- - - - -
#define DMX_ERROR_BUF_SIZE   256
-
-
- -

Referenced by dmxErrorHandler().

- -
-
-

Function Documentation

- -
-
- - - - - - - - - -
void AbortDDX (void  ) 
-
-
-

This function is called in Xserver/os/utils.c from AbortServer(). We must ensure that backend and console state is restored in the event the server shutdown wasn't clean.

- -

References _DMXScreenInfo::beDisplay, and dmxNumScreens.

- -

Referenced by ddxGiveUp().

- -
-
- -
-
- - - - - - - - - -
void ddxGiveUp (void  ) 
-
-
-

This function is called in Xserver/dix/main.c from main() when dispatchException & DE_TERMINATE (which is the only way to exit the main loop without an interruption.

- -

References AbortDDX().

- -
-
- - - -
-
- - - - - - - - - -
void ddxUseMsg (void  ) 
-
-
-

Provide succinct usage information for the DMX server.

- -
-
- -
-
- - - - - - - - - -
static const char* dmxBuildCompiler (void  )  [static]
-
-
- -

Referenced by InitOutput().

- -
-
- -
-
- - - - - - - - - -
void dmxCheckForWM (DMXScreenInfo dmxScreen ) 
-
- -
- -
-
- - - - - - - - - -
static void dmxDisplayInit (DMXScreenInfo dmxScreen )  [static]
-
-
-

Initialize the display and collect relevant information about the display properties

- -

References dmxCheckForWM(), dmxFatal, dmxGetColormaps(), dmxGetPixmapFormats(), dmxGetScreenAttribs(), dmxGetVisualInfo(), dmxLog(), dmxOpenDisplay(), dmxSetErrorHandler(), and _DMXScreenInfo::name.

- -

Referenced by InitOutput().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
static int dmxErrorHandler (Display *  dpy,
XErrorEvent *  ev 
) [static]
-
- -
- -
-
- - - - - - - - - -
static const char* dmxExecHost (void  )  [static]
-
-
- -

Referenced by InitOutput().

- -
-
- -
-
- - - - - - - - - -
static const char* dmxExecOS (void  )  [static]
-
-
- -

Referenced by InitOutput().

- -
-
- - - -
-
- - - - - - - - - -
void dmxGetPixmapFormats (DMXScreenInfo dmxScreen ) 
-
- -
- - - -
-
- - - - - - - - - -
Bool dmxGetVisualInfo (DMXScreenInfo dmxScreen ) 
-
- -
- -
-
- - - - - - - - - -
Bool dmxOpenDisplay (DMXScreenInfo dmxScreen ) 
-
- -
- -
-
- - - - - - - - - -
static void dmxPrintScreenInfo (DMXScreenInfo dmxScreen )  [static]
-
- -
- -
-
- - - - - - - - - -
static void dmxSetDefaultFontPath (char *  fp )  [static]
-
-
- -

References dmxFontPath.

- -

Referenced by ddxProcessArgument().

- -
-
- -
-
- - - - - - - - - -
void dmxSetErrorHandler (DMXScreenInfo dmxScreen ) 
-
-
- -

References dmxErrorHandler().

- -

Referenced by dmxAttachScreen(), and dmxDisplayInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
static Bool dmxSetPixmapFormats (ScreenInfo *  pScreenInfo,
DMXScreenInfo dmxScreen 
) [static]
-
- -
- - - -
-
- - - - - - - - - -
void OsVendorFatalError (void  ) 
-
-
-

This function is called in Xserver/os/utils.c from FatalError() and VFatalError(). (Note that setting the function pointer OsVendorVErrorFProc will cause VErrorF() (which is called by the two routines mentioned here, as well as by others) to use the referenced routine instead of vfprintf().)

- -

Referenced by VFatalError().

- -
-
- -
-
- - - - - - - - - -
void OsVendorInit (void  ) 
-
-
-

This function is called in Xserver/os/osinit.c from OsInit().

- -
-
-

Variable Documentation

- -
-
- - - - -
Bool dmxAddRemoveScreens = FALSE
-
-
-

True if add and remove screens support is enabled

- -

Referenced by ddxProcessArgument(), dmxAttachScreen(), dmxDetachScreen(), and InitOutput().

- -
-
- -
-
- - - - -
int dmxDepth = 0
-
-
-

Requested depth if non-zero

- -

Referenced by ddxProcessArgument(), and dmxGetVisualInfo().

- -
-
- -
-
- - - - -
Bool dmxErrorOccurred = FALSE
-
-
-

True if an error occurred

- -

Referenced by dmxErrorHandler().

- -
-
- -
-
- - - - -
char* dmxFontPath = NULL
-
-
-

NULL if no font path is set on the command line; otherwise, a string of comma separated paths built from the command line specified font paths

- -

Referenced by dmxBELoadFont(), and dmxSetDefaultFontPath().

- -
-
- -
-
- - - - -
Bool dmxGLXProxy = FALSE [static]
-
-
- -

Referenced by ddxProcessArgument(), and InitOutput().

- -
-
- -
-
- - - - -
Bool dmxIgnoreBadFontPaths = FALSE
-
-
-

True if bad font paths should be ignored during server init

- -

Referenced by ddxProcessArgument(), and dmxBELoadFont().

- -
-
- - - -
-
- - - - -
XErrorEvent dmxLastErrorEvent
-
-
-

Last error that occurred

- -

Referenced by dmxErrorHandler().

- -
-
- -
-
- - - - -
Bool dmxLazyWindowCreation = TRUE
-
-
-

True if using the lazy window creation optimization

- -

Referenced by ddxProcessArgument(), dmxCreateWindow(), and InitOutput().

- -
-
- - - - - -
-
- - - - -
Bool dmxOffScreenOpt = TRUE
-
-
-

True if using off screen optimizations

- -

Referenced by ddxProcessArgument(), and InitOutput().

- -
-
- -
- -
-

List of outputs

- -

Referenced by _dmxMoveCursor(), _dmxRealizeCursor(), _dmxSetCursor(), _dmxUnrealizeCursor(), dmxAttachScreen(), dmxBackendFindOverlapping(), dmxBackendInitPrivate(), dmxBackendOffscreen(), dmxBackendProcessInput(), dmxBackendUpdatePosition(), dmxBECloseScreen(), dmxBECreateColormap(), dmxBECreateCursor(), dmxBECreateGC(), dmxBECreateGlyphSet(), dmxBECreatePixmap(), dmxBECreateWindowTree(), dmxBEDestroyWindow(), dmxBEFreeColormap(), dmxBEFreeCursor(), dmxBEFreeFont(), dmxBEFreeGC(), dmxBEFreeGlyphSet(), dmxBEFreePicture(), dmxBEFreePixmap(), dmxBELoadFont(), dmxBERestorePixmap(), dmxBERestoreRenderGlyph(), dmxBESavePixmap(), dmxBEScreenInit(), dmxBitmapToRegion(), dmxChangeBorderWidth(), dmxChangeClip(), dmxChangeGC(), dmxChangePicture(), dmxChangePictureClip(), dmxChangeWindowAttributes(), dmxCheckCursor(), dmxCloseScreen(), dmxColormapFromDefaultVisual(), dmxCommonMouOn(), dmxCommonSaveState(), dmxComposite(), dmxCompositeRects(), dmxComputeScreenOrigins(), dmxComputeWidthHeight(), dmxConfigAddDisplay(), dmxConfigConfigInputs(), dmxConfigCopyFromWall(), dmxConfigFromCommandLine(), dmxConnectionBlockCallback(), dmxConsoleDraw(), dmxCopyArea(), dmxCopyGC(), dmxCopyPlane(), dmxCopyWindow(), dmxCoreMotion(), dmxCreateAndRealizeWindow(), dmxCreateColormap(), dmxCreateGC(), dmxCreateNonRootWindow(), dmxCreatePicture(), dmxCreatePixmap(), dmxCreateRootWindow(), dmxCreateWindow(), dmxCursorOffScreen(), dmxDestroyClip(), dmxDestroyColormap(), dmxDestroyGC(), dmxDestroyPicture(), dmxDestroyPictureClip(), dmxDestroyPixmap(), dmxDestroyWindow(), dmxDetachScreen(), dmxDoCreatePicture(), dmxDoRestackWindow(), dmxDoSetShape(), dmxFillPolygon(), dmxFindAlternatePixmap(), dmxFindFirstScreen(), dmxGetImage(), dmxGetScreenAttributes(), dmxImageText16(), dmxImageText8(), dmxInitOrigins(), dmxInitOverlap(), dmxInputAttachBackend(), dmxInputInit(), dmxInstallColormap(), dmxLookupVisual(), dmxLookupVisualFromID(), dmxMoveCursor(), dmxPictureInit(), dmxPolyArc(), dmxPolyFillArc(), dmxPolyFillRect(), dmxPolylines(), dmxPolyPoint(), dmxPolyRectangle(), dmxPolySegment(), dmxPolyText16(), dmxPolyText8(), dmxPositionWindow(), dmxProcRenderAddGlyphs(), dmxProcRenderCompositeGlyphs(), dmxProcRenderCreateGlyphSet(), dmxProcRenderFreeGlyphs(), dmxProcRenderFreeGlyphSet(), dmxProcRenderSetPictureFilter(), dmxProcRenderSetPictureTransform(), dmxProcSetFontPath(), dmxPropertyCheckOtherWindows(), dmxPutImage(), dmxRealizeCursor(), dmxRealizeFont(), dmxRealizeWindow(), dmxReInitOrigins(), dmxReparentWindow(), dmxResizeRootWindow(), dmxResizeScreenWindow(), dmxResizeWindow(), dmxRestackWindow(), dmxSaveScreen(), dmxScreenInit(), dmxSetCursor(), dmxSetShape(), dmxShadowUpdateProc(), dmxStatCallback(), dmxStoreColors(), dmxSyncCallback(), dmxTrapezoids(), dmxTriangles(), dmxTriFan(), dmxTriStrip(), dmxTryComputeScreenOrigins(), dmxUnrealizeCursor(), dmxUnrealizeFont(), dmxUnrealizeWindow(), dmxUpdateScreenResources(), dmxValidatePicture(), and dmxWindowExposures().

- -
-
- -
-
- - - - -
int dmxShadowFB = FALSE
-
-
-

Non-zero if using shadow frame-buffer (deprecated)

- -

Referenced by ddxProcessArgument(), dmxBECloseScreen(), dmxBEScreenInit(), dmxCloseScreen(), dmxCommonMouOn(), dmxPictureInit(), dmxScreenInit(), and InitOutput().

- -
-
- -
-
- - - - -
Bool dmxSubdividePrimitives = TRUE
-
-
-

True if using the primitive subdivision optimization

- -

Referenced by ddxProcessArgument(), and dmxPutImage().

- -
-
- -
-
- - - - -
Bool dmxUseXKB = TRUE
-
-
-

True if the XKB extension should be used with the backend servers

- -

Referenced by ddxProcessArgument(), and dmxCommonSaveState().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxinit_8h.html b/xorg-server/hw/dmx/doc/html/dmxinit_8h.html deleted file mode 100644 index b83e29690..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxinit_8h.html +++ /dev/null @@ -1,209 +0,0 @@ - - - - - File Index - - - - - -
-

dmxinit.h File Reference

#include "scrnintstr.h"
- -

Go to the source code of this file.

- - - - - - - - - -

Functions

Bool dmxOpenDisplay (DMXScreenInfo *dmxScreen)
void dmxSetErrorHandler (DMXScreenInfo *dmxScreen)
void dmxCheckForWM (DMXScreenInfo *dmxScreen)
void dmxGetScreenAttribs (DMXScreenInfo *dmxScreen)
Bool dmxGetVisualInfo (DMXScreenInfo *dmxScreen)
void dmxGetColormaps (DMXScreenInfo *dmxScreen)
void dmxGetPixmapFormats (DMXScreenInfo *dmxScreen)
-

Detailed Description

-

Interface for initialization.

-
See also:
dmxinit.c
-

Function Documentation

- -
-
- - - - - - - - - -
void dmxCheckForWM (DMXScreenInfo dmxScreen ) 
-
- -
- - - -
-
- - - - - - - - - -
void dmxGetPixmapFormats (DMXScreenInfo dmxScreen ) 
-
- -
- - - -
-
- - - - - - - - - -
Bool dmxGetVisualInfo (DMXScreenInfo dmxScreen ) 
-
- -
- -
-
- - - - - - - - - -
Bool dmxOpenDisplay (DMXScreenInfo dmxScreen ) 
-
- -
- -
-
- - - - - - - - - -
void dmxSetErrorHandler (DMXScreenInfo dmxScreen ) 
-
-
- -

References dmxErrorHandler().

- -

Referenced by dmxAttachScreen(), and dmxDisplayInit().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxinit_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxinit_8h_source.html deleted file mode 100644 index bb6ba7f8d..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxinit_8h_source.html +++ /dev/null @@ -1,83 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxinput_8c.html b/xorg-server/hw/dmx/doc/html/dmxinput_8c.html deleted file mode 100644 index d53bd7643..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxinput_8c.html +++ /dev/null @@ -1,215 +0,0 @@ - - - - - File Index - - - - - -
-

dmxinput.c File Reference

#include "dmx.h"
-#include "dmxlog.h"
-#include "dmxinput.h"
-#include "inputstr.h"
-#include "input.h"
-#include "mi.h"
- - - - - - - - -

Functions

Bool LegalModifier (unsigned int key, DeviceIntPtr pDev)
void InitInput (int argc, char **argv)
void ProcessInputEvents (void)
void dmxUpdateWindowInfo (DMXUpdateType type, WindowPtr pWindow)
int NewInputDeviceRequest (InputOption *options, DeviceIntPtr *pdev)
void DeleteInputDeviceRequest (DeviceIntPtr pDev)
-

Detailed Description

-

Provide the main entry points for input initialization and processing that arequired by the dix layer.

-

Function Documentation

- -
-
- - - - - - - - - -
void DeleteInputDeviceRequest (DeviceIntPtr  pDev ) 
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxUpdateWindowInfo (DMXUpdateType  type,
WindowPtr  pWindow 
)
-
-
-

This routine is called from dmxwindow.c whenever the layout of windows on the display might have changed. This information is used by input drivers (currently only the console driver) that provide information about window layout to the user.

- -

References _DMXInputInfo::detached, dmxInputs, dmxNumInputs, and _DMXInputInfo::updateWindowInfo.

- -

Referenced by dmxCopyWindow(), dmxRealizeWindow(), dmxReparentWindow(), dmxResizeWindow(), dmxRestackWindow(), and dmxUnrealizeWindow().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void InitInput (int  argc,
char **  argv 
)
-
-
-

Called from dix/main.c on each server generation to initialize inputs. All the work is done in dmxInputInit.

-
See also:
dmxInputInit()
- -

References dmxFatal, dmxInputInit(), dmxInputs, dmxLog(), and dmxNumInputs.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
Bool LegalModifier (unsigned int  key,
DeviceIntPtr  pDev 
)
-
-
-

Returns TRUE if the key is a valid modifier. For PC-class keyboards, all keys can be used as modifiers, so return TRUE always.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
int NewInputDeviceRequest (InputOption *  options,
DeviceIntPtr *  pdev 
)
-
-
- -
-
- -
-
- - - - - - - - - -
void ProcessInputEvents (void  ) 
-
-
-

Called from dix/dispatch.c in Dispatch() whenever input events require processing. All the work is done in the lower level routines.

- -

References _DMXInputInfo::detached, dmxInputs, dmxNumInputs, and _DMXInputInfo::processInputEvents.

- -

Referenced by dmxCoreMotion().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxinput_8h.html b/xorg-server/hw/dmx/doc/html/dmxinput_8h.html deleted file mode 100644 index d2c887e08..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxinput_8h.html +++ /dev/null @@ -1,591 +0,0 @@ - - - - - File Index - - - - - -
-

dmxinput.h File Reference

-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Data Structures

struct  _DMXInputInfo

Defines

#define DMX_MAX_SIGIO_FDS   4

Typedefs

typedef void(* ProcessInputEventsProc )(struct _DMXInputInfo *)
typedef void(* UpdateWindowInfoProc )(struct _DMXInputInfo *, DMXUpdateType, WindowPtr)
typedef struct _DMXLocalInputInfoDMXLocalInputInfoPtr

Enumerations

enum  DMXUpdateType {
-  DMX_UPDATE_REALIZE, -DMX_UPDATE_UNREALIZE, -DMX_UPDATE_RESTACK, -DMX_UPDATE_COPY, -
-  DMX_UPDATE_RESIZE, -DMX_UPDATE_REPARENT -
- }
enum  dmxSigioState { DMX_NOSIGIO = 0, -DMX_USESIGIO, -DMX_ACTIVESIGIO - }
enum  DMXBlockType { DMX_NO_BLOCK = 0, -DMX_BLOCK = 1 - }

Functions

void dmxInputInit (DMXInputInfo *dmxInput)
void dmxInputReInit (DMXInputInfo *dmxInput)
void dmxInputLateReInit (DMXInputInfo *dmxInput)
void dmxInputFree (DMXInputInfo *dmxInput)
void dmxInputLogDevices (void)
void dmxUpdateWindowInfo (DMXUpdateType type, WindowPtr pWindow)
void dmxeqSwitchScreen (DeviceIntPtr pDev, ScreenPtr pScreen, Bool fromDIX)
void dmxGetGlobalPosition (int *x, int *y)
DMXScreenInfodmxFindFirstScreen (int x, int y)
void dmxCoreMotion (DevicePtr pDev, int x, int y, int delta, DMXBlockType block)
DMXInputInfodmxConfigAddInput (const char *name, int core)

Variables

int dmxNumInputs
DMXInputInfodmxInputs
-

Detailed Description

-

This file provides access to:

-
    -
  • global variables available to all hw/dmx routines, and
  • -
  • enumerations and typedefs needed by input routines in hw/dmx (and hw/dmx/input).
  • -
-

The goal is that no files in hw/dmx should include header files from hw/dmx/input -- the interface defined here should be the only interface exported to the hw/dmx layer.

-
See also:
input/dmxinputinit.c.
-

Define Documentation

- -
-
- - - - -
#define DMX_MAX_SIGIO_FDS   4
-
-
-

Maximum number of file descriptors for SIGIO handling

- -

Referenced by dmxSigioRegister().

- -
-
-

Typedef Documentation

- -
-
- - - - -
typedef struct _DMXLocalInputInfo* DMXLocalInputInfoPtr
-
-
-

An opaque structure that is only exposed in the dmx/input layer.

- -
-
- -
-
- - - - -
typedef void(* ProcessInputEventsProc)(struct _DMXInputInfo *)
-
-
- -
-
- -
-
- - - - -
typedef void(* UpdateWindowInfoProc)(struct _DMXInputInfo *, DMXUpdateType, WindowPtr)
-
-
- -
-
-

Enumeration Type Documentation

- -
-
- - - - -
enum DMXBlockType
-
-
-
Enumerator:
- - -
DMX_NO_BLOCK  -
DMX_BLOCK  -
-
-
- -
-
- -
-
- - - - -
enum dmxSigioState
-
-
-

State of the SIGIO engine

-
Enumerator:
- - - -
DMX_NOSIGIO  -

Device does not use SIGIO at all.

-
DMX_USESIGIO  -

Device can use SIGIO, but is not (e.g., because the VT is switch away).

-
DMX_ACTIVESIGIO  -

Device is currently using SIGIO.

-
-
-
- -
-
- -
-
- - - - -
enum DMXUpdateType
-
-
-

Reason why window layout was updated.

-
Enumerator:
- - - - - - -
DMX_UPDATE_REALIZE  -

Window realized

-
DMX_UPDATE_UNREALIZE  -

Window unrealized

-
DMX_UPDATE_RESTACK  -

Stacking order changed

-
DMX_UPDATE_COPY  -

Window copied

-
DMX_UPDATE_RESIZE  -

Window resized

-
DMX_UPDATE_REPARENT  -

Window reparented

-
-
-
- -
-
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
DMXInputInfo* dmxConfigAddInput (const char *  name,
int  core 
)
-
- -
- - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxeqSwitchScreen (DeviceIntPtr  pDev,
ScreenPtr  pScreen,
Bool  fromDIX 
)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
DMXScreenInfo* dmxFindFirstScreen (int  x,
int  y 
)
-
-
- -

References dmxNumScreens, dmxOnScreen(), and dmxScreens.

- -

Referenced by dmxCheckCursor(), and dmxCoreMotion().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxGetGlobalPosition (int *  x,
int *  y 
)
-
-
-

Return DMX's notion of the pointer position in the global coordinate space.

- -

References dmxGlobalX, and dmxGlobalY.

- -

Referenced by dmxBackendLateReInit(), dmxCheckCursor(), dmxConsoleUpdateFineCursor(), dmxHideCursor(), and dmxSetCursor().

- -
-
- -
-
- - - - - - - - - -
void dmxInputFree (DMXInputInfo dmxInput ) 
-
- -
- - - -
-
- - - - - - - - - -
void dmxInputLateReInit (DMXInputInfo dmxInput ) 
-
-
-

Re-initialize all the devices described in dmxInput. Called from dmxAdjustCursorBoundaries after the cursor is redisplayed.

- -

References _DMXInputInfo::devs, _DMXLocalInputInfo::latereinit, _DMXInputInfo::numDevs, and _DMXLocalInputInfo::pDevice.

- -

Referenced by dmxAdjustCursorBoundaries().

- -
-
- - - -
-
- - - - - - - - - -
void dmxInputReInit (DMXInputInfo dmxInput ) 
-
-
-

Re-initialize all the devices described in dmxInput. Called from dmxAdjustCursorBoundaries before the cursor is redisplayed.

- -

References _DMXInputInfo::devs, _DMXInputInfo::numDevs, _DMXLocalInputInfo::pDevice, and _DMXLocalInputInfo::reinit.

- -

Referenced by dmxAdjustCursorBoundaries().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxUpdateWindowInfo (DMXUpdateType  type,
WindowPtr  pWindow 
)
-
-
-

This routine is called from dmxwindow.c whenever the layout of windows on the display might have changed. This information is used by input drivers (currently only the console driver) that provide information about window layout to the user.

- -

References _DMXInputInfo::detached, dmxInputs, dmxNumInputs, and _DMXInputInfo::updateWindowInfo.

- -

Referenced by dmxCopyWindow(), dmxRealizeWindow(), dmxReparentWindow(), dmxResizeWindow(), dmxRestackWindow(), and dmxUnrealizeWindow().

- -
-
-

Variable Documentation

- - - - -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxinput_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxinput_8h_source.html deleted file mode 100644 index 931bb12cb..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxinput_8h_source.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxinputinit_8c.html b/xorg-server/hw/dmx/doc/html/dmxinputinit_8c.html deleted file mode 100644 index d2e4953ea..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxinputinit_8c.html +++ /dev/null @@ -1,1463 +0,0 @@ - - - - - File Index - - - - - -
-

dmxinputinit.c File Reference

#include "dmxinputinit.h"
-#include "dmxextension.h"
-#include "dmxdummy.h"
-#include "dmxbackend.h"
-#include "dmxconsole.h"
-#include "dmxcommon.h"
-#include "dmxevents.h"
-#include "dmxmotion.h"
-#include "dmxprop.h"
-#include "config/dmxconfig.h"
-#include "dmxcursor.h"
-#include "lnx-keyboard.h"
-#include "lnx-ms.h"
-#include "lnx-ps2.h"
-#include "usb-keyboard.h"
-#include "usb-mouse.h"
-#include "usb-other.h"
-#include "usb-common.h"
-#include "dmxsigio.h"
-#include "dmxarg.h"
-#include "inputstr.h"
-#include "input.h"
-#include "mipointer.h"
-#include "windowstr.h"
-#include "mi.h"
-#include "xkbsrv.h"
-#include <X11/extensions/XI.h>
-#include <X11/extensions/XIproto.h>
-#include "exevents.h"
-#include "extinit.h"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Defines

#define DMX_WINDOW_DEBUG   0
#define LEN   32

Functions

void DDXRingBell (int volume, int pitch, int duration)
static void dmxKbdCtrl (DeviceIntPtr pDevice, KeybdCtrl *ctrl)
static void dmxBell (int volume, DeviceIntPtr pDev, pointer arg, int something)
static void _dmxChangePointerControl (DMXLocalInputInfoPtr dmxLocal, PtrCtrl *ctrl)
void dmxChangePointerControl (DeviceIntPtr pDevice, PtrCtrl *ctrl)
static void _dmxKeyboardKbdCtrlProc (DMXLocalInputInfoPtr dmxLocal, KeybdCtrl *ctrl)
void dmxKeyboardKbdCtrlProc (DeviceIntPtr pDevice, KeybdCtrl *ctrl)
static void _dmxKeyboardBellProc (DMXLocalInputInfoPtr dmxLocal, int percent)
void dmxKeyboardBellProc (int percent, DeviceIntPtr pDevice, pointer ctrl, int unknown)
static void dmxKeyboardFreeNames (XkbComponentNamesPtr names)
static int dmxKeyboardOn (DeviceIntPtr pDevice, DMXLocalInitInfo *info)
static int dmxDeviceOnOff (DeviceIntPtr pDevice, int what)
static void dmxProcessInputEvents (DMXInputInfo *dmxInput)
static void dmxUpdateWindowInformation (DMXInputInfo *dmxInput, DMXUpdateType type, WindowPtr pWindow)
static void dmxCollectAll (DMXInputInfo *dmxInput)
static void dmxBlockHandler (pointer blockData, OSTimePtr pTimeout, pointer pReadMask)
static void dmxSwitchReturn (pointer p)
static void dmxWakeupHandler (pointer blockData, int result, pointer pReadMask)
static char * dmxMakeUniqueDeviceName (DMXLocalInputInfoPtr dmxLocal)
static DeviceIntPtr dmxAddDevice (DMXLocalInputInfoPtr dmxLocal)
static DMXLocalInputInfoPtr dmxLookupLocal (const char *name)
DMXLocalInputInfoPtr dmxInputCopyLocal (DMXInputInfo *dmxInput, DMXLocalInputInfoPtr s)
static void dmxPopulateLocal (DMXInputInfo *dmxInput, dmxArg a)
int dmxInputExtensionErrorHandler (Display *dsp, char *name, char *reason)
static void dmxInputScanForExtensions (DMXInputInfo *dmxInput, int doXI)
void dmxInputReInit (DMXInputInfo *dmxInput)
void dmxInputLateReInit (DMXInputInfo *dmxInput)
void dmxInputInit (DMXInputInfo *dmxInput)
static void dmxInputFreeLocal (DMXLocalInputInfoRec *local)
void dmxInputFree (DMXInputInfo *dmxInput)
void dmxInputLogDevices (void)
int dmxInputDetach (DMXInputInfo *dmxInput)
void dmxInputDetachAll (DMXScreenInfo *dmxScreen)
int dmxInputDetachId (int id)
DMXInputInfodmxInputLocateId (int id)
static int dmxInputAttachNew (DMXInputInfo *dmxInput, int *id)
static int dmxInputAttachOld (DMXInputInfo *dmxInput, int *id)
int dmxInputAttachConsole (const char *name, int isCore, int *id)
int dmxInputAttachBackend (int physicalScreen, int isCore, int *id)

Variables

DMXLocalInputInfoPtr dmxLocalCorePointer
DMXLocalInputInfoPtr dmxLocalCoreKeyboard
static DMXLocalInputInfoRec DMXDummyMou
static DMXLocalInputInfoRec DMXDummyKbd
static DMXLocalInputInfoRec DMXBackendMou
static DMXLocalInputInfoRec DMXBackendKbd
static DMXLocalInputInfoRec DMXConsoleMou
static DMXLocalInputInfoRec DMXConsoleKbd
static DMXLocalInputInfoRec DMXCommonOth
static DMXLocalInputInfoRec DMXLocalDevices []
-

Detailed Description

-

This file provides generic input support. Functions here set up input and lead to the calling of low-level device drivers for input.

-

Define Documentation

- -
-
- - - - -
#define DMX_WINDOW_DEBUG   0
-
-
- -
-
- -
-
- - - - -
#define LEN   32
-
-
- -

Referenced by dmxMakeUniqueDeviceName().

- -
-
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
static void _dmxChangePointerControl (DMXLocalInputInfoPtr  dmxLocal,
PtrCtrl *  ctrl 
) [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
static void _dmxKeyboardBellProc (DMXLocalInputInfoPtr  dmxLocal,
int  percent 
) [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
static void _dmxKeyboardKbdCtrlProc (DMXLocalInputInfoPtr  dmxLocal,
KeybdCtrl *  ctrl 
) [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void DDXRingBell (int  volume,
int  pitch,
int  duration 
)
-
-
- -
-
- - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
static void dmxBell (int  volume,
DeviceIntPtr  pDev,
pointer  arg,
int  something 
) [static]
-
-
- -

Referenced by dmxDeviceOnOff().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
static void dmxBlockHandler (pointer  blockData,
OSTimePtr  pTimeout,
pointer  pReadMask 
) [static]
-
-
- -

References dmxCollectAll(), and dmxInputs.

- -

Referenced by dmxInputInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxChangePointerControl (DeviceIntPtr  pDevice,
PtrCtrl *  ctrl 
)
-
-
-

Change the pointer control information for the pDevice. If the device sends core events, then also change the control information for all of the pointer devices that send core events.

- -

References _dmxChangePointerControl(), _DMXInputInfo::detached, _DMXInputInfo::devs, dmxInputs, dmxNumInputs, GETDMXLOCALFROMPDEVICE, _DMXInputInfo::numDevs, and _DMXLocalInputInfo::sendsCore.

- -

Referenced by dmxDeviceOnOff().

- -
-
- - - - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
int dmxInputAttachBackend (int  physicalScreen,
int  isCore,
int *  id 
)
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
int dmxInputAttachConsole (const char *  name,
int  isCore,
int *  id 
)
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
static int dmxInputAttachNew (DMXInputInfo dmxInput,
int *  id 
) [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
static int dmxInputAttachOld (DMXInputInfo dmxInput,
int *  id 
) [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
DMXLocalInputInfoPtr dmxInputCopyLocal (DMXInputInfo dmxInput,
DMXLocalInputInfoPtr  s 
)
-
- -
- - - -
-
- - - - - - - - - -
void dmxInputDetachAll (DMXScreenInfo dmxScreen ) 
-
-
-

Search for input associated with dmxScreen, and detach.

- -

References dmxInputDetach(), dmxInputs, dmxNumInputs, _DMXScreenInfo::index, and _DMXInputInfo::scrnIdx.

- -

Referenced by dmxDetachScreen().

- -
-
- -
-
- - - - - - - - - -
int dmxInputDetachId (int  id ) 
-
-
-

Search for input associated with deviceId, and detach.

- -

References dmxInputDetach(), and dmxInputLocateId().

- -

Referenced by dmxRemoveInput().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
int dmxInputExtensionErrorHandler (Display *  dsp,
char *  name,
char *  reason 
)
-
- -
- -
-
- - - - - - - - - -
void dmxInputFree (DMXInputInfo dmxInput ) 
-
- -
- - - - - -
-
- - - - - - - - - -
void dmxInputLateReInit (DMXInputInfo dmxInput ) 
-
-
-

Re-initialize all the devices described in dmxInput. Called from dmxAdjustCursorBoundaries after the cursor is redisplayed.

- -

References _DMXInputInfo::devs, _DMXLocalInputInfo::latereinit, _DMXInputInfo::numDevs, and _DMXLocalInputInfo::pDevice.

- -

Referenced by dmxAdjustCursorBoundaries().

- -
-
- -
-
- - - - - - - - - -
DMXInputInfo* dmxInputLocateId (int  id ) 
-
- -
- - - -
-
- - - - - - - - - -
void dmxInputReInit (DMXInputInfo dmxInput ) 
-
-
-

Re-initialize all the devices described in dmxInput. Called from dmxAdjustCursorBoundaries before the cursor is redisplayed.

- -

References _DMXInputInfo::devs, _DMXInputInfo::numDevs, _DMXLocalInputInfo::pDevice, and _DMXLocalInputInfo::reinit.

- -

Referenced by dmxAdjustCursorBoundaries().

- -
-
- - - -
-
- - - - - - - - - - - - - - - - - - -
static void dmxKbdCtrl (DeviceIntPtr  pDevice,
KeybdCtrl *  ctrl 
) [static]
-
-
- -

Referenced by dmxDeviceOnOff().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxKeyboardBellProc (int  percent,
DeviceIntPtr  pDevice,
pointer  ctrl,
int  unknown 
)
-
-
-

Sound the bell on the device. If the device send core events, then sound the bell on all of the devices that send core events.

- -

References _dmxKeyboardBellProc(), _DMXInputInfo::detached, _DMXInputInfo::devs, dmxInputs, dmxNumInputs, GETDMXLOCALFROMPDEVICE, _DMXInputInfo::numDevs, and _DMXLocalInputInfo::sendsCore.

- -

Referenced by dmxKeyboardOn().

- -
-
- -
-
- - - - - - - - - -
static void dmxKeyboardFreeNames (XkbComponentNamesPtr  names )  [static]
-
-
- -

Referenced by dmxKeyboardOn().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxKeyboardKbdCtrlProc (DeviceIntPtr  pDevice,
KeybdCtrl *  ctrl 
)
-
-
-

Change the keyboard control information for the pDevice. If the device sends core events, then also change the control information for all of the keyboard devices that send core events.

- -

References _dmxKeyboardKbdCtrlProc(), _DMXInputInfo::detached, _DMXInputInfo::devs, dmxInputs, dmxNumInputs, GETDMXLOCALFROMPDEVICE, _DMXInputInfo::numDevs, and _DMXLocalInputInfo::sendsCore.

- -

Referenced by dmxKeyboardOn().

- -
-
- - - -
-
- - - - - - - - - -
static DMXLocalInputInfoPtr dmxLookupLocal (const char *  name )  [static]
-
-
- -

References _DMXLocalInputInfo::name.

- -

Referenced by dmxPopulateLocal().

- -
-
- -
-
- - - - - - - - - -
static char* dmxMakeUniqueDeviceName (DMXLocalInputInfoPtr  dmxLocal )  [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
static void dmxPopulateLocal (DMXInputInfo dmxInput,
dmxArg  a 
) [static]
-
- -
- -
-
- - - - - - - - - -
static void dmxProcessInputEvents (DMXInputInfo dmxInput )  [static]
-
- -
- -
-
- - - - - - - - - -
static void dmxSwitchReturn (pointer  p )  [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
static void dmxUpdateWindowInformation (DMXInputInfo dmxInput,
DMXUpdateType  type,
WindowPtr  pWindow 
) [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
static void dmxWakeupHandler (pointer  blockData,
int  result,
pointer  pReadMask 
) [static]
-
- -
-

Variable Documentation

- -
-
- - - - -
DMXLocalInputInfoRec DMXBackendKbd [static]
-
-
-Initial value:
 {
-    "backend-kbd", DMX_LOCAL_KEYBOARD, DMX_LOCAL_TYPE_BACKEND,
-    1, 
-    dmxCommonCopyPrivate, NULL,
-    dmxBackendInit, NULL, NULL, dmxBackendKbdGetInfo,
-    dmxCommonKbdOn, dmxCommonKbdOff, NULL,
-    NULL, NULL, NULL,
-    NULL, NULL, NULL, NULL,
-    NULL, dmxCommonKbdCtrl, dmxCommonKbdBell
-}
-
-
-
- - - -
-
- - - - -
DMXLocalInputInfoRec DMXCommonOth [static]
-
-
-Initial value: -
-
- -
-
- - - - -
DMXLocalInputInfoRec DMXConsoleKbd [static]
-
-
-Initial value:
 {
-    "console-kbd", DMX_LOCAL_KEYBOARD, DMX_LOCAL_TYPE_CONSOLE,
-    1, 
-    dmxCommonCopyPrivate, NULL,
-    dmxConsoleInit, dmxConsoleReInit, NULL, dmxConsoleKbdGetInfo,
-    dmxCommonKbdOn, dmxCommonKbdOff, NULL,
-    NULL, NULL, NULL,
-    NULL, NULL, NULL, NULL,
-    NULL, dmxCommonKbdCtrl, dmxCommonKbdBell
-}
-
-
-
- - - -
-
- - - - -
DMXLocalInputInfoRec DMXDummyKbd [static]
-
-
-Initial value:
 {
-    "dummy-kbd", DMX_LOCAL_KEYBOARD, DMX_LOCAL_TYPE_LOCAL, 1,
-    NULL, NULL, NULL, NULL, NULL, dmxDummyKbdGetInfo
-}
-
-
-
- -
-
- - - - -
DMXLocalInputInfoRec DMXDummyMou [static]
-
-
-Initial value:
 {
-    "dummy-mou", DMX_LOCAL_MOUSE, DMX_LOCAL_TYPE_LOCAL, 1,
-    NULL, NULL, NULL, NULL, NULL, dmxDummyMouGetInfo
-}
-
-
-
- - - - - -
-
- - - - -
DMXLocalInputInfoRec DMXLocalDevices[] [static]
-
-
- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxinputinit_8h.html b/xorg-server/hw/dmx/doc/html/dmxinputinit_8h.html deleted file mode 100644 index fcd892e9d..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxinputinit_8h.html +++ /dev/null @@ -1,1096 +0,0 @@ - - - - - File Index - - - - - -
-

dmxinputinit.h File Reference

#include "dmx.h"
-#include "dmxinput.h"
-#include "dmxlog.h"
- -

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Data Structures

struct  _DMXLocalInitInfo
struct  _DMXEventMap
struct  _DMXLocalInputInfo

Defines

#define DMX_LOCAL_DEFAULT_KEYBOARD   "kbd"
#define DMX_LOCAL_DEFAULT_POINTER   "ps2"
#define DMX_MAX_BUTTONS   256
#define DMX_MOTION_SIZE   256
#define DMX_MAX_VALUATORS   32
#define DMX_MAX_AXES   32
#define DMX_MAX_XINPUT_EVENT_TYPES   100
#define DMX_MAP_ENTRIES   16
#define DMX_MAP_MASK   (DMX_MAP_ENTRIES - 1)

Typedefs

typedef struct _DMXLocalInitInfo DMXLocalInitInfo
typedef struct _DMXLocalInitInfoDMXLocalInitInfoPtr
typedef pointer(* dmxCreatePrivateProcPtr )(DeviceIntPtr)
typedef void(* dmxDestroyPrivateProcPtr )(pointer)
typedef void(* dmxInitProcPtr )(DevicePtr)
typedef void(* dmxReInitProcPtr )(DevicePtr)
typedef void(* dmxLateReInitProcPtr )(DevicePtr)
typedef void(* dmxGetInfoProcPtr )(DevicePtr, DMXLocalInitInfoPtr)
typedef int(* dmxOnProcPtr )(DevicePtr)
typedef void(* dmxOffProcPtr )(DevicePtr)
typedef void(* dmxUpdatePositionProcPtr )(pointer, int x, int y)
typedef void(* dmxVTPreSwitchProcPtr )(pointer)
typedef void(* dmxVTPostSwitchProcPtr )(pointer)
typedef void(* dmxVTSwitchReturnProcPtr )(pointer)
typedef int(* dmxVTSwitchProcPtr )(pointer, int vt, dmxVTSwitchReturnProcPtr, pointer)
typedef void(* dmxMotionProcPtr )(DevicePtr, int *valuators, int firstAxis, int axesCount, DMXMotionType type, DMXBlockType block)
typedef void(* dmxEnqueueProcPtr )(DevicePtr, int type, int detail, KeySym keySym, XEvent *e, DMXBlockType block)
typedef int(* dmxCheckSpecialProcPtr )(DevicePtr, KeySym keySym)
typedef void(* dmxCollectEventsProcPtr )(DevicePtr, dmxMotionProcPtr, dmxEnqueueProcPtr, dmxCheckSpecialProcPtr, DMXBlockType)
typedef void(* dmxProcessInputProcPtr )(pointer)
typedef void(* dmxUpdateInfoProcPtr )(pointer, DMXUpdateType, WindowPtr)
typedef int(* dmxFunctionsProcPtr )(pointer, DMXFunctionType)
typedef void(* dmxKBCtrlProcPtr )(DevicePtr, KeybdCtrl *ctrl)
typedef void(* dmxMCtrlProcPtr )(DevicePtr, PtrCtrl *ctrl)
typedef void(* dmxKBBellProcPtr )(DevicePtr, int percent, int volume, int pitch, int duration)
typedef struct _DMXEventMap DMXEventMap
typedef struct _DMXLocalInputInfo DMXLocalInputInfoRec

Enumerations

enum  DMXFunctionType { DMX_FUNCTION_GRAB, -DMX_FUNCTION_TERMINATE, -DMX_FUNCTION_FINE - }
enum  DMXLocalInputType { DMX_LOCAL_HIGHLEVEL, -DMX_LOCAL_KEYBOARD, -DMX_LOCAL_MOUSE, -DMX_LOCAL_OTHER - }
enum  DMXLocalInputExtType { DMX_LOCAL_TYPE_LOCAL, -DMX_LOCAL_TYPE_CONSOLE, -DMX_LOCAL_TYPE_BACKEND, -DMX_LOCAL_TYPE_COMMON - }
enum  DMXMotionType { DMX_RELATIVE, -DMX_ABSOLUTE, -DMX_ABSOLUTE_CONFINED - }

Functions

void dmxLocalInitInput (DMXInputInfo *dmxInput)
DMXLocalInputInfoPtr dmxInputCopyLocal (DMXInputInfo *dmxInput, DMXLocalInputInfoPtr s)
void dmxChangePointerControl (DeviceIntPtr pDevice, PtrCtrl *ctrl)
void dmxKeyboardKbdCtrlProc (DeviceIntPtr pDevice, KeybdCtrl *ctrl)
void dmxKeyboardBellProc (int percent, DeviceIntPtr pDevice, pointer ctrl, int unknown)
int dmxInputExtensionErrorHandler (Display *dsp, char *name, char *reason)
int dmxInputDetach (DMXInputInfo *dmxInput)
void dmxInputDetachAll (DMXScreenInfo *dmxScreen)
int dmxInputDetachId (int id)
DMXInputInfodmxInputLocateId (int id)
int dmxInputAttachConsole (const char *name, int isCore, int *id)
int dmxInputAttachBackend (int physicalScreen, int isCore, int *id)

Variables

DMXLocalInputInfoPtr dmxLocalCorePointer
DMXLocalInputInfoPtr dmxLocalCoreKeyboard
-

Detailed Description

-

Interface for low-level input support.

-
See also:
dmxinputinit.c
-

Define Documentation

- -
-
- - - - -
#define DMX_LOCAL_DEFAULT_KEYBOARD   "kbd"
-
-
- -
-
- -
-
- - - - -
#define DMX_LOCAL_DEFAULT_POINTER   "ps2"
-
-
- -
-
- -
-
- - - - -
#define DMX_MAP_ENTRIES   16
-
-
- -

Referenced by dmxMapClear(), dmxMapInsert(), and dmxMapLookup().

- -
-
- -
-
- - - - -
#define DMX_MAP_MASK   (DMX_MAP_ENTRIES - 1)
-
-
- -

Referenced by dmxMapInsert(), and dmxMapLookup().

- -
-
- -
-
- - - - -
#define DMX_MAX_AXES   32
-
-
- -
-
- -
-
- - - - -
#define DMX_MAX_BUTTONS   256
-
-
- -

Referenced by dmxCommonMouGetMap().

- -
-
- -
-
- - - - -
#define DMX_MAX_VALUATORS   32
-
-
- -
-
- -
-
- - - - -
#define DMX_MAX_XINPUT_EVENT_TYPES   100
-
-
- -

Referenced by dmxCommonOthOn().

- -
-
- -
-
- - - - -
#define DMX_MOTION_SIZE   256
-
- -
-

Typedef Documentation

- -
-
- - - - -
typedef int(* dmxCheckSpecialProcPtr)(DevicePtr, KeySym keySym)
-
-
- -
-
- - - -
-
- - - - -
typedef pointer(* dmxCreatePrivateProcPtr)(DeviceIntPtr)
-
-
- -
-
- -
-
- - - - -
typedef void(* dmxDestroyPrivateProcPtr)(pointer)
-
-
- -
-
- -
-
- - - - -
typedef void(* dmxEnqueueProcPtr)(DevicePtr, int type, int detail, KeySym keySym, XEvent *e, DMXBlockType block)
-
-
- -
-
- -
-
- - - - -
typedef struct _DMXEventMap DMXEventMap
-
-
-

Stores a mapping between the device id on the remote X server and the id on the DMX server

- -
-
- -
-
- - - - -
typedef int(* dmxFunctionsProcPtr)(pointer, DMXFunctionType)
-
-
- -
-
- -
-
- - - - -
typedef void(* dmxGetInfoProcPtr)(DevicePtr, DMXLocalInitInfoPtr)
-
-
- -
-
- -
-
- - - - -
typedef void(* dmxInitProcPtr)(DevicePtr)
-
-
- -
-
- -
-
- - - - -
typedef void(* dmxKBBellProcPtr)(DevicePtr, int percent, int volume, int pitch, int duration)
-
-
- -
-
- -
-
- - - - -
typedef void(* dmxKBCtrlProcPtr)(DevicePtr, KeybdCtrl *ctrl)
-
-
- -
-
- -
-
- - - - -
typedef void(* dmxLateReInitProcPtr)(DevicePtr)
-
-
- -
-
- -
-
- - - - -
typedef struct _DMXLocalInitInfo DMXLocalInitInfo
-
-
-

Stores information from low-level device that is used to initialize the device at the dix level.

- -
-
- -
-
- - - - -
typedef struct _DMXLocalInitInfo * DMXLocalInitInfoPtr
-
-
- -
-
- -
-
- - - - -
typedef struct _DMXLocalInputInfo DMXLocalInputInfoRec
-
-
-

This is the device-independent structure used by the low-level input routines. The contents are not exposed to top-level .c files (except dmxextensions.c).

-
See also:
dmxinput.h
-
-dmxextensions.c
- -
-
- -
-
- - - - -
typedef void(* dmxMCtrlProcPtr)(DevicePtr, PtrCtrl *ctrl)
-
-
- -
-
- -
-
- - - - -
typedef void(* dmxMotionProcPtr)(DevicePtr, int *valuators, int firstAxis, int axesCount, DMXMotionType type, DMXBlockType block)
-
-
- -
-
- -
-
- - - - -
typedef void(* dmxOffProcPtr)(DevicePtr)
-
-
- -
-
- -
-
- - - - -
typedef int(* dmxOnProcPtr)(DevicePtr)
-
-
- -
-
- -
-
- - - - -
typedef void(* dmxProcessInputProcPtr)(pointer)
-
-
- -
-
- -
-
- - - - -
typedef void(* dmxReInitProcPtr)(DevicePtr)
-
-
- -
-
- -
-
- - - - -
typedef void(* dmxUpdateInfoProcPtr)(pointer, DMXUpdateType, WindowPtr)
-
-
- -
-
- -
-
- - - - -
typedef void(* dmxUpdatePositionProcPtr)(pointer, int x, int y)
-
-
- -
-
- -
-
- - - - -
typedef void(* dmxVTPostSwitchProcPtr)(pointer)
-
-
- -
-
- -
-
- - - - -
typedef void(* dmxVTPreSwitchProcPtr)(pointer)
-
-
- -
-
- -
-
- - - - -
typedef int(* dmxVTSwitchProcPtr)(pointer, int vt, dmxVTSwitchReturnProcPtr, pointer)
-
-
- -
-
- -
-
- - - - -
typedef void(* dmxVTSwitchReturnProcPtr)(pointer)
-
-
- -
-
-

Enumeration Type Documentation

- -
-
- - - - -
enum DMXFunctionType
-
-
-
Enumerator:
- - - -
DMX_FUNCTION_GRAB  -
DMX_FUNCTION_TERMINATE  -
DMX_FUNCTION_FINE  -
-
-
- -
-
- -
-
- - - - -
enum DMXLocalInputExtType
-
-
-
Enumerator:
- - - - -
DMX_LOCAL_TYPE_LOCAL  -
DMX_LOCAL_TYPE_CONSOLE  -
DMX_LOCAL_TYPE_BACKEND  -
DMX_LOCAL_TYPE_COMMON  -
-
-
- -
-
- -
-
- - - - -
enum DMXLocalInputType
-
-
-
Enumerator:
- - - - -
DMX_LOCAL_HIGHLEVEL  -
DMX_LOCAL_KEYBOARD  -
DMX_LOCAL_MOUSE  -
DMX_LOCAL_OTHER  -
-
-
- -
-
- -
-
- - - - -
enum DMXMotionType
-
-
-
Enumerator:
- - - -
DMX_RELATIVE  -
DMX_ABSOLUTE  -
DMX_ABSOLUTE_CONFINED  -
-
-
- -
-
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
void dmxChangePointerControl (DeviceIntPtr  pDevice,
PtrCtrl *  ctrl 
)
-
-
-

Change the pointer control information for the pDevice. If the device sends core events, then also change the control information for all of the pointer devices that send core events.

- -

References _dmxChangePointerControl(), _DMXInputInfo::detached, _DMXInputInfo::devs, dmxInputs, dmxNumInputs, GETDMXLOCALFROMPDEVICE, _DMXInputInfo::numDevs, and _DMXLocalInputInfo::sendsCore.

- -

Referenced by dmxDeviceOnOff().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
int dmxInputAttachBackend (int  physicalScreen,
int  isCore,
int *  id 
)
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
int dmxInputAttachConsole (const char *  name,
int  isCore,
int *  id 
)
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
DMXLocalInputInfoPtr dmxInputCopyLocal (DMXInputInfo dmxInput,
DMXLocalInputInfoPtr  s 
)
-
- -
- - - -
-
- - - - - - - - - -
void dmxInputDetachAll (DMXScreenInfo dmxScreen ) 
-
-
-

Search for input associated with dmxScreen, and detach.

- -

References dmxInputDetach(), dmxInputs, dmxNumInputs, _DMXScreenInfo::index, and _DMXInputInfo::scrnIdx.

- -

Referenced by dmxDetachScreen().

- -
-
- -
-
- - - - - - - - - -
int dmxInputDetachId (int  id ) 
-
-
-

Search for input associated with deviceId, and detach.

- -

References dmxInputDetach(), and dmxInputLocateId().

- -

Referenced by dmxRemoveInput().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
int dmxInputExtensionErrorHandler (Display *  dsp,
char *  name,
char *  reason 
)
-
- -
- -
-
- - - - - - - - - -
DMXInputInfo* dmxInputLocateId (int  id ) 
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxKeyboardBellProc (int  percent,
DeviceIntPtr  pDevice,
pointer  ctrl,
int  unknown 
)
-
-
-

Sound the bell on the device. If the device send core events, then sound the bell on all of the devices that send core events.

- -

References _dmxKeyboardBellProc(), _DMXInputInfo::detached, _DMXInputInfo::devs, dmxInputs, dmxNumInputs, GETDMXLOCALFROMPDEVICE, _DMXInputInfo::numDevs, and _DMXLocalInputInfo::sendsCore.

- -

Referenced by dmxKeyboardOn().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxKeyboardKbdCtrlProc (DeviceIntPtr  pDevice,
KeybdCtrl *  ctrl 
)
-
-
-

Change the keyboard control information for the pDevice. If the device sends core events, then also change the control information for all of the keyboard devices that send core events.

- -

References _dmxKeyboardKbdCtrlProc(), _DMXInputInfo::detached, _DMXInputInfo::devs, dmxInputs, dmxNumInputs, GETDMXLOCALFROMPDEVICE, _DMXInputInfo::numDevs, and _DMXLocalInputInfo::sendsCore.

- -

Referenced by dmxKeyboardOn().

- -
-
- -
-
- - - - - - - - - -
void dmxLocalInitInput (DMXInputInfo dmxInput ) 
-
-
- -
-
-

Variable Documentation

- - - - -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxinputinit_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxinputinit_8h_source.html deleted file mode 100644 index c7f7c1319..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxinputinit_8h_source.html +++ /dev/null @@ -1,269 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxlog_8c.html b/xorg-server/hw/dmx/doc/html/dmxlog_8c.html deleted file mode 100644 index b9c072bfb..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxlog_8c.html +++ /dev/null @@ -1,632 +0,0 @@ - - - - - File Index - - - - - -
-

dmxlog.c File Reference

#include "dmx.h"
-#include "dmxlog.h"
-#include "dmxinput.h"
-#include <X11/extensions/XI.h>
-#include <X11/extensions/XIproto.h>
- - - - - - - - - - - - - - - - - - - - - -

Functions

dmxLogLevel dmxSetLogLevel (dmxLogLevel newLevel)
dmxLogLevel dmxGetLogLevel (void)
void AbortServer (void)
static void VFatalError (const char *format, va_list args)
static void dmxHeader (dmxLogLevel logLevel, DMXInputInfo *dmxInput, DMXScreenInfo *dmxScreen)
static void dmxMessage (dmxLogLevel logLevel, const char *format, va_list args)
void dmxLog (dmxLogLevel logLevel, const char *format,...)
void dmxLogCont (dmxLogLevel logLevel, const char *format,...)
void dmxLogOutput (DMXScreenInfo *dmxScreen, const char *format,...)
void dmxLogOutputCont (DMXScreenInfo *dmxScreen, const char *format,...)
void dmxLogOutputWarning (DMXScreenInfo *dmxScreen, const char *format,...)
void dmxLogInput (DMXInputInfo *dmxInput, const char *format,...)
void dmxLogInputCont (DMXInputInfo *dmxInput, const char *format,...)
void dmxLogArgs (dmxLogLevel logLevel, int argc, char **argv)
void dmxLogVisual (DMXScreenInfo *dmxScreen, XVisualInfo *vi, int defaultVisual)
const char * dmxXInputEventName (int type)
const char * dmxEventName (int type)

Variables

static dmxLogLevel dmxCurrentLogLevel = dmxDebug
-

Detailed Description

-

This file encapsulated all of the logging functions that are used by DMX for informational, warning, and error messages.

-

Function Documentation

- -
-
- - - - - - - - - -
void AbortServer (void  ) 
-
-
-

This function was removed between XFree86 4.3.0 and XFree86 4.4.0.

- -

Referenced by VFatalError().

- -
-
- -
-
- - - - - - - - - -
const char* dmxEventName (int  type ) 
-
-
-

Translate an event type into a human-readable string.

- -

Referenced by dmxConsoleUpdateFineCursor(), dmxDump(), and dmxEnqueue().

- -
-
- -
-
- - - - - - - - - -
dmxLogLevel dmxGetLogLevel (void  ) 
-
-
-

Returns the log level set by dmxLogLevel.

- -

References dmxCurrentLogLevel.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
static void dmxHeader (dmxLogLevel  logLevel,
DMXInputInfo dmxInput,
DMXScreenInfo dmxScreen 
) [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxLog (dmxLogLevel  logLevel,
const char *  format,
  ... 
)
-
-
-

Log the specified message at the specified logLevel. format can be a printf-like format expression.

- -

References dmxHeader(), and dmxMessage().

- -

Referenced by ddxProcessArgument(), dmxAddDevice(), dmxAttachScreen(), dmxBackendCollectEvents(), dmxBackendInitPrivate(), dmxBECreateColormap(), dmxBECreateCursor(), dmxBELoadFont(), dmxBERestorePixmap(), dmxBERestoreRenderGlyph(), dmxBESavePixmap(), dmxCheckFunctionKeys(), dmxCheckSpecialKeys(), dmxCommonOthOn(), dmxCommonRestoreState(), dmxComputeWidthHeight(), dmxConfigAddDisplay(), dmxConfigAddInput(), dmxConfigConfigure(), dmxConfigCopyData(), dmxConfigCopyFromWall(), dmxConfigFromCommandLine(), dmxConfigFromConfigFile(), dmxConfigReadFile(), dmxConfigStoreConfig(), dmxConfigStoreDisplay(), dmxConfigStoreFile(), dmxConfigStoreInput(), dmxConfigStoreXInput(), dmxConfigWriteFile(), dmxConnectionBlockCallback(), dmxConsoleCreateEmptyCursor(), dmxConsoleDrawWindows(), dmxConsoleFunctions(), dmxConsoleInit(), dmxConsoleUpdateFineCursor(), dmxDetachScreen(), dmxDeviceOnOff(), dmxDisplayInit(), dmxErrorHandler(), dmxFixup(), dmxGetButtonMapping(), dmxGetFontPath(), dmxInitOrigins(), dmxInitOverlap(), dmxInputCopyLocal(), dmxInputInit(), dmxInputLogDevices(), dmxInputScanForExtensions(), dmxLogArgs(), dmxLogVisual(), dmxMapInsert(), dmxOnScreen(), dmxPopulateLocal(), dmxPropertyCheckOtherWindows(), dmxPropertyIterate(), dmxPropertySameDisplay(), dmxPropertyWindow(), dmxReInitOrigins(), dmxSigioRegister(), dmxStatCallback(), dmxSwitchReturn(), dmxSync(), dmxSyncInit(), dmxTranslateAndEnqueueExtEvent(), dmxTryComputeScreenOrigins(), dmxUpdateWindowInformation(), dmxWakeupHandler(), InitInput(), InitOutput(), and othUSBGetInfo().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxLogArgs (dmxLogLevel  logLevel,
int  argc,
char **  argv 
)
-
-
-

Print argc messages, each describing an element in argv. This is maingly for debugging purposes.

- -

References dmxLog().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxLogCont (dmxLogLevel  logLevel,
const char *  format,
  ... 
)
-
-
-

Continue a log message without printing the message prefix.

- -

References dmxMessage().

- -

Referenced by dmxInputLogDevices(), and dmxStatCallback().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxLogInput (DMXInputInfo dmxInput,
const char *  format,
  ... 
)
-
-
-

Log an informational message (at level dmxInfo) related to input. The message prefix will contain information from dmxInput.

- -

References dmxHeader(), dmxInfo, and dmxMessage().

- -

Referenced by dmxAddDevice(), dmxCommonKbdGetInfo(), dmxCommonRestoreState(), dmxCommonSaveState(), dmxEnqueue(), dmxInputAttachBackend(), dmxInputAttachConsole(), dmxInputAttachOld(), dmxInputDetach(), dmxInputInit(), dmxInputScanForExtensions(), and dmxKeyboardOn().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxLogInputCont (DMXInputInfo dmxInput,
const char *  format,
  ... 
)
-
-
-

Continue a message related to input without printing the message prefix.

- -

References dmxInfo, and dmxMessage().

- -

Referenced by dmxKeyboardOn().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxLogOutput (DMXScreenInfo dmxScreen,
const char *  format,
  ... 
)
-
-
-

Log an informational message (at level dmxInfo) related to ouput. The message prefix will contain backend information from dmxScreen.

- -

References dmxHeader(), dmxInfo, and dmxMessage().

- -

Referenced by _dmxDPMSInit(), dmxAttachScreen(), dmxDetachScreen(), dmxGetScreenAttribs(), dmxInitOrigins(), dmxInitOverlap(), dmxLogVisual(), dmxPrintScreenInfo(), dmxPropertyCheckOtherServers(), and dmxReInitOrigins().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxLogOutputCont (DMXScreenInfo dmxScreen,
const char *  format,
  ... 
)
-
-
-

Continue a message related to output without printing the message prefix.

- -

References dmxInfo, and dmxMessage().

- -

Referenced by dmxInitOverlap(), dmxPrintOverlap(), and dmxPrintScreenInfo().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxLogOutputWarning (DMXScreenInfo dmxScreen,
const char *  format,
  ... 
)
-
-
-

Log a warning message (at level dmxWarning) related to output. The message prefix will contain backend information from dmxScreen.

- -

References dmxHeader(), dmxMessage(), and dmxWarning.

- -

Referenced by dmxGetScreenAttribs(), dmxPrintScreenInfo(), and dmxPropertyCheckOtherServers().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxLogVisual (DMXScreenInfo dmxScreen,
XVisualInfo *  vi,
int  defaultVisual 
)
-
-
-

Print messages at level dmxInfo describing the visuals in vi.

- -

References dmxInfo, dmxLog(), and dmxLogOutput().

- -

Referenced by dmxConnectionBlockCallback(), and dmxGetVisualInfo().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
static void dmxMessage (dmxLogLevel  logLevel,
const char *  format,
va_list  args 
) [static]
-
- -
- -
-
- - - - - - - - - -
dmxLogLevel dmxSetLogLevel (dmxLogLevel  newLevel ) 
-
-
-

Set the default level for logging to dmxLogLevel. Returns the previous log level.

- -

References dmxCurrentLogLevel, and dmxFatal.

- -
-
- -
-
- - - - - - - - - -
const char* dmxXInputEventName (int  type ) 
-
-
-

Translate a (normalized) XInput event type into a human-readable string.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
static void VFatalError (const char *  format,
va_list  args 
) [static]
-
-
- -

References AbortServer(), and OsVendorFatalError().

- -

Referenced by dmxMessage().

- -
-
-

Variable Documentation

- -
-
- - - - -
dmxLogLevel dmxCurrentLogLevel = dmxDebug [static]
-
-
- -

Referenced by dmxGetLogLevel(), dmxMessage(), and dmxSetLogLevel().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxlog_8h.html b/xorg-server/hw/dmx/doc/html/dmxlog_8h.html deleted file mode 100644 index 09e824217..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxlog_8h.html +++ /dev/null @@ -1,525 +0,0 @@ - - - - - File Index - - - - - -
-

dmxlog.h File Reference

-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - -

Enumerations

enum  dmxLogLevel {
-  dmxDebug, -dmxInfo, -dmxWarning, -dmxError, -
-  dmxFatal -
- }

Functions

dmxLogLevel dmxSetLogLevel (dmxLogLevel newLevel)
dmxLogLevel dmxGetLogLevel (void)
void dmxLog (dmxLogLevel logLevel, const char *format,...)
void dmxLogCont (dmxLogLevel logLevel, const char *format,...)
const char * dmxEventName (int type)
void dmxLogOutput (DMXScreenInfo *dmxScreen, const char *format,...)
void dmxLogOutputCont (DMXScreenInfo *dmxScreen, const char *format,...)
void dmxLogOutputWarning (DMXScreenInfo *dmxScreen, const char *format,...)
void dmxLogInput (DMXInputInfo *dmxInput, const char *format,...)
void dmxLogInputCont (DMXInputInfo *dmxInput, const char *format,...)
void dmxLogArgs (dmxLogLevel logLevel, int argc, char **argv)
void dmxLogVisual (DMXScreenInfo *dmxScreen, XVisualInfo *vi, int defaultVisual)
const char * dmxXInputEventName (int type)
-

Detailed Description

-

This header is included by all files that need to use the DMX logging facilities.

-

Enumeration Type Documentation

- -
-
- - - - -
enum dmxLogLevel
-
-
-

Logging levels -- output is tunable with dmxSetLogLevel.

-
Enumerator:
- - - - - -
dmxDebug  -

Usually verbose debugging info

-
dmxInfo  -

Non-warning information

-
dmxWarning  -

A warning that may indicate DMX will not function as the user intends.

-
dmxError  -

A non-fatal error that probably indicates DMX will not function as desired.

-
dmxFatal  -

A fatal error that will cause DMX to shut down.

-
-
-
- -
-
-

Function Documentation

- -
-
- - - - - - - - - -
const char* dmxEventName (int  type ) 
-
-
-

Translate an event type into a human-readable string.

- -

Referenced by dmxConsoleUpdateFineCursor(), dmxDump(), and dmxEnqueue().

- -
-
- -
-
- - - - - - - - - -
dmxLogLevel dmxGetLogLevel (void  ) 
-
-
-

Returns the log level set by dmxLogLevel.

- -

References dmxCurrentLogLevel.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxLog (dmxLogLevel  logLevel,
const char *  format,
  ... 
)
-
-
-

Log the specified message at the specified logLevel. format can be a printf-like format expression.

- -

References dmxHeader(), and dmxMessage().

- -

Referenced by ddxProcessArgument(), dmxAddDevice(), dmxAttachScreen(), dmxBackendCollectEvents(), dmxBackendInitPrivate(), dmxBECreateColormap(), dmxBECreateCursor(), dmxBELoadFont(), dmxBERestorePixmap(), dmxBERestoreRenderGlyph(), dmxBESavePixmap(), dmxCheckFunctionKeys(), dmxCheckSpecialKeys(), dmxCommonOthOn(), dmxCommonRestoreState(), dmxComputeWidthHeight(), dmxConfigAddDisplay(), dmxConfigAddInput(), dmxConfigConfigure(), dmxConfigCopyData(), dmxConfigCopyFromWall(), dmxConfigFromCommandLine(), dmxConfigFromConfigFile(), dmxConfigReadFile(), dmxConfigStoreConfig(), dmxConfigStoreDisplay(), dmxConfigStoreFile(), dmxConfigStoreInput(), dmxConfigStoreXInput(), dmxConfigWriteFile(), dmxConnectionBlockCallback(), dmxConsoleCreateEmptyCursor(), dmxConsoleDrawWindows(), dmxConsoleFunctions(), dmxConsoleInit(), dmxConsoleUpdateFineCursor(), dmxDetachScreen(), dmxDeviceOnOff(), dmxDisplayInit(), dmxErrorHandler(), dmxFixup(), dmxGetButtonMapping(), dmxGetFontPath(), dmxInitOrigins(), dmxInitOverlap(), dmxInputCopyLocal(), dmxInputInit(), dmxInputLogDevices(), dmxInputScanForExtensions(), dmxLogArgs(), dmxLogVisual(), dmxMapInsert(), dmxOnScreen(), dmxPopulateLocal(), dmxPropertyCheckOtherWindows(), dmxPropertyIterate(), dmxPropertySameDisplay(), dmxPropertyWindow(), dmxReInitOrigins(), dmxSigioRegister(), dmxStatCallback(), dmxSwitchReturn(), dmxSync(), dmxSyncInit(), dmxTranslateAndEnqueueExtEvent(), dmxTryComputeScreenOrigins(), dmxUpdateWindowInformation(), dmxWakeupHandler(), InitInput(), InitOutput(), and othUSBGetInfo().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxLogArgs (dmxLogLevel  logLevel,
int  argc,
char **  argv 
)
-
-
-

Print argc messages, each describing an element in argv. This is maingly for debugging purposes.

- -

References dmxLog().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxLogCont (dmxLogLevel  logLevel,
const char *  format,
  ... 
)
-
-
-

Continue a log message without printing the message prefix.

- -

References dmxMessage().

- -

Referenced by dmxInputLogDevices(), and dmxStatCallback().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxLogInput (DMXInputInfo dmxInput,
const char *  format,
  ... 
)
-
-
-

Log an informational message (at level dmxInfo) related to input. The message prefix will contain information from dmxInput.

- -

References dmxHeader(), dmxInfo, and dmxMessage().

- -

Referenced by dmxAddDevice(), dmxCommonKbdGetInfo(), dmxCommonRestoreState(), dmxCommonSaveState(), dmxEnqueue(), dmxInputAttachBackend(), dmxInputAttachConsole(), dmxInputAttachOld(), dmxInputDetach(), dmxInputInit(), dmxInputScanForExtensions(), and dmxKeyboardOn().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxLogInputCont (DMXInputInfo dmxInput,
const char *  format,
  ... 
)
-
-
-

Continue a message related to input without printing the message prefix.

- -

References dmxInfo, and dmxMessage().

- -

Referenced by dmxKeyboardOn().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxLogOutput (DMXScreenInfo dmxScreen,
const char *  format,
  ... 
)
-
-
-

Log an informational message (at level dmxInfo) related to ouput. The message prefix will contain backend information from dmxScreen.

- -

References dmxHeader(), dmxInfo, and dmxMessage().

- -

Referenced by _dmxDPMSInit(), dmxAttachScreen(), dmxDetachScreen(), dmxGetScreenAttribs(), dmxInitOrigins(), dmxInitOverlap(), dmxLogVisual(), dmxPrintScreenInfo(), dmxPropertyCheckOtherServers(), and dmxReInitOrigins().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxLogOutputCont (DMXScreenInfo dmxScreen,
const char *  format,
  ... 
)
-
-
-

Continue a message related to output without printing the message prefix.

- -

References dmxInfo, and dmxMessage().

- -

Referenced by dmxInitOverlap(), dmxPrintOverlap(), and dmxPrintScreenInfo().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxLogOutputWarning (DMXScreenInfo dmxScreen,
const char *  format,
  ... 
)
-
-
-

Log a warning message (at level dmxWarning) related to output. The message prefix will contain backend information from dmxScreen.

- -

References dmxHeader(), dmxMessage(), and dmxWarning.

- -

Referenced by dmxGetScreenAttribs(), dmxPrintScreenInfo(), and dmxPropertyCheckOtherServers().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxLogVisual (DMXScreenInfo dmxScreen,
XVisualInfo *  vi,
int  defaultVisual 
)
-
-
-

Print messages at level dmxInfo describing the visuals in vi.

- -

References dmxInfo, dmxLog(), and dmxLogOutput().

- -

Referenced by dmxConnectionBlockCallback(), and dmxGetVisualInfo().

- -
-
- -
-
- - - - - - - - - -
dmxLogLevel dmxSetLogLevel (dmxLogLevel  newLevel ) 
-
-
-

Set the default level for logging to dmxLogLevel. Returns the previous log level.

- -

References dmxCurrentLogLevel, and dmxFatal.

- -
-
- -
-
- - - - - - - - - -
const char* dmxXInputEventName (int  type ) 
-
-
-

Translate a (normalized) XInput event type into a human-readable string.

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxlog_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxlog_8h_source.html deleted file mode 100644 index f87d72102..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxlog_8h_source.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxmap_8c.html b/xorg-server/hw/dmx/doc/html/dmxmap_8c.html deleted file mode 100644 index 4f2c9c964..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxmap_8c.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - File Index - - - - - -
-

dmxmap.c File Reference

#include "dmxinputinit.h"
-#include "dmxmap.h"
- - - - - -

Functions

void dmxMapInsert (DMXLocalInputInfoPtr dmxLocal, int remoteEvent, int serverEvent)
void dmxMapClear (DMXLocalInputInfoPtr dmxLocal)
int dmxMapLookup (DMXLocalInputInfoPtr dmxLocal, int remoteEvent)
-

Detailed Description

-

This file implements a mapping from remote XInput event types to Xdmx XInput event types.

-

The exglobals.h file defines global server-side variables with names Device* to be integers that hold the value of the type of the server-side XInput extension event.

-

The client-side X11/extensions/XInput.h file defines macros with THE EXACT SAME Device* names!

-

Using those macros to extract remote server event type values from the (opaque) XDevice structure is appropriate, but makes a direct mapping to the Device* integers impossible. So we use the normalized XI_Device* names for these routines.

-

Function Documentation

- -
-
- - - - - - - - - -
void dmxMapClear (DMXLocalInputInfoPtr  dmxLocal ) 
-
-
-

Remove all mappings there were inserted with dmxMapInsert.

- -

References DMX_MAP_ENTRIES, _DMXLocalInputInfo::map, _DMXLocalInputInfo::mapOptimize, and _DMXEventMap::remote.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxMapInsert (DMXLocalInputInfoPtr  dmxLocal,
int  remoteEvent,
int  serverEvent 
)
-
-
-

Create a mapping from remoteEvent to serverEvent. The remoteEvent is the type returned from the remote server. The serverEvent is from the XI_* list of events in include/extensions/XIproto.h.

- -

References DMX_MAP_ENTRIES, DMX_MAP_MASK, dmxLog(), dmxWarning, _DMXLocalInputInfo::map, _DMXLocalInputInfo::mapOptimize, _DMXEventMap::remote, and _DMXEventMap::server.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
int dmxMapLookup (DMXLocalInputInfoPtr  dmxLocal,
int  remoteEvent 
)
-
-
-

Lookup a mapping for remoteEvent. The remoteEvent is the type returned from the remote server. The return value is that which was passed into dmxMapInsert (i.e., a value from the XI_* list in include/extensions/XIproto.h). If a mapping is not available, -1 is returned.

- -

References DMX_MAP_ENTRIES, DMX_MAP_MASK, _DMXLocalInputInfo::map, _DMXLocalInputInfo::mapOptimize, _DMXEventMap::remote, and _DMXEventMap::server.

- -

Referenced by dmxTranslateAndEnqueueExtEvent().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxmap_8h.html b/xorg-server/hw/dmx/doc/html/dmxmap_8h.html deleted file mode 100644 index 6bf841b00..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxmap_8h.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - File Index - - - - - -
-

dmxmap.h File Reference

-

Go to the source code of this file.

- - - - - -

Functions

void dmxMapInsert (DMXLocalInputInfoPtr dmxLocal, int remoteEvent, int serverEvent)
void dmxMapClear (DMXLocalInputInfoPtr dmxLocal)
int dmxMapLookup (DMXLocalInputInfoPtr dmxLocal, int remoteEvent)
-

Detailed Description

-

Interface to XInput event mapping support.

-
See also:
dmxmap.c
-

Function Documentation

- -
-
- - - - - - - - - -
void dmxMapClear (DMXLocalInputInfoPtr  dmxLocal ) 
-
-
-

Remove all mappings there were inserted with dmxMapInsert.

- -

References DMX_MAP_ENTRIES, _DMXLocalInputInfo::map, _DMXLocalInputInfo::mapOptimize, and _DMXEventMap::remote.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxMapInsert (DMXLocalInputInfoPtr  dmxLocal,
int  remoteEvent,
int  serverEvent 
)
-
-
-

Create a mapping from remoteEvent to serverEvent. The remoteEvent is the type returned from the remote server. The serverEvent is from the XI_* list of events in include/extensions/XIproto.h.

- -

References DMX_MAP_ENTRIES, DMX_MAP_MASK, dmxLog(), dmxWarning, _DMXLocalInputInfo::map, _DMXLocalInputInfo::mapOptimize, _DMXEventMap::remote, and _DMXEventMap::server.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
int dmxMapLookup (DMXLocalInputInfoPtr  dmxLocal,
int  remoteEvent 
)
-
-
-

Lookup a mapping for remoteEvent. The remoteEvent is the type returned from the remote server. The return value is that which was passed into dmxMapInsert (i.e., a value from the XI_* list in include/extensions/XIproto.h). If a mapping is not available, -1 is returned.

- -

References DMX_MAP_ENTRIES, DMX_MAP_MASK, _DMXLocalInputInfo::map, _DMXLocalInputInfo::mapOptimize, _DMXEventMap::remote, and _DMXEventMap::server.

- -

Referenced by dmxTranslateAndEnqueueExtEvent().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxmap_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxmap_8h_source.html deleted file mode 100644 index 191eb7c86..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxmap_8h_source.html +++ /dev/null @@ -1,75 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxmotion_8c.html b/xorg-server/hw/dmx/doc/html/dmxmotion_8c.html deleted file mode 100644 index 76e0babad..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxmotion_8c.html +++ /dev/null @@ -1,200 +0,0 @@ - - - - - File Index - - - - - -
-

dmxmotion.c File Reference

#include "inputstr.h"
-#include "dmxinputinit.h"
-#include "dmxcommon.h"
-#include "dmxmotion.h"
- - - - - - - -

Defines

#define OFFSET(offset, element)   ((offset) * (numAxes + 1) + (element))

Functions

int dmxPointerGetMotionBufferSize (void)
int dmxPointerGetMotionEvents (DeviceIntPtr pDevice, xTimecoord *coords, unsigned long start, unsigned long stop, ScreenPtr pScreen)
void dmxPointerPutMotionEvent (DeviceIntPtr pDevice, int firstAxis, int axesCount, int *v, unsigned long time)
-

Detailed Description

-

This file provides functions similar to miPointerGetMotionEvents and miPointerPutMotionEvents, with the exception that devices with more than two axes are fully supported. These routines may be used only for motion buffers for extension devices, and are not compatible replacements for the mi routines.

-

Define Documentation

- -
-
- - - - - - - - - - - - - - -
#define OFFSET(offset,
element  )    ((offset) * (numAxes + 1) + (element))
-
- -
-

Function Documentation

- -
-
- - - - - - - - - -
int dmxPointerGetMotionBufferSize (void  ) 
-
-
-

Return size of motion buffer.

-
See also:
DMX_MOTION_SIZE
- -

References DMX_MOTION_SIZE.

- -

Referenced by dmxDeviceOnOff().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
int dmxPointerGetMotionEvents (DeviceIntPtr  pDevice,
xTimecoord *  coords,
unsigned long  start,
unsigned long  stop,
ScreenPtr  pScreen 
)
-
-
-

This routine performs the same function as miPointerGetMotionEvents: the events in the motion history that are between the start and stop times (in mS) are placed in the coords vector, and the count of the number of items so placed is returned. This routine is called from dix/devices.c so that coords can hold valuator->numMotionEvents events. This routine is called from Xi/gtmotion.c with coords large enough to hold the same number of events in a variable-length extended xTimecoord structure. This provides sufficient data for the XGetDeviceMotionEvents library call, and would be identical to miPointerGetMotionEvents for devices with only 2 axes (i.e., core pointers) if xTimecoord used 32bit integers.

-

Because DMX uses the mi* routines for all core devices, this routine only has to support extension devices using the polymorphic coords. Because compatibility with miPointerGetMotionEvents is not possible, it is not provided.

- -

References DMX_MOTION_SIZE, GETDMXLOCALFROMPDEVICE, and OFFSET.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxPointerPutMotionEvent (DeviceIntPtr  pDevice,
int  firstAxis,
int  axesCount,
int *  v,
unsigned long  time 
)
-
-
-

This routine adds an event to the motion history. A similar function is performed by miPointerMove for the mi versions of these routines.

- -

References DMX_MOTION_SIZE, GETDMXLOCALFROMPDEVICE, and OFFSET.

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxmotion_8h.html b/xorg-server/hw/dmx/doc/html/dmxmotion_8h.html deleted file mode 100644 index 47bde57c7..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxmotion_8h.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - File Index - - - - - -
-

dmxmotion.h File Reference

-

Go to the source code of this file.

- - - - - -

Functions

int dmxPointerGetMotionBufferSize (void)
int dmxPointerGetMotionEvents (DeviceIntPtr pDevice, xTimecoord *coords, unsigned long start, unsigned long stop, ScreenPtr pScreen)
void dmxPointerPutMotionEvent (DeviceIntPtr pDevice, int firstAxis, int axesCount, int *v, unsigned long time)
-

Detailed Description

-

Interface to functions supporting motion events.

-
See also:
dmxmotion.c
-

Function Documentation

- -
-
- - - - - - - - - -
int dmxPointerGetMotionBufferSize (void  ) 
-
-
-

Return size of motion buffer.

-
See also:
DMX_MOTION_SIZE
- -

References DMX_MOTION_SIZE.

- -

Referenced by dmxDeviceOnOff().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
int dmxPointerGetMotionEvents (DeviceIntPtr  pDevice,
xTimecoord *  coords,
unsigned long  start,
unsigned long  stop,
ScreenPtr  pScreen 
)
-
-
-

This routine performs the same function as miPointerGetMotionEvents: the events in the motion history that are between the start and stop times (in mS) are placed in the coords vector, and the count of the number of items so placed is returned. This routine is called from dix/devices.c so that coords can hold valuator->numMotionEvents events. This routine is called from Xi/gtmotion.c with coords large enough to hold the same number of events in a variable-length extended xTimecoord structure. This provides sufficient data for the XGetDeviceMotionEvents library call, and would be identical to miPointerGetMotionEvents for devices with only 2 axes (i.e., core pointers) if xTimecoord used 32bit integers.

-

Because DMX uses the mi* routines for all core devices, this routine only has to support extension devices using the polymorphic coords. Because compatibility with miPointerGetMotionEvents is not possible, it is not provided.

- -

References DMX_MOTION_SIZE, GETDMXLOCALFROMPDEVICE, and OFFSET.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxPointerPutMotionEvent (DeviceIntPtr  pDevice,
int  firstAxis,
int  axesCount,
int *  v,
unsigned long  time 
)
-
-
-

This routine adds an event to the motion history. A similar function is performed by miPointerMove for the mi versions of these routines.

- -

References DMX_MOTION_SIZE, GETDMXLOCALFROMPDEVICE, and OFFSET.

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxmotion_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxmotion_8h_source.html deleted file mode 100644 index c993e6eec..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxmotion_8h_source.html +++ /dev/null @@ -1,82 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxparse_8c.html b/xorg-server/hw/dmx/doc/html/dmxparse_8c.html deleted file mode 100644 index 7438513be..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxparse_8c.html +++ /dev/null @@ -1,1394 +0,0 @@ - - - - - File Index - - - - - -
-

dmxparse.c File Reference

#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <stdarg.h>
-#include "dmxparse.h"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Functions

void dmxConfigLog (const char *format,...)
void * dmxConfigAlloc (unsigned long bytes)
void * dmxConfigRealloc (void *orig, unsigned long orig_bytes, unsigned long bytes)
const char * dmxConfigCopyString (const char *string, int length)
void dmxConfigFree (void *area)
DMXConfigTokenPtr dmxConfigCreateToken (int token, int line, const char *comment)
void dmxConfigFreeToken (DMXConfigTokenPtr p)
DMXConfigStringPtr dmxConfigCreateString (int token, int line, const char *comment, const char *string)
void dmxConfigFreeString (DMXConfigStringPtr p)
DMXConfigNumberPtr dmxConfigCreateNumber (int token, int line, const char *comment, int number)
void dmxConfigFreeNumber (DMXConfigNumberPtr p)
DMXConfigPairPtr dmxConfigCreatePair (int token, int line, const char *comment, int x, int y, int xsign, int ysign)
void dmxConfigFreePair (DMXConfigPairPtr p)
DMXConfigCommentPtr dmxConfigCreateComment (int token, int line, const char *comment)
void dmxConfigFreeComment (DMXConfigCommentPtr p)
DMXConfigPartDimPtr dmxConfigCreatePartDim (DMXConfigPairPtr pDim, DMXConfigPairPtr pOffset)
void dmxConfigFreePartDim (DMXConfigPartDimPtr p)
DMXConfigFullDimPtr dmxConfigCreateFullDim (DMXConfigPartDimPtr pScrn, DMXConfigPartDimPtr pRoot)
void dmxConfigFreeFullDim (DMXConfigFullDimPtr p)
DMXConfigDisplayPtr dmxConfigCreateDisplay (DMXConfigTokenPtr pStart, DMXConfigStringPtr pName, DMXConfigFullDimPtr pDim, DMXConfigPairPtr pOrigin, DMXConfigTokenPtr pEnd)
void dmxConfigFreeDisplay (DMXConfigDisplayPtr p)
DMXConfigWallPtr dmxConfigCreateWall (DMXConfigTokenPtr pStart, DMXConfigPairPtr pWallDim, DMXConfigPairPtr pDisplayDim, DMXConfigStringPtr pNameList, DMXConfigTokenPtr pEnd)
void dmxConfigFreeWall (DMXConfigWallPtr p)
DMXConfigOptionPtr dmxConfigCreateOption (DMXConfigTokenPtr pStart, DMXConfigStringPtr pOption, DMXConfigTokenPtr pEnd)
void dmxConfigFreeOption (DMXConfigOptionPtr p)
const char ** dmxConfigLookupParam (DMXConfigParamPtr p, const char *key, int *argc)
DMXConfigParamPtr dmxConfigCreateParam (DMXConfigTokenPtr pStart, DMXConfigTokenPtr pOpen, DMXConfigStringPtr pParam, DMXConfigTokenPtr pClose, DMXConfigTokenPtr pEnd)
void dmxConfigFreeParam (DMXConfigParamPtr p)
DMXConfigSubPtr dmxConfigCreateSub (DMXConfigType type, DMXConfigCommentPtr comment, DMXConfigDisplayPtr display, DMXConfigWallPtr wall, DMXConfigOptionPtr option, DMXConfigParamPtr param)
void dmxConfigFreeSub (DMXConfigSubPtr sub)
DMXConfigSubPtr dmxConfigSubComment (DMXConfigCommentPtr comment)
DMXConfigSubPtr dmxConfigSubDisplay (DMXConfigDisplayPtr display)
DMXConfigSubPtr dmxConfigSubWall (DMXConfigWallPtr wall)
DMXConfigSubPtr dmxConfigSubOption (DMXConfigOptionPtr option)
DMXConfigSubPtr dmxConfigSubParam (DMXConfigParamPtr param)
DMXConfigSubPtr dmxConfigAddSub (DMXConfigSubPtr head, DMXConfigSubPtr sub)
DMXConfigVirtualPtr dmxConfigCreateVirtual (DMXConfigTokenPtr pStart, DMXConfigStringPtr pName, DMXConfigPairPtr pDim, DMXConfigTokenPtr pOpen, DMXConfigSubPtr pSubentry, DMXConfigTokenPtr pClose)
void dmxConfigFreeVirtual (DMXConfigVirtualPtr virtual)
DMXConfigEntryPtr dmxConfigCreateEntry (DMXConfigType type, DMXConfigCommentPtr comment, DMXConfigVirtualPtr virtual)
void dmxConfigFreeEntry (DMXConfigEntryPtr entry)
DMXConfigEntryPtr dmxConfigAddEntry (DMXConfigEntryPtr head, DMXConfigType type, DMXConfigCommentPtr comment, DMXConfigVirtualPtr virtual)
DMXConfigEntryPtr dmxConfigEntryComment (DMXConfigCommentPtr comment)
DMXConfigEntryPtr dmxConfigEntryVirtual (DMXConfigVirtualPtr virtual)
-

Detailed Description

-

This file provides support routines and helper functions to be used by the DMX configuration file parser.

-

Because the DMX configuration file parsing should be capable of being used in a stand-alone fashion (i.e., independent from the DMX server source tree), no dependencies on other DMX routines are made.

-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DMXConfigEntryPtr dmxConfigAddEntry (DMXConfigEntryPtr  head,
DMXConfigType  type,
DMXConfigCommentPtr  comment,
DMXConfigVirtualPtr  virtual 
)
-
-
- -

References dmxConfigCreateEntry(), and _DMXConfigEntry::next.

- -

Referenced by dmxConfigNCCallback(), and dmxVDLRead().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
DMXConfigSubPtr dmxConfigAddSub (DMXConfigSubPtr  head,
DMXConfigSubPtr  sub 
)
-
-
- -

References _DMXConfigSub::next.

- -

Referenced by dmxConfigNDCallback(), and dmxVDLRead().

- -
-
- - - -
-
- - - - - - - - - - - - - - - - - - -
const char* dmxConfigCopyString (const char *  string,
int  length 
)
-
-
- -

References dmxConfigAlloc().

- -

Referenced by dmxVDLRead().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
DMXConfigCommentPtr dmxConfigCreateComment (int  token,
int  line,
const char *  comment 
)
-
- -
- - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
DMXConfigEntryPtr dmxConfigCreateEntry (DMXConfigType  type,
DMXConfigCommentPtr  comment,
DMXConfigVirtualPtr  virtual 
)
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
DMXConfigFullDimPtr dmxConfigCreateFullDim (DMXConfigPartDimPtr  pScrn,
DMXConfigPartDimPtr  pRoot 
)
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DMXConfigNumberPtr dmxConfigCreateNumber (int  token,
int  line,
const char *  comment,
int  number 
)
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
DMXConfigOptionPtr dmxConfigCreateOption (DMXConfigTokenPtr  pStart,
DMXConfigStringPtr  pOption,
DMXConfigTokenPtr  pEnd 
)
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DMXConfigPairPtr dmxConfigCreatePair (int  token,
int  line,
const char *  comment,
int  x,
int  y,
int  xsign,
int  ysign 
)
-
- -
- - - -
-
- - - - - - - - - - - - - - - - - - -
DMXConfigPartDimPtr dmxConfigCreatePartDim (DMXConfigPairPtr  pDim,
DMXConfigPairPtr  pOffset 
)
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DMXConfigStringPtr dmxConfigCreateString (int  token,
int  line,
const char *  comment,
const char *  string 
)
-
- -
- - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
DMXConfigTokenPtr dmxConfigCreateToken (int  token,
int  line,
const char *  comment 
)
-
- -
- - - - - -
-
- - - - - - - - - -
DMXConfigEntryPtr dmxConfigEntryComment (DMXConfigCommentPtr  comment ) 
-
-
- -

References dmxConfigComment, and dmxConfigCreateEntry().

- -
-
- -
-
- - - - - - - - - -
DMXConfigEntryPtr dmxConfigEntryVirtual (DMXConfigVirtualPtr  virtual ) 
-
-
- -

References dmxConfigCreateEntry(), and dmxConfigVirtual.

- -
-
- - - -
-
- - - - - - - - - -
void dmxConfigFreeComment (DMXConfigCommentPtr  p ) 
-
- -
- - - - - -
-
- - - - - - - - - -
void dmxConfigFreeFullDim (DMXConfigFullDimPtr  p ) 
-
- -
- -
-
- - - - - - - - - -
void dmxConfigFreeNumber (DMXConfigNumberPtr  p ) 
-
- -
- - - -
-
- - - - - - - - - -
void dmxConfigFreePair (DMXConfigPairPtr  p ) 
-
- -
- - - -
-
- - - - - - - - - -
void dmxConfigFreePartDim (DMXConfigPartDimPtr  p ) 
-
- -
- - - - - -
-
- - - - - - - - - -
void dmxConfigFreeToken (DMXConfigTokenPtr  p ) 
-
- -
- -
-
- - - - - - - - - -
void dmxConfigFreeVirtual (DMXConfigVirtualPtr  virtual ) 
-
- -
- - - -
-
- - - - - - - - - - - - - - - - - - -
void dmxConfigLog (const char *  format,
  ... 
)
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
const char** dmxConfigLookupParam (DMXConfigParamPtr  p,
const char *  key,
int *  argc 
)
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void* dmxConfigRealloc (void *  orig,
unsigned long  orig_bytes,
unsigned long  bytes 
)
-
-
- -

References dmxConfigLog().

- -
-
- -
-
- - - - - - - - - -
DMXConfigSubPtr dmxConfigSubComment (DMXConfigCommentPtr  comment ) 
-
-
- -

References dmxConfigComment, and dmxConfigCreateSub().

- -
-
- -
-
- - - - - - - - - -
DMXConfigSubPtr dmxConfigSubDisplay (DMXConfigDisplayPtr  display ) 
-
-
- -

References dmxConfigCreateSub(), and dmxConfigDisplay.

- -

Referenced by dmxConfigNDCallback(), and dmxVDLRead().

- -
-
- -
-
- - - - - - - - - -
DMXConfigSubPtr dmxConfigSubOption (DMXConfigOptionPtr  option ) 
-
-
- -

References dmxConfigCreateSub(), and dmxConfigOption.

- -
-
- -
-
- - - - - - - - - -
DMXConfigSubPtr dmxConfigSubParam (DMXConfigParamPtr  param ) 
-
-
- -

References dmxConfigCreateSub(), and dmxConfigParam.

- -
-
- -
-
- - - - - - - - - -
DMXConfigSubPtr dmxConfigSubWall (DMXConfigWallPtr  wall ) 
-
-
- -

References dmxConfigCreateSub(), and dmxConfigWall.

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxparse_8h.html b/xorg-server/hw/dmx/doc/html/dmxparse_8h.html deleted file mode 100644 index 989fb475c..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxparse_8h.html +++ /dev/null @@ -1,1928 +0,0 @@ - - - - - File Index - - - - - -
-

dmxparse.h File Reference

#include <stdio.h>
- -

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Data Structures

struct  _DMXConfigToken
struct  _DMXConfigString
struct  _DMXConfigNumber
struct  _DMXConfigPair
struct  _DMXConfigComment
struct  _DMXConfigPartDim
struct  _DMXConfigFullDim
struct  _DMXConfigDisplay
struct  _DMXConfigWall
struct  _DMXConfigOption
struct  _DMXConfigParam
struct  _DMXConfigSub
struct  _DMXConfigVirtual
struct  _DMXConfigEntry

Typedefs

typedef struct _DMXConfigToken DMXConfigToken
typedef struct _DMXConfigTokenDMXConfigTokenPtr
typedef struct _DMXConfigString DMXConfigString
typedef struct _DMXConfigStringDMXConfigStringPtr
typedef struct _DMXConfigNumber DMXConfigNumber
typedef struct _DMXConfigNumberDMXConfigNumberPtr
typedef struct _DMXConfigPair DMXConfigPair
typedef struct _DMXConfigPairDMXConfigPairPtr
typedef struct _DMXConfigComment DMXConfigComment
typedef struct _DMXConfigCommentDMXConfigCommentPtr
typedef struct _DMXConfigPartDim DMXConfigPartDim
typedef struct _DMXConfigPartDimDMXConfigPartDimPtr
typedef struct _DMXConfigFullDim DMXConfigFullDim
typedef struct _DMXConfigFullDimDMXConfigFullDimPtr
typedef struct _DMXConfigDisplay DMXConfigDisplay
typedef struct _DMXConfigDisplayDMXConfigDisplayPtr
typedef struct _DMXConfigWall DMXConfigWall
typedef struct _DMXConfigWallDMXConfigWallPtr
typedef struct _DMXConfigOption DMXConfigOption
typedef struct _DMXConfigOptionDMXConfigOptionPtr
typedef struct _DMXConfigParam DMXConfigParam
typedef struct _DMXConfigParamDMXConfigParamPtr
typedef struct _DMXConfigSub DMXConfigSub
typedef struct _DMXConfigSubDMXConfigSubPtr
typedef struct _DMXConfigVirtual DMXConfigVirtual
typedef struct _DMXConfigVirtualDMXConfigVirtualPtr
typedef struct _DMXConfigEntry DMXConfigEntry
typedef struct _DMXConfigEntryDMXConfigEntryPtr

Enumerations

enum  DMXConfigType {
-  dmxConfigComment, -dmxConfigVirtual, -dmxConfigDisplay, -dmxConfigWall, -
-  dmxConfigOption, -dmxConfigParam -
- }

Functions

int yylex (void)
void yyerror (const char *message)
void dmxConfigLog (const char *format,...)
void * dmxConfigAlloc (unsigned long bytes)
void * dmxConfigRealloc (void *orig, unsigned long orig_bytes, unsigned long bytes)
const char * dmxConfigCopyString (const char *string, int length)
void dmxConfigFree (void *area)
DMXConfigTokenPtr dmxConfigCreateToken (int token, int line, const char *comment)
void dmxConfigFreeToken (DMXConfigTokenPtr p)
DMXConfigStringPtr dmxConfigCreateString (int token, int line, const char *comment, const char *string)
void dmxConfigFreeString (DMXConfigStringPtr p)
DMXConfigNumberPtr dmxConfigCreateNumber (int token, int line, const char *comment, int number)
void dmxConfigFreeNumber (DMXConfigNumberPtr p)
DMXConfigPairPtr dmxConfigCreatePair (int token, int line, const char *comment, int x, int y, int xsign, int ysign)
void dmxConfigFreePair (DMXConfigPairPtr p)
DMXConfigCommentPtr dmxConfigCreateComment (int token, int line, const char *comment)
void dmxConfigFreeComment (DMXConfigCommentPtr p)
DMXConfigPartDimPtr dmxConfigCreatePartDim (DMXConfigPairPtr pDim, DMXConfigPairPtr pOffset)
void dmxConfigFreePartDim (DMXConfigPartDimPtr p)
DMXConfigFullDimPtr dmxConfigCreateFullDim (DMXConfigPartDimPtr pScrn, DMXConfigPartDimPtr pRoot)
void dmxConfigFreeFullDim (DMXConfigFullDimPtr p)
DMXConfigDisplayPtr dmxConfigCreateDisplay (DMXConfigTokenPtr pStart, DMXConfigStringPtr pName, DMXConfigFullDimPtr pDim, DMXConfigPairPtr pOrigin, DMXConfigTokenPtr pEnd)
void dmxConfigFreeDisplay (DMXConfigDisplayPtr p)
DMXConfigWallPtr dmxConfigCreateWall (DMXConfigTokenPtr pStart, DMXConfigPairPtr pWallDim, DMXConfigPairPtr pDisplayDim, DMXConfigStringPtr pNameList, DMXConfigTokenPtr pEnd)
void dmxConfigFreeWall (DMXConfigWallPtr p)
DMXConfigOptionPtr dmxConfigCreateOption (DMXConfigTokenPtr pStart, DMXConfigStringPtr pOption, DMXConfigTokenPtr pEnd)
void dmxConfigFreeOption (DMXConfigOptionPtr p)
DMXConfigParamPtr dmxConfigCreateParam (DMXConfigTokenPtr pStart, DMXConfigTokenPtr pOpen, DMXConfigStringPtr pParam, DMXConfigTokenPtr pClose, DMXConfigTokenPtr pEnd)
void dmxConfigFreeParam (DMXConfigParamPtr p)
const char ** dmxConfigLookupParam (DMXConfigParamPtr p, const char *key, int *argc)
DMXConfigSubPtr dmxConfigCreateSub (DMXConfigType type, DMXConfigCommentPtr comment, DMXConfigDisplayPtr display, DMXConfigWallPtr wall, DMXConfigOptionPtr option, DMXConfigParamPtr param)
void dmxConfigFreeSub (DMXConfigSubPtr sub)
DMXConfigSubPtr dmxConfigSubComment (DMXConfigCommentPtr comment)
DMXConfigSubPtr dmxConfigSubDisplay (DMXConfigDisplayPtr display)
DMXConfigSubPtr dmxConfigSubWall (DMXConfigWallPtr wall)
DMXConfigSubPtr dmxConfigSubOption (DMXConfigOptionPtr option)
DMXConfigSubPtr dmxConfigSubParam (DMXConfigParamPtr param)
DMXConfigSubPtr dmxConfigAddSub (DMXConfigSubPtr head, DMXConfigSubPtr sub)
DMXConfigVirtualPtr dmxConfigCreateVirtual (DMXConfigTokenPtr pStart, DMXConfigStringPtr pName, DMXConfigPairPtr pDim, DMXConfigTokenPtr pOpen, DMXConfigSubPtr pSubentry, DMXConfigTokenPtr pClose)
void dmxConfigFreeVirtual (DMXConfigVirtualPtr virtual)
DMXConfigEntryPtr dmxConfigCreateEntry (DMXConfigType type, DMXConfigCommentPtr comment, DMXConfigVirtualPtr virtual)
void dmxConfigFreeEntry (DMXConfigEntryPtr entry)
DMXConfigEntryPtr dmxConfigAddEntry (DMXConfigEntryPtr head, DMXConfigType type, DMXConfigCommentPtr comment, DMXConfigVirtualPtr virtual)
DMXConfigEntryPtr dmxConfigEntryComment (DMXConfigCommentPtr comment)
DMXConfigEntryPtr dmxConfigEntryVirtual (DMXConfigVirtualPtr virtual)

Variables

DMXConfigEntryPtr dmxConfigEntry
int yydebug
-

Detailed Description

-

Interface to DMX configuration file parser.

-
See also:
dmxparse.c
-

Typedef Documentation

- -
-
- - - - -
typedef struct _DMXConfigComment DMXConfigComment
-
-
-

Stores parsed comments not stored with a token.

- -
-
- -
-
- - - - -
typedef struct _DMXConfigComment * DMXConfigCommentPtr
-
-
- -
-
- -
-
- - - - -
typedef struct _DMXConfigDisplay DMXConfigDisplay
-
-
-

Stores parsed display information.

- -
-
- -
-
- - - - -
typedef struct _DMXConfigDisplay * DMXConfigDisplayPtr
-
-
- -
-
- -
-
- - - - -
typedef struct _DMXConfigEntry DMXConfigEntry
-
-
-

Heads entry storage.

- -
-
- -
-
- - - - -
typedef struct _DMXConfigEntry * DMXConfigEntryPtr
-
-
- -
-
- -
-
- - - - -
typedef struct _DMXConfigFullDim DMXConfigFullDim
-
-
-

Stores a pair of geometry specifications.

- -
-
- -
-
- - - - -
typedef struct _DMXConfigFullDim * DMXConfigFullDimPtr
-
-
- -
-
- -
-
- - - - -
typedef struct _DMXConfigNumber DMXConfigNumber
-
-
-

Stores parsed numbers.

- -
-
- -
-
- - - - -
typedef struct _DMXConfigNumber * DMXConfigNumberPtr
-
-
- -
-
- -
-
- - - - -
typedef struct _DMXConfigOption DMXConfigOption
-
-
-

Stores parsed option information.

- -
-
- -
-
- - - - -
typedef struct _DMXConfigOption * DMXConfigOptionPtr
-
-
- -
-
- -
-
- - - - -
typedef struct _DMXConfigPair DMXConfigPair
-
-
-

Stores parsed pairs (e.g., x y)

- -
-
- -
-
- - - - -
typedef struct _DMXConfigPair * DMXConfigPairPtr
-
-
- -
-
- -
-
- - - - -
typedef struct _DMXConfigParam DMXConfigParam
-
-
-

Stores parsed param information.

- -
-
- -
-
- - - - -
typedef struct _DMXConfigParam * DMXConfigParamPtr
-
-
- -
-
- -
-
- - - - -
typedef struct _DMXConfigPartDim DMXConfigPartDim
-
-
-

Stores a geometry specification.

- -
-
- -
-
- - - - -
typedef struct _DMXConfigPartDim * DMXConfigPartDimPtr
-
-
- -
-
- -
-
- - - - -
typedef struct _DMXConfigString DMXConfigString
-
-
-

Stores parsed strings.

- -
-
- -
-
- - - - -
typedef struct _DMXConfigString * DMXConfigStringPtr
-
-
- -
-
- -
-
- - - - -
typedef struct _DMXConfigSub DMXConfigSub
-
-
-

Stores options under an entry (subentry).

- -
-
- -
-
- - - - -
typedef struct _DMXConfigSub * DMXConfigSubPtr
-
-
- -
-
- -
-
- - - - -
typedef struct _DMXConfigToken DMXConfigToken
-
-
-

Stores tokens not stored in other structures (e.g., keywords and ;)

- -
-
- -
-
- - - - -
typedef struct _DMXConfigToken * DMXConfigTokenPtr
-
-
- -
-
- -
-
- - - - -
typedef struct _DMXConfigVirtual DMXConfigVirtual
-
-
-

Stores parsed virtual information.

- -
-
- -
-
- - - - -
typedef struct _DMXConfigVirtual * DMXConfigVirtualPtr
-
-
- -
-
- -
-
- - - - -
typedef struct _DMXConfigWall DMXConfigWall
-
-
-

Stores parsed wall information.

- -
-
- -
-
- - - - -
typedef struct _DMXConfigWall * DMXConfigWallPtr
-
-
- -
-
-

Enumeration Type Documentation

- -
-
- - - - -
enum DMXConfigType
-
-
-
Enumerator:
- - - - - - -
dmxConfigComment  -
dmxConfigVirtual  -
dmxConfigDisplay  -
dmxConfigWall  -
dmxConfigOption  -
dmxConfigParam  -
-
-
- -
-
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DMXConfigEntryPtr dmxConfigAddEntry (DMXConfigEntryPtr  head,
DMXConfigType  type,
DMXConfigCommentPtr  comment,
DMXConfigVirtualPtr  virtual 
)
-
-
- -

References dmxConfigCreateEntry(), and _DMXConfigEntry::next.

- -

Referenced by dmxConfigNCCallback(), and dmxVDLRead().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
DMXConfigSubPtr dmxConfigAddSub (DMXConfigSubPtr  head,
DMXConfigSubPtr  sub 
)
-
-
- -

References _DMXConfigSub::next.

- -

Referenced by dmxConfigNDCallback(), and dmxVDLRead().

- -
-
- - - -
-
- - - - - - - - - - - - - - - - - - -
const char* dmxConfigCopyString (const char *  string,
int  length 
)
-
-
- -

References dmxConfigAlloc().

- -

Referenced by dmxVDLRead().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
DMXConfigCommentPtr dmxConfigCreateComment (int  token,
int  line,
const char *  comment 
)
-
- -
- - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
DMXConfigEntryPtr dmxConfigCreateEntry (DMXConfigType  type,
DMXConfigCommentPtr  comment,
DMXConfigVirtualPtr  virtual 
)
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
DMXConfigFullDimPtr dmxConfigCreateFullDim (DMXConfigPartDimPtr  pScrn,
DMXConfigPartDimPtr  pRoot 
)
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DMXConfigNumberPtr dmxConfigCreateNumber (int  token,
int  line,
const char *  comment,
int  number 
)
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
DMXConfigOptionPtr dmxConfigCreateOption (DMXConfigTokenPtr  pStart,
DMXConfigStringPtr  pOption,
DMXConfigTokenPtr  pEnd 
)
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DMXConfigPairPtr dmxConfigCreatePair (int  token,
int  line,
const char *  comment,
int  x,
int  y,
int  xsign,
int  ysign 
)
-
- -
- - - -
-
- - - - - - - - - - - - - - - - - - -
DMXConfigPartDimPtr dmxConfigCreatePartDim (DMXConfigPairPtr  pDim,
DMXConfigPairPtr  pOffset 
)
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DMXConfigStringPtr dmxConfigCreateString (int  token,
int  line,
const char *  comment,
const char *  string 
)
-
- -
- - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
DMXConfigTokenPtr dmxConfigCreateToken (int  token,
int  line,
const char *  comment 
)
-
- -
- - - - - -
-
- - - - - - - - - -
DMXConfigEntryPtr dmxConfigEntryComment (DMXConfigCommentPtr  comment ) 
-
-
- -

References dmxConfigComment, and dmxConfigCreateEntry().

- -
-
- -
-
- - - - - - - - - -
DMXConfigEntryPtr dmxConfigEntryVirtual (DMXConfigVirtualPtr  virtual ) 
-
-
- -

References dmxConfigCreateEntry(), and dmxConfigVirtual.

- -
-
- - - -
-
- - - - - - - - - -
void dmxConfigFreeComment (DMXConfigCommentPtr  p ) 
-
- -
- - - - - -
-
- - - - - - - - - -
void dmxConfigFreeFullDim (DMXConfigFullDimPtr  p ) 
-
- -
- -
-
- - - - - - - - - -
void dmxConfigFreeNumber (DMXConfigNumberPtr  p ) 
-
- -
- - - -
-
- - - - - - - - - -
void dmxConfigFreePair (DMXConfigPairPtr  p ) 
-
- -
- - - -
-
- - - - - - - - - -
void dmxConfigFreePartDim (DMXConfigPartDimPtr  p ) 
-
- -
- - - - - -
-
- - - - - - - - - -
void dmxConfigFreeToken (DMXConfigTokenPtr  p ) 
-
- -
- -
-
- - - - - - - - - -
void dmxConfigFreeVirtual (DMXConfigVirtualPtr  virtual ) 
-
- -
- - - -
-
- - - - - - - - - - - - - - - - - - -
void dmxConfigLog (const char *  format,
  ... 
)
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
const char** dmxConfigLookupParam (DMXConfigParamPtr  p,
const char *  key,
int *  argc 
)
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void* dmxConfigRealloc (void *  orig,
unsigned long  orig_bytes,
unsigned long  bytes 
)
-
-
- -

References dmxConfigLog().

- -
-
- -
-
- - - - - - - - - -
DMXConfigSubPtr dmxConfigSubComment (DMXConfigCommentPtr  comment ) 
-
-
- -

References dmxConfigComment, and dmxConfigCreateSub().

- -
-
- -
-
- - - - - - - - - -
DMXConfigSubPtr dmxConfigSubDisplay (DMXConfigDisplayPtr  display ) 
-
-
- -

References dmxConfigCreateSub(), and dmxConfigDisplay.

- -

Referenced by dmxConfigNDCallback(), and dmxVDLRead().

- -
-
- -
-
- - - - - - - - - -
DMXConfigSubPtr dmxConfigSubOption (DMXConfigOptionPtr  option ) 
-
-
- -

References dmxConfigCreateSub(), and dmxConfigOption.

- -
-
- -
-
- - - - - - - - - -
DMXConfigSubPtr dmxConfigSubParam (DMXConfigParamPtr  param ) 
-
-
- -

References dmxConfigCreateSub(), and dmxConfigParam.

- -
-
- -
-
- - - - - - - - - -
DMXConfigSubPtr dmxConfigSubWall (DMXConfigWallPtr  wall ) 
-
-
- -

References dmxConfigCreateSub(), and dmxConfigWall.

- -
-
- -
-
- - - - - - - - - -
void yyerror (const char *  message ) 
-
-
- -
-
- -
-
- - - - - - - - - -
int yylex (void  ) 
-
-
- -
-
-

Variable Documentation

- -
- -
- -

Referenced by main().

- -
-
- -
-
- - - - -
int yydebug
-
-
- -

Referenced by dmxConfigReadFile(), and main().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxparse_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxparse_8h_source.html deleted file mode 100644 index 95c1086a5..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxparse_8h_source.html +++ /dev/null @@ -1,316 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxpict_8c.html b/xorg-server/hw/dmx/doc/html/dmxpict_8c.html deleted file mode 100644 index c0f256484..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxpict_8c.html +++ /dev/null @@ -1,1407 +0,0 @@ - - - - - File Index - - - - - -
-

dmxpict.c File Reference

#include "dmx.h"
-#include "dmxsync.h"
-#include "dmxpict.h"
-#include "dmxwindow.h"
-#include "dmxpixmap.h"
-#include "fb.h"
-#include "pixmapstr.h"
-#include "dixstruct.h"
-#include <X11/extensions/render.h>
-#include <X11/extensions/renderproto.h>
-#include <X11/extensions/Xfixes.h>
-#include "picture.h"
-#include "picturestr.h"
-#include "mipict.h"
-#include "fbpict.h"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Functions

static int dmxProcRenderCreateGlyphSet (ClientPtr client)
static int dmxProcRenderFreeGlyphSet (ClientPtr client)
static int dmxProcRenderAddGlyphs (ClientPtr client)
static int dmxProcRenderFreeGlyphs (ClientPtr client)
static int dmxProcRenderCompositeGlyphs (ClientPtr client)
static int dmxProcRenderSetPictureTransform (ClientPtr client)
static int dmxProcRenderSetPictureFilter (ClientPtr client)
static int dmxGlyphErrorHandler (Display *dpy, XErrorEvent *ev)
void dmxInitRender (void)
void dmxResetRender (void)
Bool dmxPictureInit (ScreenPtr pScreen, PictFormatPtr formats, int nformats)
static XRenderPictFormat * dmxFindFormat (DMXScreenInfo *dmxScreen, PictFormatPtr pFmt)
Bool dmxBEFreeGlyphSet (ScreenPtr pScreen, GlyphSetPtr glyphSet)
int dmxBECreateGlyphSet (int idx, GlyphSetPtr glyphSet)
static Picture dmxDoCreatePicture (PicturePtr pPicture)
void dmxCreatePictureList (WindowPtr pWindow)
int dmxBECreatePicture (PicturePtr pPicture)
int dmxCreatePicture (PicturePtr pPicture)
Bool dmxBEFreePicture (PicturePtr pPicture)
Bool dmxDestroyPictureList (WindowPtr pWindow)
void dmxDestroyPicture (PicturePtr pPicture)
int dmxChangePictureClip (PicturePtr pPicture, int clipType, pointer value, int n)
void dmxDestroyPictureClip (PicturePtr pPicture)
void dmxChangePicture (PicturePtr pPicture, Mask mask)
void dmxValidatePicture (PicturePtr pPicture, Mask mask)
void dmxComposite (CARD8 op, PicturePtr pSrc, PicturePtr pMask, PicturePtr pDst, INT16 xSrc, INT16 ySrc, INT16 xMask, INT16 yMask, INT16 xDst, INT16 yDst, CARD16 width, CARD16 height)
void dmxGlyphs (CARD8 op, PicturePtr pSrc, PicturePtr pDst, PictFormatPtr maskFormat, INT16 xSrc, INT16 ySrc, int nlists, GlyphListPtr lists, GlyphPtr *glyphs)
void dmxCompositeRects (CARD8 op, PicturePtr pDst, xRenderColor *color, int nRect, xRectangle *rects)
Bool dmxInitIndexed (ScreenPtr pScreen, PictFormatPtr pFormat)
void dmxCloseIndexed (ScreenPtr pScreen, PictFormatPtr pFormat)
void dmxUpdateIndexed (ScreenPtr pScreen, PictFormatPtr pFormat, int ndef, xColorItem *pdef)
void dmxTrapezoids (CARD8 op, PicturePtr pSrc, PicturePtr pDst, PictFormatPtr maskFormat, INT16 xSrc, INT16 ySrc, int ntrap, xTrapezoid *traps)
void dmxTriangles (CARD8 op, PicturePtr pSrc, PicturePtr pDst, PictFormatPtr maskFormat, INT16 xSrc, INT16 ySrc, int ntri, xTriangle *tris)
void dmxTriStrip (CARD8 op, PicturePtr pSrc, PicturePtr pDst, PictFormatPtr maskFormat, INT16 xSrc, INT16 ySrc, int npoint, xPointFixed *points)
void dmxTriFan (CARD8 op, PicturePtr pSrc, PicturePtr pDst, PictFormatPtr maskFormat, INT16 xSrc, INT16 ySrc, int npoint, xPointFixed *points)

Variables

int RenderErrBase
int(* ProcRenderVector [RenderNumberRequests])(ClientPtr)
static int(* dmxSaveRenderVector [RenderNumberRequests])(ClientPtr)
static int dmxGlyphLastError
-

Detailed Description

-

Provide support for the RENDER extension (version 0.8).

-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
int dmxBECreateGlyphSet (int  idx,
GlyphSetPtr  glyphSet 
)
-
- -
- -
-
- - - - - - - - - -
int dmxBECreatePicture (PicturePtr  pPicture ) 
-
-
-

Create pPicture on the backend.

- -

References DMX_GET_PICT_PRIV, dmxDoCreatePicture(), dmxValidatePicture(), and _dmxPictPriv::pict.

- -

Referenced by dmxBERestoreRenderPict().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
Bool dmxBEFreeGlyphSet (ScreenPtr  pScreen,
GlyphSetPtr  glyphSet 
)
-
- -
- -
-
- - - - - - - - - -
Bool dmxBEFreePicture (PicturePtr  pPicture ) 
-
-
-

Destroy pPicture on the back-end server.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_PICT_PRIV, dmxScreens, and _dmxPictPriv::pict.

- -

Referenced by dmxBEDestroyResources(), dmxDestroyPicture(), and dmxDestroyPictureList().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxChangePicture (PicturePtr  pPicture,
Mask  mask 
)
-
-
-

Change the attributes of the pictures. If the picture has not yet been created due to lazy window creation, save the mask so that it can be used to appropriately initialize the picture's attributes when it is created later.

- -

References DMX_GET_PICT_PRIV, DMX_UNWRAP, DMX_WRAP, dmxChangePicture(), dmxScreens, and _dmxPictPriv::savedMask.

- -

Referenced by dmxChangePicture(), and dmxPictureInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
int dmxChangePictureClip (PicturePtr  pPicture,
int  clipType,
pointer  value,
int  n 
)
-
-
-

Change the picture's list of clip rectangles.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_PICT_PRIV, DMX_UNWRAP, DMX_WRAP, dmxChangePictureClip(), dmxScreens, dmxSync(), and _dmxPictPriv::pict.

- -

Referenced by dmxChangePictureClip(), and dmxPictureInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxCloseIndexed (ScreenPtr  pScreen,
PictFormatPtr  pFormat 
)
-
-
-

Indexed color visuals are not yet supported.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxComposite (CARD8  op,
PicturePtr  pSrc,
PicturePtr  pMask,
PicturePtr  pDst,
INT16  xSrc,
INT16  ySrc,
INT16  xMask,
INT16  yMask,
INT16  xDst,
INT16  yDst,
CARD16  width,
CARD16  height 
)
-
-
-

Composite a picture on the appropriate screen by combining the specified rectangle of the transformed src and mask operands with the specified rectangle of the dst using op as the compositing operator. For a complete description see the protocol document of the RENDER library.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_PICT_PRIV, DMX_UNWRAP, DMX_WRAP, dmxComposite(), dmxScreens, dmxSync(), and _dmxPictPriv::pict.

- -

Referenced by dmxComposite(), and dmxPictureInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxCompositeRects (CARD8  op,
PicturePtr  pDst,
xRenderColor *  color,
int  nRect,
xRectangle *  rects 
)
-
-
-

Fill a rectangle on the appropriate screen by combining the color with the dest picture in the area specified by the list of rectangles. For a complete description see the protocol document of the RENDER library.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_PICT_PRIV, DMX_UNWRAP, DMX_WRAP, dmxCompositeRects(), dmxScreens, dmxSync(), and _dmxPictPriv::pict.

- -

Referenced by dmxCompositeRects(), and dmxPictureInit().

- -
-
- -
-
- - - - - - - - - -
int dmxCreatePicture (PicturePtr  pPicture ) 
-
-
-

Create a picture. This function handles the CreatePicture unwrapping/wrapping and calls dmxDoCreatePicture to actually create the picture on the appropriate screen.

- -

References DMX_GET_PICT_PRIV, DMX_UNWRAP, DMX_WRAP, dmxCreatePicture(), dmxDoCreatePicture(), dmxScreens, _dmxPictPriv::pict, and _dmxPictPriv::savedMask.

- -

Referenced by dmxCreatePicture(), and dmxPictureInit().

- -
-
- -
-
- - - - - - - - - -
void dmxCreatePictureList (WindowPtr  pWindow ) 
-
-
-

Create a list of pictures. This function is called by dmxCreateAndRealizeWindow() during the lazy window creation realization process. It creates the entire list of pictures that are associated with the given window.

- -

References DMX_GET_PICT_PRIV, dmxDoCreatePicture(), and _dmxPictPriv::pict.

- -

Referenced by dmxCreateAndRealizeWindow().

- -
-
- -
-
- - - - - - - - - -
void dmxDestroyPicture (PicturePtr  pPicture ) 
-
-
-

Destroy a picture. This function calls the wrapped function that frees the resources in the DMX server associated with this picture.

- -

References DMX_UNWRAP, DMX_WRAP, dmxBEFreePicture(), dmxDestroyPicture(), dmxScreens, and dmxSync().

- -

Referenced by dmxDestroyPicture(), and dmxPictureInit().

- -
-
- -
-
- - - - - - - - - -
void dmxDestroyPictureClip (PicturePtr  pPicture ) 
-
-
-

Destroy the picture's list of clip rectangles.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_PICT_PRIV, DMX_UNWRAP, DMX_WRAP, dmxDestroyPictureClip(), dmxScreens, dmxSync(), and _dmxPictPriv::pict.

- -

Referenced by dmxDestroyPictureClip(), and dmxPictureInit().

- -
-
- -
-
- - - - - - - - - -
Bool dmxDestroyPictureList (WindowPtr  pWindow ) 
-
-
-

Destroy a list of pictures that are associated with the window that is being destroyed. This function is called by dmxDestroyWindow().

- -

References dmxBEFreePicture().

- -

Referenced by dmxDestroyWindow().

- -
-
- -
-
- - - - - - - - - -
static Picture dmxDoCreatePicture (PicturePtr  pPicture )  [static]
-
-
-

Create a picture on the appropriate screen. This is the actual function that creates the picture. However, if the associated window has not yet been created due to lazy window creation, then delay the picture creation until the window is mapped.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_PIXMAP_PRIV, DMX_GET_WINDOW_PRIV, dmxFindFormat(), dmxScreens, _dmxWinPriv::hasPict, _dmxPixPriv::pixmap, and _dmxWinPriv::window.

- -

Referenced by dmxBECreatePicture(), dmxCreatePicture(), and dmxCreatePictureList().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
static XRenderPictFormat* dmxFindFormat (DMXScreenInfo dmxScreen,
PictFormatPtr  pFmt 
) [static]
-
-
-

Find the appropriate format on the requested screen given the internal format requested. The list of formats is searched sequentially as the XRenderFindFormat() function does not always find the appropriate format when a specific format is requested.

- -

References _DMXScreenInfo::beDisplay.

- -

Referenced by dmxBECreateGlyphSet(), dmxDoCreatePicture(), dmxProcRenderCompositeGlyphs(), dmxTrapezoids(), dmxTriangles(), dmxTriFan(), and dmxTriStrip().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
static int dmxGlyphErrorHandler (Display *  dpy,
XErrorEvent *  ev 
) [static]
-
-
- -

References dmxGlyphLastError.

- -

Referenced by dmxBECreateGlyphSet().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxGlyphs (CARD8  op,
PicturePtr  pSrc,
PicturePtr  pDst,
PictFormatPtr  maskFormat,
INT16  xSrc,
INT16  ySrc,
int  nlists,
GlyphListPtr  lists,
GlyphPtr *  glyphs 
)
-
-
-

Null function to catch when/if RENDER calls lower level mi hooks. Compositing glyphs is handled by dmxProcRenderCompositeGlyphs(). This function should never be called.

- -

Referenced by dmxPictureInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
Bool dmxInitIndexed (ScreenPtr  pScreen,
PictFormatPtr  pFormat 
)
-
-
-

Indexed color visuals are not yet supported.

- -
-
- -
-
- - - - - - - - - -
void dmxInitRender (void  ) 
-
-
-

Initialize the Proc Vector for the RENDER extension. The functions here cannot be handled by the mi layer RENDER hooks either because the required information is no longer available when it reaches the mi layer or no mi layer hooks exist. This function is called from InitOutput() since it should be initialized only once per server generation.

- -

References dmxProcRenderAddGlyphs(), dmxProcRenderCompositeGlyphs(), dmxProcRenderCreateGlyphSet(), dmxProcRenderFreeGlyphs(), dmxProcRenderFreeGlyphSet(), dmxProcRenderSetPictureFilter(), dmxProcRenderSetPictureTransform(), dmxSaveRenderVector, and ProcRenderVector.

- -

Referenced by InitOutput().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Bool dmxPictureInit (ScreenPtr  pScreen,
PictFormatPtr  formats,
int  nformats 
)
-
-
-

Initialize the RENDER extension, allocate the picture privates and wrap mi function hooks. If the shadow frame buffer is used, then call the appropriate fb initialization function.

- -

References DMX_WRAP, dmxChangePicture(), dmxChangePictureClip(), dmxComposite(), dmxCompositeRects(), dmxCreatePicture(), dmxDestroyPicture(), dmxDestroyPictureClip(), dmxGlyphs(), dmxPictPrivateKey, dmxScreens, dmxShadowFB, dmxTrapezoids(), dmxTriangles(), dmxTriFan(), dmxTriStrip(), and dmxValidatePicture().

- -

Referenced by dmxScreenInit().

- -
-
- -
-
- - - - - - - - - -
static int dmxProcRenderAddGlyphs (ClientPtr  client )  [static]
-
-
-

Add glyphs to the Glyph Set on each screen.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_GLYPH_PRIV, dmxNumScreens, dmxSaveRenderVector, dmxScreens, dmxSync(), and _dmxGlyphPriv::glyphSets.

- -

Referenced by dmxInitRender().

- -
-
- -
-
- - - - - - - - - -
static int dmxProcRenderCompositeGlyphs (ClientPtr  client )  [static]
-
-
-

Composite glyphs on each screen into the requested picture. If either the src or dest picture has not been allocated due to lazy window creation, this request will gracefully return.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_GLYPH_PRIV, DMX_GET_PICT_PRIV, dmxFindFormat(), dmxSaveRenderVector, dmxScreens, dmxSync(), _dmxGlyphPriv::glyphSets, and _dmxPictPriv::pict.

- -

Referenced by dmxInitRender().

- -
-
- -
-
- - - - - - - - - -
static int dmxProcRenderCreateGlyphSet (ClientPtr  client )  [static]
-
-
-

Create a Glyph Set on each screen. Save the glyphset ID from each screen in the Glyph Set's private structure. Fail if the format requested is not available or if the Glyph Set cannot be created on the screen.

- -

References _DMXScreenInfo::beDisplay, DMX_SET_GLYPH_PRIV, dmxBECreateGlyphSet(), dmxBEFreeGlyphSet(), dmxNumScreens, dmxSaveRenderVector, dmxScreens, and _dmxGlyphPriv::glyphSets.

- -

Referenced by dmxInitRender().

- -
-
- -
-
- - - - - - - - - -
static int dmxProcRenderFreeGlyphs (ClientPtr  client )  [static]
-
-
-

Free glyphs from the Glyph Set for each screen.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_GLYPH_PRIV, dmxNumScreens, dmxSaveRenderVector, dmxScreens, dmxSync(), and _dmxGlyphPriv::glyphSets.

- -

Referenced by dmxInitRender().

- -
-
- -
-
- - - - - - - - - -
static int dmxProcRenderFreeGlyphSet (ClientPtr  client )  [static]
-
-
-

Free the previously allocated Glyph Sets for each screen.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_GLYPH_PRIV, DMX_SET_GLYPH_PRIV, dmxBEFreeGlyphSet(), dmxNumScreens, dmxSaveRenderVector, dmxScreens, dmxSync(), and _dmxGlyphPriv::glyphSets.

- -

Referenced by dmxInitRender().

- -
-
- -
-
- - - - - - - - - -
static int dmxProcRenderSetPictureFilter (ClientPtr  client )  [static]
-
-
-

Set the picture filter on each screen.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_PICT_PRIV, dmxSaveRenderVector, dmxScreens, dmxSync(), _dmxPictPriv::pict, and RenderErrBase.

- -

Referenced by dmxInitRender().

- -
-
- -
-
- - - - - - - - - -
static int dmxProcRenderSetPictureTransform (ClientPtr  client )  [static]
-
-
-

Set the picture transform on each screen.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_PICT_PRIV, dmxSaveRenderVector, dmxScreens, dmxSync(), _dmxPictPriv::pict, and RenderErrBase.

- -

Referenced by dmxInitRender().

- -
-
- -
-
- - - - - - - - - -
void dmxResetRender (void  ) 
-
-
-

Reset the Proc Vector for the RENDER extension back to the original functions. This function is called from dmxCloseScreen() during the server reset (only for screen #0).

- -

References dmxSaveRenderVector, and ProcRenderVector.

- -

Referenced by dmxCloseScreen().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxTrapezoids (CARD8  op,
PicturePtr  pSrc,
PicturePtr  pDst,
PictFormatPtr  maskFormat,
INT16  xSrc,
INT16  ySrc,
int  ntrap,
xTrapezoid *  traps 
)
-
-
-

Composite a list of trapezoids on the appropriate screen. For a complete description see the protocol document of the RENDER library.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_PICT_PRIV, DMX_UNWRAP, DMX_WRAP, dmxFindFormat(), dmxScreens, dmxSync(), dmxTrapezoids(), and _dmxPictPriv::pict.

- -

Referenced by dmxPictureInit(), and dmxTrapezoids().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxTriangles (CARD8  op,
PicturePtr  pSrc,
PicturePtr  pDst,
PictFormatPtr  maskFormat,
INT16  xSrc,
INT16  ySrc,
int  ntri,
xTriangle *  tris 
)
-
-
-

Composite a list of triangles on the appropriate screen. For a complete description see the protocol document of the RENDER library.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_PICT_PRIV, DMX_UNWRAP, DMX_WRAP, dmxFindFormat(), dmxScreens, dmxSync(), dmxTriangles(), and _dmxPictPriv::pict.

- -

Referenced by dmxPictureInit(), and dmxTriangles().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxTriFan (CARD8  op,
PicturePtr  pSrc,
PicturePtr  pDst,
PictFormatPtr  maskFormat,
INT16  xSrc,
INT16  ySrc,
int  npoint,
xPointFixed *  points 
)
-
-
-

Composite a triangle fan on the appropriate screen. For a complete description see the protocol document of the RENDER library.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_PICT_PRIV, DMX_UNWRAP, DMX_WRAP, dmxFindFormat(), dmxScreens, dmxSync(), dmxTriFan(), and _dmxPictPriv::pict.

- -

Referenced by dmxPictureInit(), and dmxTriFan().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxTriStrip (CARD8  op,
PicturePtr  pSrc,
PicturePtr  pDst,
PictFormatPtr  maskFormat,
INT16  xSrc,
INT16  ySrc,
int  npoint,
xPointFixed *  points 
)
-
-
-

Composite a triangle strip on the appropriate screen. For a complete description see the protocol document of the RENDER library.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_PICT_PRIV, DMX_UNWRAP, DMX_WRAP, dmxFindFormat(), dmxScreens, dmxSync(), dmxTriStrip(), and _dmxPictPriv::pict.

- -

Referenced by dmxPictureInit(), and dmxTriStrip().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxUpdateIndexed (ScreenPtr  pScreen,
PictFormatPtr  pFormat,
int  ndef,
xColorItem *  pdef 
)
-
-
-

Indexed color visuals are not yet supported.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxValidatePicture (PicturePtr  pPicture,
Mask  mask 
)
-
-
-

Validate the picture's attributes before rendering to it. Update any picture attributes that have been changed by one of the higher layers.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_PICT_PRIV, DMX_UNWRAP, DMX_WRAP, dmxScreens, dmxSync(), dmxValidatePicture(), _dmxPictPriv::pict, and _dmxPictPriv::savedMask.

- -

Referenced by dmxBECreatePicture(), dmxPictureInit(), and dmxValidatePicture().

- -
-
-

Variable Documentation

- -
-
- - - - -
int dmxGlyphLastError [static]
-
-
-

Catch errors that might occur when allocating Glyph Sets. Errors are saved in dmxGlyphLastError for later handling.

- -

Referenced by dmxBECreateGlyphSet(), and dmxGlyphErrorHandler().

- -
-
- - - -
-
- - - - -
int(* ProcRenderVector[RenderNumberRequests])(ClientPtr)
-
-
- -

Referenced by dmxInitRender(), and dmxResetRender().

- -
-
- -
-
- - - - -
int RenderErrBase
-
- -
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxpict_8h.html b/xorg-server/hw/dmx/doc/html/dmxpict_8h.html deleted file mode 100644 index 722a89152..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxpict_8h.html +++ /dev/null @@ -1,1243 +0,0 @@ - - - - - File Index - - - - - -
-

dmxpict.h File Reference

-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Data Structures

struct  _dmxPictPriv
struct  _dmxGlyphPriv

Defines

#define DMX_GET_PICT_PRIV(_pPict)   (dmxPictPrivPtr)dixLookupPrivate(&(_pPict)->devPrivates, dmxPictPrivateKey)
#define DMX_SET_GLYPH_PRIV(_pGlyph, _pPriv)   GlyphSetSetPrivate((_pGlyph), dmxGlyphSetPrivateKey, (_pPriv))
#define DMX_GET_GLYPH_PRIV(_pGlyph)   (dmxGlyphPrivPtr)GlyphSetGetPrivate((_pGlyph), dmxGlyphSetPrivateKey)

Typedefs

typedef struct _dmxPictPriv dmxPictPrivRec
typedef struct _dmxPictPrivdmxPictPrivPtr
typedef struct _dmxGlyphPriv dmxGlyphPrivRec
typedef struct _dmxGlyphPrivdmxGlyphPrivPtr

Functions

void dmxInitRender (void)
void dmxResetRender (void)
Bool dmxPictureInit (ScreenPtr pScreen, PictFormatPtr formats, int nformats)
void dmxCreatePictureList (WindowPtr pWindow)
Bool dmxDestroyPictureList (WindowPtr pWindow)
int dmxCreatePicture (PicturePtr pPicture)
void dmxDestroyPicture (PicturePtr pPicture)
int dmxChangePictureClip (PicturePtr pPicture, int clipType, pointer value, int n)
void dmxDestroyPictureClip (PicturePtr pPicture)
void dmxChangePicture (PicturePtr pPicture, Mask mask)
void dmxValidatePicture (PicturePtr pPicture, Mask mask)
void dmxComposite (CARD8 op, PicturePtr pSrc, PicturePtr pMask, PicturePtr pDst, INT16 xSrc, INT16 ySrc, INT16 xMask, INT16 yMask, INT16 xDst, INT16 yDst, CARD16 width, CARD16 height)
void dmxGlyphs (CARD8 op, PicturePtr pSrc, PicturePtr pDst, PictFormatPtr maskFormat, INT16 xSrc, INT16 ySrc, int nlists, GlyphListPtr lists, GlyphPtr *glyphs)
void dmxCompositeRects (CARD8 op, PicturePtr pDst, xRenderColor *color, int nRect, xRectangle *rects)
Bool dmxInitIndexed (ScreenPtr pScreen, PictFormatPtr pFormat)
void dmxCloseIndexed (ScreenPtr pScreen, PictFormatPtr pFormat)
void dmxUpdateIndexed (ScreenPtr pScreen, PictFormatPtr pFormat, int ndef, xColorItem *pdef)
void dmxTrapezoids (CARD8 op, PicturePtr pSrc, PicturePtr pDst, PictFormatPtr maskFormat, INT16 xSrc, INT16 ySrc, int ntrap, xTrapezoid *traps)
void dmxTriangles (CARD8 op, PicturePtr pSrc, PicturePtr pDst, PictFormatPtr maskFormat, INT16 xSrc, INT16 ySrc, int ntri, xTriangle *tris)
void dmxTriStrip (CARD8 op, PicturePtr pSrc, PicturePtr pDst, PictFormatPtr maskFormat, INT16 xSrc, INT16 ySrc, int npoint, xPointFixed *points)
void dmxTriFan (CARD8 op, PicturePtr pSrc, PicturePtr pDst, PictFormatPtr maskFormat, INT16 xSrc, INT16 ySrc, int npoint, xPointFixed *points)
int dmxBECreateGlyphSet (int idx, GlyphSetPtr glyphSet)
Bool dmxBEFreeGlyphSet (ScreenPtr pScreen, GlyphSetPtr glyphSet)
int dmxBECreatePicture (PicturePtr pPicture)
Bool dmxBEFreePicture (PicturePtr pPicture)

Variables

DevPrivateKey dmxPictPrivateKey
DevPrivateKey dmxGlyphSetPrivateKey
-

Detailed Description

-

This file provides access to the externally visible RENDER support functions, global variables and macros for DMX.

-

FIXME: Move function definitions for non-externally visible function to .c file.

-

Define Documentation

- -
-
- - - - - - - - - -
#define DMX_GET_GLYPH_PRIV(_pGlyph  )    (dmxGlyphPrivPtr)GlyphSetGetPrivate((_pGlyph), dmxGlyphSetPrivateKey)
-
- -
- - - -
-
- - - - - - - - - - - - - - -
#define DMX_SET_GLYPH_PRIV(_pGlyph,
_pPriv  )    GlyphSetSetPrivate((_pGlyph), dmxGlyphSetPrivateKey, (_pPriv))
-
-
-

Set the glyphset private data given a glyphset pointer

- -

Referenced by dmxProcRenderCreateGlyphSet(), and dmxProcRenderFreeGlyphSet().

- -
-
-

Typedef Documentation

- -
-
- - - - -
typedef struct _dmxGlyphPriv * dmxGlyphPrivPtr
-
-
- -
-
- -
-
- - - - -
typedef struct _dmxGlyphPriv dmxGlyphPrivRec
-
-
-

Glyph Set private structure

- -
-
- -
-
- - - - -
typedef struct _dmxPictPriv * dmxPictPrivPtr
-
-
- -
-
- -
-
- - - - -
typedef struct _dmxPictPriv dmxPictPrivRec
-
-
-

Picture private structure

- -
-
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
int dmxBECreateGlyphSet (int  idx,
GlyphSetPtr  glyphSet 
)
-
- -
- -
-
- - - - - - - - - -
int dmxBECreatePicture (PicturePtr  pPicture ) 
-
-
-

Create pPicture on the backend.

- -

References DMX_GET_PICT_PRIV, dmxDoCreatePicture(), dmxValidatePicture(), and _dmxPictPriv::pict.

- -

Referenced by dmxBERestoreRenderPict().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
Bool dmxBEFreeGlyphSet (ScreenPtr  pScreen,
GlyphSetPtr  glyphSet 
)
-
- -
- -
-
- - - - - - - - - -
Bool dmxBEFreePicture (PicturePtr  pPicture ) 
-
-
-

Destroy pPicture on the back-end server.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_PICT_PRIV, dmxScreens, and _dmxPictPriv::pict.

- -

Referenced by dmxBEDestroyResources(), dmxDestroyPicture(), and dmxDestroyPictureList().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxChangePicture (PicturePtr  pPicture,
Mask  mask 
)
-
-
-

Change the attributes of the pictures. If the picture has not yet been created due to lazy window creation, save the mask so that it can be used to appropriately initialize the picture's attributes when it is created later.

- -

References DMX_GET_PICT_PRIV, DMX_UNWRAP, DMX_WRAP, dmxChangePicture(), dmxScreens, and _dmxPictPriv::savedMask.

- -

Referenced by dmxChangePicture(), and dmxPictureInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
int dmxChangePictureClip (PicturePtr  pPicture,
int  clipType,
pointer  value,
int  n 
)
-
-
-

Change the picture's list of clip rectangles.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_PICT_PRIV, DMX_UNWRAP, DMX_WRAP, dmxChangePictureClip(), dmxScreens, dmxSync(), and _dmxPictPriv::pict.

- -

Referenced by dmxChangePictureClip(), and dmxPictureInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxCloseIndexed (ScreenPtr  pScreen,
PictFormatPtr  pFormat 
)
-
-
-

Indexed color visuals are not yet supported.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxComposite (CARD8  op,
PicturePtr  pSrc,
PicturePtr  pMask,
PicturePtr  pDst,
INT16  xSrc,
INT16  ySrc,
INT16  xMask,
INT16  yMask,
INT16  xDst,
INT16  yDst,
CARD16  width,
CARD16  height 
)
-
-
-

Composite a picture on the appropriate screen by combining the specified rectangle of the transformed src and mask operands with the specified rectangle of the dst using op as the compositing operator. For a complete description see the protocol document of the RENDER library.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_PICT_PRIV, DMX_UNWRAP, DMX_WRAP, dmxComposite(), dmxScreens, dmxSync(), and _dmxPictPriv::pict.

- -

Referenced by dmxComposite(), and dmxPictureInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxCompositeRects (CARD8  op,
PicturePtr  pDst,
xRenderColor *  color,
int  nRect,
xRectangle *  rects 
)
-
-
-

Fill a rectangle on the appropriate screen by combining the color with the dest picture in the area specified by the list of rectangles. For a complete description see the protocol document of the RENDER library.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_PICT_PRIV, DMX_UNWRAP, DMX_WRAP, dmxCompositeRects(), dmxScreens, dmxSync(), and _dmxPictPriv::pict.

- -

Referenced by dmxCompositeRects(), and dmxPictureInit().

- -
-
- -
-
- - - - - - - - - -
int dmxCreatePicture (PicturePtr  pPicture ) 
-
-
-

Create a picture. This function handles the CreatePicture unwrapping/wrapping and calls dmxDoCreatePicture to actually create the picture on the appropriate screen.

- -

References DMX_GET_PICT_PRIV, DMX_UNWRAP, DMX_WRAP, dmxCreatePicture(), dmxDoCreatePicture(), dmxScreens, _dmxPictPriv::pict, and _dmxPictPriv::savedMask.

- -

Referenced by dmxCreatePicture(), and dmxPictureInit().

- -
-
- -
-
- - - - - - - - - -
void dmxCreatePictureList (WindowPtr  pWindow ) 
-
-
-

Create a list of pictures. This function is called by dmxCreateAndRealizeWindow() during the lazy window creation realization process. It creates the entire list of pictures that are associated with the given window.

- -

References DMX_GET_PICT_PRIV, dmxDoCreatePicture(), and _dmxPictPriv::pict.

- -

Referenced by dmxCreateAndRealizeWindow().

- -
-
- -
-
- - - - - - - - - -
void dmxDestroyPicture (PicturePtr  pPicture ) 
-
-
-

Destroy a picture. This function calls the wrapped function that frees the resources in the DMX server associated with this picture.

- -

References DMX_UNWRAP, DMX_WRAP, dmxBEFreePicture(), dmxDestroyPicture(), dmxScreens, and dmxSync().

- -

Referenced by dmxDestroyPicture(), and dmxPictureInit().

- -
-
- -
-
- - - - - - - - - -
void dmxDestroyPictureClip (PicturePtr  pPicture ) 
-
-
-

Destroy the picture's list of clip rectangles.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_PICT_PRIV, DMX_UNWRAP, DMX_WRAP, dmxDestroyPictureClip(), dmxScreens, dmxSync(), and _dmxPictPriv::pict.

- -

Referenced by dmxDestroyPictureClip(), and dmxPictureInit().

- -
-
- -
-
- - - - - - - - - -
Bool dmxDestroyPictureList (WindowPtr  pWindow ) 
-
-
-

Destroy a list of pictures that are associated with the window that is being destroyed. This function is called by dmxDestroyWindow().

- -

References dmxBEFreePicture().

- -

Referenced by dmxDestroyWindow().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxGlyphs (CARD8  op,
PicturePtr  pSrc,
PicturePtr  pDst,
PictFormatPtr  maskFormat,
INT16  xSrc,
INT16  ySrc,
int  nlists,
GlyphListPtr  lists,
GlyphPtr *  glyphs 
)
-
-
-

Null function to catch when/if RENDER calls lower level mi hooks. Compositing glyphs is handled by dmxProcRenderCompositeGlyphs(). This function should never be called.

- -

Referenced by dmxPictureInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
Bool dmxInitIndexed (ScreenPtr  pScreen,
PictFormatPtr  pFormat 
)
-
-
-

Indexed color visuals are not yet supported.

- -
-
- -
-
- - - - - - - - - -
void dmxInitRender (void  ) 
-
-
-

Initialize the Proc Vector for the RENDER extension. The functions here cannot be handled by the mi layer RENDER hooks either because the required information is no longer available when it reaches the mi layer or no mi layer hooks exist. This function is called from InitOutput() since it should be initialized only once per server generation.

- -

References dmxProcRenderAddGlyphs(), dmxProcRenderCompositeGlyphs(), dmxProcRenderCreateGlyphSet(), dmxProcRenderFreeGlyphs(), dmxProcRenderFreeGlyphSet(), dmxProcRenderSetPictureFilter(), dmxProcRenderSetPictureTransform(), dmxSaveRenderVector, and ProcRenderVector.

- -

Referenced by InitOutput().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Bool dmxPictureInit (ScreenPtr  pScreen,
PictFormatPtr  formats,
int  nformats 
)
-
-
-

Initialize the RENDER extension, allocate the picture privates and wrap mi function hooks. If the shadow frame buffer is used, then call the appropriate fb initialization function.

- -

References DMX_WRAP, dmxChangePicture(), dmxChangePictureClip(), dmxComposite(), dmxCompositeRects(), dmxCreatePicture(), dmxDestroyPicture(), dmxDestroyPictureClip(), dmxGlyphs(), dmxPictPrivateKey, dmxScreens, dmxShadowFB, dmxTrapezoids(), dmxTriangles(), dmxTriFan(), dmxTriStrip(), and dmxValidatePicture().

- -

Referenced by dmxScreenInit().

- -
-
- -
-
- - - - - - - - - -
void dmxResetRender (void  ) 
-
-
-

Reset the Proc Vector for the RENDER extension back to the original functions. This function is called from dmxCloseScreen() during the server reset (only for screen #0).

- -

References dmxSaveRenderVector, and ProcRenderVector.

- -

Referenced by dmxCloseScreen().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxTrapezoids (CARD8  op,
PicturePtr  pSrc,
PicturePtr  pDst,
PictFormatPtr  maskFormat,
INT16  xSrc,
INT16  ySrc,
int  ntrap,
xTrapezoid *  traps 
)
-
-
-

Composite a list of trapezoids on the appropriate screen. For a complete description see the protocol document of the RENDER library.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_PICT_PRIV, DMX_UNWRAP, DMX_WRAP, dmxFindFormat(), dmxScreens, dmxSync(), dmxTrapezoids(), and _dmxPictPriv::pict.

- -

Referenced by dmxPictureInit(), and dmxTrapezoids().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxTriangles (CARD8  op,
PicturePtr  pSrc,
PicturePtr  pDst,
PictFormatPtr  maskFormat,
INT16  xSrc,
INT16  ySrc,
int  ntri,
xTriangle *  tris 
)
-
-
-

Composite a list of triangles on the appropriate screen. For a complete description see the protocol document of the RENDER library.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_PICT_PRIV, DMX_UNWRAP, DMX_WRAP, dmxFindFormat(), dmxScreens, dmxSync(), dmxTriangles(), and _dmxPictPriv::pict.

- -

Referenced by dmxPictureInit(), and dmxTriangles().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxTriFan (CARD8  op,
PicturePtr  pSrc,
PicturePtr  pDst,
PictFormatPtr  maskFormat,
INT16  xSrc,
INT16  ySrc,
int  npoint,
xPointFixed *  points 
)
-
-
-

Composite a triangle fan on the appropriate screen. For a complete description see the protocol document of the RENDER library.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_PICT_PRIV, DMX_UNWRAP, DMX_WRAP, dmxFindFormat(), dmxScreens, dmxSync(), dmxTriFan(), and _dmxPictPriv::pict.

- -

Referenced by dmxPictureInit(), and dmxTriFan().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxTriStrip (CARD8  op,
PicturePtr  pSrc,
PicturePtr  pDst,
PictFormatPtr  maskFormat,
INT16  xSrc,
INT16  ySrc,
int  npoint,
xPointFixed *  points 
)
-
-
-

Composite a triangle strip on the appropriate screen. For a complete description see the protocol document of the RENDER library.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_PICT_PRIV, DMX_UNWRAP, DMX_WRAP, dmxFindFormat(), dmxScreens, dmxSync(), dmxTriStrip(), and _dmxPictPriv::pict.

- -

Referenced by dmxPictureInit(), and dmxTriStrip().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxUpdateIndexed (ScreenPtr  pScreen,
PictFormatPtr  pFormat,
int  ndef,
xColorItem *  pdef 
)
-
-
-

Indexed color visuals are not yet supported.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxValidatePicture (PicturePtr  pPicture,
Mask  mask 
)
-
-
-

Validate the picture's attributes before rendering to it. Update any picture attributes that have been changed by one of the higher layers.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_PICT_PRIV, DMX_UNWRAP, DMX_WRAP, dmxScreens, dmxSync(), dmxValidatePicture(), _dmxPictPriv::pict, and _dmxPictPriv::savedMask.

- -

Referenced by dmxBECreatePicture(), dmxPictureInit(), and dmxValidatePicture().

- -
-
-

Variable Documentation

- -
-
- - - - -
DevPrivateKey dmxGlyphSetPrivateKey
-
-
-

Index for glyphset private data

-

Private index for GlyphSets

- -
-
- -
-
- - - - -
DevPrivateKey dmxPictPrivateKey
-
-
-

Index for picture private data

-

Private index for Picts

- -

Referenced by dmxPictureInit().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxpict_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxpict_8h_source.html deleted file mode 100644 index 7616ee671..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxpict_8h_source.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxpixmap_8c.html b/xorg-server/hw/dmx/doc/html/dmxpixmap_8c.html deleted file mode 100644 index 68bbc807a..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxpixmap_8c.html +++ /dev/null @@ -1,221 +0,0 @@ - - - - - File Index - - - - - -
-

dmxpixmap.c File Reference

#include "dmx.h"
-#include "dmxsync.h"
-#include "dmxpixmap.h"
-#include "pixmapstr.h"
-#include "servermd.h"
-#include "privates.h"
- - - - - - - - -

Functions

Bool dmxInitPixmap (ScreenPtr pScreen)
void dmxBECreatePixmap (PixmapPtr pPixmap)
PixmapPtr dmxCreatePixmap (ScreenPtr pScreen, int width, int height, int depth, unsigned usage_hint)
Bool dmxBEFreePixmap (PixmapPtr pPixmap)
Bool dmxDestroyPixmap (PixmapPtr pPixmap)
RegionPtr dmxBitmapToRegion (PixmapPtr pPixmap)
-

Detailed Description

-

Provides pixmap support.

-

Function Documentation

- -
-
- - - - - - - - - -
void dmxBECreatePixmap (PixmapPtr  pPixmap ) 
-
- -
- -
-
- - - - - - - - - -
Bool dmxBEFreePixmap (PixmapPtr  pPixmap ) 
-
- -
- -
-
- - - - - - - - - -
RegionPtr dmxBitmapToRegion (PixmapPtr  pPixmap ) 
-
-
-

Create and return a region based on the pixmap pointed to by pPixmap.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_PIXMAP_PRIV, dmxScreens, dmxSync(), and _dmxPixPriv::pixmap.

- -

Referenced by dmxScreenInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PixmapPtr dmxCreatePixmap (ScreenPtr  pScreen,
int  width,
int  height,
int  depth,
unsigned  usage_hint 
)
-
-
-

Create a pixmap for pScreen with the specified width, height, and depth.

- -

References _DMXScreenInfo::beDisplay, _dmxPixPriv::detachedImage, DMX_GET_PIXMAP_PRIV, DMX_UNWRAP, DMX_WRAP, dmxBECreatePixmap(), dmxCreatePixmap(), dmxScreens, and _dmxPixPriv::pixmap.

- -

Referenced by dmxCreatePixmap(), and dmxScreenInit().

- -
-
- -
-
- - - - - - - - - -
Bool dmxDestroyPixmap (PixmapPtr  pPixmap ) 
-
- -
- -
-
- - - - - - - - - -
Bool dmxInitPixmap (ScreenPtr  pScreen ) 
-
-
-

Initialize a private area in pScreen for pixmap information.

- -

References dmxPixPrivateKey.

- -

Referenced by dmxScreenInit().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxpixmap_8h.html b/xorg-server/hw/dmx/doc/html/dmxpixmap_8h.html deleted file mode 100644 index 8feb86bea..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxpixmap_8h.html +++ /dev/null @@ -1,299 +0,0 @@ - - - - - File Index - - - - - -
-

dmxpixmap.h File Reference

#include "pixmapstr.h"
- -

Go to the source code of this file.

- - - - - - - - - - - - - - - - - -

Data Structures

struct  _dmxPixPriv

Defines

#define DMX_GET_PIXMAP_PRIV(_pPix)   (dmxPixPrivPtr)dixLookupPrivate(&(_pPix)->devPrivates, dmxPixPrivateKey)

Typedefs

typedef struct _dmxPixPriv dmxPixPrivRec
typedef struct _dmxPixPrivdmxPixPrivPtr

Functions

Bool dmxInitPixmap (ScreenPtr pScreen)
PixmapPtr dmxCreatePixmap (ScreenPtr pScreen, int width, int height, int depth, unsigned usage_hint)
Bool dmxDestroyPixmap (PixmapPtr pPixmap)
RegionPtr dmxBitmapToRegion (PixmapPtr pPixmap)
void dmxBECreatePixmap (PixmapPtr pPixmap)
Bool dmxBEFreePixmap (PixmapPtr pPixmap)

Variables

DevPrivateKey dmxPixPrivateKey
-

Detailed Description

-

Interface for pixmap support.

-
See also:
dmxpixmap.c
-

Define Documentation

- -
-
- - - - - - - - - -
#define DMX_GET_PIXMAP_PRIV(_pPix  )    (dmxPixPrivPtr)dixLookupPrivate(&(_pPix)->devPrivates, dmxPixPrivateKey)
-
- -
-

Typedef Documentation

- -
-
- - - - -
typedef struct _dmxPixPriv * dmxPixPrivPtr
-
-
- -
-
- -
-
- - - - -
typedef struct _dmxPixPriv dmxPixPrivRec
-
-
-

Pixmap private area.

- -
-
-

Function Documentation

- -
-
- - - - - - - - - -
void dmxBECreatePixmap (PixmapPtr  pPixmap ) 
-
- -
- -
-
- - - - - - - - - -
Bool dmxBEFreePixmap (PixmapPtr  pPixmap ) 
-
- -
- -
-
- - - - - - - - - -
RegionPtr dmxBitmapToRegion (PixmapPtr  pPixmap ) 
-
-
-

Create and return a region based on the pixmap pointed to by pPixmap.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_PIXMAP_PRIV, dmxScreens, dmxSync(), and _dmxPixPriv::pixmap.

- -

Referenced by dmxScreenInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PixmapPtr dmxCreatePixmap (ScreenPtr  pScreen,
int  width,
int  height,
int  depth,
unsigned  usage_hint 
)
-
-
-

Create a pixmap for pScreen with the specified width, height, and depth.

- -

References _DMXScreenInfo::beDisplay, _dmxPixPriv::detachedImage, DMX_GET_PIXMAP_PRIV, DMX_UNWRAP, DMX_WRAP, dmxBECreatePixmap(), dmxCreatePixmap(), dmxScreens, and _dmxPixPriv::pixmap.

- -

Referenced by dmxCreatePixmap(), and dmxScreenInit().

- -
-
- -
-
- - - - - - - - - -
Bool dmxDestroyPixmap (PixmapPtr  pPixmap ) 
-
- -
- -
-
- - - - - - - - - -
Bool dmxInitPixmap (ScreenPtr  pScreen ) 
-
-
-

Initialize a private area in pScreen for pixmap information.

- -

References dmxPixPrivateKey.

- -

Referenced by dmxScreenInit().

- -
-
-

Variable Documentation

- -
-
- - - - -
DevPrivateKey dmxPixPrivateKey
-
-
-

Private index.

-
See also:
dmxpicmap.h
-
-dmxscrinit.c
-

Private index for Pixmaps

- -

Referenced by dmxInitPixmap().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxpixmap_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxpixmap_8h_source.html deleted file mode 100644 index 3911ae4a7..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxpixmap_8h_source.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxprint_8c.html b/xorg-server/hw/dmx/doc/html/dmxprint_8c.html deleted file mode 100644 index d52dacec5..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxprint_8c.html +++ /dev/null @@ -1,711 +0,0 @@ - - - - - File Index - - - - - -
-

dmxprint.c File Reference

#include "dmxconfig.h"
-#include "dmxparse.h"
-#include "dmxprint.h"
-#include "parser.h"
-#include <stdio.h>
-#include <stdarg.h>
-#include <ctype.h>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Data Structures

struct  stack

Functions

static void dmxConfigIndent (void)
static void dmxConfigNewline (void)
static void dmxConfigPushState (int base, int comment, int step)
static void dmxConfigPushComment (void)
static void dmxConfigPushStep (void)
static void dmxConfigPopState (void)
static void dmxConfigOutput (int addSpace, int doNewline, const char *comment, const char *format,...)
static void dmxConfigPrintComment (DMXConfigCommentPtr p)
static void dmxConfigPrintTokenFlag (DMXConfigTokenPtr p, int flag)
static void dmxConfigPrintToken (DMXConfigTokenPtr p)
static void dmxConfigPrintTokenNopop (DMXConfigTokenPtr p)
static int dmxConfigPrintQuotedString (const char *s)
static void dmxConfigPrintString (DMXConfigStringPtr p, int quote)
static int dmxConfigPrintPair (DMXConfigPairPtr p, int addSpace)
static void dmxConfigPrintDisplay (DMXConfigDisplayPtr p)
static void dmxConfigPrintWall (DMXConfigWallPtr p)
static void dmxConfigPrintOption (DMXConfigOptionPtr p)
static void dmxConfigPrintParam (DMXConfigParamPtr p)
static void dmxConfigPrintSub (DMXConfigSubPtr p)
static void dmxConfigPrintVirtual (DMXConfigVirtualPtr p)
void dmxConfigPrint (FILE *stream, DMXConfigEntryPtr entry)
void dmxConfigVirtualPrint (FILE *stream, DMXConfigVirtualPtr p)

Variables

static FILE * str = NULL
static int indent = 0
static int pos = 0
static struct stack initialStack
-

Detailed Description

-

This file provides support routines and helper functions to be used to pretty-print DMX configurations.

-

Because the DMX configuration file parsing should be capable of being used in a stand-alone fashion (i.e., independent from the DMX server source tree), no dependencies on other DMX routines are made.

-

Function Documentation

- -
-
- - - - - - - - - -
static void dmxConfigIndent (void  )  [static]
-
-
- -

References indent, and str.

- -

Referenced by dmxConfigOutput().

- -
-
- -
-
- - - - - - - - - -
static void dmxConfigNewline (void  )  [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
static void dmxConfigOutput (int  addSpace,
int  doNewline,
const char *  comment,
const char *  format,
  ... 
) [static]
-
- -
- -
-
- - - - - - - - - -
static void dmxConfigPopState (void  )  [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxConfigPrint (FILE *  stream,
DMXConfigEntryPtr  entry 
)
-
-
-

The configuration information in entry will be pretty-printed to the stream. If stream is NULL, then stdout will be used.

- -

References _DMXConfigEntry::comment, dmxConfigComment, dmxConfigLog(), dmxConfigNewline(), dmxConfigPrintComment(), dmxConfigPrintVirtual(), dmxConfigVirtual, _DMXConfigEntry::next, pos, str, _DMXConfigEntry::type, and _DMXConfigEntry::virtual.

- -

Referenced by dmxConfigWriteFile(), and main().

- -
-
- -
-
- - - - - - - - - -
static void dmxConfigPrintComment (DMXConfigCommentPtr  p )  [static]
-
- -
- - - -
-
- - - - - - - - - -
static void dmxConfigPrintOption (DMXConfigOptionPtr  p )  [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
static int dmxConfigPrintPair (DMXConfigPairPtr  p,
int  addSpace 
) [static]
-
- -
- - - -
-
- - - - - - - - - -
static int dmxConfigPrintQuotedString (const char *  s )  [static]
-
-
- -

Referenced by dmxConfigPrintString().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
static void dmxConfigPrintString (DMXConfigStringPtr  p,
int  quote 
) [static]
-
- -
- - - -
-
- - - - - - - - - -
static void dmxConfigPrintToken (DMXConfigTokenPtr  p )  [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
static void dmxConfigPrintTokenFlag (DMXConfigTokenPtr  p,
int  flag 
) [static]
-
- -
- -
-
- - - - - - - - - -
static void dmxConfigPrintTokenNopop (DMXConfigTokenPtr  p )  [static]
-
-
- -

References dmxConfigPrintTokenFlag().

- -

Referenced by dmxConfigPrintParam().

- -
-
- - - - - -
-
- - - - - - - - - -
static void dmxConfigPushComment (void  )  [static]
-
-
- -

References indent.

- -

Referenced by dmxConfigOutput().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
static void dmxConfigPushState (int  base,
int  comment,
int  step 
) [static]
-
-
- -

References dmxConfigAlloc(), dmxConfigNewline(), and indent.

- -

Referenced by dmxConfigPrintTokenFlag().

- -
-
- -
-
- - - - - - - - - -
static void dmxConfigPushStep (void  )  [static]
-
-
- -

References indent.

- -

Referenced by dmxConfigPrintTokenFlag().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxConfigVirtualPrint (FILE *  stream,
DMXConfigVirtualPtr  p 
)
-
-
-

The configuration information in p will be pretty-printed to the stream. If stream is NULL, then stdout will be used.

- -

References dmxConfigNewline(), dmxConfigPrintVirtual(), pos, and str.

- -

Referenced by dmxConfigReadFile(), and dmxConfigSelectCallback().

- -
-
-

Variable Documentation

- -
-
- - - - -
int indent = 0 [static]
-
- -
- -
-
- - - - -
struct stack initialStack [static]
-
-
- -
-
- -
-
- - - - -
int pos = 0 [static]
-
- -
- - -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxprint_8h.html b/xorg-server/hw/dmx/doc/html/dmxprint_8h.html deleted file mode 100644 index ea6c15cb9..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxprint_8h.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - File Index - - - - - -
-

dmxprint.h File Reference

-

Go to the source code of this file.

- - - - -

Functions

void dmxConfigPrint (FILE *str, DMXConfigEntryPtr entry)
void dmxConfigVirtualPrint (FILE *str, DMXConfigVirtualPtr p)
-

Detailed Description

-

Interface to DMX configuration file pretty-printer.

-
See also:
dmxprint.c
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
void dmxConfigPrint (FILE *  stream,
DMXConfigEntryPtr  entry 
)
-
-
-

The configuration information in entry will be pretty-printed to the stream. If stream is NULL, then stdout will be used.

- -

References _DMXConfigEntry::comment, dmxConfigComment, dmxConfigLog(), dmxConfigNewline(), dmxConfigPrintComment(), dmxConfigPrintVirtual(), dmxConfigVirtual, _DMXConfigEntry::next, pos, str, _DMXConfigEntry::type, and _DMXConfigEntry::virtual.

- -

Referenced by dmxConfigWriteFile(), and main().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxConfigVirtualPrint (FILE *  stream,
DMXConfigVirtualPtr  p 
)
-
-
-

The configuration information in p will be pretty-printed to the stream. If stream is NULL, then stdout will be used.

- -

References dmxConfigNewline(), dmxConfigPrintVirtual(), pos, and str.

- -

Referenced by dmxConfigReadFile(), and dmxConfigSelectCallback().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxprint_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxprint_8h_source.html deleted file mode 100644 index a4b25b8e6..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxprint_8h_source.html +++ /dev/null @@ -1,76 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxprop_8c.html b/xorg-server/hw/dmx/doc/html/dmxprop_8c.html deleted file mode 100644 index 7bb916b5f..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxprop_8c.html +++ /dev/null @@ -1,346 +0,0 @@ - - - - - File Index - - - - - -
-

dmxprop.c File Reference

#include "dmx.h"
-#include "dmxprop.h"
-#include "dmxlog.h"
- - - - - - - - - - - - - - - -

Defines

#define DMX_ATOMNAME   "DMX_NAME"
#define DMX_IDENT   "Xdmx"

Functions

static int dmxPropertyErrorHandler (Display *dpy, XErrorEvent *ev)
static const unsigned char * dmxPropertyIdentifier (void)
void * dmxPropertyIterate (DMXScreenInfo *start, void *(*f)(DMXScreenInfo *dmxScreen, void *), void *closure)
static int dmxPropertyCheckOtherServers (DMXScreenInfo *dmxScreen, Atom atom)
static DMXScreenInfodmxPropertyCheckOtherWindows (DMXScreenInfo *dmxScreen, Atom atom)
int dmxPropertyDisplay (DMXScreenInfo *dmxScreen)
int dmxPropertySameDisplay (DMXScreenInfo *dmxScreen, const char *name)
void dmxPropertyWindow (DMXScreenInfo *dmxScreen)

Variables

char * display
-

Detailed Description

-

It is possible for one of the DMX "backend displays" to actually be smaller than the dimensions of the backend X server. Therefore, it is possible for more than one of the DMX "backend displays" to be physically located on the same backend X server. This situation must be detected so that cursor motion can be handled in an expected fashion.

-

We could analyze the names used for the DMX "backend displays" (e.g., the names passed to the -display command-line parameter), but there are many possible names for a single X display, and failing to detect sameness leads to very unexpected results. Therefore, whenever the DMX server opens a window on a backend X server, a property value is queried and set on that backend to detect when another window is already open on that server.

-

Further, it is possible that two different DMX server instantiations both have windows on the same physical backend X server. This case is also detected so that pointer input is not taken from that particular backend X server.

-

The routines in this file handle the property management.

-

Define Documentation

- -
-
- - - - -
#define DMX_ATOMNAME   "DMX_NAME"
-
-
-

Holds the window id of all DMX windows on the backend X server.

- -

Referenced by dmxPropertyDisplay(), dmxPropertySameDisplay(), and dmxPropertyWindow().

- -
-
- -
-
- - - - -
#define DMX_IDENT   "Xdmx"
-
-
-

The identification string of this DMX server

- -

Referenced by dmxPropertyCheckOtherServers(), and dmxPropertyIdentifier().

- -
-
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
static int dmxPropertyCheckOtherServers (DMXScreenInfo dmxScreen,
Atom  atom 
) [static]
-
-
-

Returns 0 if this is the only Xdmx session on the display; 1 otherwise.

- -

References _DMXScreenInfo::beDisplay, DMX_IDENT, dmxLogOutput(), dmxLogOutputWarning(), dmxPropertyErrorHandler(), and _DMXScreenInfo::name.

- -

Referenced by dmxPropertyDisplay().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
static DMXScreenInfo* dmxPropertyCheckOtherWindows (DMXScreenInfo dmxScreen,
Atom  atom 
) [static]
-
-
-

Returns NULL if this is the only Xdmx window on the display. Otherwise, returns a pointer to the dmxScreen of the other windows on the display.

- -

References _DMXScreenInfo::beDisplay, dmxDebug, dmxLog(), dmxNumScreens, dmxPropertyErrorHandler(), dmxPropertyIdentifier(), dmxScreens, and _DMXScreenInfo::name.

- -

Referenced by dmxPropertyWindow().

- -
-
- -
-
- - - - - - - - - -
int dmxPropertyDisplay (DMXScreenInfo dmxScreen ) 
-
-
-

Returns 0 if this is the only Xdmx session on the display; 1 otherwise.

- -

References _DMXScreenInfo::beDisplay, DMX_ATOMNAME, dmxPropertyCheckOtherServers(), dmxPropertyIdentifier(), and _DMXScreenInfo::shared.

- -

Referenced by dmxOpenDisplay().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
static int dmxPropertyErrorHandler (Display *  dpy,
XErrorEvent *  ev 
) [static]
-
- -
- -
-
- - - - - - - - - -
static const unsigned char* dmxPropertyIdentifier (void  )  [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void* dmxPropertyIterate (DMXScreenInfo start,
void *(*)(DMXScreenInfo *dmxScreen, void *)  f,
void *  closure 
)
-
-
-

Starting with the start screen, iterate over all of the screens on the same physical X server as start, calling f with the screen and the closure. (The common case is that start is the only DMX window on the backend X server.)

- -

References _DMXScreenInfo::beDisplay, dmxDebug, dmxLog(), and _DMXScreenInfo::next.

- -

Referenced by dmxBackendFindWindow(), dmxBackendGetEvent(), dmxBackendPendingMotionEvent(), dmxBackendSameDisplay(), dmxCommonMouOff(), dmxCommonMouOn(), and dmxInitOverlap().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
int dmxPropertySameDisplay (DMXScreenInfo dmxScreen,
const char *  name 
)
-
-
-

Returns 1 if the dmxScreen and the display in name are on the same display, or 0 otherwise. We can't just compare the display names because there can be multiple synonyms for the same display, some of which cannot be determined without accessing the display itself (e.g., domain aliases or machines with multiple NICs).

- -

References _DMXScreenInfo::beDisplay, DMX_ATOMNAME, dmxDebug, dmxLog(), dmxWarning, and _DMXScreenInfo::name.

- -

Referenced by dmxBackendInitPrivate(), and dmxInputInit().

- -
-
- -
-
- - - - - - - - - -
void dmxPropertyWindow (DMXScreenInfo dmxScreen ) 
-
-
-

Prints a log message if dmxScreen is on the same backend X server as some other DMX backend (output) screen. Modifies the property (DMX_ATOMNAME) on the backend X server to reflect the creation of dmxScreen.

-

The root window of the backend X server holds a list of window ids for all DMX windows (on this DMX server or some other DMX server).

-

This list can then be iterated, and the property for each window can be examined. This property contains the following tuple (no quotes):

-

"#DMX_IDENT:<hostname running DMX>:<display name of DMX>,<screen number>"

- -

References _DMXScreenInfo::beDisplay, DMX_ATOMNAME, dmxDebug, dmxLog(), dmxPropertyCheckOtherWindows(), dmxPropertyIdentifier(), _DMXScreenInfo::index, _DMXScreenInfo::name, _DMXScreenInfo::next, and _DMXScreenInfo::scrnWin.

- -

Referenced by dmxBEScreenInit().

- -
-
-

Variable Documentation

- - -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxprop_8h.html b/xorg-server/hw/dmx/doc/html/dmxprop_8h.html deleted file mode 100644 index c26888a1e..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxprop_8h.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - File Index - - - - - -
-

dmxprop.h File Reference

-

Go to the source code of this file.

- - - - - - -

Functions

int dmxPropertyDisplay (DMXScreenInfo *dmxScreen)
void dmxPropertyWindow (DMXScreenInfo *dmxScreen)
void * dmxPropertyIterate (DMXScreenInfo *start, void *(*f)(DMXScreenInfo *dmxScreen, void *closure), void *closure)
int dmxPropertySameDisplay (DMXScreenInfo *dmxScreen, const char *name)
-

Detailed Description

-

Interface for property support.

-
See also:
dmxprop.c
-

Function Documentation

- -
-
- - - - - - - - - -
int dmxPropertyDisplay (DMXScreenInfo dmxScreen ) 
-
-
-

Returns 0 if this is the only Xdmx session on the display; 1 otherwise.

- -

References _DMXScreenInfo::beDisplay, DMX_ATOMNAME, dmxPropertyCheckOtherServers(), dmxPropertyIdentifier(), and _DMXScreenInfo::shared.

- -

Referenced by dmxOpenDisplay().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void* dmxPropertyIterate (DMXScreenInfo start,
void *(*)(DMXScreenInfo *dmxScreen, void *closure)  f,
void *  closure 
)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
int dmxPropertySameDisplay (DMXScreenInfo dmxScreen,
const char *  name 
)
-
-
-

Returns 1 if the dmxScreen and the display in name are on the same display, or 0 otherwise. We can't just compare the display names because there can be multiple synonyms for the same display, some of which cannot be determined without accessing the display itself (e.g., domain aliases or machines with multiple NICs).

- -

References _DMXScreenInfo::beDisplay, DMX_ATOMNAME, dmxDebug, dmxLog(), dmxWarning, and _DMXScreenInfo::name.

- -

Referenced by dmxBackendInitPrivate(), and dmxInputInit().

- -
-
- -
-
- - - - - - - - - -
void dmxPropertyWindow (DMXScreenInfo dmxScreen ) 
-
-
-

Prints a log message if dmxScreen is on the same backend X server as some other DMX backend (output) screen. Modifies the property (DMX_ATOMNAME) on the backend X server to reflect the creation of dmxScreen.

-

The root window of the backend X server holds a list of window ids for all DMX windows (on this DMX server or some other DMX server).

-

This list can then be iterated, and the property for each window can be examined. This property contains the following tuple (no quotes):

-

"#DMX_IDENT:<hostname running DMX>:<display name of DMX>,<screen number>"

- -

References _DMXScreenInfo::beDisplay, DMX_ATOMNAME, dmxDebug, dmxLog(), dmxPropertyCheckOtherWindows(), dmxPropertyIdentifier(), _DMXScreenInfo::index, _DMXScreenInfo::name, _DMXScreenInfo::next, and _DMXScreenInfo::scrnWin.

- -

Referenced by dmxBEScreenInit().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxprop_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxprop_8h_source.html deleted file mode 100644 index cacdb0373..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxprop_8h_source.html +++ /dev/null @@ -1,79 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxscrinit_8c.html b/xorg-server/hw/dmx/doc/html/dmxscrinit_8c.html deleted file mode 100644 index 14e7a8008..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxscrinit_8c.html +++ /dev/null @@ -1,492 +0,0 @@ - - - - - File Index - - - - - -
-

dmxscrinit.c File Reference

#include "dmx.h"
-#include "dmxsync.h"
-#include "dmxshadow.h"
-#include "dmxscrinit.h"
-#include "dmxcursor.h"
-#include "dmxgc.h"
-#include "dmxgcops.h"
-#include "dmxwindow.h"
-#include "dmxpixmap.h"
-#include "dmxfont.h"
-#include "dmxcmap.h"
-#include "dmxprop.h"
-#include "dmxdpms.h"
-#include "dmxpict.h"
-#include "fb.h"
-#include "mipointer.h"
-#include "micmap.h"
- - - - - - - - - - - - - - - - - - - - - - - - - -

Functions

Bool dmxCloseScreen (int idx, ScreenPtr pScreen)
static Bool dmxSaveScreen (ScreenPtr pScreen, int what)
void dmxBEScreenInit (int idx, ScreenPtr pScreen)
Bool dmxScreenInit (int idx, ScreenPtr pScreen, int argc, char *argv[])
void dmxBECloseScreen (ScreenPtr pScreen)

Variables

static unsigned long dmxGeneration
static unsigned long * dmxCursorGeneration
static int dmxGCPrivateKeyIndex
DevPrivateKey dmxGCPrivateKey = &dmxGCPrivateKeyIndex
static int dmxWinPrivateKeyIndex
DevPrivateKey dmxWinPrivateKey = &dmxWinPrivateKeyIndex
static int dmxPixPrivateKeyIndex
DevPrivateKey dmxPixPrivateKey = &dmxPixPrivateKeyIndex
int dmxFontPrivateIndex
static int dmxScreenPrivateKeyIndex
DevPrivateKey dmxScreenPrivateKey = &dmxScreenPrivateKeyIndex
static int dmxColormapPrivateKeyIndex
DevPrivateKey dmxColormapPrivateKey = &dmxColormapPrivateKeyIndex
static int dmxPictPrivateKeyIndex
DevPrivateKey dmxPictPrivateKey = &dmxPictPrivateKeyIndex
static int dmxGlyphSetPrivateKeyIndex
DevPrivateKey dmxGlyphSetPrivateKey = &dmxGlyphSetPrivateKeyIndex
-

Detailed Description

-

This file provides support for screen initialization.

-

Function Documentation

- - - - - -
-
- - - - - - - - - - - - - - - - - - -
Bool dmxCloseScreen (int  idx,
ScreenPtr  pScreen 
)
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
static Bool dmxSaveScreen (ScreenPtr  pScreen,
int  what 
) [static]
-
-
- -

References _DMXScreenInfo::beDisplay, dmxScreens, and dmxSync().

- -

Referenced by dmxScreenInit().

- -
-
- - -

Variable Documentation

- -
- -
-

Private index for Colormaps

- -
-
- -
-
- - - - -
int dmxColormapPrivateKeyIndex [static]
-
-
- -
-
- -
-
- - - - -
unsigned long* dmxCursorGeneration [static]
-
-
- -

Referenced by dmxScreenInit().

- -
-
- -
-
- - - - -
int dmxFontPrivateIndex
-
-
-

Private index for Fonts

- -

Referenced by dmxBEFreeFont(), dmxBELoadFont(), dmxChangeGC(), dmxRealizeFont(), dmxScreenInit(), and dmxUnrealizeFont().

- -
-
- -
-
- - - - -
DevPrivateKey dmxGCPrivateKey = &dmxGCPrivateKeyIndex
-
-
-

Private index for GCs

- -

Referenced by dmxInitGC().

- -
-
- -
-
- - - - -
int dmxGCPrivateKeyIndex [static]
-
-
- -
-
- -
-
- - - - -
unsigned long dmxGeneration [static]
-
- -
- -
- -
-

Private index for GlyphSets

- -
-
- -
-
- - - - -
int dmxGlyphSetPrivateKeyIndex [static]
-
-
- -
-
- -
-
- - - - -
DevPrivateKey dmxPictPrivateKey = &dmxPictPrivateKeyIndex
-
-
-

Private index for Picts

- -

Referenced by dmxPictureInit().

- -
-
- -
-
- - - - -
int dmxPictPrivateKeyIndex [static]
-
-
- -
-
- -
-
- - - - -
DevPrivateKey dmxPixPrivateKey = &dmxPixPrivateKeyIndex
-
-
-

Private index for Pixmaps

- -

Referenced by dmxInitPixmap().

- -
-
- -
-
- - - - -
int dmxPixPrivateKeyIndex [static]
-
-
- -
-
- -
-
- - - - -
DevPrivateKey dmxScreenPrivateKey = &dmxScreenPrivateKeyIndex
-
-
-

Private index for Screens

- -

Referenced by dmxCloseConsoleScreen(), and dmxConsoleInit().

- -
-
- -
-
- - - - -
int dmxScreenPrivateKeyIndex [static]
-
-
- -
-
- -
-
- - - - -
DevPrivateKey dmxWinPrivateKey = &dmxWinPrivateKeyIndex
-
-
-

Private index for Windows

- -

Referenced by dmxInitWindow().

- -
-
- -
-
- - - - -
int dmxWinPrivateKeyIndex [static]
-
-
- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxscrinit_8h.html b/xorg-server/hw/dmx/doc/html/dmxscrinit_8h.html deleted file mode 100644 index 66fbebc19..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxscrinit_8h.html +++ /dev/null @@ -1,173 +0,0 @@ - - - - - File Index - - - - - -
-

dmxscrinit.h File Reference

#include "scrnintstr.h"
- -

Go to the source code of this file.

- - - - - - - -

Functions

Bool dmxScreenInit (int idx, ScreenPtr pScreen, int argc, char *argv[])
void dmxBEScreenInit (int idx, ScreenPtr pScreen)
void dmxBECloseScreen (ScreenPtr pScreen)

Variables

DevPrivateKey dmxScreenPrivateKey
-

Detailed Description

-

Interface for screen initialization.

-
See also:
dmxscrinit.c
-

Function Documentation

- - - - - - -

Variable Documentation

- -
-
- - - - -
DevPrivateKey dmxScreenPrivateKey
-
-
-

Private index.

-
See also:
dmxscrrinit.c
-
-input/dmxconcole.c
-

Private index for Screens

- -

Referenced by dmxCloseConsoleScreen(), and dmxConsoleInit().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxscrinit_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxscrinit_8h_source.html deleted file mode 100644 index 85c30ecb0..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxscrinit_8h_source.html +++ /dev/null @@ -1,83 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxshadow_8c.html b/xorg-server/hw/dmx/doc/html/dmxshadow_8c.html deleted file mode 100644 index 2d3980ba7..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxshadow_8c.html +++ /dev/null @@ -1,80 +0,0 @@ - - - - - File Index - - - - - -
-

dmxshadow.c File Reference

#include "dmx.h"
-#include "dmxsync.h"
-#include "dmxshadow.h"
- - - -

Functions

void dmxShadowUpdateProc (ScreenPtr pScreen, shadowBufPtr pBuf)
-

Detailed Description

-

This file provides support for the shadow frame buffer.

-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
void dmxShadowUpdateProc (ScreenPtr  pScreen,
shadowBufPtr  pBuf 
)
-
-
-

Update the screen from the shadow frame buffer.

- -

References _DMXScreenInfo::beDisplay, dmxScreens, dmxSync(), _DMXScreenInfo::scrnWin, _DMXScreenInfo::shadowFBImage, and _DMXScreenInfo::shadowGC.

- -

Referenced by dmxScreenInit().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxshadow_8h.html b/xorg-server/hw/dmx/doc/html/dmxshadow_8h.html deleted file mode 100644 index f2ab72b44..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxshadow_8h.html +++ /dev/null @@ -1,82 +0,0 @@ - - - - - File Index - - - - - -
-

dmxshadow.h File Reference

#include "shadow.h"
-#include "scrnintstr.h"
- -

Go to the source code of this file.

- - - -

Functions

void dmxShadowUpdateProc (ScreenPtr pScreen, shadowBufPtr pBuf)
-

Detailed Description

-

Interface for shadow framebuffer support.

-
See also:
dmxshadow.c
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
void dmxShadowUpdateProc (ScreenPtr  pScreen,
shadowBufPtr  pBuf 
)
-
-
-

Update the screen from the shadow frame buffer.

- -

References _DMXScreenInfo::beDisplay, dmxScreens, dmxSync(), _DMXScreenInfo::scrnWin, _DMXScreenInfo::shadowFBImage, and _DMXScreenInfo::shadowGC.

- -

Referenced by dmxScreenInit().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxshadow_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxshadow_8h_source.html deleted file mode 100644 index 3ba27ee62..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxshadow_8h_source.html +++ /dev/null @@ -1,79 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxsigio_8c.html b/xorg-server/hw/dmx/doc/html/dmxsigio_8c.html deleted file mode 100644 index 71d42cb4a..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxsigio_8c.html +++ /dev/null @@ -1,381 +0,0 @@ - - - - - File Index - - - - - -
-

dmxsigio.c File Reference

#include "inputstr.h"
-#include "dmxinputinit.h"
-#include "dmxsigio.h"
-#include "dmxevents.h"
-#include <signal.h>
-#include <unistd.h>
-#include <fcntl.h>
- - - - - - - - - - - - - - - - - - - -

Defines

#define O_ASYNC   0
#define O_NONBLOCK   FNONBLK

Functions

static void dmxSigioHandler (int sig)
void dmxSigioBlock (void)
void dmxSigioUnblock (void)
static void dmxSigioHook (void)
static void dmxSigioUnhook (void)
static void dmxSigioAdd (DMXInputInfo *dmxInput)
static void dmxSigioRemove (DMXInputInfo *dmxInput)
void dmxSigioEnableInput (void)
void dmxSigioDisableInput (void)
void dmxSigioRegister (DMXInputInfo *dmxInput, int fd)
void dmxSigioUnregister (DMXInputInfo *dmxInput)

Variables

static int dmxFdCount = 0
static Bool dmxInputEnabled = TRUE
-

Detailed Description

-

Provides an interface for handling SIGIO signals for input devices.

-

Define Documentation

- -
-
- - - - -
#define O_ASYNC   0
-
-
- -

Referenced by dmxSigioAdd(), and dmxSigioRemove().

- -
-
- -
-
- - - - -
#define O_NONBLOCK   FNONBLK
-
- -
-

Function Documentation

- - - -
-
- - - - - - - - - -
void dmxSigioBlock (void  ) 
-
-
-

Block SIGIO handling.

- -

Referenced by dmxCoreMotion(), dmxExtMotion(), and dmxTranslateAndEnqueueExtEvent().

- -
-
- -
-
- - - - - - - - - -
void dmxSigioDisableInput (void  ) 
-
-
-

Disable SIGIO handling. This removes the hanlder from the OS.

- -

References dmxInputEnabled, dmxInputs, dmxNumInputs, and dmxSigioRemove().

- -

Referenced by dmxWakeupHandler().

- -
-
- -
-
- - - - - - - - - -
void dmxSigioEnableInput (void  ) 
-
-
-

Enable SIGIO handling. This instantiates the handler with the OS.

- -

References dmxInputEnabled, dmxInputs, dmxNumInputs, and dmxSigioAdd().

- -

Referenced by dmxSwitchReturn().

- -
-
- - - -
-
- - - - - - - - - -
static void dmxSigioHook (void  )  [static]
-
-
- -

References dmxSigioHandler().

- -

Referenced by dmxSigioAdd().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxSigioRegister (DMXInputInfo dmxInput,
int  fd 
)
-
-
-

Make a note that the input device described in dmxInput will be using the file descriptor fd for SIGIO signals. Calls AddEnabledDevice ifi SIGIO handling has been enabled with dmxSigioEnableInput().

- -

References DMX_MAX_SIGIO_FDS, DMX_USESIGIO, dmxFatal, dmxInputEnabled, dmxLog(), dmxSigioAdd(), _DMXInputInfo::sigioFd, _DMXInputInfo::sigioFdCount, and _DMXInputInfo::sigioState.

- -

Referenced by dmxDeviceOnOff().

- -
-
- - - -
-
- - - - - - - - - -
void dmxSigioUnblock (void  ) 
-
-
-

Unblock SIGIO handling.

- -

Referenced by dmxCoreMotion(), dmxExtMotion(), and dmxTranslateAndEnqueueExtEvent().

- -
-
- -
-
- - - - - - - - - -
static void dmxSigioUnhook (void  )  [static]
-
-
- -

Referenced by dmxSigioRemove().

- -
-
- -
-
- - - - - - - - - -
void dmxSigioUnregister (DMXInputInfo dmxInput ) 
-
-
-

Remove the notes that dmxInput is using any file descriptors for SIGIO signals. Calls RemoveEnabledDevice.

- -

References DMX_NOSIGIO, dmxSigioRemove(), _DMXInputInfo::sigioFdCount, and _DMXInputInfo::sigioState.

- -

Referenced by dmxDeviceOnOff().

- -
-
-

Variable Documentation

- -
-
- - - - -
int dmxFdCount = 0 [static]
-
-
- -

Referenced by dmxSigioAdd(), and dmxSigioRemove().

- -
-
- -
-
- - - - -
Bool dmxInputEnabled = TRUE [static]
-
- -
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxsigio_8h.html b/xorg-server/hw/dmx/doc/html/dmxsigio_8h.html deleted file mode 100644 index 7353f4fbe..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxsigio_8h.html +++ /dev/null @@ -1,196 +0,0 @@ - - - - - File Index - - - - - -
-

dmxsigio.h File Reference

-

Go to the source code of this file.

- - - - - - - - -

Functions

void dmxSigioBlock (void)
void dmxSigioUnblock (void)
void dmxSigioEnableInput (void)
void dmxSigioDisableInput (void)
void dmxSigioRegister (DMXInputInfo *dmxInput, int fd)
void dmxSigioUnregister (DMXInputInfo *dmxInput)
-

Detailed Description

-

Interface to SIGIO handling support.

-
See also:
dmxsigio.c
-

Function Documentation

- -
-
- - - - - - - - - -
void dmxSigioBlock (void  ) 
-
-
-

Block SIGIO handling.

- -

Referenced by dmxCoreMotion(), dmxExtMotion(), and dmxTranslateAndEnqueueExtEvent().

- -
-
- -
-
- - - - - - - - - -
void dmxSigioDisableInput (void  ) 
-
-
-

Disable SIGIO handling. This removes the hanlder from the OS.

- -

References dmxInputEnabled, dmxInputs, dmxNumInputs, and dmxSigioRemove().

- -

Referenced by dmxWakeupHandler().

- -
-
- -
-
- - - - - - - - - -
void dmxSigioEnableInput (void  ) 
-
-
-

Enable SIGIO handling. This instantiates the handler with the OS.

- -

References dmxInputEnabled, dmxInputs, dmxNumInputs, and dmxSigioAdd().

- -

Referenced by dmxSwitchReturn().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxSigioRegister (DMXInputInfo dmxInput,
int  fd 
)
-
-
-

Make a note that the input device described in dmxInput will be using the file descriptor fd for SIGIO signals. Calls AddEnabledDevice ifi SIGIO handling has been enabled with dmxSigioEnableInput().

- -

References DMX_MAX_SIGIO_FDS, DMX_USESIGIO, dmxFatal, dmxInputEnabled, dmxLog(), dmxSigioAdd(), _DMXInputInfo::sigioFd, _DMXInputInfo::sigioFdCount, and _DMXInputInfo::sigioState.

- -

Referenced by dmxDeviceOnOff().

- -
-
- -
-
- - - - - - - - - -
void dmxSigioUnblock (void  ) 
-
-
-

Unblock SIGIO handling.

- -

Referenced by dmxCoreMotion(), dmxExtMotion(), and dmxTranslateAndEnqueueExtEvent().

- -
-
- -
-
- - - - - - - - - -
void dmxSigioUnregister (DMXInputInfo dmxInput ) 
-
-
-

Remove the notes that dmxInput is using any file descriptors for SIGIO signals. Calls RemoveEnabledDevice.

- -

References DMX_NOSIGIO, dmxSigioRemove(), _DMXInputInfo::sigioFdCount, and _DMXInputInfo::sigioState.

- -

Referenced by dmxDeviceOnOff().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxsigio_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxsigio_8h_source.html deleted file mode 100644 index 966734f44..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxsigio_8h_source.html +++ /dev/null @@ -1,78 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxstat_8c.html b/xorg-server/hw/dmx/doc/html/dmxstat_8c.html deleted file mode 100644 index 5add0d023..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxstat_8c.html +++ /dev/null @@ -1,398 +0,0 @@ - - - - - File Index - - - - - -
-

dmxstat.c File Reference

#include "dmx.h"
-#include "dmxstat.h"
-#include "dmxlog.h"
-#include <X11/Xos.h>
- - - - - - - - - - - - - - - - - - - - -

Data Structures

struct  _DMXStatAvg
struct  _DMXStatInfo

Typedefs

typedef struct _DMXStatAvg DMXStatAvg

Functions

static unsigned long usec (struct timeval *stop, struct timeval *start)
static unsigned long avg (DMXStatAvg *data, unsigned long *max)
void dmxStatActivate (const char *interval, const char *displays)
DMXStatInfodmxStatAlloc (void)
void dmxStatFree (DMXStatInfo *pt)
static void dmxStatValue (DMXStatAvg *data, unsigned long value)
void dmxStatSync (DMXScreenInfo *dmxScreen, struct timeval *stop, struct timeval *start, unsigned long pending)
static CARD32 dmxStatCallback (OsTimerPtr timer, CARD32 t, pointer arg)
void dmxStatInit (void)

Variables

int dmxStatInterval
static int dmxStatDisplays
static OsTimerPtr dmxStatTimer
-

Detailed Description

-

The DMX server code is written to call dmxSync() whenever an XSync() might be necessary. However, since XSync() requires a two way communication with the other X server, eliminating unnecessary XSync() calls is a key performance optimization. Support for this optimization is provided in dmxsync.c. This file provides routines that evaluate this optimization by counting the number of XSync() calls and monitoring their latency. This functionality can be turned on using the -stat command-line parameter.

-

Typedef Documentation

- -
-
- - - - -
typedef struct _DMXStatAvg DMXStatAvg
-
-
-

Used to compute a running average of value.

- -
-
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
static unsigned long avg (DMXStatAvg data,
unsigned long *  max 
) [static]
-
-
- -

References _DMXStatAvg::count, and _DMXStatAvg::value.

- -

Referenced by dmxStatCallback().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxStatActivate (const char *  interval,
const char *  displays 
)
-
-
-

Turn on XSync statistic gathering and printing. Print every interval seconds, with lines for the first displays. If interval is NULL, 1 will be used. If displays is NULL, 0 will be used (meaning a line for every display will be printed). Note that this function takes string arguments because it will usually be called from ddxProcessArgument in dmxinit.c.

- -

References dmxStatDisplays, and dmxStatInterval.

- -

Referenced by ddxProcessArgument().

- -
-
- -
-
- - - - - - - - - -
DMXStatInfo* dmxStatAlloc (void  ) 
-
-
-

Allocate a DMXStatInfo structure.

- -

Referenced by dmxConfigAddDisplay().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
static CARD32 dmxStatCallback (OsTimerPtr  timer,
CARD32  t,
pointer  arg 
) [static]
-
- -
- -
-
- - - - - - - - - -
void dmxStatFree (DMXStatInfo pt ) 
-
-
-

Free the memory used by a DMXStatInfo structure.

- -

Referenced by InitOutput().

- -
-
- -
-
- - - - - - - - - -
void dmxStatInit (void  ) 
-
-
-

Try to initialize the statistic gathering and printing routines. Initialization only takes place if dmxStatActivate has already been called. We don't need the same generation protection that we used in dmxSyncInit because our timer is always on a queue -- hence, server generation will always free it.

- -

References dmxStatCallback(), dmxStatInterval, and dmxStatTimer.

- -

Referenced by InitOutput().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxStatSync (DMXScreenInfo dmxScreen,
struct timeval *  stop,
struct timeval *  start,
unsigned long  pending 
)
-
-
-

Note that a XSync() was just done on dmxScreen with the start and stop times (from gettimeofday()) and the number of pending-but-not-yet-processed XSync requests. This routine is called from dmxDoSync in dmxsync.c

- -

References _DMXStatInfo::bins, DMX_STAT_BIN0, DMX_STAT_BINMULT, DMX_STAT_BINS, dmxStatValue(), _DMXStatInfo::pending, _DMXScreenInfo::stat, _DMXStatInfo::syncCount, _DMXStatInfo::usec, and usec().

- -

Referenced by dmxDoSync().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
static void dmxStatValue (DMXStatAvg data,
unsigned long  value 
) [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
static unsigned long usec (struct timeval *  stop,
struct timeval *  start 
) [static]
-
-
-

Return the number of microseconds as an unsigned long. Unfortunately, this is only useful for intervals < about 4 sec.

- -

Referenced by dmxStatSync().

- -
-
-

Variable Documentation

- -
-
- - - - -
int dmxStatDisplays [static]
-
-
- -

Referenced by dmxStatActivate(), and dmxStatCallback().

- -
-
- -
-
- - - - -
int dmxStatInterval
-
- -
- -
-
- - - - -
OsTimerPtr dmxStatTimer [static]
-
-
- -

Referenced by dmxStatInit().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxstat_8h.html b/xorg-server/hw/dmx/doc/html/dmxstat_8h.html deleted file mode 100644 index 6e04e6529..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxstat_8h.html +++ /dev/null @@ -1,299 +0,0 @@ - - - - - File Index - - - - - -
-

dmxstat.h File Reference

-

Go to the source code of this file.

- - - - - - - - - - - - - - - -

Defines

#define DMX_STAT_LENGTH   10
#define DMX_STAT_INTERVAL   1000
#define DMX_STAT_BINS   3
#define DMX_STAT_BIN0   10000
#define DMX_STAT_BINMULT   100

Functions

void dmxStatActivate (const char *interval, const char *displays)
DMXStatInfodmxStatAlloc (void)
void dmxStatFree (DMXStatInfo *)
void dmxStatInit (void)
void dmxStatSync (DMXScreenInfo *dmxScreen, struct timeval *stop, struct timeval *start, unsigned long pending)

Variables

int dmxStatInterval
-

Detailed Description

-

Interface for statistic gathering interface.

-
See also:
dmxstat.c
-

Define Documentation

- -
-
- - - - -
#define DMX_STAT_BIN0   10000
-
-
-

us for bin[0]

- -

Referenced by dmxStatSync().

- -
-
- -
-
- - - - -
#define DMX_STAT_BINMULT   100
-
-
-

multiplier for next bin[]

- -

Referenced by dmxStatSync().

- -
-
- -
-
- - - - -
#define DMX_STAT_BINS   3
-
-
-

number of bins

- -

Referenced by dmxStatCallback(), and dmxStatSync().

- -
-
- -
-
- - - - -
#define DMX_STAT_INTERVAL   1000
-
-
-

msec between printouts

- -

Referenced by dmxStatCallback().

- -
-
- -
-
- - - - -
#define DMX_STAT_LENGTH   10
-
-
-

number of events for moving average

- -

Referenced by dmxStatValue().

- -
-
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
void dmxStatActivate (const char *  interval,
const char *  displays 
)
-
-
-

Turn on XSync statistic gathering and printing. Print every interval seconds, with lines for the first displays. If interval is NULL, 1 will be used. If displays is NULL, 0 will be used (meaning a line for every display will be printed). Note that this function takes string arguments because it will usually be called from ddxProcessArgument in dmxinit.c.

- -

References dmxStatDisplays, and dmxStatInterval.

- -

Referenced by ddxProcessArgument().

- -
-
- -
-
- - - - - - - - - -
DMXStatInfo* dmxStatAlloc (void  ) 
-
-
-

Allocate a DMXStatInfo structure.

- -

Referenced by dmxConfigAddDisplay().

- -
-
- -
-
- - - - - - - - - -
void dmxStatFree (DMXStatInfo pt ) 
-
-
-

Free the memory used by a DMXStatInfo structure.

- -

Referenced by InitOutput().

- -
-
- -
-
- - - - - - - - - -
void dmxStatInit (void  ) 
-
-
-

Try to initialize the statistic gathering and printing routines. Initialization only takes place if dmxStatActivate has already been called. We don't need the same generation protection that we used in dmxSyncInit because our timer is always on a queue -- hence, server generation will always free it.

- -

References dmxStatCallback(), dmxStatInterval, and dmxStatTimer.

- -

Referenced by InitOutput().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxStatSync (DMXScreenInfo dmxScreen,
struct timeval *  stop,
struct timeval *  start,
unsigned long  pending 
)
-
-
-

Note that a XSync() was just done on dmxScreen with the start and stop times (from gettimeofday()) and the number of pending-but-not-yet-processed XSync requests. This routine is called from dmxDoSync in dmxsync.c

- -

References _DMXStatInfo::bins, DMX_STAT_BIN0, DMX_STAT_BINMULT, DMX_STAT_BINS, dmxStatValue(), _DMXStatInfo::pending, _DMXScreenInfo::stat, _DMXStatInfo::syncCount, _DMXStatInfo::usec, and usec().

- -

Referenced by dmxDoSync().

- -
-
-

Variable Documentation

- -
-
- - - - -
int dmxStatInterval
-
- -
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxstat_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxstat_8h_source.html deleted file mode 100644 index 8b2aa4c7b..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxstat_8h_source.html +++ /dev/null @@ -1,87 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxsync_8c.html b/xorg-server/hw/dmx/doc/html/dmxsync_8c.html deleted file mode 100644 index 6db2aeb60..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxsync_8c.html +++ /dev/null @@ -1,319 +0,0 @@ - - - - - File Index - - - - - -
-

dmxsync.c File Reference

#include "dmx.h"
-#include "dmxsync.h"
-#include "dmxstat.h"
-#include "dmxlog.h"
-#include <sys/time.h>
- - - - - - - - - - - - - -

Functions

static void dmxDoSync (DMXScreenInfo *dmxScreen)
static CARD32 dmxSyncCallback (OsTimerPtr timer, CARD32 time, pointer arg)
static void dmxSyncBlockHandler (pointer blockData, OSTimePtr pTimeout, pointer pReadMask)
static void dmxSyncWakeupHandler (pointer blockData, int result, pointer pReadMask)
void dmxSyncActivate (const char *interval)
void dmxSyncInit (void)
void dmxSync (DMXScreenInfo *dmxScreen, Bool now)

Variables

static int dmxSyncInterval = 100
static OsTimerPtr dmxSyncTimer
static int dmxSyncPending
-

Detailed Description

-

The DMX server code is written to call dmxSync() whenever an XSync() might be necessary. However, since XSync() requires a two way communication with the other X server, eliminating unnecessary XSync() calls is a key performance optimization. Support for this optimization is provided here. Statistics about XSync() calls and latency are gathered in dmxstat.c.

-

During the initial conversion from calling XSync() immediately to the XSync() batching method implemented in this file, it was noted that, out of more than 300 x11perf tests, 8 tests became more than 100 times faster, with 68 more than 50X faster, 114 more than 10X faster, and 181 more than 2X faster.

-

Function Documentation

- -
-
- - - - - - - - - -
static void dmxDoSync (DMXScreenInfo dmxScreen )  [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxSync (DMXScreenInfo dmxScreen,
Bool  now 
)
-
-
-

Request an XSync() to the display used by dmxScreen. If now is TRUE, call XSync() immediately instead of waiting for the next XSync() batching point. Note that if XSync() batching was deselected with dmxSyncActivate() before dmxSyncInit() was called, then no XSync() batching is performed and this function always calles XSync() immediately.

-

(Note that this function uses TimerSet but works correctly in the face of a server generation. See the source for details.)

-

If dmxScreen is NULL, then all pending syncs will be flushed immediately.

- -

References dmxDoSync(), dmxFatal, dmxGeneration, dmxLog(), dmxSyncCallback(), dmxSyncInterval, dmxSyncPending, dmxSyncTimer, _DMXScreenInfo::name, and _DMXScreenInfo::needsSync.

- -

Referenced by _dmxMoveCursor(), _dmxSetCursor(), dmxAddInput(), dmxAttachScreen(), dmxBackendCollectEvents(), dmxBackendProcessInput(), dmxBackendUpdatePosition(), dmxBECreateCursor(), dmxBECreatePixmap(), dmxBELoadFont(), dmxBitmapToRegion(), dmxChangeBorderWidth(), dmxChangeGC(), dmxChangePictureClip(), dmxChangeWindowAttributes(), dmxCheckFontPath(), dmxCheckFontPathElement(), dmxCommonMouOn(), dmxCommonSaveState(), dmxComposite(), dmxCompositeRects(), dmxConsoleCapture(), dmxConsoleUncapture(), dmxCopyArea(), dmxCopyPlane(), dmxCopyWindow(), dmxCreateAndRealizeWindow(), dmxCreateWindow(), dmxDestroyPicture(), dmxDestroyPictureClip(), dmxDestroyPixmap(), dmxDestroyWindow(), dmxDPMSInit(), dmxDPMSTerm(), dmxFillPolygon(), dmxFlushPendingSyncs(), dmxGetImage(), dmxImageText16(), dmxImageText8(), dmxInstallColormap(), dmxPolyArc(), dmxPolyFillArc(), dmxPolyFillRect(), dmxPolylines(), dmxPolyPoint(), dmxPolyRectangle(), dmxPolySegment(), dmxPolyText16(), dmxPolyText8(), dmxPositionWindow(), dmxProcRenderAddGlyphs(), dmxProcRenderCompositeGlyphs(), dmxProcRenderFreeGlyphs(), dmxProcRenderFreeGlyphSet(), dmxProcRenderSetPictureFilter(), dmxProcRenderSetPictureTransform(), dmxPutImage(), dmxRealizeWindow(), dmxReparentWindow(), dmxResizeRootWindow(), dmxResizeScreenWindow(), dmxResizeWindow(), dmxRestackWindow(), dmxSaveScreen(), dmxSetFontPath(), dmxSetShape(), dmxShadowUpdateProc(), dmxStoreColors(), dmxTrapezoids(), dmxTriangles(), dmxTriFan(), dmxTriStrip(), dmxUnrealizeWindow(), dmxValidatePicture(), and dmxWindowExposures().

- -
-
- -
-
- - - - - - - - - -
void dmxSyncActivate (const char *  interval ) 
-
-
-

Request the XSync() batching optimization with the specified interval (in mS). If the interval is 0, 100mS is used. If the interval is less than 0, then the XSync() batching optimization is not requested (e.g., so the -syncbatch -1 command line option can turn off the default 100mS XSync() batching).

-

Note that the parameter to this routine is a string, since it will usually be called from ddxProcessArgument in dmxinit.c

- -

References dmxSyncInterval.

- -

Referenced by ddxProcessArgument().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
static void dmxSyncBlockHandler (pointer  blockData,
OSTimePtr  pTimeout,
pointer  pReadMask 
) [static]
-
-
- -

References dmxSyncTimer.

- -

Referenced by dmxSyncInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
static CARD32 dmxSyncCallback (OsTimerPtr  timer,
CARD32  time,
pointer  arg 
) [static]
-
- -
- -
-
- - - - - - - - - -
void dmxSyncInit (void  ) 
-
-
-

Initialize the XSync() batching optimization, but only if dmxSyncActivate was last called with a non-negative value.

- -

References dmxInfo, dmxLog(), dmxSyncBlockHandler(), dmxSyncInterval, and dmxSyncWakeupHandler().

- -

Referenced by InitOutput().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
static void dmxSyncWakeupHandler (pointer  blockData,
int  result,
pointer  pReadMask 
) [static]
-
-
- -

Referenced by dmxSyncInit().

- -
-
-

Variable Documentation

- -
-
- - - - -
int dmxSyncInterval = 100 [static]
-
-
- -

Referenced by dmxSync(), dmxSyncActivate(), and dmxSyncInit().

- -
-
- -
-
- - - - -
int dmxSyncPending [static]
-
-
- -

Referenced by dmxDoSync(), dmxSync(), and dmxSyncCallback().

- -
-
- -
-
- - - - -
OsTimerPtr dmxSyncTimer [static]
-
-
- -

Referenced by dmxSync(), and dmxSyncBlockHandler().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxsync_8h.html b/xorg-server/hw/dmx/doc/html/dmxsync_8h.html deleted file mode 100644 index b5cbb77a3..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxsync_8h.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - File Index - - - - - -
-

dmxsync.h File Reference

-

Go to the source code of this file.

- - - - - -

Functions

void dmxSyncActivate (const char *interval)
void dmxSyncInit (void)
void dmxSync (DMXScreenInfo *dmxScreen, Bool now)
-

Detailed Description

-

Interface for sync support.

-
See also:
dmxsync.c
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
void dmxSync (DMXScreenInfo dmxScreen,
Bool  now 
)
-
-
-

Request an XSync() to the display used by dmxScreen. If now is TRUE, call XSync() immediately instead of waiting for the next XSync() batching point. Note that if XSync() batching was deselected with dmxSyncActivate() before dmxSyncInit() was called, then no XSync() batching is performed and this function always calles XSync() immediately.

-

(Note that this function uses TimerSet but works correctly in the face of a server generation. See the source for details.)

-

If dmxScreen is NULL, then all pending syncs will be flushed immediately.

- -

References dmxDoSync(), dmxFatal, dmxGeneration, dmxLog(), dmxSyncCallback(), dmxSyncInterval, dmxSyncPending, dmxSyncTimer, _DMXScreenInfo::name, and _DMXScreenInfo::needsSync.

- -

Referenced by _dmxMoveCursor(), _dmxSetCursor(), dmxAddInput(), dmxAttachScreen(), dmxBackendCollectEvents(), dmxBackendProcessInput(), dmxBackendUpdatePosition(), dmxBECreateCursor(), dmxBECreatePixmap(), dmxBELoadFont(), dmxBitmapToRegion(), dmxChangeBorderWidth(), dmxChangeGC(), dmxChangePictureClip(), dmxChangeWindowAttributes(), dmxCheckFontPath(), dmxCheckFontPathElement(), dmxCommonMouOn(), dmxCommonSaveState(), dmxComposite(), dmxCompositeRects(), dmxConsoleCapture(), dmxConsoleUncapture(), dmxCopyArea(), dmxCopyPlane(), dmxCopyWindow(), dmxCreateAndRealizeWindow(), dmxCreateWindow(), dmxDestroyPicture(), dmxDestroyPictureClip(), dmxDestroyPixmap(), dmxDestroyWindow(), dmxDPMSInit(), dmxDPMSTerm(), dmxFillPolygon(), dmxFlushPendingSyncs(), dmxGetImage(), dmxImageText16(), dmxImageText8(), dmxInstallColormap(), dmxPolyArc(), dmxPolyFillArc(), dmxPolyFillRect(), dmxPolylines(), dmxPolyPoint(), dmxPolyRectangle(), dmxPolySegment(), dmxPolyText16(), dmxPolyText8(), dmxPositionWindow(), dmxProcRenderAddGlyphs(), dmxProcRenderCompositeGlyphs(), dmxProcRenderFreeGlyphs(), dmxProcRenderFreeGlyphSet(), dmxProcRenderSetPictureFilter(), dmxProcRenderSetPictureTransform(), dmxPutImage(), dmxRealizeWindow(), dmxReparentWindow(), dmxResizeRootWindow(), dmxResizeScreenWindow(), dmxResizeWindow(), dmxRestackWindow(), dmxSaveScreen(), dmxSetFontPath(), dmxSetShape(), dmxShadowUpdateProc(), dmxStoreColors(), dmxTrapezoids(), dmxTriangles(), dmxTriFan(), dmxTriStrip(), dmxUnrealizeWindow(), dmxValidatePicture(), and dmxWindowExposures().

- -
-
- -
-
- - - - - - - - - -
void dmxSyncActivate (const char *  interval ) 
-
-
-

Request the XSync() batching optimization with the specified interval (in mS). If the interval is 0, 100mS is used. If the interval is less than 0, then the XSync() batching optimization is not requested (e.g., so the -syncbatch -1 command line option can turn off the default 100mS XSync() batching).

-

Note that the parameter to this routine is a string, since it will usually be called from ddxProcessArgument in dmxinit.c

- -

References dmxSyncInterval.

- -

Referenced by ddxProcessArgument().

- -
-
- -
-
- - - - - - - - - -
void dmxSyncInit (void  ) 
-
-
-

Initialize the XSync() batching optimization, but only if dmxSyncActivate was last called with a non-negative value.

- -

References dmxInfo, dmxLog(), dmxSyncBlockHandler(), dmxSyncInterval, and dmxSyncWakeupHandler().

- -

Referenced by InitOutput().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxsync_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxsync_8h_source.html deleted file mode 100644 index 427a32677..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxsync_8h_source.html +++ /dev/null @@ -1,76 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxvisual_8c.html b/xorg-server/hw/dmx/doc/html/dmxvisual_8c.html deleted file mode 100644 index 5394adea1..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxvisual_8c.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - File Index - - - - - -
-

dmxvisual.c File Reference

#include "dmx.h"
-#include "dmxvisual.h"
-#include "scrnintstr.h"
- - - - - -

Functions

Visual * dmxLookupVisual (ScreenPtr pScreen, VisualPtr pVisual)
Visual * dmxLookupVisualFromID (ScreenPtr pScreen, VisualID vid)
Colormap dmxColormapFromDefaultVisual (ScreenPtr pScreen, Visual *visual)
-

Detailed Description

-

This file provides support for visuals.

-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
Colormap dmxColormapFromDefaultVisual (ScreenPtr  pScreen,
Visual *  visual 
)
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
Visual* dmxLookupVisual (ScreenPtr  pScreen,
VisualPtr  pVisual 
)
-
-
-

Return the visual that matched pVisual.

- -

References _DMXScreenInfo::beDisplay, _DMXScreenInfo::beNumVisuals, _DMXScreenInfo::beVisuals, and dmxScreens.

- -

Referenced by dmxBECreateColormap(), and dmxLookupVisualFromID().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
Visual* dmxLookupVisualFromID (ScreenPtr  pScreen,
VisualID  vid 
)
-
-
-

Return the visual that matched the vid.

- -

References _DMXScreenInfo::beDisplay, dmxLookupVisual(), and dmxScreens.

- -

Referenced by dmxCreateWindow(), and dmxGetDefaultWindowAttributes().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxvisual_8h.html b/xorg-server/hw/dmx/doc/html/dmxvisual_8h.html deleted file mode 100644 index 6300da7e7..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxvisual_8h.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - File Index - - - - - -
-

dmxvisual.h File Reference

#include "scrnintstr.h"
- -

Go to the source code of this file.

- - - - - -

Functions

Visual * dmxLookupVisual (ScreenPtr pScreen, VisualPtr pVisual)
Visual * dmxLookupVisualFromID (ScreenPtr pScreen, VisualID vid)
Colormap dmxColormapFromDefaultVisual (ScreenPtr pScreen, Visual *visual)
-

Detailed Description

-

Interface for visual support.

-
See also:
dmxvisual.c
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
Colormap dmxColormapFromDefaultVisual (ScreenPtr  pScreen,
Visual *  visual 
)
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
Visual* dmxLookupVisual (ScreenPtr  pScreen,
VisualPtr  pVisual 
)
-
-
-

Return the visual that matched pVisual.

- -

References _DMXScreenInfo::beDisplay, _DMXScreenInfo::beNumVisuals, _DMXScreenInfo::beVisuals, and dmxScreens.

- -

Referenced by dmxBECreateColormap(), and dmxLookupVisualFromID().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
Visual* dmxLookupVisualFromID (ScreenPtr  pScreen,
VisualID  vid 
)
-
-
-

Return the visual that matched the vid.

- -

References _DMXScreenInfo::beDisplay, dmxLookupVisual(), and dmxScreens.

- -

Referenced by dmxCreateWindow(), and dmxGetDefaultWindowAttributes().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxvisual_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxvisual_8h_source.html deleted file mode 100644 index a9801de68..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxvisual_8h_source.html +++ /dev/null @@ -1,80 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxwindow_8c.html b/xorg-server/hw/dmx/doc/html/dmxwindow_8c.html deleted file mode 100644 index 968515b1e..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxwindow_8c.html +++ /dev/null @@ -1,865 +0,0 @@ - - - - - File Index - - - - - -
-

dmxwindow.c File Reference

#include "dmx.h"
-#include "dmxsync.h"
-#include "dmxwindow.h"
-#include "dmxpixmap.h"
-#include "dmxcmap.h"
-#include "dmxvisual.h"
-#include "dmxinput.h"
-#include "dmxextension.h"
-#include "dmxpict.h"
-#include "windowstr.h"
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

Functions

static void dmxDoRestackWindow (WindowPtr pWindow)
static void dmxDoChangeWindowAttributes (WindowPtr pWindow, unsigned long *mask, XSetWindowAttributes *attribs)
static void dmxDoSetShape (WindowPtr pWindow)
Bool dmxInitWindow (ScreenPtr pScreen)
Window dmxCreateRootWindow (WindowPtr pWindow)
void dmxResizeScreenWindow (ScreenPtr pScreen, int x, int y, int w, int h)
void dmxResizeRootWindow (WindowPtr pRoot, int x, int y, int w, int h)
void dmxGetDefaultWindowAttributes (WindowPtr pWindow, Colormap *cmap, Visual **visual)
static Window dmxCreateNonRootWindow (WindowPtr pWindow)
void dmxCreateAndRealizeWindow (WindowPtr pWindow, Bool doSync)
Bool dmxCreateWindow (WindowPtr pWindow)
Bool dmxBEDestroyWindow (WindowPtr pWindow)
Bool dmxDestroyWindow (WindowPtr pWindow)
Bool dmxPositionWindow (WindowPtr pWindow, int x, int y)
Bool dmxChangeWindowAttributes (WindowPtr pWindow, unsigned long mask)
Bool dmxRealizeWindow (WindowPtr pWindow)
Bool dmxUnrealizeWindow (WindowPtr pWindow)
void dmxRestackWindow (WindowPtr pWindow, WindowPtr pOldNextSib)
static Bool dmxWindowExposurePredicate (Display *dpy, XEvent *ev, XPointer ptr)
void dmxWindowExposures (WindowPtr pWindow, RegionPtr prgn, RegionPtr other_exposed)
void dmxCopyWindow (WindowPtr pWindow, DDXPointRec ptOldOrg, RegionPtr prgnSrc)
void dmxResizeWindow (WindowPtr pWindow, int x, int y, unsigned int w, unsigned int h, WindowPtr pSib)
void dmxReparentWindow (WindowPtr pWindow, WindowPtr pPriorParent)
void dmxChangeBorderWidth (WindowPtr pWindow, unsigned int width)
void dmxSetShape (WindowPtr pWindow)
-

Detailed Description

-

This file provides support for window-related functions.

-

Function Documentation

- -
-
- - - - - - - - - -
Bool dmxBEDestroyWindow (WindowPtr  pWindow ) 
-
-
-

Destroy pWindow on the back-end server.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_WINDOW_PRIV, dmxScreens, and _dmxWinPriv::window.

- -

Referenced by dmxBEDestroyWindowTree(), and dmxDestroyWindow().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxChangeBorderWidth (WindowPtr  pWindow,
unsigned int  width 
)
-
-
-

Change border width for pWindow to width pixels.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_WINDOW_PRIV, DMX_UNWRAP, DMX_WRAP, dmxChangeBorderWidth(), dmxScreens, dmxSync(), and _dmxWinPriv::window.

- -

Referenced by dmxChangeBorderWidth(), and dmxScreenInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
Bool dmxChangeWindowAttributes (WindowPtr  pWindow,
unsigned long  mask 
)
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxCopyWindow (WindowPtr  pWindow,
DDXPointRec  ptOldOrg,
RegionPtr  prgnSrc 
)
-
-
-

Move pWindow on the back-end server. Determine whether or not it is on or offscreen, and realize it if it is newly on screen and the lazy window creation optimization is enabled.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_WINDOW_PRIV, DMX_UNWRAP, DMX_UPDATE_COPY, DMX_WINDOW_OFFSCREEN, DMX_WRAP, dmxCopyWindow(), dmxCreateAndRealizeWindow(), dmxScreens, dmxSync(), dmxUpdateWindowInfo(), _dmxWinPriv::mapped, _dmxWinPriv::offscreen, and _dmxWinPriv::window.

- -

Referenced by dmxCopyWindow(), and dmxScreenInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxCreateAndRealizeWindow (WindowPtr  pWindow,
Bool  doSync 
)
-
-
-

This function handles lazy window creation and realization. Window creation is handled by dmxCreateNonRootWindow(). It also handles any stacking changes that have occured since the window was originally created by calling dmxDoRestackWindow(). If the window is shaped, the shape is set on the back-end server by calling dmxDoSetShape(), and if the window has pictures (from RENDER) associated with it, those pictures are created on the back-end server by calling dmxCreatePictureList(). If doSync is TRUE, then dmxSync() is called.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_WINDOW_PRIV, dmxCreateNonRootWindow(), dmxCreatePictureList(), dmxDoRestackWindow(), dmxDoSetShape(), dmxScreens, dmxSync(), _dmxWinPriv::hasPict, _dmxWinPriv::isShaped, _dmxWinPriv::mapped, _dmxWinPriv::restacked, and _dmxWinPriv::window.

- -

Referenced by dmxBECreateWindowTree(), dmxCopyWindow(), dmxCreateNonRootWindow(), dmxForceWindowCreation(), dmxPositionWindow(), dmxRealizeWindow(), dmxReparentWindow(), and dmxResizeWindow().

- -
-
- - - - - - - -
-
- - - - - - - - - -
Bool dmxDestroyWindow (WindowPtr  pWindow ) 
-
-
-

Destroy pWindow on the back-end server. If any RENDER pictures were created, destroy them as well.

- -

References DMX_GET_WINDOW_PRIV, DMX_UNWRAP, DMX_WRAP, dmxBEDestroyWindow(), dmxDestroyPictureList(), dmxDestroyWindow(), dmxScreens, and dmxSync().

- -

Referenced by dmxDestroyWindow(), and dmxScreenInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
static void dmxDoChangeWindowAttributes (WindowPtr  pWindow,
unsigned long *  mask,
XSetWindowAttributes *  attribs 
) [static]
-
- -
- -
-
- - - - - - - - - -
static void dmxDoRestackWindow (WindowPtr  pWindow )  [static]
-
- -
- -
-
- - - - - - - - - -
static void dmxDoSetShape (WindowPtr  pWindow )  [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxGetDefaultWindowAttributes (WindowPtr  pWindow,
Colormap *  cmap,
Visual **  visual 
)
-
- -
- -
-
- - - - - - - - - -
Bool dmxInitWindow (ScreenPtr  pScreen ) 
-
-
-

Initialize the private area for the window functions.

- -

References dmxWinPrivateKey.

- -

Referenced by dmxScreenInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Bool dmxPositionWindow (WindowPtr  pWindow,
int  x,
int  y 
)
-
- -
- -
-
- - - - - - - - - -
Bool dmxRealizeWindow (WindowPtr  pWindow ) 
-
-
-

Realize pWindow on the back-end server. If the lazy window creation optimization is enabled, the window is only realized when it at least partially overlaps the screen.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_WINDOW_PRIV, DMX_UNWRAP, DMX_UPDATE_REALIZE, DMX_WINDOW_OFFSCREEN, DMX_WRAP, dmxCreateAndRealizeWindow(), dmxRealizeWindow(), dmxScreens, dmxSync(), dmxUpdateWindowInfo(), _dmxWinPriv::mapped, _dmxWinPriv::offscreen, and _dmxWinPriv::window.

- -

Referenced by dmxRealizeWindow(), and dmxScreenInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxReparentWindow (WindowPtr  pWindow,
WindowPtr  pPriorParent 
)
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxResizeRootWindow (WindowPtr  pRoot,
int  x,
int  y,
int  w,
int  h 
)
-
-
-

Change the location and size of the "root" window. Called from dmxConfigureRootWindow.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_WINDOW_PRIV, dmxScreens, dmxSync(), _dmxWinPriv::mapped, and _dmxWinPriv::window.

- -

Referenced by dmxCreateWindow().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxResizeScreenWindow (ScreenPtr  pScreen,
int  x,
int  y,
int  w,
int  h 
)
-
-
-

Change the location and size of the "screen" window. Called from dmxConfigureScreenWindow().

- -

References _DMXScreenInfo::beDisplay, dmxScreens, dmxSync(), and _DMXScreenInfo::scrnWin.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxResizeWindow (WindowPtr  pWindow,
int  x,
int  y,
unsigned int  w,
unsigned int  h,
WindowPtr  pSib 
)
-
-
-

Resize pWindow on the back-end server. Determine whether or not it is on or offscreen, and realize it if it is newly on screen and the lazy window creation optimization is enabled.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_WINDOW_PRIV, DMX_UNWRAP, DMX_UPDATE_RESIZE, DMX_WINDOW_OFFSCREEN, DMX_WRAP, dmxCreateAndRealizeWindow(), dmxResizeWindow(), dmxScreens, dmxSync(), dmxUpdateWindowInfo(), _dmxWinPriv::mapped, _dmxWinPriv::offscreen, and _dmxWinPriv::window.

- -

Referenced by dmxResizeWindow(), and dmxScreenInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxRestackWindow (WindowPtr  pWindow,
WindowPtr  pOldNextSib 
)
-
- -
- -
-
- - - - - - - - - -
void dmxSetShape (WindowPtr  pWindow ) 
-
-
-

Set shape of pWindow on the back-end server.

- -

References DMX_GET_WINDOW_PRIV, DMX_UNWRAP, DMX_WRAP, dmxDoSetShape(), dmxScreens, dmxSetShape(), dmxSync(), _dmxWinPriv::isShaped, and _dmxWinPriv::window.

- -

Referenced by dmxScreenInit(), and dmxSetShape().

- -
-
- -
-
- - - - - - - - - -
Bool dmxUnrealizeWindow (WindowPtr  pWindow ) 
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
static Bool dmxWindowExposurePredicate (Display *  dpy,
XEvent *  ev,
XPointer  ptr 
) [static]
-
-
- -

Referenced by dmxWindowExposures().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxWindowExposures (WindowPtr  pWindow,
RegionPtr  prgn,
RegionPtr  other_exposed 
)
-
-
-

Handle exposures on pWindow. Since window exposures are handled in DMX, the events that are generated by the back-end server are redundant, so we eat them here.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_WINDOW_PRIV, DMX_UNWRAP, DMX_WRAP, dmxScreens, dmxSync(), dmxWindowExposurePredicate(), dmxWindowExposures(), and _dmxWinPriv::window.

- -

Referenced by dmxScreenInit(), and dmxWindowExposures().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxwindow_8h.html b/xorg-server/hw/dmx/doc/html/dmxwindow_8h.html deleted file mode 100644 index e1d7e2683..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxwindow_8h.html +++ /dev/null @@ -1,949 +0,0 @@ - - - - - File Index - - - - - -
-

dmxwindow.h File Reference

#include "windowstr.h"
- -

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Data Structures

struct  _dmxWinPriv

Defines

#define DMX_GET_WINDOW_PRIV(_pWin)
#define DMX_WINDOW_FUNC_PROLOGUE(_pGC)
#define DMX_WINDOW_FUNC_EPILOGUE(_pGC)
#define DMX_WINDOW_X1(_pWin)   ((_pWin)->drawable.x - wBorderWidth(_pWin))
#define DMX_WINDOW_Y1(_pWin)   ((_pWin)->drawable.y - wBorderWidth(_pWin))
#define DMX_WINDOW_X2(_pWin)   ((_pWin)->drawable.x + wBorderWidth(_pWin) + (_pWin)->drawable.width)
#define DMX_WINDOW_Y2(_pWin)   ((_pWin)->drawable.y + wBorderWidth(_pWin) + (_pWin)->drawable.height)
#define DMX_WINDOW_OFFSCREEN(_pWin)

Typedefs

typedef struct _dmxWinPriv dmxWinPrivRec
typedef struct _dmxWinPrivdmxWinPrivPtr

Functions

Bool dmxInitWindow (ScreenPtr pScreen)
Window dmxCreateRootWindow (WindowPtr pWindow)
void dmxGetDefaultWindowAttributes (WindowPtr pWindow, Colormap *cmap, Visual **visual)
void dmxCreateAndRealizeWindow (WindowPtr pWindow, Bool doSync)
Bool dmxCreateWindow (WindowPtr pWindow)
Bool dmxDestroyWindow (WindowPtr pWindow)
Bool dmxPositionWindow (WindowPtr pWindow, int x, int y)
Bool dmxChangeWindowAttributes (WindowPtr pWindow, unsigned long mask)
Bool dmxRealizeWindow (WindowPtr pWindow)
Bool dmxUnrealizeWindow (WindowPtr pWindow)
void dmxRestackWindow (WindowPtr pWindow, WindowPtr pOldNextSib)
void dmxWindowExposures (WindowPtr pWindow, RegionPtr prgn, RegionPtr other_exposed)
void dmxCopyWindow (WindowPtr pWindow, DDXPointRec ptOldOrg, RegionPtr prgnSrc)
void dmxResizeWindow (WindowPtr pWindow, int x, int y, unsigned int w, unsigned int h, WindowPtr pSib)
void dmxReparentWindow (WindowPtr pWindow, WindowPtr pPriorParent)
void dmxChangeBorderWidth (WindowPtr pWindow, unsigned int width)
void dmxResizeScreenWindow (ScreenPtr pScreen, int x, int y, int w, int h)
void dmxResizeRootWindow (WindowPtr pRoot, int x, int y, int w, int h)
Bool dmxBEDestroyWindow (WindowPtr pWindow)
void dmxSetShape (WindowPtr pWindow)

Variables

DevPrivateKey dmxWinPrivateKey
-

Detailed Description

-

Interface for window support.

-
See also:
dmxwindow.c
-

Define Documentation

- - - -
-
- - - - - - - - - -
#define DMX_WINDOW_FUNC_EPILOGUE(_pGC  ) 
-
-
-Value:
do {                                                                    \
-    dmxGCPrivPtr pGCPriv = DMX_GET_GC_PRIV(_pGC);                       \
-    DMX_WRAP(funcs, &dmxGCFuncs, pGCPriv, (_pGC));                      \
-    if (pGCPriv->ops)                                                   \
-        DMX_WRAP(ops, &dmxGCOps, pGCPriv, (_pGC));                      \
-} while (0)
-
-
-
- -
-
- - - - - - - - - -
#define DMX_WINDOW_FUNC_PROLOGUE(_pGC  ) 
-
-
-Value:
do {                                                                    \
-    dmxGCPrivPtr pGCPriv = DMX_GET_GC_PRIV(_pGC);                       \
-    DMX_UNWRAP(funcs, pGCPriv, (_pGC));                                 \
-    if (pGCPriv->ops)                                                   \
-        DMX_UNWRAP(ops, pGCPriv, (_pGC));                               \
-} while (0)
-
-
-
- -
-
- - - - - - - - - -
#define DMX_WINDOW_OFFSCREEN(_pWin  ) 
-
-
-Value:
(DMX_WINDOW_X1(_pWin) >= (_pWin)->drawable.pScreen->width  ||   \
-     DMX_WINDOW_Y1(_pWin) >= (_pWin)->drawable.pScreen->height ||       \
-     DMX_WINDOW_X2(_pWin) <= 0                                 ||       \
-     DMX_WINDOW_Y2(_pWin) <= 0)
-
-

Referenced by dmxCopyWindow(), dmxPositionWindow(), dmxRealizeWindow(), and dmxResizeWindow().

- -
-
- -
-
- - - - - - - - - -
#define DMX_WINDOW_X1(_pWin  )    ((_pWin)->drawable.x - wBorderWidth(_pWin))
-
-
- -
-
- -
-
- - - - - - - - - -
#define DMX_WINDOW_X2(_pWin  )    ((_pWin)->drawable.x + wBorderWidth(_pWin) + (_pWin)->drawable.width)
-
-
- -
-
- -
-
- - - - - - - - - -
#define DMX_WINDOW_Y1(_pWin  )    ((_pWin)->drawable.y - wBorderWidth(_pWin))
-
-
- -
-
- -
-
- - - - - - - - - -
#define DMX_WINDOW_Y2(_pWin  )    ((_pWin)->drawable.y + wBorderWidth(_pWin) + (_pWin)->drawable.height)
-
-
- -
-
-

Typedef Documentation

- -
-
- - - - -
typedef struct _dmxWinPriv * dmxWinPrivPtr
-
-
- -
-
- -
-
- - - - -
typedef struct _dmxWinPriv dmxWinPrivRec
-
-
-

Window private area.

- -
-
-

Function Documentation

- -
-
- - - - - - - - - -
Bool dmxBEDestroyWindow (WindowPtr  pWindow ) 
-
-
-

Destroy pWindow on the back-end server.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_WINDOW_PRIV, dmxScreens, and _dmxWinPriv::window.

- -

Referenced by dmxBEDestroyWindowTree(), and dmxDestroyWindow().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxChangeBorderWidth (WindowPtr  pWindow,
unsigned int  width 
)
-
-
-

Change border width for pWindow to width pixels.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_WINDOW_PRIV, DMX_UNWRAP, DMX_WRAP, dmxChangeBorderWidth(), dmxScreens, dmxSync(), and _dmxWinPriv::window.

- -

Referenced by dmxChangeBorderWidth(), and dmxScreenInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
Bool dmxChangeWindowAttributes (WindowPtr  pWindow,
unsigned long  mask 
)
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxCopyWindow (WindowPtr  pWindow,
DDXPointRec  ptOldOrg,
RegionPtr  prgnSrc 
)
-
-
-

Move pWindow on the back-end server. Determine whether or not it is on or offscreen, and realize it if it is newly on screen and the lazy window creation optimization is enabled.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_WINDOW_PRIV, DMX_UNWRAP, DMX_UPDATE_COPY, DMX_WINDOW_OFFSCREEN, DMX_WRAP, dmxCopyWindow(), dmxCreateAndRealizeWindow(), dmxScreens, dmxSync(), dmxUpdateWindowInfo(), _dmxWinPriv::mapped, _dmxWinPriv::offscreen, and _dmxWinPriv::window.

- -

Referenced by dmxCopyWindow(), and dmxScreenInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxCreateAndRealizeWindow (WindowPtr  pWindow,
Bool  doSync 
)
-
-
-

This function handles lazy window creation and realization. Window creation is handled by dmxCreateNonRootWindow(). It also handles any stacking changes that have occured since the window was originally created by calling dmxDoRestackWindow(). If the window is shaped, the shape is set on the back-end server by calling dmxDoSetShape(), and if the window has pictures (from RENDER) associated with it, those pictures are created on the back-end server by calling dmxCreatePictureList(). If doSync is TRUE, then dmxSync() is called.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_WINDOW_PRIV, dmxCreateNonRootWindow(), dmxCreatePictureList(), dmxDoRestackWindow(), dmxDoSetShape(), dmxScreens, dmxSync(), _dmxWinPriv::hasPict, _dmxWinPriv::isShaped, _dmxWinPriv::mapped, _dmxWinPriv::restacked, and _dmxWinPriv::window.

- -

Referenced by dmxBECreateWindowTree(), dmxCopyWindow(), dmxCreateNonRootWindow(), dmxForceWindowCreation(), dmxPositionWindow(), dmxRealizeWindow(), dmxReparentWindow(), and dmxResizeWindow().

- -
-
- - - - - -
-
- - - - - - - - - -
Bool dmxDestroyWindow (WindowPtr  pWindow ) 
-
-
-

Destroy pWindow on the back-end server. If any RENDER pictures were created, destroy them as well.

- -

References DMX_GET_WINDOW_PRIV, DMX_UNWRAP, DMX_WRAP, dmxBEDestroyWindow(), dmxDestroyPictureList(), dmxDestroyWindow(), dmxScreens, and dmxSync().

- -

Referenced by dmxDestroyWindow(), and dmxScreenInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxGetDefaultWindowAttributes (WindowPtr  pWindow,
Colormap *  cmap,
Visual **  visual 
)
-
- -
- -
-
- - - - - - - - - -
Bool dmxInitWindow (ScreenPtr  pScreen ) 
-
-
-

Initialize the private area for the window functions.

- -

References dmxWinPrivateKey.

- -

Referenced by dmxScreenInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
Bool dmxPositionWindow (WindowPtr  pWindow,
int  x,
int  y 
)
-
- -
- -
-
- - - - - - - - - -
Bool dmxRealizeWindow (WindowPtr  pWindow ) 
-
-
-

Realize pWindow on the back-end server. If the lazy window creation optimization is enabled, the window is only realized when it at least partially overlaps the screen.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_WINDOW_PRIV, DMX_UNWRAP, DMX_UPDATE_REALIZE, DMX_WINDOW_OFFSCREEN, DMX_WRAP, dmxCreateAndRealizeWindow(), dmxRealizeWindow(), dmxScreens, dmxSync(), dmxUpdateWindowInfo(), _dmxWinPriv::mapped, _dmxWinPriv::offscreen, and _dmxWinPriv::window.

- -

Referenced by dmxRealizeWindow(), and dmxScreenInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxReparentWindow (WindowPtr  pWindow,
WindowPtr  pPriorParent 
)
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxResizeRootWindow (WindowPtr  pRoot,
int  x,
int  y,
int  w,
int  h 
)
-
-
-

Change the location and size of the "root" window. Called from dmxConfigureRootWindow.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_WINDOW_PRIV, dmxScreens, dmxSync(), _dmxWinPriv::mapped, and _dmxWinPriv::window.

- -

Referenced by dmxCreateWindow().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxResizeScreenWindow (ScreenPtr  pScreen,
int  x,
int  y,
int  w,
int  h 
)
-
-
-

Change the location and size of the "screen" window. Called from dmxConfigureScreenWindow().

- -

References _DMXScreenInfo::beDisplay, dmxScreens, dmxSync(), and _DMXScreenInfo::scrnWin.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void dmxResizeWindow (WindowPtr  pWindow,
int  x,
int  y,
unsigned int  w,
unsigned int  h,
WindowPtr  pSib 
)
-
-
-

Resize pWindow on the back-end server. Determine whether or not it is on or offscreen, and realize it if it is newly on screen and the lazy window creation optimization is enabled.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_WINDOW_PRIV, DMX_UNWRAP, DMX_UPDATE_RESIZE, DMX_WINDOW_OFFSCREEN, DMX_WRAP, dmxCreateAndRealizeWindow(), dmxResizeWindow(), dmxScreens, dmxSync(), dmxUpdateWindowInfo(), _dmxWinPriv::mapped, _dmxWinPriv::offscreen, and _dmxWinPriv::window.

- -

Referenced by dmxResizeWindow(), and dmxScreenInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void dmxRestackWindow (WindowPtr  pWindow,
WindowPtr  pOldNextSib 
)
-
- -
- -
-
- - - - - - - - - -
void dmxSetShape (WindowPtr  pWindow ) 
-
-
-

Set shape of pWindow on the back-end server.

- -

References DMX_GET_WINDOW_PRIV, DMX_UNWRAP, DMX_WRAP, dmxDoSetShape(), dmxScreens, dmxSetShape(), dmxSync(), _dmxWinPriv::isShaped, and _dmxWinPriv::window.

- -

Referenced by dmxScreenInit(), and dmxSetShape().

- -
-
- -
-
- - - - - - - - - -
Bool dmxUnrealizeWindow (WindowPtr  pWindow ) 
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void dmxWindowExposures (WindowPtr  pWindow,
RegionPtr  prgn,
RegionPtr  other_exposed 
)
-
-
-

Handle exposures on pWindow. Since window exposures are handled in DMX, the events that are generated by the back-end server are redundant, so we eat them here.

- -

References _DMXScreenInfo::beDisplay, DMX_GET_WINDOW_PRIV, DMX_UNWRAP, DMX_WRAP, dmxScreens, dmxSync(), dmxWindowExposurePredicate(), dmxWindowExposures(), and _dmxWinPriv::window.

- -

Referenced by dmxScreenInit(), and dmxWindowExposures().

- -
-
-

Variable Documentation

- -
-
- - - - -
DevPrivateKey dmxWinPrivateKey
-
-
-

Private index.

-
See also:
dmxwindow.c
-
-dmxscrinit.c
-

Private index for Windows

- -

Referenced by dmxInitWindow().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxwindow_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxwindow_8h_source.html deleted file mode 100644 index d04650c6c..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxwindow_8h_source.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/dmxxinput_8c.html b/xorg-server/hw/dmx/doc/html/dmxxinput_8c.html deleted file mode 100644 index eebbd60c6..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxxinput_8c.html +++ /dev/null @@ -1,328 +0,0 @@ - - - - - File Index - - - - - -
-

dmxxinput.c File Reference

#include <X11/X.h>
-#include <X11/Xproto.h>
-#include "inputstr.h"
-#include <X11/extensions/XI.h>
-#include <X11/extensions/XIproto.h>
-#include "XIstubs.h"
-#include "mipointer.h"
-#include "dmxinputinit.h"
-#include "exevents.h"
- - - - - - - - - - -

Functions

int ChangeKeyboardDevice (DeviceIntPtr old_dev, DeviceIntPtr new_dev)
int ChangePointerDevice (DeviceIntPtr old_dev, DeviceIntPtr new_dev, unsigned char x, unsigned char y)
void CloseInputDevice (DeviceIntPtr d, ClientPtr client)
void AddOtherInputDevices (void)
void OpenInputDevice (DeviceIntPtr dev, ClientPtr client, int *status)
int SetDeviceMode (ClientPtr client, DeviceIntPtr dev, int mode)
int SetDeviceValuators (ClientPtr client, DeviceIntPtr dev, int *valuators, int first_valuator, int num_valuators)
int ChangeDeviceControl (ClientPtr client, DeviceIntPtr dev, xDeviceCtl *control)
-

Detailed Description

-

This file implements support required by the XINPUT extension.

-

Function Documentation

- -
-
- - - - - - - - - -
void AddOtherInputDevices (void  ) 
-
-
-

This is not required by the XINPUT model that DMX uses.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
int ChangeDeviceControl (ClientPtr  client,
DeviceIntPtr  dev,
xDeviceCtl *  control 
)
-
-
-

Change device control. This is not implemented.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
int ChangeKeyboardDevice (DeviceIntPtr  old_dev,
DeviceIntPtr  new_dev 
)
-
-
-

Change the core keyboard from old_dev to new_dev. Currently this is not implemented.

- -

References dmxLocalCorePointer, _DMXLocalInputInfo::isCore, _DMXLocalInputInfo::savedSendsCore, and _DMXLocalInputInfo::sendsCore.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
int ChangePointerDevice (DeviceIntPtr  old_dev,
DeviceIntPtr  new_dev,
unsigned char  x,
unsigned char  y 
)
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
void CloseInputDevice (DeviceIntPtr  d,
ClientPtr  client 
)
-
-
-

Close the input device. This is not required by the XINPUT model that DMX uses.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void OpenInputDevice (DeviceIntPtr  dev,
ClientPtr  client,
int *  status 
)
-
-
-

Open an input device. This is not required by the XINPUT model that DMX uses.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
int SetDeviceMode (ClientPtr  client,
DeviceIntPtr  dev,
int  mode 
)
-
-
-

Set device mode to mode. This is not implemented.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
int SetDeviceValuators (ClientPtr  client,
DeviceIntPtr  dev,
int *  valuators,
int  first_valuator,
int  num_valuators 
)
-
-
-

Set device valuators. This is not implemented.

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/doxygen.css b/xorg-server/hw/dmx/doc/html/doxygen.css deleted file mode 100644 index 841f709a7..000000000 --- a/xorg-server/hw/dmx/doc/html/doxygen.css +++ /dev/null @@ -1,49 +0,0 @@ -H1 { text-align: center; } -CAPTION { font-weight: bold } -A.qindex {} -A.qindexRef {} -A.el { text-decoration: none; font-weight: bold } -A.elRef { font-weight: bold } -A.code { text-decoration: none; font-weight: normal; color: #4444ee } -A.codeRef { font-weight: normal; color: #4444ee } -A:hover { text-decoration: none; background-color: #f2f2ff } -DL.el { margin-left: -1cm } -DIV.fragment { width: 100%; border: none; background-color: #eeeeee } -DIV.ah { background-color: black; font-weight: bold; color: #ffffff; margin-bottom: 3px; margin-top: 3px } -TD.md { background-color: #f2f2ff; font-weight: bold; } -TD.mdname1 { background-color: #f2f2ff; font-weight: bold; color: #602020; } -TD.mdname { background-color: #f2f2ff; font-weight: bold; color: #602020; width: 600px; } -DIV.groupHeader { margin-left: 16px; margin-top: 12px; margin-bottom: 6px; font-weight: bold } -DIV.groupText { margin-left: 16px; font-style: italic; font-size: smaller } -BODY { background: white } -TD.indexkey { - background-color: #eeeeff; - font-weight: bold; - padding-right : 10px; - padding-top : 2px; - padding-left : 10px; - padding-bottom : 2px; - margin-left : 0px; - margin-right : 0px; - margin-top : 2px; - margin-bottom : 2px -} -TD.indexvalue { - background-color: #eeeeff; - font-style: italic; - padding-right : 10px; - padding-top : 2px; - padding-left : 10px; - padding-bottom : 2px; - margin-left : 0px; - margin-right : 0px; - margin-top : 2px; - margin-bottom : 2px -} -FONT.keyword { color: #008000 } -FONT.keywordtype { color: #604020 } -FONT.keywordflow { color: #e08000 } -FONT.comment { color: #800000 } -FONT.preprocessor { color: #806020 } -FONT.stringliteral { color: #002080 } -FONT.charliteral { color: #008080 } diff --git a/xorg-server/hw/dmx/doc/html/doxygen.png b/xorg-server/hw/dmx/doc/html/doxygen.png deleted file mode 100644 index 96ae72c29..000000000 Binary files a/xorg-server/hw/dmx/doc/html/doxygen.png and /dev/null differ diff --git a/xorg-server/hw/dmx/doc/html/files.html b/xorg-server/hw/dmx/doc/html/files.html deleted file mode 100644 index 23ec3c20a..000000000 --- a/xorg-server/hw/dmx/doc/html/files.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - File Index - - - - - -
-

File List

Here is a list of all files with brief descriptions: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ChkNotMaskEv.c
ChkNotMaskEv.h [code]
dmx-config.h [code]
dmx.c
dmx.h [code]
dmx_glxvisuals.c
dmx_glxvisuals.h [code]
dmxarg.c
dmxarg.h [code]
dmxbackend.c
dmxbackend.h [code]
dmxcb.c
dmxcb.h [code]
dmxclient.h [code]
dmxcmap.c
dmxcmap.h [code]
dmxcommon.c
dmxcommon.h [code]
dmxcompat.c
dmxcompat.h [code]
dmxconfig.c
dmxconfig.h [code]
dmxconsole.c
dmxconsole.h [code]
dmxcursor.c
dmxcursor.h [code]
dmxdetach.c
dmxdpms.c
dmxdpms.h [code]
dmxdummy.c
dmxdummy.h [code]
dmxevents.c
dmxevents.h [code]
dmxextension.c
dmxextension.h [code]
dmxfont.c
dmxfont.h [code]
dmxgc.c
dmxgc.h [code]
dmxgcops.c
dmxgcops.h [code]
dmxinit.c
dmxinit.h [code]
dmxinput.c
dmxinput.h [code]
dmxinputinit.c
dmxinputinit.h [code]
dmxlog.c
dmxlog.h [code]
dmxmap.c
dmxmap.h [code]
dmxmotion.c
dmxmotion.h [code]
dmxparse.c
dmxparse.h [code]
dmxpict.c
dmxpict.h [code]
dmxpixmap.c
dmxpixmap.h [code]
dmxprint.c
dmxprint.h [code]
dmxprop.c
dmxprop.h [code]
dmxscrinit.c
dmxscrinit.h [code]
dmxshadow.c
dmxshadow.h [code]
dmxsigio.c
dmxsigio.h [code]
dmxstat.c
dmxstat.h [code]
dmxsync.c
dmxsync.h [code]
dmxtodmx.c
dmxvisual.c
dmxvisual.h [code]
dmxwindow.c
dmxwindow.h [code]
dmxxinput.c
lnx-keyboard.c
lnx-keyboard.h [code]
lnx-ms.c
lnx-ms.h [code]
lnx-ps2.c
lnx-ps2.h [code]
usb-common.c
usb-common.h [code]
usb-keyboard.c
usb-keyboard.h [code]
usb-mouse.c
usb-mouse.h [code]
usb-other.c
usb-other.h [code]
usb-private.h [code]
vdltodmx.c
xdmxconfig.c
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/ftv2blank.png b/xorg-server/hw/dmx/doc/html/ftv2blank.png deleted file mode 100644 index 493c3c0b6..000000000 Binary files a/xorg-server/hw/dmx/doc/html/ftv2blank.png and /dev/null differ diff --git a/xorg-server/hw/dmx/doc/html/ftv2doc.png b/xorg-server/hw/dmx/doc/html/ftv2doc.png deleted file mode 100644 index f72999f92..000000000 Binary files a/xorg-server/hw/dmx/doc/html/ftv2doc.png and /dev/null differ diff --git a/xorg-server/hw/dmx/doc/html/ftv2folderclosed.png b/xorg-server/hw/dmx/doc/html/ftv2folderclosed.png deleted file mode 100644 index d6d063440..000000000 Binary files a/xorg-server/hw/dmx/doc/html/ftv2folderclosed.png and /dev/null differ diff --git a/xorg-server/hw/dmx/doc/html/ftv2folderopen.png b/xorg-server/hw/dmx/doc/html/ftv2folderopen.png deleted file mode 100644 index bbe2c913c..000000000 Binary files a/xorg-server/hw/dmx/doc/html/ftv2folderopen.png and /dev/null differ diff --git a/xorg-server/hw/dmx/doc/html/ftv2lastnode.png b/xorg-server/hw/dmx/doc/html/ftv2lastnode.png deleted file mode 100644 index e7b9ba90c..000000000 Binary files a/xorg-server/hw/dmx/doc/html/ftv2lastnode.png and /dev/null differ diff --git a/xorg-server/hw/dmx/doc/html/ftv2link.png b/xorg-server/hw/dmx/doc/html/ftv2link.png deleted file mode 100644 index 14f3fed00..000000000 Binary files a/xorg-server/hw/dmx/doc/html/ftv2link.png and /dev/null differ diff --git a/xorg-server/hw/dmx/doc/html/ftv2mlastnode.png b/xorg-server/hw/dmx/doc/html/ftv2mlastnode.png deleted file mode 100644 index 09ceb6adb..000000000 Binary files a/xorg-server/hw/dmx/doc/html/ftv2mlastnode.png and /dev/null differ diff --git a/xorg-server/hw/dmx/doc/html/ftv2mnode.png b/xorg-server/hw/dmx/doc/html/ftv2mnode.png deleted file mode 100644 index 3254c0511..000000000 Binary files a/xorg-server/hw/dmx/doc/html/ftv2mnode.png and /dev/null differ diff --git a/xorg-server/hw/dmx/doc/html/ftv2node.png b/xorg-server/hw/dmx/doc/html/ftv2node.png deleted file mode 100644 index c9f06a57f..000000000 Binary files a/xorg-server/hw/dmx/doc/html/ftv2node.png and /dev/null differ diff --git a/xorg-server/hw/dmx/doc/html/ftv2plastnode.png b/xorg-server/hw/dmx/doc/html/ftv2plastnode.png deleted file mode 100644 index 0b07e0091..000000000 Binary files a/xorg-server/hw/dmx/doc/html/ftv2plastnode.png and /dev/null differ diff --git a/xorg-server/hw/dmx/doc/html/ftv2pnode.png b/xorg-server/hw/dmx/doc/html/ftv2pnode.png deleted file mode 100644 index 2001b797b..000000000 Binary files a/xorg-server/hw/dmx/doc/html/ftv2pnode.png and /dev/null differ diff --git a/xorg-server/hw/dmx/doc/html/ftv2vertline.png b/xorg-server/hw/dmx/doc/html/ftv2vertline.png deleted file mode 100644 index b330f3a33..000000000 Binary files a/xorg-server/hw/dmx/doc/html/ftv2vertline.png and /dev/null differ diff --git a/xorg-server/hw/dmx/doc/html/functions.html b/xorg-server/hw/dmx/doc/html/functions.html deleted file mode 100644 index be7974c89..000000000 --- a/xorg-server/hw/dmx/doc/html/functions.html +++ /dev/null @@ -1,94 +0,0 @@ - - - - - File Index - - - - - -
-Here is a list of all struct and union fields with links to the structures/unions they belong to: - -

- a -

-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/functions_vars.html b/xorg-server/hw/dmx/doc/html/functions_vars.html deleted file mode 100644 index 92fe40193..000000000 --- a/xorg-server/hw/dmx/doc/html/functions_vars.html +++ /dev/null @@ -1,94 +0,0 @@ - - - - - File Index - - - - - -
-  - -

- a -

-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/globals.html b/xorg-server/hw/dmx/doc/html/globals.html deleted file mode 100644 index 78b3e0401..000000000 --- a/xorg-server/hw/dmx/doc/html/globals.html +++ /dev/null @@ -1,110 +0,0 @@ - - - - - File Index - - - - - -
-Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to: - -

- _ -

-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/globals_defs.html b/xorg-server/hw/dmx/doc/html/globals_defs.html deleted file mode 100644 index 78d797125..000000000 --- a/xorg-server/hw/dmx/doc/html/globals_defs.html +++ /dev/null @@ -1,86 +0,0 @@ - - - - - File Index - - - - - -
-  - -

- a -

-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/globals_enum.html b/xorg-server/hw/dmx/doc/html/globals_enum.html deleted file mode 100644 index 98d3be7ef..000000000 --- a/xorg-server/hw/dmx/doc/html/globals_enum.html +++ /dev/null @@ -1,87 +0,0 @@ - - - - - File Index - - - - - -
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/globals_eval.html b/xorg-server/hw/dmx/doc/html/globals_eval.html deleted file mode 100644 index d73c8cf6a..000000000 --- a/xorg-server/hw/dmx/doc/html/globals_eval.html +++ /dev/null @@ -1,218 +0,0 @@ - - - - - File Index - - - - - -
-  - -

- d -

- - -

- p -

- - -

- u -

-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/globals_func.html b/xorg-server/hw/dmx/doc/html/globals_func.html deleted file mode 100644 index d1a02d446..000000000 --- a/xorg-server/hw/dmx/doc/html/globals_func.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - File Index - - - - - -
-  - -

- _ -

-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/globals_type.html b/xorg-server/hw/dmx/doc/html/globals_type.html deleted file mode 100644 index 8f9ec2b48..000000000 --- a/xorg-server/hw/dmx/doc/html/globals_type.html +++ /dev/null @@ -1,343 +0,0 @@ - - - - - File Index - - - - - -
-  - -

- d -

- - -

- m -

- - -

- p -

- - -

- u -

-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/globals_vars.html b/xorg-server/hw/dmx/doc/html/globals_vars.html deleted file mode 100644 index 778caa815..000000000 --- a/xorg-server/hw/dmx/doc/html/globals_vars.html +++ /dev/null @@ -1,614 +0,0 @@ - - - - - File Index - - - - - -
-  - -

- _ -

- - -

- a -

- - -

- b -

- - -

- c -

- - -

- d -

- - -

- e -

- - -

- i -

- - -

- l -

- - -

- m -

- - -

- n -

- - -

- o -

- - -

- p -

- - -

- q -

- - -

- r -

- - -

- s -

- - -

- y -

-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/index.html b/xorg-server/hw/dmx/doc/html/index.html deleted file mode 100644 index 8c3338217..000000000 --- a/xorg-server/hw/dmx/doc/html/index.html +++ /dev/null @@ -1,16 +0,0 @@ - - - - -Distributed Multihead X - - - - - - <body> - <a href="main.html">Frames are disabled. Click here to go to the main page.</a> - </body> - - - diff --git a/xorg-server/hw/dmx/doc/html/lnx-keyboard_8c.html b/xorg-server/hw/dmx/doc/html/lnx-keyboard_8c.html deleted file mode 100644 index 05de129c4..000000000 --- a/xorg-server/hw/dmx/doc/html/lnx-keyboard_8c.html +++ /dev/null @@ -1,1258 +0,0 @@ - - - - - File Index - - - - - -
-

lnx-keyboard.c File Reference

#include "dmxinputinit.h"
-#include "lnx-keyboard.h"
-#include "inputstr.h"
-#include <X11/Xos.h>
-#include <sys/ioctl.h>
-#include <errno.h>
-#include <signal.h>
-#include <sys/vt.h>
-#include <sys/kd.h>
-#include <termios.h>
-#include "atKeynames.h"
-#include <linux/keyboard.h>
-#include <xkbsrv.h>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Data Structures

struct  _myPrivate

Defines

#define GETPRIV
#define LOG0(f)   dmxLog(dmxDebug,f)
#define LOG1(f, a)   dmxLog(dmxDebug,f,a)
#define LOG2(f, a, b)   dmxLog(dmxDebug,f,a,b)
#define LOG3(f, a, b, c)   dmxLog(dmxDebug,f,a,b,c)
#define FATAL0(f)   dmxLog(dmxFatal,f)
#define FATAL1(f, a)   dmxLog(dmxFatal,f,a)
#define FATAL2(f, a, b)   dmxLog(dmxFatal,f,a,b)
#define MOTIONPROC   dmxMotionProcPtr
#define ENQUEUEPROC   dmxEnqueueProcPtr
#define CHECKPROC   dmxCheckSpecialProcPtr
#define SWITCHRETPROC   dmxVTSwitchReturnProcPtr
#define BLOCK   DMXBlockType
#define MESSAGE   "\033c\n\n\nDMX taking input from this console..."
#define FINALMESSAGE   "\033cDMX terminated."
#define NUM_AT2LNX   (sizeof(at2lnx) / sizeof(at2lnx[0]))
#define NUM_STATE_ENTRIES   (256/32)
#define SYSCALL(call)   while(((call) == -1) && (errno == EINTR))

Typedefs

typedef struct _myPrivate myPrivate

Functions

static int kbdLinuxKeyDown (myPrivate *priv, int keyCode)
static void kbdLinuxKeyState (myPrivate *priv, int type, int keyCode)
pointer kbdLinuxCreatePrivate (DeviceIntPtr pKeyboard)
void kbdLinuxDestroyPrivate (pointer priv)
void kbdLinuxBell (DevicePtr pDev, int percent, int volume, int pitch, int duration)
void kbdLinuxCtrl (DevicePtr pDev, KeybdCtrl *ctrl)
static int kbdLinuxGetFreeVTNumber (void)
static int kbdLinuxOpenVT (int vtno)
static int kbdLinuxGetCurrentVTNumber (int fd)
static int kbdLinuxActivate (int fd, int vtno, int setSig)
void kbdLinuxVTPreSwitch (pointer p)
void kbdLinuxVTPostSwitch (pointer p)
int kbdLinuxVTSwitch (pointer p, int vt, void(*switch_return)(pointer), pointer switch_return_data)
static void kbdLinuxVTSignalHandler (int sig)
static void kbdLinuxOpenConsole (DevicePtr pDev)
static void kbdLinuxCloseConsole (DevicePtr pDev)
void kbdLinuxInit (DevicePtr pDev)
static int kbdLinuxPrefix0Mapping (unsigned char *scanCode)
static int kbdLinuxPrefixMapping (myPrivate *priv, unsigned char *scanCode)
static void kbdLinuxConvert (DevicePtr pDev, unsigned char scanCode, ENQUEUEPROC enqueue, CHECKPROC checkspecial, BLOCK block)
void kbdLinuxRead (DevicePtr pDev, MOTIONPROC motion, ENQUEUEPROC enqueue, CHECKPROC checkspecial, BLOCK block)
int kbdLinuxOn (DevicePtr pDev)
void kbdLinuxOff (DevicePtr pDev)
static void kbdLinuxReadKernelMapping (int fd, KeySymsPtr pKeySyms)
static void kbdLinuxGetMap (DevicePtr pDev, KeySymsPtr pKeySyms, CARD8 *pModMap)
void kbdLinuxGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info)

Variables

static myPrivatePRIV = NULL
static KeySym linux_to_x [256]
static unsigned char at2lnx [NUM_KEYCODES]
-

Detailed Description

-

This code implements a low-level device driver for the Linux keyboard. The code is derived from code by Thomas Roell, Orest Zborowski, and David Dawes (see the source code for complete references).

-

Define Documentation

- -
-
- - - - -
#define BLOCK   DMXBlockType
-
-
- -
-
- -
-
- - - - -
#define CHECKPROC   dmxCheckSpecialProcPtr
-
-
- -
-
- -
-
- - - - -
#define ENQUEUEPROC   dmxEnqueueProcPtr
-
-
- -
-
- -
-
- - - - - - - - - -
#define FATAL0( )    dmxLog(dmxFatal,f)
-
- -
- -
-
- - - - - - - - - - - - - - -
#define FATAL1(f,
 )    dmxLog(dmxFatal,f,a)
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - -
#define FATAL2(f,
a,
 )    dmxLog(dmxFatal,f,a,b)
-
-
- -

Referenced by kbdLinuxOpenVT().

- -
-
- -
-
- - - - -
#define FINALMESSAGE   "\033cDMX terminated."
-
-
- -

Referenced by kbdLinuxCloseConsole().

- -
-
- - - -
-
- - - - - - - - - -
#define LOG0( )    dmxLog(dmxDebug,f)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - -
#define LOG1(f,
 )    dmxLog(dmxDebug,f,a)
-
-
- -

Referenced by kbdLinuxCloseConsole().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - -
#define LOG2(f,
a,
 )    dmxLog(dmxDebug,f,a,b)
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
#define LOG3(f,
a,
b,
 )    dmxLog(dmxDebug,f,a,b,c)
-
-
- -

Referenced by kbdUSBRead(), and usbRead().

- -
-
- -
-
- - - - -
#define MESSAGE   "\033c\n\n\nDMX taking input from this console..."
-
-
- -

Referenced by kbdLinuxOpenConsole().

- -
-
- -
-
- - - - -
#define MOTIONPROC   dmxMotionProcPtr
-
-
- -
-
- -
-
- - - - -
#define NUM_AT2LNX   (sizeof(at2lnx) / sizeof(at2lnx[0]))
-
-
- -

Referenced by kbdLinuxReadKernelMapping().

- -
-
- -
-
- - - - -
#define NUM_STATE_ENTRIES   (256/32)
-
- -
- -
-
- - - - -
#define SWITCHRETPROC   dmxVTSwitchReturnProcPtr
-
-
- -
-
- -
-
- - - - - - - - - -
#define SYSCALL(call  )    while(((call) == -1) && (errno == EINTR))
-
-
- -

Referenced by kbdLinuxActivate().

- -
-
-

Typedef Documentation

- -
-
- - - - -
typedef struct _myPrivate myPrivate
-
-
- -
-
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
static int kbdLinuxActivate (int  fd,
int  vtno,
int  setSig 
) [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void kbdLinuxBell (DevicePtr  pDev,
int  percent,
int  volume,
int  pitch,
int  duration 
)
-
-
-

Ring the bell.

-

Note: we completely ignore the volume, since Linux's ioctl() interface does not provide a way to control it. If it did, the XBell manpage tells how the actual volume is a function of the percent and the (base) volume.

-

Note that most of the other PC-based bell drivers compute the duration for KDMKTONE as a function of the volume and the duration. For some drivers, the duration is only measured in mS if the volume is 50, and is scaled by the volume for other values. This seems confusing and possibly incorrect (the xset man page says that the bell will be "as closely as it can to the user's specifications" -- if we ignore the volume and set the duration correctly, then we'll get one parameter "wrong" -- but if we use the volume to scale the duration, then we'll get both parameters "wrong").

- -

References GETPRIV.

- -
-
- -
-
- - - - - - - - - -
static void kbdLinuxCloseConsole (DevicePtr  pDev )  [static]
-
-
- -

References FINALMESSAGE, GETPRIV, kbdLinuxActivate(), and LOG1.

- -

Referenced by kbdLinuxOff().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
static void kbdLinuxConvert (DevicePtr  pDev,
unsigned char  scanCode,
ENQUEUEPROC  enqueue,
CHECKPROC  checkspecial,
BLOCK  block 
) [static]
-
- -
- -
-
- - - - - - - - - -
pointer kbdLinuxCreatePrivate (DeviceIntPtr  pKeyboard ) 
-
-
-

Create a private structure for use within this file.

- -

References _myPrivate::fd, and _myPrivate::pKeyboard.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void kbdLinuxCtrl (DevicePtr  pDev,
KeybdCtrl *  ctrl 
)
-
-
-

Set the LEDs.

- -

References GETPRIV.

- -
-
- -
-
- - - - - - - - - -
void kbdLinuxDestroyPrivate (pointer  priv ) 
-
-
-

Destroy a private structure.

- -
-
- -
-
- - - - - - - - - -
static int kbdLinuxGetCurrentVTNumber (int  fd )  [static]
-
-
- -

Referenced by kbdLinuxOpenConsole().

- -
-
- -
-
- - - - - - - - - -
static int kbdLinuxGetFreeVTNumber (void  )  [static]
-
-
- -

References FATAL0, and FATAL1.

- -

Referenced by kbdLinuxOpenConsole().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void kbdLinuxGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  info 
)
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
static void kbdLinuxGetMap (DevicePtr  pDev,
KeySymsPtr  pKeySyms,
CARD8 *  pModMap 
) [static]
-
- -
- -
-
- - - - - - - - - -
void kbdLinuxInit (DevicePtr  pDev ) 
-
-
-

Initialize the pDev as a Linux keyboard.

- -

References FATAL1, GETPRIV, and kbdLinuxOpenConsole().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
static int kbdLinuxKeyDown (myPrivate priv,
int  keyCode 
) [static]
-
-
- -

References _myPrivate::kbdState, and NUM_STATE_ENTRIES.

- -

Referenced by kbdLinuxConvert(), and kbdUSBConvert().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
static void kbdLinuxKeyState (myPrivate priv,
int  type,
int  keyCode 
) [static]
-
-
- -

References _myPrivate::kbdState, and NUM_STATE_ENTRIES.

- -

Referenced by kbdLinuxConvert().

- -
-
- -
-
- - - - - - - - - -
void kbdLinuxOff (DevicePtr  pDev ) 
-
-
-

Turn pDev off (i.e., stop taking input from pDev).

- -

References GETPRIV, and kbdLinuxCloseConsole().

- -
-
- -
-
- - - - - - - - - -
int kbdLinuxOn (DevicePtr  pDev ) 
-
-
-

Turn pDev on (i.e., take input from pDev).

- -

References FATAL1, and GETPRIV.

- -
-
- -
-
- - - - - - - - - -
static void kbdLinuxOpenConsole (DevicePtr  pDev )  [static]
-
- -
- -
-
- - - - - - - - - -
static int kbdLinuxOpenVT (int  vtno )  [static]
-
-
- -

References FATAL2, and O_NONBLOCK.

- -

Referenced by kbdLinuxOpenConsole().

- -
-
- -
-
- - - - - - - - - -
static int kbdLinuxPrefix0Mapping (unsigned char *  scanCode )  [static]
-
-
- -

Referenced by kbdLinuxPrefixMapping().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
static int kbdLinuxPrefixMapping (myPrivate priv,
unsigned char *  scanCode 
) [static]
-
-
- -

References kbdLinuxPrefix0Mapping(), and _myPrivate::prefix.

- -

Referenced by kbdLinuxConvert().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void kbdLinuxRead (DevicePtr  pDev,
MOTIONPROC  motion,
ENQUEUEPROC  enqueue,
CHECKPROC  checkspecial,
BLOCK  block 
)
-
-
-

Read an event from the pDev device. If the event is a motion event, enqueue it with the motion function. Otherwise, check for special keys with the checkspecial function and enqueue the event with the enqueue function. The block type is passed to the functions so that they may block SIGIO handling as appropriate to the caller of this function.

- -

References GETPRIV, and kbdLinuxConvert().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
static void kbdLinuxReadKernelMapping (int  fd,
KeySymsPtr  pKeySyms 
) [static]
-
-
- -

References at2lnx, GLYPHS_PER_KEY, linux_to_x, map, and NUM_AT2LNX.

- -

Referenced by kbdLinuxGetMap().

- -
-
- -
-
- - - - - - - - - -
void kbdLinuxVTPostSwitch (pointer  p ) 
-
-
-

Currently unused hook called after returning from a VT switch.

- -
-
- -
-
- - - - - - - - - -
void kbdLinuxVTPreSwitch (pointer  p ) 
-
-
-

Currently unused hook called prior to an VT switch.

- -
-
- -
-
- - - - - - - - - -
static void kbdLinuxVTSignalHandler (int  sig )  [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
int kbdLinuxVTSwitch (pointer  p,
int  vt,
void(*)(pointer)  switch_return,
pointer  switch_return_data 
)
-
-
-

Tell the operating system to switch to vt. The switch_return function is called with the switch_return_data when the VT is switched back to the pre-switch VT (i.e., the user returns to the DMX session).

- -

References FATAL0, _myPrivate::fd, kbdLinuxActivate(), _myPrivate::switch_return, _myPrivate::switch_return_data, _myPrivate::switched, and _myPrivate::vtno.

- -
-
-

Variable Documentation

- -
-
- - - - -
unsigned char at2lnx[NUM_KEYCODES] [static]
-
-
- -

Referenced by kbdLinuxReadKernelMapping().

- -
-
- -
-
- - - - -
KeySym linux_to_x[256] [static]
-
-
- -

Referenced by kbdLinuxReadKernelMapping().

- -
-
- -
-
- - - - -
myPrivate* PRIV = NULL [static]
-
-
- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/lnx-keyboard_8h.html b/xorg-server/hw/dmx/doc/html/lnx-keyboard_8h.html deleted file mode 100644 index 3698b18d7..000000000 --- a/xorg-server/hw/dmx/doc/html/lnx-keyboard_8h.html +++ /dev/null @@ -1,394 +0,0 @@ - - - - - File Index - - - - - -
-

lnx-keyboard.h File Reference

-

Go to the source code of this file.

- - - - - - - - - - - - - - -

Functions

pointer kbdLinuxCreatePrivate (DeviceIntPtr pKeyboard)
void kbdLinuxDestroyPrivate (pointer private)
void kbdLinuxInit (DevicePtr pDev)
void kbdLinuxGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info)
int kbdLinuxOn (DevicePtr pDev)
void kbdLinuxOff (DevicePtr pDev)
void kbdLinuxVTPreSwitch (pointer p)
void kbdLinuxVTPostSwitch (pointer p)
int kbdLinuxVTSwitch (pointer p, int vt, dmxVTSwitchReturnProcPtr switch_return, pointer switch_return_data)
void kbdLinuxRead (DevicePtr pDev, dmxMotionProcPtr motion, dmxEnqueueProcPtr enqueue, dmxCheckSpecialProcPtr checkspecial, DMXBlockType block)
void kbdLinuxCtrl (DevicePtr pDev, KeybdCtrl *ctrl)
void kbdLinuxBell (DevicePtr pDev, int percent, int volume, int pitch, int duration)
-

Detailed Description

-

Interface to Linux keyboard driver.

-
See also:
lnx-keyboard.c
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void kbdLinuxBell (DevicePtr  pDev,
int  percent,
int  volume,
int  pitch,
int  duration 
)
-
-
-

Ring the bell.

-

Note: we completely ignore the volume, since Linux's ioctl() interface does not provide a way to control it. If it did, the XBell manpage tells how the actual volume is a function of the percent and the (base) volume.

-

Note that most of the other PC-based bell drivers compute the duration for KDMKTONE as a function of the volume and the duration. For some drivers, the duration is only measured in mS if the volume is 50, and is scaled by the volume for other values. This seems confusing and possibly incorrect (the xset man page says that the bell will be "as closely as it can to the user's specifications" -- if we ignore the volume and set the duration correctly, then we'll get one parameter "wrong" -- but if we use the volume to scale the duration, then we'll get both parameters "wrong").

- -

References GETPRIV.

- -
-
- -
-
- - - - - - - - - -
pointer kbdLinuxCreatePrivate (DeviceIntPtr  pKeyboard ) 
-
-
-

Create a private structure for use within this file.

- -

References _myPrivate::fd, and _myPrivate::pKeyboard.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void kbdLinuxCtrl (DevicePtr  pDev,
KeybdCtrl *  ctrl 
)
-
-
-

Set the LEDs.

- -

References GETPRIV.

- -
-
- -
-
- - - - - - - - - -
void kbdLinuxDestroyPrivate (pointer  priv ) 
-
-
-

Destroy a private structure.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void kbdLinuxGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  info 
)
-
- -
- -
-
- - - - - - - - - -
void kbdLinuxInit (DevicePtr  pDev ) 
-
-
-

Initialize the pDev as a Linux keyboard.

- -

References FATAL1, GETPRIV, and kbdLinuxOpenConsole().

- -
-
- -
-
- - - - - - - - - -
void kbdLinuxOff (DevicePtr  pDev ) 
-
-
-

Turn pDev off (i.e., stop taking input from pDev).

- -

References GETPRIV, and kbdLinuxCloseConsole().

- -
-
- -
-
- - - - - - - - - -
int kbdLinuxOn (DevicePtr  pDev ) 
-
-
-

Turn pDev on (i.e., take input from pDev).

- -

References FATAL1, and GETPRIV.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void kbdLinuxRead (DevicePtr  pDev,
dmxMotionProcPtr  motion,
dmxEnqueueProcPtr  enqueue,
dmxCheckSpecialProcPtr  checkspecial,
DMXBlockType  block 
)
-
-
- -
-
- -
-
- - - - - - - - - -
void kbdLinuxVTPostSwitch (pointer  p ) 
-
-
-

Currently unused hook called after returning from a VT switch.

- -
-
- -
-
- - - - - - - - - -
void kbdLinuxVTPreSwitch (pointer  p ) 
-
-
-

Currently unused hook called prior to an VT switch.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
int kbdLinuxVTSwitch (pointer  p,
int  vt,
dmxVTSwitchReturnProcPtr  switch_return,
pointer  switch_return_data 
)
-
-
- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/lnx-keyboard_8h_source.html b/xorg-server/hw/dmx/doc/html/lnx-keyboard_8h_source.html deleted file mode 100644 index d29a1a785..000000000 --- a/xorg-server/hw/dmx/doc/html/lnx-keyboard_8h_source.html +++ /dev/null @@ -1,96 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/lnx-ms_8c.html b/xorg-server/hw/dmx/doc/html/lnx-ms_8c.html deleted file mode 100644 index 25ba6260a..000000000 --- a/xorg-server/hw/dmx/doc/html/lnx-ms_8c.html +++ /dev/null @@ -1,720 +0,0 @@ - - - - - File Index - - - - - -
-

lnx-ms.c File Reference

#include "inputstr.h"
-#include <X11/Xos.h>
-#include <errno.h>
-#include <termios.h>
-#include "dmxinputinit.h"
-#include "lnx-ms.h"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Data Structures

struct  _myPrivate

Defines

#define GETPRIV
#define LOG0(f)   dmxLog(dmxDebug,f)
#define LOG1(f, a)   dmxLog(dmxDebug,f,a)
#define LOG2(f, a, b)   dmxLog(dmxDebug,f,a,b)
#define LOG3(f, a, b, c)   dmxLog(dmxDebug,f,a,b,c)
#define FATAL0(f)   dmxLog(dmxFatal,f)
#define FATAL1(f, a)   dmxLog(dmxFatal,f,a)
#define FATAL2(f, a, b)   dmxLog(dmxFatal,f,a,b)
#define MOTIONPROC   dmxMotionProcPtr
#define ENQUEUEPROC   dmxEnqueueProcPtr
#define CHECKPROC   dmxCheckSpecialProcPtr
#define BLOCK   DMXBlockType
#define PRESS(b)
#define RELEASE(b)

Typedefs

typedef struct _myPrivate myPrivate

Functions

static int msLinuxReadBytes (int fd, unsigned char *buf, int len, int min)
static void msLinuxButton (DevicePtr pDev, ENQUEUEPROC enqueue, int buttons, BLOCK block)
void msLinuxRead (DevicePtr pDev, MOTIONPROC motion, ENQUEUEPROC enqueue, CHECKPROC checkspecial, BLOCK block)
void msLinuxInit (DevicePtr pDev)
int msLinuxOn (DevicePtr pDev)
void msLinuxOff (DevicePtr pDev)
static void msLinuxGetMap (DevicePtr pDev, unsigned char *map, int *nButtons)
void msLinuxVTPreSwitch (pointer p)
void msLinuxVTPostSwitch (pointer p)
pointer msLinuxCreatePrivate (DeviceIntPtr pMouse)
void msLinuxDestroyPrivate (pointer priv)
void msLinuxGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info)
-

Detailed Description

-

This code implements a low-level device driver for a serial MS mouse. The code is derived from code by Juliusz Chroboczek and Keith Packard (see the source code for complete references).

-

Define Documentation

- -
-
- - - - -
#define BLOCK   DMXBlockType
-
-
- -
-
- -
-
- - - - -
#define CHECKPROC   dmxCheckSpecialProcPtr
-
-
- -
-
- -
-
- - - - -
#define ENQUEUEPROC   dmxEnqueueProcPtr
-
-
- -
-
- -
-
- - - - - - - - - -
#define FATAL0( )    dmxLog(dmxFatal,f)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - -
#define FATAL1(f,
 )    dmxLog(dmxFatal,f,a)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - -
#define FATAL2(f,
a,
 )    dmxLog(dmxFatal,f,a,b)
-
-
- -
-
- -
-
- - - - -
#define GETPRIV
-
-
-Value:
myPrivate *priv                            \
-                      = ((DMXLocalInputInfoPtr)(pDev->devicePrivate))->private
-
-
-
- -
-
- - - - - - - - - -
#define LOG0( )    dmxLog(dmxDebug,f)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - -
#define LOG1(f,
 )    dmxLog(dmxDebug,f,a)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - -
#define LOG2(f,
a,
 )    dmxLog(dmxDebug,f,a,b)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
#define LOG3(f,
a,
b,
 )    dmxLog(dmxDebug,f,a,b,c)
-
-
- -
-
- -
-
- - - - -
#define MOTIONPROC   dmxMotionProcPtr
-
-
- -
-
- -
-
- - - - - - - - - -
#define PRESS( ) 
-
-
-Value:
do {                                                 \
-        enqueue(pDev, ButtonPress, 0, 0, NULL, block);   \
-    } while (0)
-
-

Referenced by msLinuxButton(), ps2LinuxButton(), and usbRead().

- -
-
- -
-
- - - - - - - - - -
#define RELEASE( ) 
-
-
-Value:
do {                                                 \
-        enqueue(pDev, ButtonRelease, 0, 0, NULL, block); \
-    } while (0)
-
-

Referenced by msLinuxButton(), ps2LinuxButton(), and usbRead().

- -
-
-

Typedef Documentation

- -
-
- - - - -
typedef struct _myPrivate myPrivate
-
-
- -
-
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
static void msLinuxButton (DevicePtr  pDev,
ENQUEUEPROC  enqueue,
int  buttons,
BLOCK  block 
) [static]
-
-
- -

References GETPRIV, PRESS, and RELEASE.

- -

Referenced by msLinuxRead().

- -
-
- -
-
- - - - - - - - - -
pointer msLinuxCreatePrivate (DeviceIntPtr  pMouse ) 
-
-
-

Create a private structure for use within this file.

- -

References _myPrivate::fd, and _myPrivate::pMouse.

- -
-
- -
-
- - - - - - - - - -
void msLinuxDestroyPrivate (pointer  priv ) 
-
-
-

Destroy a private structure.

- -
-
- - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
static void msLinuxGetMap (DevicePtr  pDev,
unsigned char *  map,
int *  nButtons 
) [static]
-
-
- -

Referenced by msLinuxGetInfo().

- -
-
- -
-
- - - - - - - - - -
void msLinuxInit (DevicePtr  pDev ) 
-
-
-

Initialize pDev.

- -

References FATAL1, GETPRIV, and O_NONBLOCK.

- -

Referenced by msLinuxOn().

- -
-
- -
-
- - - - - - - - - -
void msLinuxOff (DevicePtr  pDev ) 
-
-
-

Turn pDev off (i.e., stop taking input from pDev).

- -

References GETPRIV.

- -
-
- -
-
- - - - - - - - - -
int msLinuxOn (DevicePtr  pDev ) 
-
-
-

Turn pDev on (i.e., take input from pDev).

- -

References FATAL1, GETPRIV, and msLinuxInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void msLinuxRead (DevicePtr  pDev,
MOTIONPROC  motion,
ENQUEUEPROC  enqueue,
CHECKPROC  checkspecial,
BLOCK  block 
)
-
-
-

Read an event from the pDev device. If the event is a motion event, enqueue it with the motion function. Otherwise, check for special keys with the checkspecial function and enqueue the event with the enqueue function. The block type is passed to the functions so that they may block SIGIO handling as appropriate to the caller of this function.

- -

References GETPRIV, msLinuxButton(), and msLinuxReadBytes().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
static int msLinuxReadBytes (int  fd,
unsigned char *  buf,
int  len,
int  min 
) [static]
-
-
- -

Referenced by msLinuxRead().

- -
-
- -
-
- - - - - - - - - -
void msLinuxVTPostSwitch (pointer  p ) 
-
-
-

Currently unused hook called after returning from a VT switch.

- -
-
- -
-
- - - - - - - - - -
void msLinuxVTPreSwitch (pointer  p ) 
-
-
-

Currently unused hook called prior to an VT switch.

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/lnx-ms_8h.html b/xorg-server/hw/dmx/doc/html/lnx-ms_8h.html deleted file mode 100644 index 0f926cbb5..000000000 --- a/xorg-server/hw/dmx/doc/html/lnx-ms_8h.html +++ /dev/null @@ -1,302 +0,0 @@ - - - - - File Index - - - - - -
-

lnx-ms.h File Reference

-

Go to the source code of this file.

- - - - - - - - - - - - -

Functions

pointer msLinuxCreatePrivate (DeviceIntPtr pMouse)
void msLinuxDestroyPrivate (pointer priv)
void msLinuxRead (DevicePtr pDev, dmxMotionProcPtr motion, dmxEnqueueProcPtr enqueue, dmxCheckSpecialProcPtr checkspecial, DMXBlockType block)
void msLinuxInit (DevicePtr pDev)
void msLinuxGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info)
int msLinuxOn (DevicePtr pDev)
void msLinuxOff (DevicePtr pDev)
void msLinuxCtrl (DevicePtr pDev, PtrCtrl *ctrl)
void msLinuxVTPreSwitch (pointer p)
void msLinuxVTPostSwitch (pointer p)
-

Detailed Description

-

Interface to Linux MS mouse driver.

-
See also:
lnx-ms.c
-

Function Documentation

- -
-
- - - - - - - - - -
pointer msLinuxCreatePrivate (DeviceIntPtr  pMouse ) 
-
-
-

Create a private structure for use within this file.

- -

References _myPrivate::fd, and _myPrivate::pMouse.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void msLinuxCtrl (DevicePtr  pDev,
PtrCtrl *  ctrl 
)
-
-
- -
-
- -
-
- - - - - - - - - -
void msLinuxDestroyPrivate (pointer  priv ) 
-
-
-

Destroy a private structure.

- -
-
- - - -
-
- - - - - - - - - -
void msLinuxInit (DevicePtr  pDev ) 
-
-
-

Initialize pDev.

- -

References FATAL1, GETPRIV, and O_NONBLOCK.

- -

Referenced by msLinuxOn().

- -
-
- -
-
- - - - - - - - - -
void msLinuxOff (DevicePtr  pDev ) 
-
-
-

Turn pDev off (i.e., stop taking input from pDev).

- -

References GETPRIV.

- -
-
- -
-
- - - - - - - - - -
int msLinuxOn (DevicePtr  pDev ) 
-
-
-

Turn pDev on (i.e., take input from pDev).

- -

References FATAL1, GETPRIV, and msLinuxInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void msLinuxRead (DevicePtr  pDev,
dmxMotionProcPtr  motion,
dmxEnqueueProcPtr  enqueue,
dmxCheckSpecialProcPtr  checkspecial,
DMXBlockType  block 
)
-
-
- -
-
- -
-
- - - - - - - - - -
void msLinuxVTPostSwitch (pointer  p ) 
-
-
-

Currently unused hook called after returning from a VT switch.

- -
-
- -
-
- - - - - - - - - -
void msLinuxVTPreSwitch (pointer  p ) 
-
-
-

Currently unused hook called prior to an VT switch.

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/lnx-ms_8h_source.html b/xorg-server/hw/dmx/doc/html/lnx-ms_8h_source.html deleted file mode 100644 index 9fcb934a0..000000000 --- a/xorg-server/hw/dmx/doc/html/lnx-ms_8h_source.html +++ /dev/null @@ -1,88 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/lnx-ps2_8c.html b/xorg-server/hw/dmx/doc/html/lnx-ps2_8c.html deleted file mode 100644 index da61a904b..000000000 --- a/xorg-server/hw/dmx/doc/html/lnx-ps2_8c.html +++ /dev/null @@ -1,716 +0,0 @@ - - - - - File Index - - - - - -
-

lnx-ps2.c File Reference

#include "inputstr.h"
-#include <X11/Xos.h>
-#include <errno.h>
-#include <termios.h>
-#include "dmxinputinit.h"
-#include "lnx-ps2.h"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Data Structures

struct  _myPrivate

Defines

#define GETPRIV
#define LOG0(f)   dmxLog(dmxDebug,f)
#define LOG1(f, a)   dmxLog(dmxDebug,f,a)
#define LOG2(f, a, b)   dmxLog(dmxDebug,f,a,b)
#define LOG3(f, a, b, c)   dmxLog(dmxDebug,f,a,b,c)
#define FATAL0(f)   dmxLog(dmxFatal,f)
#define FATAL1(f, a)   dmxLog(dmxFatal,f,a)
#define FATAL2(f, a, b)   dmxLog(dmxFatal,f,a,b)
#define MOTIONPROC   dmxMotionProcPtr
#define ENQUEUEPROC   dmxEnqueueProcPtr
#define CHECKPROC   dmxCheckSpecialProcPtr
#define BLOCK   DMXBlockType
#define PRESS(b)
#define RELEASE(b)

Typedefs

typedef struct _myPrivate myPrivate

Functions

static int ps2LinuxReadBytes (int fd, unsigned char *buf, int len, int min)
static void ps2LinuxButton (DevicePtr pDev, ENQUEUEPROC enqueue, int buttons, BLOCK block)
void ps2LinuxRead (DevicePtr pDev, MOTIONPROC motion, ENQUEUEPROC enqueue, CHECKPROC checkspecial, BLOCK block)
void ps2LinuxInit (DevicePtr pDev)
int ps2LinuxOn (DevicePtr pDev)
void ps2LinuxOff (DevicePtr pDev)
static void ps2LinuxGetMap (DevicePtr pDev, unsigned char *map, int *nButtons)
void ps2LinuxVTPreSwitch (pointer p)
void ps2LinuxVTPostSwitch (pointer p)
pointer ps2LinuxCreatePrivate (DeviceIntPtr pMouse)
void ps2LinuxDestroyPrivate (pointer priv)
void ps2LinuxGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info)
-

Detailed Description

-

This code implements a low-level device driver for a serial MS mouse. The code is derived from code by Keith Packard (see the source code for complete references).

-

Define Documentation

- -
-
- - - - -
#define BLOCK   DMXBlockType
-
-
- -
-
- -
-
- - - - -
#define CHECKPROC   dmxCheckSpecialProcPtr
-
-
- -
-
- -
-
- - - - -
#define ENQUEUEPROC   dmxEnqueueProcPtr
-
-
- -
-
- -
-
- - - - - - - - - -
#define FATAL0( )    dmxLog(dmxFatal,f)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - -
#define FATAL1(f,
 )    dmxLog(dmxFatal,f,a)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - -
#define FATAL2(f,
a,
 )    dmxLog(dmxFatal,f,a,b)
-
-
- -
-
- -
-
- - - - -
#define GETPRIV
-
-
-Value:
myPrivate *priv                            \
-                      = ((DMXLocalInputInfoPtr)(pDev->devicePrivate))->private
-
-
-
- -
-
- - - - - - - - - -
#define LOG0( )    dmxLog(dmxDebug,f)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - -
#define LOG1(f,
 )    dmxLog(dmxDebug,f,a)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - -
#define LOG2(f,
a,
 )    dmxLog(dmxDebug,f,a,b)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
#define LOG3(f,
a,
b,
 )    dmxLog(dmxDebug,f,a,b,c)
-
-
- -
-
- -
-
- - - - -
#define MOTIONPROC   dmxMotionProcPtr
-
-
- -
-
- -
-
- - - - - - - - - -
#define PRESS( ) 
-
-
-Value:
do {                                                 \
-        enqueue(pDev, ButtonPress, 0, 0, NULL, block);   \
-    } while (0)
-
-
-
- -
-
- - - - - - - - - -
#define RELEASE( ) 
-
-
-Value:
do {                                                 \
-        enqueue(pDev, ButtonRelease, 0, 0, NULL, block); \
-    } while (0)
-
-
-
-

Typedef Documentation

- -
-
- - - - -
typedef struct _myPrivate myPrivate
-
-
- -
-
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
static void ps2LinuxButton (DevicePtr  pDev,
ENQUEUEPROC  enqueue,
int  buttons,
BLOCK  block 
) [static]
-
-
- -

References GETPRIV, PRESS, and RELEASE.

- -

Referenced by ps2LinuxRead().

- -
-
- -
-
- - - - - - - - - -
pointer ps2LinuxCreatePrivate (DeviceIntPtr  pMouse ) 
-
-
-

Create a private structure for use within this file.

- -

References _myPrivate::fd, and _myPrivate::pMouse.

- -
-
- -
-
- - - - - - - - - -
void ps2LinuxDestroyPrivate (pointer  priv ) 
-
-
-

Destroy a private structure.

- -
-
- - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
static void ps2LinuxGetMap (DevicePtr  pDev,
unsigned char *  map,
int *  nButtons 
) [static]
-
-
- -

Referenced by ps2LinuxGetInfo().

- -
-
- -
-
- - - - - - - - - -
void ps2LinuxInit (DevicePtr  pDev ) 
-
-
-

Initialize pDev.

- -

References FATAL1, GETPRIV, and O_NONBLOCK.

- -

Referenced by ps2LinuxOn().

- -
-
- -
-
- - - - - - - - - -
void ps2LinuxOff (DevicePtr  pDev ) 
-
-
-

Turn pDev off (i.e., stop taking input from pDev).

- -

References GETPRIV.

- -
-
- -
-
- - - - - - - - - -
int ps2LinuxOn (DevicePtr  pDev ) 
-
-
-

Turn pDev on (i.e., take input from pDev).

- -

References GETPRIV, and ps2LinuxInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void ps2LinuxRead (DevicePtr  pDev,
MOTIONPROC  motion,
ENQUEUEPROC  enqueue,
CHECKPROC  checkspecial,
BLOCK  block 
)
-
-
-

Read an event from the pDev device. If the event is a motion event, enqueue it with the motion function. Otherwise, check for special keys with the checkspecial function and enqueue the event with the enqueue function. The block type is passed to the functions so that they may block SIGIO handling as appropriate to the caller of this function.

- -

References GETPRIV, ps2LinuxButton(), and ps2LinuxReadBytes().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
static int ps2LinuxReadBytes (int  fd,
unsigned char *  buf,
int  len,
int  min 
) [static]
-
-
- -

Referenced by ps2LinuxRead().

- -
-
- -
-
- - - - - - - - - -
void ps2LinuxVTPostSwitch (pointer  p ) 
-
-
-

Currently unused hook called after returning from a VT switch.

- -
-
- -
-
- - - - - - - - - -
void ps2LinuxVTPreSwitch (pointer  p ) 
-
-
-

Currently unused hook called prior to an VT switch.

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/lnx-ps2_8h.html b/xorg-server/hw/dmx/doc/html/lnx-ps2_8h.html deleted file mode 100644 index 0b86b1c4d..000000000 --- a/xorg-server/hw/dmx/doc/html/lnx-ps2_8h.html +++ /dev/null @@ -1,302 +0,0 @@ - - - - - File Index - - - - - -
-

lnx-ps2.h File Reference

-

Go to the source code of this file.

- - - - - - - - - - - - -

Functions

pointer ps2LinuxCreatePrivate (DeviceIntPtr pMouse)
void ps2LinuxDestroyPrivate (pointer priv)
void ps2LinuxRead (DevicePtr pDev, dmxMotionProcPtr motion, dmxEnqueueProcPtr enqueue, dmxCheckSpecialProcPtr checkspecial, DMXBlockType block)
void ps2LinuxInit (DevicePtr pDev)
void ps2LinuxGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info)
int ps2LinuxOn (DevicePtr pDev)
void ps2LinuxOff (DevicePtr pDev)
void ps2LinuxCtrl (DevicePtr pDev, PtrCtrl *ctrl)
void ps2LinuxVTPreSwitch (pointer p)
void ps2LinuxVTPostSwitch (pointer p)
-

Detailed Description

-

Interface to Linux PS/2 mouse driver.

-
See also:
lnx-ps2.c
-

Function Documentation

- -
-
- - - - - - - - - -
pointer ps2LinuxCreatePrivate (DeviceIntPtr  pMouse ) 
-
-
-

Create a private structure for use within this file.

- -

References _myPrivate::fd, and _myPrivate::pMouse.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void ps2LinuxCtrl (DevicePtr  pDev,
PtrCtrl *  ctrl 
)
-
-
- -
-
- -
-
- - - - - - - - - -
void ps2LinuxDestroyPrivate (pointer  priv ) 
-
-
-

Destroy a private structure.

- -
-
- - - -
-
- - - - - - - - - -
void ps2LinuxInit (DevicePtr  pDev ) 
-
-
-

Initialize pDev.

- -

References FATAL1, GETPRIV, and O_NONBLOCK.

- -

Referenced by ps2LinuxOn().

- -
-
- -
-
- - - - - - - - - -
void ps2LinuxOff (DevicePtr  pDev ) 
-
-
-

Turn pDev off (i.e., stop taking input from pDev).

- -

References GETPRIV.

- -
-
- -
-
- - - - - - - - - -
int ps2LinuxOn (DevicePtr  pDev ) 
-
-
-

Turn pDev on (i.e., take input from pDev).

- -

References GETPRIV, and ps2LinuxInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void ps2LinuxRead (DevicePtr  pDev,
dmxMotionProcPtr  motion,
dmxEnqueueProcPtr  enqueue,
dmxCheckSpecialProcPtr  checkspecial,
DMXBlockType  block 
)
-
-
- -
-
- -
-
- - - - - - - - - -
void ps2LinuxVTPostSwitch (pointer  p ) 
-
-
-

Currently unused hook called after returning from a VT switch.

- -
-
- -
-
- - - - - - - - - -
void ps2LinuxVTPreSwitch (pointer  p ) 
-
-
-

Currently unused hook called prior to an VT switch.

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/lnx-ps2_8h_source.html b/xorg-server/hw/dmx/doc/html/lnx-ps2_8h_source.html deleted file mode 100644 index 5cc89aadc..000000000 --- a/xorg-server/hw/dmx/doc/html/lnx-ps2_8h_source.html +++ /dev/null @@ -1,88 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/main.html b/xorg-server/hw/dmx/doc/html/main.html deleted file mode 100644 index 8dd9c3b2c..000000000 --- a/xorg-server/hw/dmx/doc/html/main.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - File Index - - - - - -
-

Distributed Multihead X Documentation

dmx-1-2-20040604 and later

-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/structDMXConfigCmdStruct.html b/xorg-server/hw/dmx/doc/html/structDMXConfigCmdStruct.html deleted file mode 100644 index 1c3094f47..000000000 --- a/xorg-server/hw/dmx/doc/html/structDMXConfigCmdStruct.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - File Index - - - - - -
-

DMXConfigCmdStruct Struct Reference

- - - - - - -

Data Fields

const char * filename
const char * config
DMXConfigListdisplays
DMXConfigListinputs
DMXConfigListxinputs
-

Detailed Description

-

This stucture stores the parsed configuration information.

-

Field Documentation

- - - - - - - - - - -
The documentation for this struct was generated from the following file: -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/structDMXConfigListStruct.html b/xorg-server/hw/dmx/doc/html/structDMXConfigListStruct.html deleted file mode 100644 index 8d5fc6703..000000000 --- a/xorg-server/hw/dmx/doc/html/structDMXConfigListStruct.html +++ /dev/null @@ -1,80 +0,0 @@ - - - - - File Index - - - - - -
-

DMXConfigListStruct Struct Reference

- - - -

Data Fields

const char * name
struct DMXConfigListStructnext
-

Detailed Description

-

Stores lists of configuration information.

-

Field Documentation

- - - - -
The documentation for this struct was generated from the following file: -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/structDMXDesktopAttributesRec.html b/xorg-server/hw/dmx/doc/html/structDMXDesktopAttributesRec.html deleted file mode 100644 index 27c9ef0d6..000000000 --- a/xorg-server/hw/dmx/doc/html/structDMXDesktopAttributesRec.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - File Index - - - - - -
-

DMXDesktopAttributesRec Struct Reference

-

#include <dmxextension.h>

- - - - - - -

Data Fields

int width
int height
int shiftX
int shiftY
-

Detailed Description

-

Desktop attributes. Used by ProcDMXGetDesktopAttributes and ProcDMXChangeDesktopAttributes.

-

Field Documentation

- - - - - - - - -
The documentation for this struct was generated from the following file: -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/structDMXInputAttributesRec.html b/xorg-server/hw/dmx/doc/html/structDMXInputAttributesRec.html deleted file mode 100644 index 92fe9863d..000000000 --- a/xorg-server/hw/dmx/doc/html/structDMXInputAttributesRec.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - File Index - - - - - -
-

DMXInputAttributesRec Struct Reference

-

#include <dmxextension.h>

- - - - - - - - - -

Data Fields

const char * name
int inputType
int physicalScreen
int physicalId
int isCore
int sendsCore
int detached
-

Detailed Description

-

Input attributes. Used by ProcDMXGetInputAttributes.

-

Field Documentation

- - - - - - - - - - - - - - -
The documentation for this struct was generated from the following file: -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/structDMXScreenAttributesRec.html b/xorg-server/hw/dmx/doc/html/structDMXScreenAttributesRec.html deleted file mode 100644 index 48332ad1f..000000000 --- a/xorg-server/hw/dmx/doc/html/structDMXScreenAttributesRec.html +++ /dev/null @@ -1,242 +0,0 @@ - - - - - File Index - - - - - -
-

DMXScreenAttributesRec Struct Reference

-

#include <dmxextension.h>

- - - - - - - - - - - - - - -

Data Fields

const char * displayName
int logicalScreen
unsigned int screenWindowWidth
unsigned int screenWindowHeight
int screenWindowXoffset
int screenWindowYoffset
unsigned int rootWindowWidth
unsigned int rootWindowHeight
int rootWindowXoffset
int rootWindowYoffset
int rootWindowXorigin
int rootWindowYorigin
-

Detailed Description

-

Screen attributes. Used by ProcDMXGetScreenAttributes and ProcDMXChangeScreensAttributes.

-

Field Documentation

- - - - - - - - - - - - - - - - - - - - - - - - -
The documentation for this struct was generated from the following file: -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/structDMXWindowAttributesRec.html b/xorg-server/hw/dmx/doc/html/structDMXWindowAttributesRec.html deleted file mode 100644 index 7a1ffee4e..000000000 --- a/xorg-server/hw/dmx/doc/html/structDMXWindowAttributesRec.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - File Index - - - - - -
-

DMXWindowAttributesRec Struct Reference

-

#include <dmxextension.h>

- - - - - - -

Data Fields

int screen
Window window
xRectangle pos
xRectangle vis
-

Detailed Description

-

Window attributes. Used by ProcDMXGetWindowAttributes.

-

Field Documentation

- -
-
- - - - -
xRectangle DMXWindowAttributesRec::pos
-
-
- -

Referenced by dmxGetWindowAttributes(), and dmxPopulate().

- -
-
- -
- -
- -

Referenced by dmxGetWindowAttributes(), and dmxPopulate().

- -
-
- -
-
- - - - -
xRectangle DMXWindowAttributesRec::vis
-
-
- -

Referenced by dmxGetWindowAttributes(), and dmxPopulate().

- -
-
- -
-
- - - - -
Window DMXWindowAttributesRec::window
-
-
- -

Referenced by dmxGetWindowAttributes(), and dmxPopulate().

- -
-
-
The documentation for this struct was generated from the following file: -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXConfigComment.html b/xorg-server/hw/dmx/doc/html/struct__DMXConfigComment.html deleted file mode 100644 index ed84f96bb..000000000 --- a/xorg-server/hw/dmx/doc/html/struct__DMXConfigComment.html +++ /dev/null @@ -1,98 +0,0 @@ - - - - - File Index - - - - - -
-

_DMXConfigComment Struct Reference

-

#include <dmxparse.h>

- - - - - -

Data Fields

int token
int line
const char * comment
-

Detailed Description

-

Stores parsed comments not stored with a token.

-

Field Documentation

- - - -
-
- - - - -
int _DMXConfigComment::line
-
-
- -

Referenced by dmxConfigCreateComment().

- -
-
- -
-
- - - - -
int _DMXConfigComment::token
-
-
- -

Referenced by dmxConfigCreateComment().

- -
-
-
The documentation for this struct was generated from the following file: -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXConfigDisplay.html b/xorg-server/hw/dmx/doc/html/struct__DMXConfigDisplay.html deleted file mode 100644 index ff068c2fd..000000000 --- a/xorg-server/hw/dmx/doc/html/struct__DMXConfigDisplay.html +++ /dev/null @@ -1,370 +0,0 @@ - - - - - File Index - - - - - -
-

_DMXConfigDisplay Struct Reference

-

#include <dmxparse.h>

- - - - - - - - - - - - - - - - - - - - - - -

Data Fields

const char * name
int scrnWidth
int scrnHeight
int scrnX
int scrnY
int scrnXSign
int scrnYSign
int rootWidth
int rootHeight
int rootX
int rootY
int rootXSign
int rootYSign
int rootXOrigin
int rootYOrigin
DMXConfigTokenPtr start
DMXConfigStringPtr dname
DMXConfigFullDimPtr dim
DMXConfigPairPtr origin
DMXConfigTokenPtr end
-

Detailed Description

-

Stores parsed display information.

-

Field Documentation

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
The documentation for this struct was generated from the following file: -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXConfigEntry.html b/xorg-server/hw/dmx/doc/html/struct__DMXConfigEntry.html deleted file mode 100644 index fa6fe120e..000000000 --- a/xorg-server/hw/dmx/doc/html/struct__DMXConfigEntry.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - File Index - - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXConfigFullDim.html b/xorg-server/hw/dmx/doc/html/struct__DMXConfigFullDim.html deleted file mode 100644 index 86b195a03..000000000 --- a/xorg-server/hw/dmx/doc/html/struct__DMXConfigFullDim.html +++ /dev/null @@ -1,82 +0,0 @@ - - - - - File Index - - - - - -
-

_DMXConfigFullDim Struct Reference

-

#include <dmxparse.h>

- - - - -

Data Fields

DMXConfigPartDimPtr scrn
DMXConfigPartDimPtr root
-

Detailed Description

-

Stores a pair of geometry specifications.

-

Field Documentation

- - - - -
The documentation for this struct was generated from the following file: -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXConfigNumber.html b/xorg-server/hw/dmx/doc/html/struct__DMXConfigNumber.html deleted file mode 100644 index 9698660b2..000000000 --- a/xorg-server/hw/dmx/doc/html/struct__DMXConfigNumber.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - File Index - - - - - -
-

_DMXConfigNumber Struct Reference

-

#include <dmxparse.h>

- - - - - - -

Data Fields

int token
int line
const char * comment
int number
-

Detailed Description

-

Stores parsed numbers.

-

Field Documentation

- -
-
- - - - -
const char* _DMXConfigNumber::comment
-
- -
- -
-
- - - - -
int _DMXConfigNumber::line
-
-
- -

Referenced by dmxConfigCreateNumber().

- -
-
- -
-
- - - - -
int _DMXConfigNumber::number
-
-
- -

Referenced by dmxConfigCreateNumber().

- -
-
- -
-
- - - - -
int _DMXConfigNumber::token
-
-
- -

Referenced by dmxConfigCreateNumber().

- -
-
-
The documentation for this struct was generated from the following file: -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXConfigOption.html b/xorg-server/hw/dmx/doc/html/struct__DMXConfigOption.html deleted file mode 100644 index 343bf018c..000000000 --- a/xorg-server/hw/dmx/doc/html/struct__DMXConfigOption.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - File Index - - - - - -
-

_DMXConfigOption Struct Reference

-

#include <dmxparse.h>

- - - - - - -

Data Fields

char * string
DMXConfigTokenPtr start
DMXConfigStringPtr option
DMXConfigTokenPtr end
-

Detailed Description

-

Stores parsed option information.

-

Field Documentation

- - - - - - - - -
The documentation for this struct was generated from the following file: -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXConfigPair.html b/xorg-server/hw/dmx/doc/html/struct__DMXConfigPair.html deleted file mode 100644 index a50556e73..000000000 --- a/xorg-server/hw/dmx/doc/html/struct__DMXConfigPair.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - File Index - - - - - -
-

_DMXConfigPair Struct Reference

-

#include <dmxparse.h>

- - - - - - - - - -

Data Fields

int token
int line
const char * comment
int x
int y
int xsign
int ysign
-

Detailed Description

-

Stores parsed pairs (e.g., x y)

-

Field Documentation

- -
-
- - - - -
const char* _DMXConfigPair::comment
-
- -
- -
-
- - - - -
int _DMXConfigPair::line
-
-
- -

Referenced by dmxConfigCreatePair().

- -
-
- -
-
- - - - -
int _DMXConfigPair::token
-
-
- -

Referenced by dmxConfigCreatePair(), and dmxConfigPrintPair().

- -
-
- - - - - - - - -
The documentation for this struct was generated from the following file: -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXConfigParam.html b/xorg-server/hw/dmx/doc/html/struct__DMXConfigParam.html deleted file mode 100644 index 9d855aae8..000000000 --- a/xorg-server/hw/dmx/doc/html/struct__DMXConfigParam.html +++ /dev/null @@ -1,178 +0,0 @@ - - - - - File Index - - - - - -
-

_DMXConfigParam Struct Reference

-

#include <dmxparse.h>

- - - - - - - - - - -

Data Fields

int argc
const char ** argv
DMXConfigTokenPtr start
DMXConfigTokenPtr open
DMXConfigStringPtr param
DMXConfigTokenPtr close
DMXConfigTokenPtr end
struct _DMXConfigParamnext
-

Detailed Description

-

Stores parsed param information.

-

Field Documentation

- -
-
- - - - -
int _DMXConfigParam::argc
-
- -
- -
-
- - - - -
const char** _DMXConfigParam::argv
-
- -
- - - - - -
-
- - - - -
struct _DMXConfigParam* _DMXConfigParam::next [read]
-
- -
- - - - - - -
The documentation for this struct was generated from the following file: -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXConfigPartDim.html b/xorg-server/hw/dmx/doc/html/struct__DMXConfigPartDim.html deleted file mode 100644 index ca1d9a3ec..000000000 --- a/xorg-server/hw/dmx/doc/html/struct__DMXConfigPartDim.html +++ /dev/null @@ -1,82 +0,0 @@ - - - - - File Index - - - - - -
-

_DMXConfigPartDim Struct Reference

-

#include <dmxparse.h>

- - - - -

Data Fields

DMXConfigPairPtr dim
DMXConfigPairPtr offset
-

Detailed Description

-

Stores a geometry specification.

-

Field Documentation

- - - - -
The documentation for this struct was generated from the following file: -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXConfigString.html b/xorg-server/hw/dmx/doc/html/struct__DMXConfigString.html deleted file mode 100644 index 93f1980f9..000000000 --- a/xorg-server/hw/dmx/doc/html/struct__DMXConfigString.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - File Index - - - - - -
-

_DMXConfigString Struct Reference

-

#include <dmxparse.h>

- - - - - - - -

Data Fields

int token
int line
const char * comment
const char * string
struct _DMXConfigStringnext
-

Detailed Description

-

Stores parsed strings.

-

Field Documentation

- -
-
- - - - -
const char* _DMXConfigString::comment
-
- -
- -
-
- - - - -
int _DMXConfigString::line
-
-
- -

Referenced by dmxConfigCreateString().

- -
-
- - - - - -
-
- - - - -
int _DMXConfigString::token
-
-
- -

Referenced by dmxConfigCreateString().

- -
-
-
The documentation for this struct was generated from the following file: -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXConfigSub.html b/xorg-server/hw/dmx/doc/html/struct__DMXConfigSub.html deleted file mode 100644 index b2b903eab..000000000 --- a/xorg-server/hw/dmx/doc/html/struct__DMXConfigSub.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - File Index - - - - - -
-

_DMXConfigSub Struct Reference

-

#include <dmxparse.h>

- - - - - - - - - -

Data Fields

DMXConfigType type
DMXConfigCommentPtr comment
DMXConfigDisplayPtr display
DMXConfigWallPtr wall
DMXConfigOptionPtr option
DMXConfigParamPtr param
struct _DMXConfigSubnext
-

Detailed Description

-

Stores options under an entry (subentry).

-

Field Documentation

- - - - - - - - - - - - - - -
The documentation for this struct was generated from the following file: -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXConfigToken.html b/xorg-server/hw/dmx/doc/html/struct__DMXConfigToken.html deleted file mode 100644 index c321bf658..000000000 --- a/xorg-server/hw/dmx/doc/html/struct__DMXConfigToken.html +++ /dev/null @@ -1,98 +0,0 @@ - - - - - File Index - - - - - -
-

_DMXConfigToken Struct Reference

-

#include <dmxparse.h>

- - - - - -

Data Fields

int token
int line
const char * comment
-

Detailed Description

-

Stores tokens not stored in other structures (e.g., keywords and ;)

-

Field Documentation

- -
-
- - - - -
const char* _DMXConfigToken::comment
-
- -
- -
-
- - - - -
int _DMXConfigToken::line
-
- -
- -
-
- - - - -
int _DMXConfigToken::token
-
- -
-
The documentation for this struct was generated from the following file: -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXConfigVirtual.html b/xorg-server/hw/dmx/doc/html/struct__DMXConfigVirtual.html deleted file mode 100644 index 7f613920b..000000000 --- a/xorg-server/hw/dmx/doc/html/struct__DMXConfigVirtual.html +++ /dev/null @@ -1,194 +0,0 @@ - - - - - File Index - - - - - -
-

_DMXConfigVirtual Struct Reference

-

#include <dmxparse.h>

- - - - - - - - - - - -

Data Fields

const char * name
int width
int height
DMXConfigTokenPtr start
DMXConfigStringPtr vname
DMXConfigPairPtr dim
DMXConfigTokenPtr open
DMXConfigSubPtr subentry
DMXConfigTokenPtr close
-

Detailed Description

-

Stores parsed virtual information.

-

Field Documentation

- - - - - - - - - - - - - - - - - - -
The documentation for this struct was generated from the following file: -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXConfigWall.html b/xorg-server/hw/dmx/doc/html/struct__DMXConfigWall.html deleted file mode 100644 index 2716c5cbb..000000000 --- a/xorg-server/hw/dmx/doc/html/struct__DMXConfigWall.html +++ /dev/null @@ -1,194 +0,0 @@ - - - - - File Index - - - - - -
-

_DMXConfigWall Struct Reference

-

#include <dmxparse.h>

- - - - - - - - - - - -

Data Fields

int width
int height
int xwall
int ywall
DMXConfigTokenPtr start
DMXConfigPairPtr wallDim
DMXConfigPairPtr displayDim
DMXConfigStringPtr nameList
DMXConfigTokenPtr end
-

Detailed Description

-

Stores parsed wall information.

-

Field Documentation

- - - - - -
-
- - - - -
int _DMXConfigWall::height
-
- -
- - - - - - - -
-
- - - - -
int _DMXConfigWall::width
-
- -
- -
-
- - - - -
int _DMXConfigWall::xwall
-
- -
- -
-
- - - - -
int _DMXConfigWall::ywall
-
- -
-
The documentation for this struct was generated from the following file: -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXEventMap.html b/xorg-server/hw/dmx/doc/html/struct__DMXEventMap.html deleted file mode 100644 index ea95b9c0b..000000000 --- a/xorg-server/hw/dmx/doc/html/struct__DMXEventMap.html +++ /dev/null @@ -1,84 +0,0 @@ - - - - - File Index - - - - - -
-

_DMXEventMap Struct Reference

-

#include <dmxinputinit.h>

- - - - -

Data Fields

int remote
int server
-

Detailed Description

-

Stores a mapping between the device id on the remote X server and the id on the DMX server

-

Field Documentation

- -
-
- - - - -
int _DMXEventMap::remote
-
-
-

Event number on remote X server

- -

Referenced by dmxMapClear(), dmxMapInsert(), and dmxMapLookup().

- -
-
- -
-
- - - - -
int _DMXEventMap::server
-
-
-

Event number (unbiased) on DMX server

- -

Referenced by dmxMapInsert(), and dmxMapLookup().

- -
-
-
The documentation for this struct was generated from the following file: -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXInputInfo.html b/xorg-server/hw/dmx/doc/html/struct__DMXInputInfo.html deleted file mode 100644 index 3ee6c6b58..000000000 --- a/xorg-server/hw/dmx/doc/html/struct__DMXInputInfo.html +++ /dev/null @@ -1,405 +0,0 @@ - - - - - File Index - - - - - -
-

_DMXInputInfo Struct Reference

-

#include <dmxinput.h>

- - - - - - - - - - - - - - - - - - - - - - - -

Data Fields

const char * name
Bool freename
Bool detached
int inputIdx
int scrnIdx
Bool core
Bool console
Bool windows
ProcessInputEventsProc processInputEvents
UpdateWindowInfoProc updateWindowInfo
dmxSigioState sigioState
int sigioFdCount
int sigioFd [DMX_MAX_SIGIO_FDS]
Bool sigioAdded [DMX_MAX_SIGIO_FDS]
int vt_switch_pending
int vt_switched
int numDevs
DMXLocalInputInfoPtrdevs
char * keycodes
char * symbols
char * geometry
-

Detailed Description

-

DMXInputInfo is typedef'd in dmx.h so that all routines can have access to the global pointers. However, the elements are only available to input-related routines.

-

Field Documentation

- -
-
- - - - -
Bool _DMXInputInfo::console
-
-
-

True if console and backend input share the same backend display

- -

Referenced by dmxCloseConsole(), and dmxInputInit().

- -
-
- -
-
- - - - -
Bool _DMXInputInfo::core
-
-
-

If True, initialize these devices as devices that send core events

- -

Referenced by dmxConfigAddInput(), dmxInputCopyLocal(), and dmxInputInit().

- -
-
- - - - - -
-
- - - - -
Bool _DMXInputInfo::freename
-
-
-

If true, free name on destroy

- -

Referenced by dmxInputAttachConsole(), and dmxInputFree().

- -
-
- -
-
- - - - -
char* _DMXInputInfo::geometry
-
-
-

XKB geometry from command line

- -

Referenced by dmxInputFree(), and dmxInputInit().

- -
-
- -
-
- - - - -
int _DMXInputInfo::inputIdx
-
- -
- -
-
- - - - -
char* _DMXInputInfo::keycodes
-
-
-

XKB keycodes from command line

- -

Referenced by dmxInputFree(), and dmxInputInit().

- -
-
- - - - - - - - - -
-
- - - - -
Bool _DMXInputInfo::sigioAdded[DMX_MAX_SIGIO_FDS]
-
-
-

Active fds

- -

Referenced by dmxSigioAdd(), and dmxSigioRemove().

- -
-
- -
-
- - - - -
int _DMXInputInfo::sigioFd[DMX_MAX_SIGIO_FDS]
-
-
-

List of fds

- -

Referenced by dmxSigioAdd(), dmxSigioRegister(), and dmxSigioRemove().

- -
-
- -
- -
-

Number of fds in use

- -

Referenced by dmxSigioAdd(), dmxSigioRegister(), dmxSigioRemove(), and dmxSigioUnregister().

- -
-
- - - -
-
- - - - -
char* _DMXInputInfo::symbols
-
-
-

XKB symbols from command line

- -

Referenced by dmxInputFree(), and dmxInputInit().

- -
-
- - - -
- -
-

True if a VT switch is pending, but has not yet happened.

- -

Referenced by dmxWakeupHandler().

- -
-
- -
- -
-

True if a VT switch has happened.

- -

Referenced by dmxSwitchReturn(), and dmxWakeupHandler().

- -
-
- -
-
- - - - -
Bool _DMXInputInfo::windows
-
-
-

True if window outlines are draw in console

- -

Referenced by dmxConsoleDraw(), and dmxInputInit().

- -
-
-
The documentation for this struct was generated from the following file: -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXLocalInitInfo.html b/xorg-server/hw/dmx/doc/html/struct__DMXLocalInitInfo.html deleted file mode 100644 index 9803358d9..000000000 --- a/xorg-server/hw/dmx/doc/html/struct__DMXLocalInitInfo.html +++ /dev/null @@ -1,571 +0,0 @@ - - - - - File Index - - - - - -
-

_DMXLocalInitInfo Struct Reference

-

#include <dmxinputinit.h>

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Data Fields

int keyboard
int keyClass
KeySymsRec keySyms
int freemap
CARD8 modMap [MAP_LENGTH]
XkbDescPtr xkb
XkbComponentNamesRec names
int freenames
int force
int buttonClass
int numButtons
unsigned char map [DMX_MAX_BUTTONS]
int valuatorClass
int numRelAxes
int numAbsAxes
int minval [DMX_MAX_AXES]
int maxval [DMX_MAX_AXES]
int res [DMX_MAX_AXES]
int minres [DMX_MAX_AXES]
int maxres [DMX_MAX_AXES]
int focusClass
int proximityClass
int kbdFeedbackClass
int ptrFeedbackClass
int ledFeedbackClass
int belFeedbackClass
int intFeedbackClass
int strFeedbackClass
int maxSymbols
int maxSymbolsSupported
KeySym * symbols
-

Detailed Description

-

Stores information from low-level device that is used to initialize the device at the dix level.

-

Field Documentation

- -
- -
-

Non-zero if device has a bell

- -

Referenced by dmxDeviceOnOff(), and othUSBGetInfo().

- -
-
- - - - - -
-
- - - - -
int _DMXLocalInitInfo::force
-
-
-

Do not allow command line override

- -

Referenced by dmxDummyKbdGetInfo(), dmxKeyboardOn(), and kbdUSBGetInfo().

- -
-
- - - -
- -
-

Non-zero if names should be free'd

- -

Referenced by dmxCommonKbdGetInfo(), and dmxKeyboardOn().

- -
-
- -
- -
-

Non-zero if device has integer feedback

- -

Referenced by dmxDeviceOnOff().

- -
-
- -
- -
-

Non-zero if device has keyboard feedback

- -

Referenced by dmxBackendKbdGetInfo(), dmxCommonOthGetInfo(), dmxConsoleKbdGetInfo(), dmxDummyKbdGetInfo(), kbdLinuxGetInfo(), and kbdUSBGetInfo().

- -
-
- - - - - - - -
- -
-

Non-zero if device has LED indicators

- -

Referenced by dmxDeviceOnOff(), and othUSBGetInfo().

- -
-
- -
-
- - - - -
unsigned char _DMXLocalInitInfo::map[DMX_MAX_BUTTONS]
-
- -
- - - -
- -
-

Maximum symbols

- -
-
- -
- -
-

Maximum symbols supported

- -
-
- - - - - - - -
-
- - - - -
CARD8 _DMXLocalInitInfo::modMap[MAP_LENGTH]
-
- -
- -
-
- - - - -
XkbComponentNamesRec _DMXLocalInitInfo::names
-
-
-

XKB component names

- -

Referenced by dmxCommonKbdGetInfo(), dmxKeyboardOn(), and kbdUSBGetInfo().

- -
-
- -
- -
-

Number of absolute axes

- -

Referenced by dmxCommonOthGetInfo(), dmxDeviceOnOff(), and othUSBGetInfo().

- -
-
- - - - - -
- -
-

Non-zero if device causes proximity events

- -

Referenced by dmxCommonOthGetInfo(), and dmxDeviceOnOff().

- -
-
- - - - - -
- -
-

Non-zero if device has string feedback

- -

Referenced by dmxDeviceOnOff().

- -
-
- -
-
- - - - -
KeySym* _DMXLocalInitInfo::symbols
-
-
-

Key symbols

- -
-
- - - -
-
- - - - -
XkbDescPtr _DMXLocalInitInfo::xkb
-
-
-

XKB description

- -

Referenced by dmxDeviceOnOff().

- -
-
-
The documentation for this struct was generated from the following file: -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXLocalInputInfo.html b/xorg-server/hw/dmx/doc/html/struct__DMXLocalInputInfo.html deleted file mode 100644 index 8a3ee7cc4..000000000 --- a/xorg-server/hw/dmx/doc/html/struct__DMXLocalInputInfo.html +++ /dev/null @@ -1,769 +0,0 @@ - - - - - File Index - - - - - -
-

_DMXLocalInputInfo Struct Reference

-

#include <dmxinputinit.h>

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Data Fields

const char * name
DMXLocalInputType type
DMXLocalInputExtType extType
int binding
dmxCreatePrivateProcPtr create_private
dmxDestroyPrivateProcPtr destroy_private
dmxInitProcPtr init
dmxReInitProcPtr reinit
dmxLateReInitProcPtr latereinit
dmxGetInfoProcPtr get_info
dmxOnProcPtr on
dmxOffProcPtr off
dmxUpdatePositionProcPtr update_position
dmxVTPreSwitchProcPtr vt_pre_switch
dmxVTPostSwitchProcPtr vt_post_switch
dmxVTSwitchProcPtr vt_switch
dmxCollectEventsProcPtr collect_events
dmxProcessInputProcPtr process_input
dmxFunctionsProcPtr functions
dmxUpdateInfoProcPtr update_info
dmxMCtrlProcPtr mCtrl
dmxKBCtrlProcPtr kCtrl
dmxKBBellProcPtr kBell
pointer private
int isCore
int sendsCore
KeybdCtrl kctrl
PtrCtrl mctrl
DeviceIntPtr pDevice
int inputIdx
int lastX
int lastY
int head
int tail
unsigned long * history
int * valuators
int(* savedMotionProc )(DeviceIntPtr, xTimecoord *, unsigned long, unsigned long, ScreenPtr)
int savedMotionEvents
int savedSendsCore
DMXEventMap map [DMX_MAP_ENTRIES]
int mapOptimize
long deviceId
const char * deviceName
-

Detailed Description

-

This is the device-independent structure used by the low-level input routines. The contents are not exposed to top-level .c files (except dmxextensions.c).

-
See also:
dmxinput.h
-
-dmxextensions.c
-

Field Documentation

- -
- -
-

Count of how many consecutive structs are bound to the same device

- -

Referenced by dmxApplyFunctions(), dmxCollectAll(), dmxCoreMotion(), dmxProcessInputEvents(), and dmxUpdateWindowInformation().

- -
-
- -
- -
-

Collect and enqueue events from the device

- -

Referenced by dmxCollectAll(), and dmxSigioHandler().

- -
-
- -
- -
-

Create device-dependent private

- -

Referenced by dmxAddDevice().

- -
-
- -
- -
-

Destroy device-dependent private

- -

Referenced by dmxInputFreeLocal().

- -
-
- - - -
-
- - - - -
const char* _DMXLocalInputInfo::deviceName
-
-
-

devive name on remote side, if any

- -

Referenced by dmxInputFreeLocal(), dmxInputLogDevices(), and dmxInputScanForExtensions().

- -
-
- - - - - -
- -
-

Get device information

- -
-
- -
-
- - - - -
int _DMXLocalInputInfo::head
-
-
-

XInput motion history head

- -
-
- -
-
- - - - -
unsigned long* _DMXLocalInputInfo::history
-
-
-

XInput motion history

- -

Referenced by dmxInputFreeLocal().

- -
-
- -
- -
-

Initialize device

- -
-
- - - - - -
- -
-

Bell control

- -

Referenced by _dmxKeyboardBellProc().

- -
-
- -
-
- - - - -
KeybdCtrl _DMXLocalInputInfo::kctrl
-
-
-

Keyboard control

- -

Referenced by _dmxKeyboardBellProc(), and _dmxKeyboardKbdCtrlProc().

- -
-
- -
- -
-

Keyboard control

- -

Referenced by _dmxKeyboardKbdCtrlProc().

- -
-
- -
-
- - - - -
int _DMXLocalInputInfo::lastX
-
-
- -

Referenced by dmxExtMotion().

- -
-
- -
-
- - - - -
int _DMXLocalInputInfo::lastY
-
-
-

Last known position; for XInput in dmxevents.c

- -

Referenced by dmxExtMotion().

- -
-
- -
- -
-

Reinitialize a device (called very late during a reconfiguration)

- -

Referenced by dmxInputLateReInit().

- -
-
- -
-
- - - - -
DMXEventMap _DMXLocalInputInfo::map[DMX_MAP_ENTRIES]
-
-
-

XInput device id map

- -

Referenced by dmxMapClear(), dmxMapInsert(), and dmxMapLookup().

- -
-
- -
- -
-

XInput device id map optimization

- -

Referenced by dmxMapClear(), dmxMapInsert(), and dmxMapLookup().

- -
-
- -
-
- - - - -
PtrCtrl _DMXLocalInputInfo::mctrl
-
-
-

Pointer control

- -

Referenced by _dmxChangePointerControl().

- -
-
- -
- -
-

Pointer control

- -

Referenced by _dmxChangePointerControl().

- -
-
- -
-
- - - - -
const char* _DMXLocalInputInfo::name
-
-
-

Device name

- -

Referenced by dmxAddDevice(), dmxLookupLocal(), and dmxPopulateLocal().

- -
-
- -
- -
-

Turn device off

- -
-
- -
- -
-

Turn device on

- -
-
- - - - - -
- -
-

Process event (from queue)

- -

Referenced by dmxProcessInputEvents().

- -
-
- -
- -
-

Reinitialize device (during a reconfiguration)

- -

Referenced by dmxInputReInit().

- -
-
- -
- -
-

Saved motion events

- -

Referenced by ChangePointerDevice().

- -
-
- -
-
- - - - -
int(* _DMXLocalInputInfo::savedMotionProc)(DeviceIntPtr, xTimecoord *, unsigned long, unsigned long, ScreenPtr)
-
-
- -

Referenced by ChangePointerDevice().

- -
-
- -
- -
-

Saved sends-core flag

- -

Referenced by ChangeKeyboardDevice(), ChangePointerDevice(), and dmxInputCopyLocal().

- -
-
- - - -
-
- - - - -
int _DMXLocalInputInfo::tail
-
-
-

XInput motion history tail

- -
-
- - - -
- -
-

Update window layout information

- -

Referenced by dmxUpdateWindowInformation().

- -
-
- -
- -
-

Called when another device updates the cursor position

- -

Referenced by dmxCoreMotion(), and dmxExtMotion().

- -
-
- -
- -
-

Cache of previous values

- -

Referenced by dmxInputFreeLocal().

- -
-
- -
- -
-

Called after a VT switch

- -

Referenced by dmxSwitchReturn().

- -
-
- -
- -
-

Called before a VT switch

- -

Referenced by dmxWakeupHandler().

- -
-
- -
- -
-

Causes a VT switch

- -

Referenced by dmxWakeupHandler().

- -
-
-
The documentation for this struct was generated from the following file: -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXScreenInfo.html b/xorg-server/hw/dmx/doc/html/struct__DMXScreenInfo.html deleted file mode 100644 index 365f3fd4f..000000000 --- a/xorg-server/hw/dmx/doc/html/struct__DMXScreenInfo.html +++ /dev/null @@ -1,1650 +0,0 @@ - - - - - File Index - - - - - -
-

_DMXScreenInfo Struct Reference

-

#include <dmx.h>

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Data Fields

const char * name
int index
Display * beDisplay
int beWidth
int beHeight
int beDepth
int beBPP
int beXDPI
int beYDPI
int beNumDepths
int * beDepths
int beNumPixmapFormats
XPixmapFormatValues * bePixmapFormats
int beNumVisuals
XVisualInfo * beVisuals
int beDefVisualIndex
int beNumDefColormaps
Colormap * beDefColormaps
Pixel beBlackPixel
Pixel beWhitePixel
Window scrnWin
int scrnX
int scrnY
int scrnWidth
int scrnHeight
int scrnXSign
int scrnYSign
Drawable scrnDefDrawables [MAXFORMATS]
struct _DMXScreenInfonext
struct _DMXScreenInfoover
Window rootWin
int rootX
int rootY
int rootWidth
int rootHeight
int rootXOrigin
int rootYOrigin
void * shadow
XlibGC shadowGC
XImage * shadowFBImage
int shared
Bool WMRunningOnBE
Cursor noCursor
Cursor curCursor
CursorPtr cursor
int cursorVisible
int cursorNotShared
PositionType where
int whereX
int whereY
int whereRefScreen
int savedTimeout
int dpmsCapable
int dpmsEnabled
int dpmsStandby
int dpmsSuspend
int dpmsOff
DMXStatInfostat
Bool needsSync
CloseScreenProcPtr CloseScreen
SaveScreenProcPtr SaveScreen
CreateGCProcPtr CreateGC
CreateWindowProcPtr CreateWindow
DestroyWindowProcPtr DestroyWindow
PositionWindowProcPtr PositionWindow
ChangeWindowAttributesProcPtr ChangeWindowAttributes
RealizeWindowProcPtr RealizeWindow
UnrealizeWindowProcPtr UnrealizeWindow
RestackWindowProcPtr RestackWindow
WindowExposuresProcPtr WindowExposures
CopyWindowProcPtr CopyWindow
ResizeWindowProcPtr ResizeWindow
ReparentWindowProcPtr ReparentWindow
ChangeBorderWidthProcPtr ChangeBorderWidth
GetImageProcPtr GetImage
GetSpansProcPtr GetSpans
CreatePixmapProcPtr CreatePixmap
DestroyPixmapProcPtr DestroyPixmap
BitmapToRegionProcPtr BitmapToRegion
RealizeFontProcPtr RealizeFont
UnrealizeFontProcPtr UnrealizeFont
CreateColormapProcPtr CreateColormap
DestroyColormapProcPtr DestroyColormap
InstallColormapProcPtr InstallColormap
StoreColorsProcPtr StoreColors
SetShapeProcPtr SetShape
CreatePictureProcPtr CreatePicture
DestroyPictureProcPtr DestroyPicture
ChangePictureClipProcPtr ChangePictureClip
DestroyPictureClipProcPtr DestroyPictureClip
ChangePictureProcPtr ChangePicture
ValidatePictureProcPtr ValidatePicture
CompositeProcPtr Composite
GlyphsProcPtr Glyphs
CompositeRectsProcPtr CompositeRects
InitIndexedProcPtr InitIndexed
CloseIndexedProcPtr CloseIndexed
UpdateIndexedProcPtr UpdateIndexed
TrapezoidsProcPtr Trapezoids
TrianglesProcPtr Triangles
TriStripProcPtr TriStrip
TriFanProcPtr TriFan
-

Detailed Description

-

Global structure containing information about each backend screen.

-

Field Documentation

- -
-
- - - - -
Pixel _DMXScreenInfo::beBlackPixel
-
-
-

Default black pixel for BE

- -

Referenced by dmxBEScreenInit(), and dmxGetColormaps().

- -
-
- -
-
- - - - -
int _DMXScreenInfo::beBPP
-
- -
- -
-
- - - - -
Colormap* _DMXScreenInfo::beDefColormaps
-
-
-

Default colormaps for DMX server

- -

Referenced by dmxBECloseScreen(), dmxBEScreenInit(), dmxColormapFromDefaultVisual(), and dmxGetColormaps().

- -
-
- - - -
-
- - - - -
int _DMXScreenInfo::beDepth
-
- -
- - - -
-
- - - - -
Display* _DMXScreenInfo::beDisplay
-
-
-

Back-end X server's display

- -

Referenced by _dmxDPMSInit(), _dmxMoveCursor(), _dmxRealizeCursor(), _dmxSetCursor(), _dmxUnrealizeCursor(), AbortDDX(), dmxAttachScreen(), dmxBackendCollectEvents(), dmxBackendInitPrivate(), dmxBackendPendingMotionEvent(), dmxBackendTestEvents(), dmxBackendTestMotionEvent(), dmxBECloseScreen(), dmxBECreateColormap(), dmxBECreateCursor(), dmxBECreateGC(), dmxBECreateGlyphSet(), dmxBECreatePixmap(), dmxBECreateWindowTree(), dmxBEDestroyWindow(), dmxBEFreeColormap(), dmxBEFreeCursor(), dmxBEFreeFont(), dmxBEFreeGC(), dmxBEFreeGlyphSet(), dmxBEFreePicture(), dmxBEFreePixmap(), dmxBELoadFont(), dmxBERestorePixmap(), dmxBERestoreRenderGlyph(), dmxBESavePixmap(), dmxBEScreenInit(), dmxBitmapToRegion(), dmxChangeBorderWidth(), dmxChangeClip(), dmxChangeGC(), dmxChangePictureClip(), dmxChangeWindowAttributes(), dmxCheckFontPath(), dmxCheckFontPathElement(), dmxCheckForWM(), dmxCloseScreen(), dmxColormapFromDefaultVisual(), dmxCommonAddEnabledDevice(), dmxCommonRemoveEnabledDevice(), dmxCommonXSelect(), dmxComposite(), dmxCompositeRects(), dmxConnectionBlockCallback(), dmxConsoleDraw(), dmxCopyArea(), dmxCopyGC(), dmxCopyPlane(), dmxCopyWindow(), dmxCreateAndRealizeWindow(), dmxCreateColormap(), dmxCreateGC(), dmxCreateNonRootWindow(), dmxCreatePixmap(), dmxCreateRootWindow(), dmxCreateWindow(), dmxDestroyClip(), dmxDestroyColormap(), dmxDestroyGC(), dmxDestroyPictureClip(), dmxDestroyPixmap(), dmxDetachScreen(), dmxDoCreatePicture(), dmxDoRestackWindow(), dmxDoSetShape(), dmxDoSync(), dmxDPMSInit(), dmxDPMSTerm(), dmxFillPolygon(), dmxFindAlternatePixmap(), dmxFindFormat(), dmxGetColormaps(), dmxGetImage(), dmxGetPixmapFormats(), dmxGetScreenAttribs(), dmxGetVisualInfo(), dmxImageText16(), dmxImageText8(), dmxInputAttachBackend(), dmxInstallColormap(), dmxLookupVisual(), dmxLookupVisualFromID(), dmxOpenDisplay(), dmxPolyArc(), dmxPolyFillArc(), dmxPolyFillRect(), dmxPolylines(), dmxPolyPoint(), dmxPolyRectangle(), dmxPolySegment(), dmxPolyText16(), dmxPolyText8(), dmxPositionWindow(), dmxPrintScreenInfo(), dmxProcRenderAddGlyphs(), dmxProcRenderCompositeGlyphs(), dmxProcRenderCreateGlyphSet(), dmxProcRenderFreeGlyphs(), dmxProcRenderFreeGlyphSet(), dmxProcRenderSetPictureFilter(), dmxProcRenderSetPictureTransform(), dmxPropertyCheckOtherServers(), dmxPropertyCheckOtherWindows(), dmxPropertyDisplay(), dmxPropertyIterate(), dmxPropertySameDisplay(), dmxPropertyWindow(), dmxPutImage(), dmxRealizeFont(), dmxRealizeWindow(), dmxReparentWindow(), dmxResizeRootWindow(), dmxResizeScreenWindow(), dmxResizeWindow(), dmxSaveScreen(), dmxSetFontPath(), dmxSetPixmapFormats(), dmxShadowUpdateProc(), dmxStoreColors(), dmxTrapezoids(), dmxTriangles(), dmxTriFan(), dmxTriStrip(), dmxUnrealizeFont(), dmxUnrealizeWindow(), dmxValidatePicture(), dmxWindowExposures(), and InitOutput().

- -
-
- -
-
- - - - -
int _DMXScreenInfo::beHeight
-
- -
- -
- -
-

Number of default colormaps

- -

Referenced by dmxBECloseScreen(), dmxColormapFromDefaultVisual(), and dmxGetColormaps().

- -
-
- -
- -
-

Number of depths on BE server

- -

Referenced by dmxBEScreenInit(), dmxCompareScreens(), dmxGetPixmapFormats(), dmxScreenInit(), and dmxSetPixmapFormats().

- -
-
- - - -
- - -
- - - - - -
-
- - - - -
Pixel _DMXScreenInfo::beWhitePixel
-
-
-

Default white pixel for BE

- -

Referenced by dmxBEScreenInit(), and dmxGetColormaps().

- -
-
- - - -
-
- - - - -
int _DMXScreenInfo::beXDPI
-
-
-

Horizontal dots per inch of BE

- -

Referenced by dmxGetScreenAttribs(), dmxScreenInit(), and dmxUpdateScreenResources().

- -
-
- -
-
- - - - -
int _DMXScreenInfo::beYDPI
-
-
-

Vertical dots per inch of BE

- -

Referenced by dmxGetScreenAttribs(), and dmxUpdateScreenResources().

- -
-
- -
-
- - - - -
BitmapToRegionProcPtr _DMXScreenInfo::BitmapToRegion
-
-
- -
-
- -
-
- - - - -
ChangeBorderWidthProcPtr _DMXScreenInfo::ChangeBorderWidth
-
-
- -
-
- -
-
- - - - -
ChangePictureProcPtr _DMXScreenInfo::ChangePicture
-
-
- -
-
- -
-
- - - - -
ChangePictureClipProcPtr _DMXScreenInfo::ChangePictureClip
-
-
- -
-
- -
-
- - - - -
ChangeWindowAttributesProcPtr _DMXScreenInfo::ChangeWindowAttributes
-
-
- -
-
- -
-
- - - - -
CloseIndexedProcPtr _DMXScreenInfo::CloseIndexed
-
-
- -
-
- -
-
- - - - -
CloseScreenProcPtr _DMXScreenInfo::CloseScreen
-
-
-

Function pointers to wrapped screen functions

- -
-
- -
-
- - - - -
CompositeProcPtr _DMXScreenInfo::Composite
-
-
- -
-
- -
-
- - - - -
CompositeRectsProcPtr _DMXScreenInfo::CompositeRects
-
-
- -
-
- -
-
- - - - -
CopyWindowProcPtr _DMXScreenInfo::CopyWindow
-
-
- -
-
- -
-
- - - - -
CreateColormapProcPtr _DMXScreenInfo::CreateColormap
-
-
- -
-
- -
-
- - - - -
CreateGCProcPtr _DMXScreenInfo::CreateGC
-
-
- -
-
- -
-
- - - - -
CreatePictureProcPtr _DMXScreenInfo::CreatePicture
-
-
- -
-
- -
-
- - - - -
CreatePixmapProcPtr _DMXScreenInfo::CreatePixmap
-
-
- -
-
- -
-
- - - - -
CreateWindowProcPtr _DMXScreenInfo::CreateWindow
-
-
- -
-
- -
-
- - - - -
Cursor _DMXScreenInfo::curCursor
-
-
- -

Referenced by _dmxSetCursor().

- -
-
- -
-
- - - - -
CursorPtr _DMXScreenInfo::cursor
-
- -
- - - -
- -
- -

Referenced by _dmxSetCursor(), and dmxMoveCursor().

- -
-
- -
-
- - - - -
DestroyColormapProcPtr _DMXScreenInfo::DestroyColormap
-
-
- -
-
- -
-
- - - - -
DestroyPictureProcPtr _DMXScreenInfo::DestroyPicture
-
-
- -
-
- -
-
- - - - -
DestroyPictureClipProcPtr _DMXScreenInfo::DestroyPictureClip
-
-
- -
-
- -
-
- - - - -
DestroyPixmapProcPtr _DMXScreenInfo::DestroyPixmap
-
-
- -
-
- -
-
- - - - -
DestroyWindowProcPtr _DMXScreenInfo::DestroyWindow
-
-
- -
-
- -
- -
-

Non-zero if backend is DPMS capable

- -

Referenced by _dmxDPMSInit(), and dmxDPMSTerm().

- -
-
- -
- -
-

Non-zero if DPMS enabled

- -

Referenced by _dmxDPMSInit(), and dmxDPMSTerm().

- -
-
- -
-
- - - - -
int _DMXScreenInfo::dpmsOff
-
-
-

Original DPMS off value

- -

Referenced by _dmxDPMSInit(), and dmxDPMSTerm().

- -
-
- -
- -
-

Original DPMS standby value

- -

Referenced by _dmxDPMSInit(), and dmxDPMSTerm().

- -
-
- -
- -
-

Original DPMS suspend value

- -

Referenced by _dmxDPMSInit(), and dmxDPMSTerm().

- -
-
- -
-
- - - - -
GetImageProcPtr _DMXScreenInfo::GetImage
-
-
- -
-
- -
-
- - - - -
GetSpansProcPtr _DMXScreenInfo::GetSpans
-
-
- -
-
- -
-
- - - - -
GlyphsProcPtr _DMXScreenInfo::Glyphs
-
-
- -
-
- - - -
-
- - - - -
InitIndexedProcPtr _DMXScreenInfo::InitIndexed
-
-
- -
-
- -
-
- - - - -
InstallColormapProcPtr _DMXScreenInfo::InstallColormap
-
-
- -
-
- - - -
-
- - - - -
Bool _DMXScreenInfo::needsSync
-
-
-

True if an XSync is pending

- -

Referenced by dmxDoSync(), dmxSync(), and dmxSyncCallback().

- -
-
- -
-
- - - - -
struct _DMXScreenInfo* _DMXScreenInfo::next [read]
-
-
-

List of "screens" on same display

- -

Referenced by dmxPropertyIterate(), and dmxPropertyWindow().

- -
-
- -
-
- - - - -
Cursor _DMXScreenInfo::noCursor
-
- -
- - - -
-
- - - - -
PositionWindowProcPtr _DMXScreenInfo::PositionWindow
-
-
- -
-
- -
-
- - - - -
RealizeFontProcPtr _DMXScreenInfo::RealizeFont
-
-
- -
-
- -
-
- - - - -
RealizeWindowProcPtr _DMXScreenInfo::RealizeWindow
-
-
- -
-
- -
-
- - - - -
ReparentWindowProcPtr _DMXScreenInfo::ReparentWindow
-
-
- -
-
- -
-
- - - - -
ResizeWindowProcPtr _DMXScreenInfo::ResizeWindow
-
-
- -
-
- -
-
- - - - -
RestackWindowProcPtr _DMXScreenInfo::RestackWindow
-
-
- -
-
- - - - - -
-
- - - - -
Window _DMXScreenInfo::rootWin
-
-
-

"Root" window on backend display

- -

Referenced by dmxBECreateWindowTree(), and dmxCreateWindow().

- -
-
- - - - - - - - - -
- -
-

Original screen saver timeout

- -

Referenced by dmxDPMSInit(), and dmxDPMSTerm().

- -
-
- -
-
- - - - -
SaveScreenProcPtr _DMXScreenInfo::SaveScreen
-
-
- -
-
- -
-
- - - - -
Drawable _DMXScreenInfo::scrnDefDrawables[MAXFORMATS]
-
-
-

Default drawables for "screen"

- -

Referenced by dmxBECloseScreen(), dmxBECreateCursor(), dmxBECreateGC(), dmxBERestorePixmap(), and dmxBEScreenInit().

- -
-
- - - - - - - - - -
-
- - - - -
int _DMXScreenInfo::scrnXSign
-
-
-

X offset sign of "screen"

- -

Referenced by dmxConfigAddDisplay(), and dmxGetScreenAttribs().

- -
-
- - - -
-
- - - - -
int _DMXScreenInfo::scrnYSign
-
-
-

Y offset sign of "screen"

- -

Referenced by dmxConfigAddDisplay(), and dmxGetScreenAttribs().

- -
-
- -
-
- - - - -
SetShapeProcPtr _DMXScreenInfo::SetShape
-
-
- -
-
- -
-
- - - - -
void* _DMXScreenInfo::shadow
-
-
-

Shadow framebuffer data (if enabled)

- -

Referenced by dmxBEScreenInit(), dmxCloseScreen(), and dmxScreenInit().

- -
-
- -
-
- - - - -
XImage* _DMXScreenInfo::shadowFBImage
-
-
-

Screen image used by shadow FB code

- -

Referenced by dmxBECloseScreen(), dmxBEScreenInit(), and dmxShadowUpdateProc().

- -
-
- -
-
- - - - -
XlibGC _DMXScreenInfo::shadowGC
-
-
-

Default GC used by shadow FB code

- -

Referenced by dmxBECloseScreen(), dmxBEScreenInit(), and dmxShadowUpdateProc().

- -
-
- -
-
- - - - -
int _DMXScreenInfo::shared
-
-
-

Non-zero if another Xdmx is running

- -

Referenced by dmxPropertyDisplay().

- -
-
- -
- -
-

Statistics about XSync

- -

Referenced by dmxConfigAddDisplay(), dmxStatCallback(), dmxStatSync(), and InitOutput().

- -
-
- -
-
- - - - -
StoreColorsProcPtr _DMXScreenInfo::StoreColors
-
-
- -
-
- -
-
- - - - -
TrapezoidsProcPtr _DMXScreenInfo::Trapezoids
-
-
- -
-
- -
-
- - - - -
TrianglesProcPtr _DMXScreenInfo::Triangles
-
-
- -
-
- -
-
- - - - -
TriFanProcPtr _DMXScreenInfo::TriFan
-
-
- -
-
- -
-
- - - - -
TriStripProcPtr _DMXScreenInfo::TriStrip
-
-
- -
-
- -
-
- - - - -
UnrealizeFontProcPtr _DMXScreenInfo::UnrealizeFont
-
-
- -
-
- -
-
- - - - -
UnrealizeWindowProcPtr _DMXScreenInfo::UnrealizeWindow
-
-
- -
-
- -
-
- - - - -
UpdateIndexedProcPtr _DMXScreenInfo::UpdateIndexed
-
-
- -
-
- -
-
- - - - -
ValidatePictureProcPtr _DMXScreenInfo::ValidatePicture
-
-
- -
-
- - - - - - - - - -
-
- - - - -
WindowExposuresProcPtr _DMXScreenInfo::WindowExposures
-
-
- -
-
- -
- -
- -

Referenced by dmxCheckForWM(), and dmxPrintScreenInfo().

- -
-
-
The documentation for this struct was generated from the following file: -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXStatAvg.html b/xorg-server/hw/dmx/doc/html/struct__DMXStatAvg.html deleted file mode 100644 index 7fcb44ae7..000000000 --- a/xorg-server/hw/dmx/doc/html/struct__DMXStatAvg.html +++ /dev/null @@ -1,96 +0,0 @@ - - - - - File Index - - - - - -
-

_DMXStatAvg Struct Reference

- - - - -

Data Fields

int pos
int count
unsigned long value [DMX_STAT_LENGTH]
-

Detailed Description

-

Used to compute a running average of value.

-

Field Documentation

- -
-
- - - - -
int _DMXStatAvg::count
-
-
- -

Referenced by avg(), and dmxStatValue().

- -
-
- -
-
- - - - -
int _DMXStatAvg::pos
-
-
- -

Referenced by dmxStatValue().

- -
-
- -
-
- - - - -
unsigned long _DMXStatAvg::value[DMX_STAT_LENGTH]
-
-
- -

Referenced by avg(), and dmxStatValue().

- -
-
-
The documentation for this struct was generated from the following file: -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXStatInfo.html b/xorg-server/hw/dmx/doc/html/struct__DMXStatInfo.html deleted file mode 100644 index 3a0fd0540..000000000 --- a/xorg-server/hw/dmx/doc/html/struct__DMXStatInfo.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - File Index - - - - - -
-

_DMXStatInfo Struct Reference

- - - - - - -

Data Fields

unsigned long syncCount
unsigned long oldSyncCount
DMXStatAvg usec
DMXStatAvg pending
unsigned long bins [DMX_STAT_BINS]
-

Detailed Description

-

Statistical information about XSync calls.

-

Field Documentation

- -
-
- - - - -
unsigned long _DMXStatInfo::bins[DMX_STAT_BINS]
-
-
- -

Referenced by dmxStatCallback(), and dmxStatSync().

- -
-
- -
-
- - - - -
unsigned long _DMXStatInfo::oldSyncCount
-
-
- -

Referenced by dmxStatCallback().

- -
-
- -
- -
- -

Referenced by dmxStatCallback(), and dmxStatSync().

- -
-
- -
-
- - - - -
unsigned long _DMXStatInfo::syncCount
-
-
- -

Referenced by dmxStatCallback(), and dmxStatSync().

- -
-
- -
- -
- -

Referenced by dmxStatCallback(), and dmxStatSync().

- -
-
-
The documentation for this struct was generated from the following file: -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/struct__dmxArg.html b/xorg-server/hw/dmx/doc/html/struct__dmxArg.html deleted file mode 100644 index 1694271bf..000000000 --- a/xorg-server/hw/dmx/doc/html/struct__dmxArg.html +++ /dev/null @@ -1,99 +0,0 @@ - - - - - File Index - - - - - -
-

_dmxArg Struct Reference

- - - - -

Data Fields

int argc
int argm
const char ** argv
-

Detailed Description

-

Stores the parsed argument list.

-

Field Documentation

- -
-
- - - - -
int _dmxArg::argc
-
-
-

Number of arguments in argv

- -

Referenced by dmxArgAdd(), dmxArgC(), dmxArgCreate(), dmxArgFree(), and dmxArgV().

- -
-
- -
-
- - - - -
int _dmxArg::argm
-
-
-

Maximum number of arguments store-able in argv

- -

Referenced by dmxArgAdd(), and dmxArgCreate().

- -
-
- -
-
- - - - -
const char** _dmxArg::argv
-
-
-

Arguments

- -

Referenced by dmxArgAdd(), dmxArgCreate(), dmxArgFree(), and dmxArgV().

- -
-
-
The documentation for this struct was generated from the following file: -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/struct__dmxColormapPriv.html b/xorg-server/hw/dmx/doc/html/struct__dmxColormapPriv.html deleted file mode 100644 index 72468bbf4..000000000 --- a/xorg-server/hw/dmx/doc/html/struct__dmxColormapPriv.html +++ /dev/null @@ -1,66 +0,0 @@ - - - - - File Index - - - - - -
-

_dmxColormapPriv Struct Reference

-

#include <dmxcmap.h>

- - - -

Data Fields

Colormap cmap
-

Detailed Description

-

Colormap private area.

-

Field Documentation

- - -
The documentation for this struct was generated from the following file: -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/struct__dmxCursorPriv.html b/xorg-server/hw/dmx/doc/html/struct__dmxCursorPriv.html deleted file mode 100644 index 13187c67d..000000000 --- a/xorg-server/hw/dmx/doc/html/struct__dmxCursorPriv.html +++ /dev/null @@ -1,66 +0,0 @@ - - - - - File Index - - - - - -
-

_dmxCursorPriv Struct Reference

-

#include <dmxcursor.h>

- - - -

Data Fields

Cursor cursor
-

Detailed Description

-

Cursor private area.

-

Field Documentation

- - -
The documentation for this struct was generated from the following file: -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/struct__dmxFontPriv.html b/xorg-server/hw/dmx/doc/html/struct__dmxFontPriv.html deleted file mode 100644 index 7b4c457d5..000000000 --- a/xorg-server/hw/dmx/doc/html/struct__dmxFontPriv.html +++ /dev/null @@ -1,82 +0,0 @@ - - - - - File Index - - - - - -
-

_dmxFontPriv Struct Reference

-

#include <dmxfont.h>

- - - - -

Data Fields

int refcnt
XFontStruct ** font
-

Detailed Description

-

Font private area.

-

Field Documentation

- -
-
- - - - -
XFontStruct** _dmxFontPriv::font
-
- -
- -
-
- - - - -
int _dmxFontPriv::refcnt
-
-
- -

Referenced by dmxRealizeFont(), and dmxUnrealizeFont().

- -
-
-
The documentation for this struct was generated from the following file: -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/struct__dmxGCPriv.html b/xorg-server/hw/dmx/doc/html/struct__dmxGCPriv.html deleted file mode 100644 index eaa249d5c..000000000 --- a/xorg-server/hw/dmx/doc/html/struct__dmxGCPriv.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - File Index - - - - - -
-

_dmxGCPriv Struct Reference

-

#include <dmxgc.h>

- - - - - - -

Data Fields

GCOps * ops
GCFuncs * funcs
XlibGC gc
Bool msc
-

Detailed Description

-

GC private area.

-

Field Documentation

- -
-
- - - - -
GCFuncs* _dmxGCPriv::funcs
-
-
- -

Referenced by dmxCreateGC().

- -
-
- - - -
-
- - - - -
Bool _dmxGCPriv::msc
-
-
- -

Referenced by dmxChangeGC(), and dmxCreateGC().

- -
-
- -
-
- - - - -
GCOps* _dmxGCPriv::ops
-
-
- -

Referenced by dmxCreateGC(), and dmxValidateGC().

- -
-
-
The documentation for this struct was generated from the following file: -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/struct__dmxGlyphPriv.html b/xorg-server/hw/dmx/doc/html/struct__dmxGlyphPriv.html deleted file mode 100644 index e113e3710..000000000 --- a/xorg-server/hw/dmx/doc/html/struct__dmxGlyphPriv.html +++ /dev/null @@ -1,67 +0,0 @@ - - - - - File Index - - - - - -
-

_dmxGlyphPriv Struct Reference

-

#include <dmxpict.h>

- - - -

Data Fields

GlyphSet * glyphSets
-

Detailed Description

-

Glyph Set private structure

-

Field Documentation

- - -
The documentation for this struct was generated from the following file: -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/struct__dmxPictPriv.html b/xorg-server/hw/dmx/doc/html/struct__dmxPictPriv.html deleted file mode 100644 index beaf8e3cc..000000000 --- a/xorg-server/hw/dmx/doc/html/struct__dmxPictPriv.html +++ /dev/null @@ -1,84 +0,0 @@ - - - - - File Index - - - - - -
-

_dmxPictPriv Struct Reference

-

#include <dmxpict.h>

- - - - -

Data Fields

Picture pict
Mask savedMask
-

Detailed Description

-

Picture private structure

-

Field Documentation

- - - -
-
- - - - -
Mask _dmxPictPriv::savedMask
-
-
-

Mask of picture attributes saved for lazy window creation.

- -

Referenced by dmxChangePicture(), dmxCreatePicture(), and dmxValidatePicture().

- -
-
-
The documentation for this struct was generated from the following file: -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/struct__dmxPixPriv.html b/xorg-server/hw/dmx/doc/html/struct__dmxPixPriv.html deleted file mode 100644 index 67e50903e..000000000 --- a/xorg-server/hw/dmx/doc/html/struct__dmxPixPriv.html +++ /dev/null @@ -1,82 +0,0 @@ - - - - - File Index - - - - - -
-

_dmxPixPriv Struct Reference

-

#include <dmxpixmap.h>

- - - - -

Data Fields

Pixmap pixmap
XImage * detachedImage
-

Detailed Description

-

Pixmap private area.

-

Field Documentation

- - - - -
The documentation for this struct was generated from the following file: -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/struct__dmxWinPriv.html b/xorg-server/hw/dmx/doc/html/struct__dmxWinPriv.html deleted file mode 100644 index 3601baa07..000000000 --- a/xorg-server/hw/dmx/doc/html/struct__dmxWinPriv.html +++ /dev/null @@ -1,194 +0,0 @@ - - - - - File Index - - - - - -
-

_dmxWinPriv Struct Reference

-

#include <dmxwindow.h>

- - - - - - - - - - - -

Data Fields

Window window
Bool offscreen
Bool mapped
Bool restacked
unsigned long attribMask
Colormap cmap
Visual * visual
Bool isShaped
Bool hasPict
-

Detailed Description

-

Window private area.

-

Field Documentation

- - - -
-
- - - - -
Colormap _dmxWinPriv::cmap
-
- -
- - - -
-
- - - - -
Bool _dmxWinPriv::isShaped
-
- -
- - - - - - - -
-
- - - - -
Visual* _dmxWinPriv::visual
-
- -
- - -
The documentation for this struct was generated from the following file: -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/struct__myPrivate.html b/xorg-server/hw/dmx/doc/html/struct__myPrivate.html deleted file mode 100644 index 2a3cb28e8..000000000 --- a/xorg-server/hw/dmx/doc/html/struct__myPrivate.html +++ /dev/null @@ -1,1110 +0,0 @@ - - - - - File Index - - - - - -
-

_myPrivate Struct Reference

-

#include <usb-private.h>

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Types

enum  {
-  button1 = 0x0001, -button2 = 0x0002, -button3 = 0x0004, -button4 = 0x0008, -
-  button5 = 0x0010 -
- }
enum  {
-  button1 = 0x0001, -button2 = 0x0002, -button3 = 0x0004, -button4 = 0x0008, -
-  button5 = 0x0010 -
- }

Data Fields

 DMX_COMMON_PRIVATE
int myScreen
DMXScreenInfograbbedScreen
int lastX
int lastY
int centerX
int centerY
int relative
int newscreen
int initialized
DevicePtr mou
DevicePtr kbd
int entered
int offX
int offY
int globalX
int globalY
int curX
int curY
int width
int height
int consWidth
int consHeight
double xScale
double yScale
XlibGC gc
XlibGC gcDet
XlibGC gcRev
XlibGC gcCur
int grabbed
int fine
int captured
Cursor cursorNormal
Cursor cursorGrabbed
Cursor cursorEmpty
Pixmap pixmap
CloseScreenProcPtr CloseScreen
struct _myPrivatenext
int fd
int vtno
int vtcurrent
int kbdtrans
struct termios kbdtty
int kbdType
CARD32 kbdState [NUM_STATE_ENTRIES]
DeviceIntPtr pKeyboard
unsigned char prefix
int switched
SWITCHRETPROC switch_return
void * switch_return_data
int pitch
unsigned long duration
DeviceIntPtr pMouse
struct termios tty
enum _myPrivate:: { ... }  buttons
enum _myPrivate:: { ... }  buttons
DeviceIntPtr pDevice
unsigned char mask [EV_MAX/8+1]
int numRel
int numAbs
int numLeds
int relmap [DMX_MAX_AXES]
int absmap [DMX_MAX_AXES]
DMXInputInfodmxInput
-

Detailed Description

-

Each device has a private area that is visible only from inside the driver code.

-

Member Enumeration Documentation

- -
-
- - - - -
anonymous enum
-
-
-
Enumerator:
- - - - - -
button1  -
button2  -
button3  -
button4  -
button5  -
-
-
- -
-
- -
-
- - - - -
anonymous enum
-
-
-
Enumerator:
- - - - - -
button1  -
button2  -
button3  -
button4  -
button5  -
-
-
- -
-
-

Field Documentation

- -
-
- - - - -
int _myPrivate::absmap[DMX_MAX_AXES]
-
-
-

Absolute axis map

- -
-
- -
-
- - - - -
enum { ... } _myPrivate::buttons
-
-
- -
-
- -
-
- - - - -
enum { ... } _myPrivate::buttons
-
-
- -
-
- -
-
- - - - -
int _myPrivate::captured
-
-
- -

Referenced by dmxConsoleCapture(), and dmxConsoleUncapture().

- -
-
- -
-
- - - - -
int _myPrivate::centerX
-
-
- -

Referenced by dmxBackendComputeCenter().

- -
-
- -
-
- - - - -
int _myPrivate::centerY
-
-
- -

Referenced by dmxBackendComputeCenter().

- -
-
- -
-
- - - - -
CloseScreenProcPtr _myPrivate::CloseScreen
-
-
- -

Referenced by dmxCloseConsoleScreen(), and dmxConsoleInit().

- -
-
- -
-
- - - - -
int _myPrivate::consHeight
-
- -
- -
-
- - - - -
int _myPrivate::consWidth
-
- -
- -
-
- - - - -
Cursor _myPrivate::cursorEmpty
-
-
- -
-
- -
-
- - - - -
Cursor _myPrivate::cursorGrabbed
-
-
- -
-
- -
-
- - - - -
Cursor _myPrivate::cursorNormal
-
-
- -
-
- -
-
- - - - -
int _myPrivate::curX
-
-
- -

Referenced by dmxConsoleCapture(), and dmxConsoleMoveAbsolute().

- -
-
- -
-
- - - - -
int _myPrivate::curY
-
-
- -

Referenced by dmxConsoleCapture(), and dmxConsoleMoveAbsolute().

- -
-
- -
- -
- -
-
- -
- -
-

For pretty-printing

- -

Referenced by dmxCloseConsole(), dmxConsoleCollectEvents(), dmxConsoleDraw(), dmxConsoleInit(), and dmxDump().

- -
-
- -
-
- - - - -
unsigned long _myPrivate::duration
-
-
-

Bell duration

- -
-
- -
-
- - - - -
int _myPrivate::entered
-
-
- -
-
- - - -
-
- - - - -
int _myPrivate::fine
-
-
- -

Referenced by dmxConsoleCapture(), and dmxConsoleDraw().

- -
-
- - - -
-
- - - - -
XlibGC _myPrivate::gcCur
-
-
- -

Referenced by dmxCloseConsole(), and dmxConsoleDrawFineCursor().

- -
-
- -
-
- - - - -
XlibGC _myPrivate::gcDet
-
- -
- -
-
- - - - -
XlibGC _myPrivate::gcRev
-
- -
- - - - - -
-
- - - - -
int _myPrivate::grabbed
-
-
- -

Referenced by dmxConsoleDrawFineCursor().

- -
-
- - - - - -
-
- - - - -
int _myPrivate::initialized
-
-
- -
-
- -
-
- - - - -
DevicePtr _myPrivate::kbd
-
-
- -
-
- -
-
- - - - -
CARD32 _myPrivate::kbdState
-
-
-

Keyboard state

- -

Referenced by kbdLinuxKeyDown(), kbdLinuxKeyState(), kbdUSBKeyDown(), and kbdUSBKeyState().

- -
-
- -
-
- - - - -
int _myPrivate::kbdtrans
-
-
- -
-
- -
-
- - - - -
struct termios _myPrivate::kbdtty [read]
-
-
- -
-
- -
-
- - - - -
int _myPrivate::kbdType
-
-
- -
-
- -
-
- - - - -
int _myPrivate::lastX
-
- -
- -
-
- - - - -
int _myPrivate::lastY
-
- -
- -
-
- - - - -
unsigned char _myPrivate::mask[EV_MAX/8+1]
-
-
-

Mask

- -

Referenced by dmxConsoleInit().

- -
-
- -
-
- - - - -
DevicePtr _myPrivate::mou
-
-
- -
-
- -
-
- - - - -
int _myPrivate::myScreen
-
- -
- -
-
- - - - -
int _myPrivate::newscreen
-
-
- -
-
- -
-
- - - - -
struct _myPrivate* _myPrivate::next [read]
-
-
- -

Referenced by dmxCloseConsoleScreen().

- -
-
- -
-
- - - - -
int _myPrivate::numAbs
-
-
- -
-
- -
-
- - - - -
int _myPrivate::numLeds
-
-
-

Counts

- -
-
- -
-
- - - - -
int _myPrivate::numRel
-
-
- -
-
- -
-
- - - - -
int _myPrivate::offX
-
-
- -
-
- -
-
- - - - -
int _myPrivate::offY
-
-
- -
-
- -
-
- - - - -
DeviceIntPtr _myPrivate::pDevice
-
-
-

Device (mouse or other)

- -

Referenced by usbCreatePrivate(), and usbPrint().

- -
-
- -
-
- - - - -
int _myPrivate::pitch
-
-
-

Keyboard device Bell pitch

- -
-
- - - -
-
- - - - -
DeviceIntPtr _myPrivate::pKeyboard
-
-
- -

Referenced by kbdLinuxCreatePrivate().

- -
-
- -
-
- - - - -
DeviceIntPtr _myPrivate::pMouse
-
- -
- -
-
- - - - -
unsigned char _myPrivate::prefix
-
-
- -

Referenced by kbdLinuxPrefixMapping().

- -
-
- -
-
- - - - -
int _myPrivate::relative
-
-
- -
-
- -
-
- - - - -
int _myPrivate::relmap[DMX_MAX_AXES]
-
-
-

Relative axis map

- -
-
- -
-
- - - - -
SWITCHRETPROC _myPrivate::switch_return
-
-
- -

Referenced by kbdLinuxVTSignalHandler(), and kbdLinuxVTSwitch().

- -
-
- -
- -
- -

Referenced by kbdLinuxVTSignalHandler(), and kbdLinuxVTSwitch().

- -
-
- -
-
- - - - -
int _myPrivate::switched
-
-
- -

Referenced by kbdLinuxVTSignalHandler(), and kbdLinuxVTSwitch().

- -
-
- -
-
- - - - -
struct termios _myPrivate::tty [read]
-
-
- -
-
- -
-
- - - - -
int _myPrivate::vtcurrent
-
-
- -
-
- -
-
- - - - -
int _myPrivate::vtno
-
-
- -

Referenced by kbdLinuxVTSwitch().

- -
-
- - - -
-
- - - - -
double _myPrivate::xScale
-
-
- -

Referenced by scalex(), and unscalex().

- -
-
- -
-
- - - - -
double _myPrivate::yScale
-
-
- -

Referenced by scaley(), and unscaley().

- -
-
-
The documentation for this struct was generated from the following files: -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/structdmxGlxVisualPrivate.html b/xorg-server/hw/dmx/doc/html/structdmxGlxVisualPrivate.html deleted file mode 100644 index e431d597d..000000000 --- a/xorg-server/hw/dmx/doc/html/structdmxGlxVisualPrivate.html +++ /dev/null @@ -1,82 +0,0 @@ - - - - - File Index - - - - - -
-

dmxGlxVisualPrivate Struct Reference

-

#include <dmx_glxvisuals.h>

- - - - -

Data Fields

int x_visual_depth
int x_visual_class
-

Detailed Description

-

GLX Visual private area.

-

Field Documentation

- -
- -
- -

Referenced by InitOutput().

- -
-
- -
- -
- -

Referenced by InitOutput().

- -
-
-
The documentation for this struct was generated from the following file: -
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/tree.html b/xorg-server/hw/dmx/doc/html/tree.html deleted file mode 100644 index d85f37403..000000000 --- a/xorg-server/hw/dmx/doc/html/tree.html +++ /dev/null @@ -1,215 +0,0 @@ - - - - - - - - TreeView - - - - -
-

Distributed Multihead X

-
-

o*Main Page

-

o+Data Structures

- -

o*Data Fields

-

o+File List

- -

\*Globals

-
-
- - - diff --git a/xorg-server/hw/dmx/doc/html/usb-common_8c.html b/xorg-server/hw/dmx/doc/html/usb-common_8c.html deleted file mode 100644 index 0032cf4eb..000000000 --- a/xorg-server/hw/dmx/doc/html/usb-common_8c.html +++ /dev/null @@ -1,732 +0,0 @@ - - - - - File Index - - - - - -
-

usb-common.c File Reference

#include "usb-private.h"
-#include "usb-mouse.h"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Defines

#define USB_COMMON_DEBUG   1
#define GETPRIV
#define GETNAME
#define LOG0(f)   dmxLog(dmxDebug,f)
#define LOG1(f, a)   dmxLog(dmxDebug,f,a)
#define LOG2(f, a, b)   dmxLog(dmxDebug,f,a,b)
#define LOG3(f, a, b, c)   dmxLog(dmxDebug,f,a,b,c)
#define LOG1INPUT(p, f, a)   dmxLogInput(p->dmxInput,f,a)
#define LOG3INPUT(p, f, a, b, c)   dmxLogInput(p->dmxInput,f,a,b,c)
#define LOG5INPUT(p, f, a, b, c, d, e)   dmxLogInput(p->dmxInput,f,a,b,c,d,e)
#define FATAL0(f)   dmxLog(dmxFatal,f)
#define FATAL1(f, a)   dmxLog(dmxFatal,f,a)
#define FATAL2(f, a, b)   dmxLog(dmxFatal,f,a,b)
#define MOTIONPROC   dmxMotionProcPtr
#define ENQUEUEPROC   dmxEnqueueProcPtr
#define CHECKPROC   dmxCheckSpecialProcPtr
#define BLOCK   DMXBlockType
#define PRESS(b)
#define RELEASE(b)
#define test_bit(bit)   (priv->mask[(bit)/8] & (1 << ((bit)%8)))
#define test_bits(bit)   (bits[(bit)/8] & (1 << ((bit)%8)))

Functions

void usbRead (DevicePtr pDev, MOTIONPROC motion, ENQUEUEPROC enqueue, int minButton, BLOCK block)
static void usbPrint (myPrivate *priv, const char *filename, const char *devname, int fd)
void usbInit (DevicePtr pDev, usbType type)
void usbOff (DevicePtr pDev)
pointer usbCreatePrivate (DeviceIntPtr pDevice)
void usbDestroyPrivate (pointer priv)
-

Detailed Description

-

Routines that are common between usb-keyboard.c, usb-mouse.c, and usb-other.c

-

Define Documentation

- -
-
- - - - -
#define BLOCK   DMXBlockType
-
-
- -
-
- -
-
- - - - -
#define CHECKPROC   dmxCheckSpecialProcPtr
-
-
- -
-
- -
-
- - - - -
#define ENQUEUEPROC   dmxEnqueueProcPtr
-
-
- -
-
- -
-
- - - - - - - - - -
#define FATAL0( )    dmxLog(dmxFatal,f)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - -
#define FATAL1(f,
 )    dmxLog(dmxFatal,f,a)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - -
#define FATAL2(f,
a,
 )    dmxLog(dmxFatal,f,a,b)
-
-
- -
-
- -
-
- - - - -
#define GETNAME
-
-
-Value:
((DMXLocalInputInfoPtr)(pDevice->public.devicePrivate)) \
-                      ->name
-
-

Referenced by usbPrint().

- -
-
- -
-
- - - - -
#define GETPRIV
-
-
-Value:
myPrivate *priv                                         \
-                      = ((DMXLocalInputInfoPtr)(pDev->devicePrivate))->private
-
-
-
- -
-
- - - - - - - - - -
#define LOG0( )    dmxLog(dmxDebug,f)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - -
#define LOG1(f,
 )    dmxLog(dmxDebug,f,a)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - -
#define LOG1INPUT(p,
f,
 )    dmxLogInput(p->dmxInput,f,a)
-
-
- -

Referenced by usbPrint().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - -
#define LOG2(f,
a,
 )    dmxLog(dmxDebug,f,a,b)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
#define LOG3(f,
a,
b,
 )    dmxLog(dmxDebug,f,a,b,c)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#define LOG3INPUT(p,
f,
a,
b,
 )    dmxLogInput(p->dmxInput,f,a,b,c)
-
-
- -

Referenced by usbPrint().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#define LOG5INPUT(p,
f,
a,
b,
c,
d,
 )    dmxLogInput(p->dmxInput,f,a,b,c,d,e)
-
-
- -

Referenced by usbPrint().

- -
-
- -
-
- - - - -
#define MOTIONPROC   dmxMotionProcPtr
-
-
- -
-
- -
-
- - - - - - - - - -
#define PRESS( ) 
-
-
-Value:
do {                                                 \
-        enqueue(pDev, ButtonPress, 0, 0, NULL, block);   \
-    } while (0)
-
-
-
- -
-
- - - - - - - - - -
#define RELEASE( ) 
-
-
-Value:
do {                                                 \
-        enqueue(pDev, ButtonRelease, 0, 0, NULL, block); \
-    } while (0)
-
-
-
- -
-
- - - - - - - - - -
#define test_bit(bit  )    (priv->mask[(bit)/8] & (1 << ((bit)%8)))
-
-
- -

Referenced by othUSBGetInfo(), usbInit(), and usbPrint().

- -
-
- -
-
- - - - - - - - - -
#define test_bits(bit  )    (bits[(bit)/8] & (1 << ((bit)%8)))
-
-
- -

Referenced by usbInit(), and usbPrint().

- -
-
- -
-
- - - - -
#define USB_COMMON_DEBUG   1
-
-
- -
-
-

Function Documentation

- -
-
- - - - - - - - - -
pointer usbCreatePrivate (DeviceIntPtr  pDevice ) 
-
-
-

Create a private structure for use within this file.

- -

References _myPrivate::fd, and _myPrivate::pDevice.

- -
-
- -
-
- - - - - - - - - -
void usbDestroyPrivate (pointer  priv ) 
-
-
-

Destroy a private structure.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void usbInit (DevicePtr  pDev,
usbType  type 
)
-
-
-

Initialized pDev as a usbMouse, usbKeyboard, or usbOther device.

- -

References FATAL1, GETPRIV, O_NONBLOCK, test_bit, test_bits, usbKeyboard, usbMouse, usbOther, and usbPrint().

- -

Referenced by kbdUSBInit(), mouUSBInit(), and othUSBInit().

- -
-
- -
-
- - - - - - - - - -
void usbOff (DevicePtr  pDev ) 
-
-
-

Turn pDev off (i.e., stop taking input from pDev).

- -

References GETPRIV.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
static void usbPrint (myPrivate priv,
const char *  filename,
const char *  devname,
int  fd 
) [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void usbRead (DevicePtr  pDev,
MOTIONPROC  motion,
ENQUEUEPROC  enqueue,
int  minButton,
BLOCK  block 
)
-
-
-

Read an event from the pDev device. If the event is a motion event, enqueue it with the motion function. Otherwise, enqueue the event with the enqueue function. The block type is passed to the functions so that they may block SIGIO handling as appropriate to the caller of this function.

-

Since USB devices return EV_KEY events for buttons and keys, minButton is used to decide if a Button or Key event should be queued.

- -

References DMX_ABSOLUTE, DMX_MAX_AXES, DMX_RELATIVE, GETPRIV, LOG3, PRESS, and RELEASE.

- -

Referenced by mouUSBRead(), and othUSBRead().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/usb-common_8h.html b/xorg-server/hw/dmx/doc/html/usb-common_8h.html deleted file mode 100644 index 6fb3ff95e..000000000 --- a/xorg-server/hw/dmx/doc/html/usb-common_8h.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - File Index - - - - - -
-

usb-common.h File Reference

-

Go to the source code of this file.

- - - - - - - - - -

Enumerations

enum  usbType { usbMouse, -usbKeyboard, -usbOther - }

Functions

pointer usbCreatePrivate (DeviceIntPtr pDevice)
void usbDestroyPrivate (pointer priv)
void usbRead (DevicePtr pDev, dmxMotionProcPtr motion, dmxEnqueueProcPtr enqueue, int minButton, DMXBlockType block)
void usbInit (DevicePtr pDev, usbType type)
void usbOff (DevicePtr pDev)
-

Detailed Description

-

Interface to common USB support.

-
See also:
usb-common.c
-
-usb-mouse.c
-
-usb-keyboard.c
-
-usb-other.c
-

Enumeration Type Documentation

- -
-
- - - - -
enum usbType
-
-
-
Enumerator:
- - - -
usbMouse  -
usbKeyboard  -
usbOther  -
-
-
- -
-
-

Function Documentation

- -
-
- - - - - - - - - -
pointer usbCreatePrivate (DeviceIntPtr  pDevice ) 
-
-
-

Create a private structure for use within this file.

- -

References _myPrivate::fd, and _myPrivate::pDevice.

- -
-
- -
-
- - - - - - - - - -
void usbDestroyPrivate (pointer  priv ) 
-
-
-

Destroy a private structure.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void usbInit (DevicePtr  pDev,
usbType  type 
)
-
-
-

Initialized pDev as a usbMouse, usbKeyboard, or usbOther device.

- -

References FATAL1, GETPRIV, O_NONBLOCK, test_bit, test_bits, usbKeyboard, usbMouse, usbOther, and usbPrint().

- -

Referenced by kbdUSBInit(), mouUSBInit(), and othUSBInit().

- -
-
- -
-
- - - - - - - - - -
void usbOff (DevicePtr  pDev ) 
-
-
-

Turn pDev off (i.e., stop taking input from pDev).

- -

References GETPRIV.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void usbRead (DevicePtr  pDev,
dmxMotionProcPtr  motion,
dmxEnqueueProcPtr  enqueue,
int  minButton,
DMXBlockType  block 
)
-
-
- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/usb-common_8h_source.html b/xorg-server/hw/dmx/doc/html/usb-common_8h_source.html deleted file mode 100644 index 722e849b1..000000000 --- a/xorg-server/hw/dmx/doc/html/usb-common_8h_source.html +++ /dev/null @@ -1,87 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/usb-keyboard_8c.html b/xorg-server/hw/dmx/doc/html/usb-keyboard_8c.html deleted file mode 100644 index 6ef084811..000000000 --- a/xorg-server/hw/dmx/doc/html/usb-keyboard_8c.html +++ /dev/null @@ -1,717 +0,0 @@ - - - - - File Index - - - - - -
-

usb-keyboard.c File Reference

#include "atKeynames.h"
-#include "usb-private.h"
-#include "usb-keyboard.h"
-#include <xkbsrv.h>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Defines

#define USB_KEYBOARD_DEBUG   0
#define GETPRIV
#define LOG0(f)   dmxLog(dmxDebug,f)
#define LOG1(f, a)   dmxLog(dmxDebug,f,a)
#define LOG2(f, a, b)   dmxLog(dmxDebug,f,a,b)
#define LOG3(f, a, b, c)   dmxLog(dmxDebug,f,a,b,c)
#define FATAL0(f)   dmxLog(dmxFatal,f)
#define FATAL1(f, a)   dmxLog(dmxFatal,f,a)
#define FATAL2(f, a, b)   dmxLog(dmxFatal,f,a,b)
#define MOTIONPROC   dmxMotionProcPtr
#define ENQUEUEPROC   dmxEnqueueProcPtr
#define CHECKPROC   dmxCheckSpecialProcPtr
#define BLOCK   DMXBlockType
#define GLYPHS_PER_KEY   4
#define NUM_KEYCODES   248
#define MIN_KEYCODE   8
#define MAX_KEYCODE   (NUM_KEYCODES + MIN_KEYCODE - 1)

Functions

static int kbdUSBKeyDown (myPrivate *priv, int keyCode)
static void kbdUSBKeyState (myPrivate *priv, int type, int keyCode)
void kbdUSBCtrl (DevicePtr pDev, KeybdCtrl *ctrl)
void kbdUSBInit (DevicePtr pDev)
static void kbdUSBConvert (DevicePtr pDev, unsigned int scanCode, int value, ENQUEUEPROC enqueue, CHECKPROC checkspecial, BLOCK block)
void kbdUSBRead (DevicePtr pDev, MOTIONPROC motion, ENQUEUEPROC enqueue, CHECKPROC checkspecial, BLOCK block)
int kbdUSBOn (DevicePtr pDev)
static void kbdUSBGetMap (DevicePtr pDev, KeySymsPtr pKeySyms, CARD8 *pModMap)
void kbdUSBGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info)

Variables

static KeySym map [NUM_KEYCODES *GLYPHS_PER_KEY]
-

Detailed Description

-

This code implements a low-level device driver for a USB keyboard under Linux. The keymap description is derived from code by Thomas Roell, Orest Zborowski.

-

Define Documentation

- -
-
- - - - -
#define BLOCK   DMXBlockType
-
-
- -
-
- -
-
- - - - -
#define CHECKPROC   dmxCheckSpecialProcPtr
-
-
- -
-
- -
-
- - - - -
#define ENQUEUEPROC   dmxEnqueueProcPtr
-
-
- -
-
- -
-
- - - - - - - - - -
#define FATAL0( )    dmxLog(dmxFatal,f)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - -
#define FATAL1(f,
 )    dmxLog(dmxFatal,f,a)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - -
#define FATAL2(f,
a,
 )    dmxLog(dmxFatal,f,a,b)
-
-
- -
-
- -
-
- - - - -
#define GETPRIV
-
-
-Value:
myPrivate *priv                            \
-                      = ((DMXLocalInputInfoPtr)(pDev->devicePrivate))->private
-
-
-
- -
-
- - - - -
#define GLYPHS_PER_KEY   4
-
- -
- -
-
- - - - - - - - - -
#define LOG0( )    dmxLog(dmxDebug,f)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - -
#define LOG1(f,
 )    dmxLog(dmxDebug,f,a)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - -
#define LOG2(f,
a,
 )    dmxLog(dmxDebug,f,a,b)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
#define LOG3(f,
a,
b,
 )    dmxLog(dmxDebug,f,a,b,c)
-
-
- -
-
- -
-
- - - - -
#define MAX_KEYCODE   (NUM_KEYCODES + MIN_KEYCODE - 1)
-
-
- -

Referenced by kbdLinuxGetMap(), and kbdUSBGetMap().

- -
-
- -
-
- - - - -
#define MIN_KEYCODE   8
-
- -
- -
-
- - - - -
#define MOTIONPROC   dmxMotionProcPtr
-
-
- -
-
- -
-
- - - - -
#define NUM_KEYCODES   248
-
-
- -

Referenced by kbdLinuxGetMap(), and kbdUSBGetMap().

- -
-
- -
-
- - - - -
#define USB_KEYBOARD_DEBUG   0
-
-
- -
-
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
static void kbdUSBConvert (DevicePtr  pDev,
unsigned int  scanCode,
int  value,
ENQUEUEPROC  enqueue,
CHECKPROC  checkspecial,
BLOCK  block 
) [static]
-
- -
- -
-
- - - - - - - - - - - - - - - - - - -
void kbdUSBCtrl (DevicePtr  pDev,
KeybdCtrl *  ctrl 
)
-
-
-

Set the LEDs.

- -

References GETPRIV.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void kbdUSBGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  info 
)
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
static void kbdUSBGetMap (DevicePtr  pDev,
KeySymsPtr  pKeySyms,
CARD8 *  pModMap 
) [static]
-
-
- -

References GLYPHS_PER_KEY, map, MAX_KEYCODE, MIN_KEYCODE, and NUM_KEYCODES.

- -

Referenced by kbdUSBGetInfo().

- -
-
- -
-
- - - - - - - - - -
void kbdUSBInit (DevicePtr  pDev ) 
-
-
-

Initialize pDev using usbInit.

- -

References usbInit(), and usbKeyboard.

- -

Referenced by kbdUSBOn().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
static int kbdUSBKeyDown (myPrivate priv,
int  keyCode 
) [static]
-
-
- -

References _myPrivate::kbdState, and NUM_STATE_ENTRIES.

- -

Referenced by kbdUSBConvert().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
static void kbdUSBKeyState (myPrivate priv,
int  type,
int  keyCode 
) [static]
-
-
- -

References _myPrivate::kbdState, and NUM_STATE_ENTRIES.

- -

Referenced by kbdUSBConvert().

- -
-
- -
-
- - - - - - - - - -
int kbdUSBOn (DevicePtr  pDev ) 
-
-
-

Turn pDev on (i.e., take input from pDev).

- -

References GETPRIV, and kbdUSBInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void kbdUSBRead (DevicePtr  pDev,
MOTIONPROC  motion,
ENQUEUEPROC  enqueue,
CHECKPROC  checkspecial,
BLOCK  block 
)
-
-
-

Read an event from the pDev device. If the event is a motion event, enqueue it with the motion function. Otherwise, check for special keys with the checkspecial function and enqueue the event with the enqueue function. The block type is passed to the functions so that they may block SIGIO handling as appropriate to the caller of this function.

- -

References GETPRIV, kbdUSBConvert(), and LOG3.

- -
-
-

Variable Documentation

- -
-
- - - - -
KeySym map[NUM_KEYCODES *GLYPHS_PER_KEY] [static]
-
- -
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/usb-keyboard_8h.html b/xorg-server/hw/dmx/doc/html/usb-keyboard_8h.html deleted file mode 100644 index 988ee18cb..000000000 --- a/xorg-server/hw/dmx/doc/html/usb-keyboard_8h.html +++ /dev/null @@ -1,203 +0,0 @@ - - - - - File Index - - - - - -
-

usb-keyboard.h File Reference

-

Go to the source code of this file.

- - - - - - - -

Functions

void kbdUSBInit (DevicePtr pDev)
void kbdUSBGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info)
int kbdUSBOn (DevicePtr pDev)
void kbdUSBRead (DevicePtr pDev, dmxMotionProcPtr motion, dmxEnqueueProcPtr enqueue, dmxCheckSpecialProcPtr checkspecial, DMXBlockType block)
void kbdUSBCtrl (DevicePtr pDev, KeybdCtrl *ctrl)
-

Detailed Description

-

Interface to USB keyboard driver.

-
See also:
usb-keyboard.c
-
-usb-common.c
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
void kbdUSBCtrl (DevicePtr  pDev,
KeybdCtrl *  ctrl 
)
-
-
-

Set the LEDs.

- -

References GETPRIV.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void kbdUSBGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  info 
)
-
- -
- -
-
- - - - - - - - - -
void kbdUSBInit (DevicePtr  pDev ) 
-
-
-

Initialize pDev using usbInit.

- -

References usbInit(), and usbKeyboard.

- -

Referenced by kbdUSBOn().

- -
-
- -
-
- - - - - - - - - -
int kbdUSBOn (DevicePtr  pDev ) 
-
-
-

Turn pDev on (i.e., take input from pDev).

- -

References GETPRIV, and kbdUSBInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void kbdUSBRead (DevicePtr  pDev,
dmxMotionProcPtr  motion,
dmxEnqueueProcPtr  enqueue,
dmxCheckSpecialProcPtr  checkspecial,
DMXBlockType  block 
)
-
-
- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/usb-keyboard_8h_source.html b/xorg-server/hw/dmx/doc/html/usb-keyboard_8h_source.html deleted file mode 100644 index ae2519d2b..000000000 --- a/xorg-server/hw/dmx/doc/html/usb-keyboard_8h_source.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/usb-mouse_8c.html b/xorg-server/hw/dmx/doc/html/usb-mouse_8c.html deleted file mode 100644 index 956624145..000000000 --- a/xorg-server/hw/dmx/doc/html/usb-mouse_8c.html +++ /dev/null @@ -1,460 +0,0 @@ - - - - - File Index - - - - - -
-

usb-mouse.c File Reference

#include "usb-private.h"
-#include "usb-mouse.h"
- - - - - - - - - - - - - - - - - - - - -

Defines

#define GETPRIV
#define LOG0(f)   dmxLog(dmxDebug,f)
#define LOG1(f, a)   dmxLog(dmxDebug,f,a)
#define LOG2(f, a, b)   dmxLog(dmxDebug,f,a,b)
#define LOG3(f, a, b, c)   dmxLog(dmxDebug,f,a,b,c)
#define FATAL0(f)   dmxLog(dmxFatal,f)
#define FATAL1(f, a)   dmxLog(dmxFatal,f,a)
#define FATAL2(f, a, b)   dmxLog(dmxFatal,f,a,b)
#define MOTIONPROC   dmxMotionProcPtr
#define ENQUEUEPROC   dmxEnqueueProcPtr
#define CHECKPROC   dmxCheckSpecialProcPtr
#define BLOCK   DMXBlockType

Functions

void mouUSBRead (DevicePtr pDev, MOTIONPROC motion, ENQUEUEPROC enqueue, CHECKPROC checkspecial, BLOCK block)
void mouUSBInit (DevicePtr pDev)
int mouUSBOn (DevicePtr pDev)
static void mouUSBGetMap (DevicePtr pDev, unsigned char *map, int *nButtons)
void mouUSBGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info)
-

Detailed Description

-

This code implements a low-level device driver for a USB mouse.

-

Define Documentation

- -
-
- - - - -
#define BLOCK   DMXBlockType
-
-
- -
-
- -
-
- - - - -
#define CHECKPROC   dmxCheckSpecialProcPtr
-
-
- -
-
- -
-
- - - - -
#define ENQUEUEPROC   dmxEnqueueProcPtr
-
-
- -
-
- -
-
- - - - - - - - - -
#define FATAL0( )    dmxLog(dmxFatal,f)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - -
#define FATAL1(f,
 )    dmxLog(dmxFatal,f,a)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - -
#define FATAL2(f,
a,
 )    dmxLog(dmxFatal,f,a,b)
-
-
- -
-
- -
-
- - - - -
#define GETPRIV
-
-
-Value:
myPrivate *priv                            \
-                      = ((DMXLocalInputInfoPtr)(pDev->devicePrivate))->private
-
-
-
- -
-
- - - - - - - - - -
#define LOG0( )    dmxLog(dmxDebug,f)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - -
#define LOG1(f,
 )    dmxLog(dmxDebug,f,a)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - -
#define LOG2(f,
a,
 )    dmxLog(dmxDebug,f,a,b)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
#define LOG3(f,
a,
b,
 )    dmxLog(dmxDebug,f,a,b,c)
-
-
- -
-
- -
-
- - - - -
#define MOTIONPROC   dmxMotionProcPtr
-
-
- -
-
-

Function Documentation

- - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
static void mouUSBGetMap (DevicePtr  pDev,
unsigned char *  map,
int *  nButtons 
) [static]
-
-
- -

Referenced by mouUSBGetInfo().

- -
-
- -
-
- - - - - - - - - -
void mouUSBInit (DevicePtr  pDev ) 
-
-
-

Initialize pDev using usbInit.

- -

References usbInit(), and usbMouse.

- -

Referenced by mouUSBOn().

- -
-
- -
-
- - - - - - - - - -
int mouUSBOn (DevicePtr  pDev ) 
-
-
-

Turn pDev on (i.e., take input from pDev).

- -

References GETPRIV, and mouUSBInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void mouUSBRead (DevicePtr  pDev,
MOTIONPROC  motion,
ENQUEUEPROC  enqueue,
CHECKPROC  checkspecial,
BLOCK  block 
)
-
-
-

Read the USB device using usbRead.

- -

References usbRead().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/usb-mouse_8h.html b/xorg-server/hw/dmx/doc/html/usb-mouse_8h.html deleted file mode 100644 index 293076b1f..000000000 --- a/xorg-server/hw/dmx/doc/html/usb-mouse_8h.html +++ /dev/null @@ -1,200 +0,0 @@ - - - - - File Index - - - - - -
-

usb-mouse.h File Reference

-

Go to the source code of this file.

- - - - - - - -

Functions

void mouUSBRead (DevicePtr pDev, dmxMotionProcPtr motion, dmxEnqueueProcPtr enqueue, dmxCheckSpecialProcPtr checkspecial, DMXBlockType block)
void mouUSBInit (DevicePtr pDev)
void mouUSBGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info)
int mouUSBOn (DevicePtr pDev)
void mouUSBCtrl (DevicePtr pDev, PtrCtrl *ctrl)
-

Detailed Description

-

Interface to USB mouse driver.

-
See also:
usb-mouse.c
-
-usb-common.c
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
void mouUSBCtrl (DevicePtr  pDev,
PtrCtrl *  ctrl 
)
-
-
- -
-
- - - -
-
- - - - - - - - - -
void mouUSBInit (DevicePtr  pDev ) 
-
-
-

Initialize pDev using usbInit.

- -

References usbInit(), and usbMouse.

- -

Referenced by mouUSBOn().

- -
-
- -
-
- - - - - - - - - -
int mouUSBOn (DevicePtr  pDev ) 
-
-
-

Turn pDev on (i.e., take input from pDev).

- -

References GETPRIV, and mouUSBInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void mouUSBRead (DevicePtr  pDev,
dmxMotionProcPtr  motion,
dmxEnqueueProcPtr  enqueue,
dmxCheckSpecialProcPtr  checkspecial,
DMXBlockType  block 
)
-
-
- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/usb-mouse_8h_source.html b/xorg-server/hw/dmx/doc/html/usb-mouse_8h_source.html deleted file mode 100644 index 69d966cde..000000000 --- a/xorg-server/hw/dmx/doc/html/usb-mouse_8h_source.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/usb-other_8c.html b/xorg-server/hw/dmx/doc/html/usb-other_8c.html deleted file mode 100644 index 449fc4d45..000000000 --- a/xorg-server/hw/dmx/doc/html/usb-other_8c.html +++ /dev/null @@ -1,444 +0,0 @@ - - - - - File Index - - - - - -
-

usb-other.c File Reference

#include "usb-private.h"
-#include "dmxinputinit.h"
-#include "usb-other.h"
- - - - - - - - - - - - - - - - - - - - -

Defines

#define GETPRIV
#define LOG0(f)   dmxLog(dmxDebug,f)
#define LOG1(f, a)   dmxLog(dmxDebug,f,a)
#define LOG2(f, a, b)   dmxLog(dmxDebug,f,a,b)
#define LOG3(f, a, b, c)   dmxLog(dmxDebug,f,a,b,c)
#define FATAL0(f)   dmxLog(dmxFatal,f)
#define FATAL1(f, a)   dmxLog(dmxFatal,f,a)
#define FATAL2(f, a, b)   dmxLog(dmxFatal,f,a,b)
#define MOTIONPROC   dmxMotionProcPtr
#define ENQUEUEPROC   dmxEnqueueProcPtr
#define CHECKPROC   dmxCheckSpecialProcPtr
#define BLOCK   DMXBlockType
#define test_bit(bit)   (priv->mask[(bit)/8] & (1 << ((bit)%8)))

Functions

void othUSBRead (DevicePtr pDev, MOTIONPROC motion, ENQUEUEPROC enqueue, CHECKPROC checkspecial, BLOCK block)
void othUSBInit (DevicePtr pDev)
int othUSBOn (DevicePtr pDev)
void othUSBGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info)
-

Detailed Description

-

This code implements a low-level device driver for a non-keyboard, non-mouse USB device (e.g., a joystick or gamepad).

-

Define Documentation

- -
-
- - - - -
#define BLOCK   DMXBlockType
-
-
- -
-
- -
-
- - - - -
#define CHECKPROC   dmxCheckSpecialProcPtr
-
-
- -
-
- -
-
- - - - -
#define ENQUEUEPROC   dmxEnqueueProcPtr
-
-
- -
-
- -
-
- - - - - - - - - -
#define FATAL0( )    dmxLog(dmxFatal,f)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - -
#define FATAL1(f,
 )    dmxLog(dmxFatal,f,a)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - -
#define FATAL2(f,
a,
 )    dmxLog(dmxFatal,f,a,b)
-
-
- -
-
- -
-
- - - - -
#define GETPRIV
-
-
-Value:
myPrivate *priv                            \
-                      = ((DMXLocalInputInfoPtr)(pDev->devicePrivate))->private
-
-
-
- -
-
- - - - - - - - - -
#define LOG0( )    dmxLog(dmxDebug,f)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - -
#define LOG1(f,
 )    dmxLog(dmxDebug,f,a)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - -
#define LOG2(f,
a,
 )    dmxLog(dmxDebug,f,a,b)
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
#define LOG3(f,
a,
b,
 )    dmxLog(dmxDebug,f,a,b,c)
-
-
- -
-
- -
-
- - - - -
#define MOTIONPROC   dmxMotionProcPtr
-
-
- -
-
- -
-
- - - - - - - - - -
#define test_bit(bit  )    (priv->mask[(bit)/8] & (1 << ((bit)%8)))
-
-
- -
-
-

Function Documentation

- - - -
-
- - - - - - - - - -
void othUSBInit (DevicePtr  pDev ) 
-
-
-

Initialize pDev using usbInit.

- -

References usbInit(), and usbOther.

- -

Referenced by othUSBOn().

- -
-
- -
-
- - - - - - - - - -
int othUSBOn (DevicePtr  pDev ) 
-
-
-

Turn pDev on (i.e., take input from pDev).

- -

References GETPRIV, and othUSBInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void othUSBRead (DevicePtr  pDev,
MOTIONPROC  motion,
ENQUEUEPROC  enqueue,
CHECKPROC  checkspecial,
BLOCK  block 
)
-
-
-

Read the USB device using usbRead.

- -

References usbRead().

- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/usb-other_8h.html b/xorg-server/hw/dmx/doc/html/usb-other_8h.html deleted file mode 100644 index f720e9de0..000000000 --- a/xorg-server/hw/dmx/doc/html/usb-other_8h.html +++ /dev/null @@ -1,200 +0,0 @@ - - - - - File Index - - - - - -
-

usb-other.h File Reference

-

Go to the source code of this file.

- - - - - - - -

Functions

void othUSBRead (DevicePtr pDev, dmxMotionProcPtr motion, dmxEnqueueProcPtr enqueue, dmxCheckSpecialProcPtr checkspecial, DMXBlockType block)
void othUSBInit (DevicePtr pDev)
void othUSBGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info)
int othUSBOn (DevicePtr pDev)
void othUSBCtrl (DevicePtr pDev, PtrCtrl *ctrl)
-

Detailed Description

-

Interface to USB generic driver.

-
See also:
usb-other.c
-
-usb-common.c
-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
void othUSBCtrl (DevicePtr  pDev,
PtrCtrl *  ctrl 
)
-
-
- -
-
- - - -
-
- - - - - - - - - -
void othUSBInit (DevicePtr  pDev ) 
-
-
-

Initialize pDev using usbInit.

- -

References usbInit(), and usbOther.

- -

Referenced by othUSBOn().

- -
-
- -
-
- - - - - - - - - -
int othUSBOn (DevicePtr  pDev ) 
-
-
-

Turn pDev on (i.e., take input from pDev).

- -

References GETPRIV, and othUSBInit().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void othUSBRead (DevicePtr  pDev,
dmxMotionProcPtr  motion,
dmxEnqueueProcPtr  enqueue,
dmxCheckSpecialProcPtr  checkspecial,
DMXBlockType  block 
)
-
-
- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/usb-other_8h_source.html b/xorg-server/hw/dmx/doc/html/usb-other_8h_source.html deleted file mode 100644 index 2243b43d0..000000000 --- a/xorg-server/hw/dmx/doc/html/usb-other_8h_source.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/usb-private_8h.html b/xorg-server/hw/dmx/doc/html/usb-private_8h.html deleted file mode 100644 index 5720c3310..000000000 --- a/xorg-server/hw/dmx/doc/html/usb-private_8h.html +++ /dev/null @@ -1,305 +0,0 @@ - - - - - File Index - - - - - -
-

usb-private.h File Reference

#include "dmxinputinit.h"
-#include "inputstr.h"
-#include <X11/Xos.h>
-#include <errno.h>
-#include <linux/input.h>
-#include "usb-common.h"
- -

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - -

Data Structures

struct  _myPrivate

Defines

#define EV_MSC   0x04
#define EV_FF   0x15
#define LED_SLEEP   0x05
#define LED_SUSPEND   0x06
#define LED_MUTE   0x07
#define LED_MISC   0x08
#define BTN_DEAD   0x12f
#define BTN_THUMBL   0x13d
#define BTN_THUMBR   0x13e
#define MSC_SERIAL   0x00
#define MSC_MAX   0x07
#define ABS_WHEEL   0x08
#define ABS_GAS   0x09
#define ABS_BRAKE   0x0a
#define NUM_STATE_ENTRIES   (256/32)

Typedefs

typedef struct _myPrivate myPrivate
-

Detailed Description

-

Private header file for USB support. This file provides Linux-specific include files and the definition of the private structure.

-
See also:
usb-common.c
-
-usb-keyboard.c
-
-usb-mouse.c
-
-usb-other.c
-

Define Documentation

- -
-
- - - - -
#define ABS_BRAKE   0x0a
-
-
- -

Referenced by usbPrint().

- -
-
- -
-
- - - - -
#define ABS_GAS   0x09
-
-
- -

Referenced by usbPrint().

- -
-
- -
-
- - - - -
#define ABS_WHEEL   0x08
-
-
- -

Referenced by usbPrint().

- -
-
- -
-
- - - - -
#define BTN_DEAD   0x12f
-
-
- -
-
- -
-
- - - - -
#define BTN_THUMBL   0x13d
-
-
- -
-
- -
-
- - - - -
#define BTN_THUMBR   0x13e
-
-
- -
-
- -
-
- - - - -
#define EV_FF   0x15
-
-
- -

Referenced by usbPrint().

- -
-
- -
-
- - - - -
#define EV_MSC   0x04
-
-
- -

Referenced by usbPrint().

- -
-
- -
-
- - - - -
#define LED_MISC   0x08
-
-
- -

Referenced by usbPrint().

- -
-
- -
-
- - - - -
#define LED_MUTE   0x07
-
-
- -

Referenced by usbPrint().

- -
-
- -
-
- - - - -
#define LED_SLEEP   0x05
-
-
- -

Referenced by usbPrint().

- -
-
- -
-
- - - - -
#define LED_SUSPEND   0x06
-
-
- -

Referenced by usbPrint().

- -
-
- -
-
- - - - -
#define MSC_MAX   0x07
-
-
- -
-
- -
-
- - - - -
#define MSC_SERIAL   0x00
-
-
- -
-
- -
-
- - - - -
#define NUM_STATE_ENTRIES   (256/32)
-
-
- -
-
-

Typedef Documentation

- -
-
- - - - -
typedef struct _myPrivate myPrivate
-
-
- -
-
-
-
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/usb-private_8h_source.html b/xorg-server/hw/dmx/doc/html/usb-private_8h_source.html deleted file mode 100644 index 728767cbc..000000000 --- a/xorg-server/hw/dmx/doc/html/usb-private_8h_source.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - File Index - - - - - -
-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - -- cgit v1.2.3