From 1f876171067c04fc21fccd5a3051f982fd85c0f0 Mon Sep 17 00:00:00 2001 From: marha Date: Wed, 21 Oct 2009 19:07:36 +0000 Subject: Updated to xorg-server-1.7.99.1 --- xorg-server/hw/dmx/doc/html/ChkNotMaskEv_8c.html | 109 +- .../hw/dmx/doc/html/ChkNotMaskEv_8h-source.html | 60 - xorg-server/hw/dmx/doc/html/ChkNotMaskEv_8h.html | 93 +- .../hw/dmx/doc/html/ChkNotMaskEv_8h_source.html | 73 + xorg-server/hw/dmx/doc/html/annotated.html | 60 +- xorg-server/hw/dmx/doc/html/classes.html | 33 +- xorg-server/hw/dmx/doc/html/dmx_8h-source.html | 276 -- xorg-server/hw/dmx/doc/html/dmx_8h.html | 837 +++--- xorg-server/hw/dmx/doc/html/dmx_8h_source.html | 327 +++ .../hw/dmx/doc/html/dmx__glxvisuals_8h-source.html | 85 - .../hw/dmx/doc/html/dmx__glxvisuals_8h_source.html | 94 + xorg-server/hw/dmx/doc/html/dmxarg_8c.html | 365 ++- xorg-server/hw/dmx/doc/html/dmxarg_8h-source.html | 69 - xorg-server/hw/dmx/doc/html/dmxarg_8h.html | 356 ++- xorg-server/hw/dmx/doc/html/dmxarg_8h_source.html | 82 + xorg-server/hw/dmx/doc/html/dmxbackend_8c.html | 1372 +++++++--- .../hw/dmx/doc/html/dmxbackend_8h-source.html | 75 - xorg-server/hw/dmx/doc/html/dmxbackend_8h.html | 541 ++-- .../hw/dmx/doc/html/dmxbackend_8h_source.html | 88 + xorg-server/hw/dmx/doc/html/dmxcb_8c.html | 272 +- xorg-server/hw/dmx/doc/html/dmxcb_8h-source.html | 70 - xorg-server/hw/dmx/doc/html/dmxcb_8h.html | 299 +-- xorg-server/hw/dmx/doc/html/dmxcb_8h_source.html | 83 + .../hw/dmx/doc/html/dmxclient_8h-source.html | 168 -- xorg-server/hw/dmx/doc/html/dmxclient_8h.html | 235 +- .../hw/dmx/doc/html/dmxclient_8h_source.html | 172 ++ xorg-server/hw/dmx/doc/html/dmxcmap_8c.html | 399 ++- xorg-server/hw/dmx/doc/html/dmxcmap_8h-source.html | 86 - xorg-server/hw/dmx/doc/html/dmxcmap_8h.html | 610 ++--- xorg-server/hw/dmx/doc/html/dmxcmap_8h_source.html | 98 + xorg-server/hw/dmx/doc/html/dmxcommon_8c.html | 1284 +++++---- .../hw/dmx/doc/html/dmxcommon_8h-source.html | 151 -- xorg-server/hw/dmx/doc/html/dmxcommon_8h.html | 1152 +++++---- .../hw/dmx/doc/html/dmxcommon_8h_source.html | 156 ++ xorg-server/hw/dmx/doc/html/dmxcompat_8c.html | 272 +- .../hw/dmx/doc/html/dmxcompat_8h-source.html | 61 - xorg-server/hw/dmx/doc/html/dmxcompat_8h.html | 82 +- .../hw/dmx/doc/html/dmxcompat_8h_source.html | 74 + xorg-server/hw/dmx/doc/html/dmxconfig_8c.html | 1125 +++++--- .../hw/dmx/doc/html/dmxconfig_8h-source.html | 84 - xorg-server/hw/dmx/doc/html/dmxconfig_8h.html | 572 +++-- .../hw/dmx/doc/html/dmxconfig_8h_source.html | 94 + xorg-server/hw/dmx/doc/html/dmxconsole_8c.html | 1694 +++++++++--- .../hw/dmx/doc/html/dmxconsole_8h-source.html | 79 - xorg-server/hw/dmx/doc/html/dmxconsole_8h.html | 699 +++-- .../hw/dmx/doc/html/dmxconsole_8h_source.html | 92 + xorg-server/hw/dmx/doc/html/dmxcursor_8c.html | 1693 +++++++++--- .../hw/dmx/doc/html/dmxcursor_8h-source.html | 86 - xorg-server/hw/dmx/doc/html/dmxcursor_8h.html | 792 +++--- .../hw/dmx/doc/html/dmxcursor_8h_source.html | 102 + xorg-server/hw/dmx/doc/html/dmxdetach_8c.html | 87 +- xorg-server/hw/dmx/doc/html/dmxdpms_8c.html | 229 +- xorg-server/hw/dmx/doc/html/dmxdpms_8h-source.html | 62 - xorg-server/hw/dmx/doc/html/dmxdpms_8h.html | 171 +- xorg-server/hw/dmx/doc/html/dmxdpms_8h_source.html | 75 + xorg-server/hw/dmx/doc/html/dmxdummy_8c.html | 138 +- .../hw/dmx/doc/html/dmxdummy_8h-source.html | 63 - xorg-server/hw/dmx/doc/html/dmxdummy_8h.html | 136 +- .../hw/dmx/doc/html/dmxdummy_8h_source.html | 76 + xorg-server/hw/dmx/doc/html/dmxeq_8c.html | 269 -- xorg-server/hw/dmx/doc/html/dmxeq_8h-source.html | 61 - xorg-server/hw/dmx/doc/html/dmxeq_8h.html | 63 - xorg-server/hw/dmx/doc/html/dmxevents_8c.html | 1180 +++++++-- .../hw/dmx/doc/html/dmxevents_8h-source.html | 66 - xorg-server/hw/dmx/doc/html/dmxevents_8h.html | 296 +-- .../hw/dmx/doc/html/dmxevents_8h_source.html | 79 + xorg-server/hw/dmx/doc/html/dmxext_8h-source.html | 197 -- xorg-server/hw/dmx/doc/html/dmxext_8h.html | 926 ------- xorg-server/hw/dmx/doc/html/dmxextension_8c.html | 1076 +++++--- .../hw/dmx/doc/html/dmxextension_8h-source.html | 131 - xorg-server/hw/dmx/doc/html/dmxextension_8h.html | 800 +++--- .../hw/dmx/doc/html/dmxextension_8h_source.html | 144 ++ xorg-server/hw/dmx/doc/html/dmxfont_8c.html | 578 +++-- xorg-server/hw/dmx/doc/html/dmxfont_8h-source.html | 78 - xorg-server/hw/dmx/doc/html/dmxfont_8h.html | 455 ++-- xorg-server/hw/dmx/doc/html/dmxfont_8h_source.html | 91 + xorg-server/hw/dmx/doc/html/dmxgc_8c.html | 688 +++-- xorg-server/hw/dmx/doc/html/dmxgc_8h-source.html | 106 - xorg-server/hw/dmx/doc/html/dmxgc_8h.html | 859 +++---- xorg-server/hw/dmx/doc/html/dmxgc_8h_source.html | 119 + xorg-server/hw/dmx/doc/html/dmxgcops_8c.html | 1812 +++++++------ .../hw/dmx/doc/html/dmxgcops_8h-source.html | 115 - xorg-server/hw/dmx/doc/html/dmxgcops_8h.html | 1706 ++++++------ .../hw/dmx/doc/html/dmxgcops_8h_source.html | 128 + xorg-server/hw/dmx/doc/html/dmxinit_8c.html | 1368 +++++----- xorg-server/hw/dmx/doc/html/dmxinit_8h-source.html | 70 - xorg-server/hw/dmx/doc/html/dmxinit_8h.html | 195 +- xorg-server/hw/dmx/doc/html/dmxinit_8h_source.html | 83 + xorg-server/hw/dmx/doc/html/dmxinput_8c.html | 284 +- .../hw/dmx/doc/html/dmxinput_8h-source.html | 146 -- xorg-server/hw/dmx/doc/html/dmxinput_8h.html | 959 +++---- .../hw/dmx/doc/html/dmxinput_8h_source.html | 157 ++ xorg-server/hw/dmx/doc/html/dmxinputinit_8c.html | 1730 ++++++++++--- .../hw/dmx/doc/html/dmxinputinit_8h-source.html | 259 -- xorg-server/hw/dmx/doc/html/dmxinputinit_8h.html | 1294 +++++++--- .../hw/dmx/doc/html/dmxinputinit_8h_source.html | 269 ++ xorg-server/hw/dmx/doc/html/dmxlog_8c.html | 932 +++---- xorg-server/hw/dmx/doc/html/dmxlog_8h-source.html | 91 - xorg-server/hw/dmx/doc/html/dmxlog_8h.html | 849 +++--- xorg-server/hw/dmx/doc/html/dmxlog_8h_source.html | 102 + xorg-server/hw/dmx/doc/html/dmxmap_8c.html | 195 +- xorg-server/hw/dmx/doc/html/dmxmap_8h-source.html | 62 - xorg-server/hw/dmx/doc/html/dmxmap_8h.html | 189 +- xorg-server/hw/dmx/doc/html/dmxmap_8h_source.html | 75 + xorg-server/hw/dmx/doc/html/dmxmotion_8c.html | 253 +- .../hw/dmx/doc/html/dmxmotion_8h-source.html | 69 - xorg-server/hw/dmx/doc/html/dmxmotion_8h.html | 223 +- .../hw/dmx/doc/html/dmxmotion_8h_source.html | 82 + xorg-server/hw/dmx/doc/html/dmxparse_8c.html | 1404 +++++++++- .../hw/dmx/doc/html/dmxparse_8h-source.html | 303 --- xorg-server/hw/dmx/doc/html/dmxparse_8h.html | 2493 +++++++++++++----- .../hw/dmx/doc/html/dmxparse_8h_source.html | 316 +++ xorg-server/hw/dmx/doc/html/dmxpict_8c.html | 1909 ++++++++------ xorg-server/hw/dmx/doc/html/dmxpict_8h-source.html | 141 - xorg-server/hw/dmx/doc/html/dmxpict_8h.html | 1971 +++++++------- xorg-server/hw/dmx/doc/html/dmxpict_8h_source.html | 156 ++ xorg-server/hw/dmx/doc/html/dmxpixmap_8c.html | 355 ++- .../hw/dmx/doc/html/dmxpixmap_8h-source.html | 83 - xorg-server/hw/dmx/doc/html/dmxpixmap_8h.html | 508 ++-- .../hw/dmx/doc/html/dmxpixmap_8h_source.html | 97 + xorg-server/hw/dmx/doc/html/dmxprint_8c.html | 744 +++++- .../hw/dmx/doc/html/dmxprint_8h-source.html | 63 - xorg-server/hw/dmx/doc/html/dmxprint_8h.html | 140 +- .../hw/dmx/doc/html/dmxprint_8h_source.html | 76 + xorg-server/hw/dmx/doc/html/dmxprop_8c.html | 465 ++-- xorg-server/hw/dmx/doc/html/dmxprop_8h-source.html | 66 - xorg-server/hw/dmx/doc/html/dmxprop_8h.html | 217 +- xorg-server/hw/dmx/doc/html/dmxprop_8h_source.html | 79 + .../hw/dmx/doc/html/dmxproto_8h-source.html | 431 ---- xorg-server/hw/dmx/doc/html/dmxproto_8h.html | 89 - xorg-server/hw/dmx/doc/html/dmxscrinit_8c.html | 720 +++--- .../hw/dmx/doc/html/dmxscrinit_8h-source.html | 70 - xorg-server/hw/dmx/doc/html/dmxscrinit_8h.html | 244 +- .../hw/dmx/doc/html/dmxscrinit_8h_source.html | 83 + xorg-server/hw/dmx/doc/html/dmxshadow_8c.html | 89 +- .../hw/dmx/doc/html/dmxshadow_8h-source.html | 66 - xorg-server/hw/dmx/doc/html/dmxshadow_8h.html | 91 +- .../hw/dmx/doc/html/dmxshadow_8h_source.html | 79 + xorg-server/hw/dmx/doc/html/dmxsigio_8c.html | 503 ++-- .../hw/dmx/doc/html/dmxsigio_8h-source.html | 65 - xorg-server/hw/dmx/doc/html/dmxsigio_8h.html | 330 ++- .../hw/dmx/doc/html/dmxsigio_8h_source.html | 78 + xorg-server/hw/dmx/doc/html/dmxstat_8c.html | 524 ++-- xorg-server/hw/dmx/doc/html/dmxstat_8h-source.html | 74 - xorg-server/hw/dmx/doc/html/dmxstat_8h.html | 507 ++-- xorg-server/hw/dmx/doc/html/dmxstat_8h_source.html | 87 + xorg-server/hw/dmx/doc/html/dmxsync_8c.html | 378 ++- xorg-server/hw/dmx/doc/html/dmxsync_8h-source.html | 63 - xorg-server/hw/dmx/doc/html/dmxsync_8h.html | 187 +- xorg-server/hw/dmx/doc/html/dmxsync_8h_source.html | 76 + xorg-server/hw/dmx/doc/html/dmxvisual_8c.html | 195 +- .../hw/dmx/doc/html/dmxvisual_8h-source.html | 67 - xorg-server/hw/dmx/doc/html/dmxvisual_8h.html | 195 +- .../hw/dmx/doc/html/dmxvisual_8h_source.html | 80 + xorg-server/hw/dmx/doc/html/dmxwindow_8c.html | 1314 +++++----- .../hw/dmx/doc/html/dmxwindow_8h-source.html | 165 -- xorg-server/hw/dmx/doc/html/dmxwindow_8h.html | 1510 ++++++----- .../hw/dmx/doc/html/dmxwindow_8h_source.html | 170 ++ xorg-server/hw/dmx/doc/html/dmxxinput_8c.html | 486 ++-- xorg-server/hw/dmx/doc/html/files.html | 126 +- xorg-server/hw/dmx/doc/html/functions.html | 287 +-- xorg-server/hw/dmx/doc/html/functions_vars.html | 287 +-- xorg-server/hw/dmx/doc/html/globals.html | 590 +---- xorg-server/hw/dmx/doc/html/globals_defs.html | 91 +- xorg-server/hw/dmx/doc/html/globals_enum.html | 79 +- xorg-server/hw/dmx/doc/html/globals_eval.html | 215 +- xorg-server/hw/dmx/doc/html/globals_func.html | 448 +--- xorg-server/hw/dmx/doc/html/globals_type.html | 393 ++- xorg-server/hw/dmx/doc/html/globals_vars.html | 626 ++++- xorg-server/hw/dmx/doc/html/index.html | 18 +- xorg-server/hw/dmx/doc/html/lib_2dmx_2dmx_8c.html | 894 ------- xorg-server/hw/dmx/doc/html/lnx-keyboard_8c.html | 1483 ++++++++--- .../hw/dmx/doc/html/lnx-keyboard_8h-source.html | 83 - xorg-server/hw/dmx/doc/html/lnx-keyboard_8h.html | 600 ++--- .../hw/dmx/doc/html/lnx-keyboard_8h_source.html | 96 + xorg-server/hw/dmx/doc/html/lnx-ms_8c.html | 896 +++++-- xorg-server/hw/dmx/doc/html/lnx-ms_8h-source.html | 75 - xorg-server/hw/dmx/doc/html/lnx-ms_8h.html | 466 ++-- xorg-server/hw/dmx/doc/html/lnx-ms_8h_source.html | 88 + xorg-server/hw/dmx/doc/html/lnx-ps2_8c.html | 894 +++++-- xorg-server/hw/dmx/doc/html/lnx-ps2_8h-source.html | 75 - xorg-server/hw/dmx/doc/html/lnx-ps2_8h.html | 466 ++-- xorg-server/hw/dmx/doc/html/lnx-ps2_8h_source.html | 88 + xorg-server/hw/dmx/doc/html/main.html | 24 +- .../doc/html/programs_2Xserver_2Xext_2dmx_8c.html | 71 - .../hw/dmx/doc/html/structDMXConfigCmdStruct.html | 116 +- .../hw/dmx/doc/html/structDMXConfigListStruct.html | 68 +- .../dmx/doc/html/structDMXDesktopAttributes.html | 32 - .../doc/html/structDMXDesktopAttributesRec.html | 104 +- .../hw/dmx/doc/html/structDMXInputAttributes.html | 32 - .../dmx/doc/html/structDMXInputAttributesRec.html | 152 +- .../hw/dmx/doc/html/structDMXScreenAttributes.html | 32 - .../dmx/doc/html/structDMXScreenAttributesRec.html | 232 +- .../hw/dmx/doc/html/structDMXWindowAttributes.html | 32 - .../dmx/doc/html/structDMXWindowAttributesRec.html | 104 +- .../hw/dmx/doc/html/struct__DMXConfigComment.html | 88 +- .../hw/dmx/doc/html/struct__DMXConfigDisplay.html | 360 ++- .../hw/dmx/doc/html/struct__DMXConfigEntry.html | 104 +- .../hw/dmx/doc/html/struct__DMXConfigFullDim.html | 72 +- .../hw/dmx/doc/html/struct__DMXConfigNumber.html | 104 +- .../hw/dmx/doc/html/struct__DMXConfigOption.html | 104 +- .../hw/dmx/doc/html/struct__DMXConfigPair.html | 152 +- .../hw/dmx/doc/html/struct__DMXConfigParam.html | 168 +- .../hw/dmx/doc/html/struct__DMXConfigPartDim.html | 72 +- .../hw/dmx/doc/html/struct__DMXConfigString.html | 120 +- .../hw/dmx/doc/html/struct__DMXConfigSub.html | 152 +- .../hw/dmx/doc/html/struct__DMXConfigToken.html | 88 +- .../hw/dmx/doc/html/struct__DMXConfigVirtual.html | 184 +- .../hw/dmx/doc/html/struct__DMXConfigWall.html | 184 +- .../hw/dmx/doc/html/struct__DMXEventMap.html | 112 +- .../hw/dmx/doc/html/struct__DMXInputInfo.html | 779 +++--- .../hw/dmx/doc/html/struct__DMXLocalInitInfo.html | 1185 ++++----- .../hw/dmx/doc/html/struct__DMXLocalInputInfo.html | 1665 ++++++------ .../hw/dmx/doc/html/struct__DMXScreenInfo.html | 2712 +++++++++++--------- .../hw/dmx/doc/html/struct__DMXStatAvg.html | 84 +- .../hw/dmx/doc/html/struct__DMXStatInfo.html | 116 +- xorg-server/hw/dmx/doc/html/struct__Event.html | 104 - .../hw/dmx/doc/html/struct__EventQueue.html | 224 -- xorg-server/hw/dmx/doc/html/struct__dmxArg.html | 143 +- .../hw/dmx/doc/html/struct__dmxColormapPriv.html | 56 +- .../hw/dmx/doc/html/struct__dmxCursorPriv.html | 56 +- .../hw/dmx/doc/html/struct__dmxFontPriv.html | 72 +- xorg-server/hw/dmx/doc/html/struct__dmxGCPriv.html | 104 +- .../hw/dmx/doc/html/struct__dmxGlyphPriv.html | 77 +- .../hw/dmx/doc/html/struct__dmxPictPriv.html | 112 +- .../hw/dmx/doc/html/struct__dmxPixPriv.html | 72 +- .../hw/dmx/doc/html/struct__dmxWinPriv.html | 184 +- xorg-server/hw/dmx/doc/html/struct__myPrivate.html | 1286 ++++++++-- .../hw/dmx/doc/html/structdmxGlxVisualPrivate.html | 72 +- .../hw/dmx/doc/html/structxDMXAddInputReply.html | 32 - .../hw/dmx/doc/html/structxDMXAddInputReq.html | 32 - .../hw/dmx/doc/html/structxDMXAddScreenReply.html | 32 - .../hw/dmx/doc/html/structxDMXAddScreenReq.html | 32 - .../structxDMXChangeDesktopAttributesReply.html | 32 - .../html/structxDMXChangeDesktopAttributesReq.html | 32 - .../structxDMXChangeScreensAttributesReply.html | 32 - .../html/structxDMXChangeScreensAttributesReq.html | 32 - .../html/structxDMXForceWindowCreationReply.html | 32 - .../doc/html/structxDMXForceWindowCreationReq.html | 32 - .../html/structxDMXGetDesktopAttributesReply.html | 32 - .../html/structxDMXGetDesktopAttributesReq.html | 32 - .../html/structxDMXGetInputAttributesReply.html | 32 - .../doc/html/structxDMXGetInputAttributesReq.html | 32 - .../dmx/doc/html/structxDMXGetInputCountReply.html | 32 - .../dmx/doc/html/structxDMXGetInputCountReq.html | 32 - .../html/structxDMXGetScreenAttributesReply.html | 32 - .../doc/html/structxDMXGetScreenAttributesReq.html | 32 - .../doc/html/structxDMXGetScreenCountReply.html | 32 - .../dmx/doc/html/structxDMXGetScreenCountReq.html | 32 - .../html/structxDMXGetWindowAttributesReply.html | 32 - .../doc/html/structxDMXGetWindowAttributesReq.html | 32 - .../dmx/doc/html/structxDMXQueryVersionReply.html | 32 - .../hw/dmx/doc/html/structxDMXQueryVersionReq.html | 32 - .../dmx/doc/html/structxDMXRemoveInputReply.html | 32 - .../hw/dmx/doc/html/structxDMXRemoveInputReq.html | 32 - .../dmx/doc/html/structxDMXRemoveScreenReply.html | 32 - .../hw/dmx/doc/html/structxDMXRemoveScreenReq.html | 32 - .../hw/dmx/doc/html/structxDMXSyncReply.html | 32 - xorg-server/hw/dmx/doc/html/structxDMXSyncReq.html | 32 - xorg-server/hw/dmx/doc/html/tree.html | 382 ++- xorg-server/hw/dmx/doc/html/usb-common_8c.html | 812 ++++-- .../hw/dmx/doc/html/usb-common_8h-source.html | 74 - xorg-server/hw/dmx/doc/html/usb-common_8h.html | 298 ++- .../hw/dmx/doc/html/usb-common_8h_source.html | 87 + xorg-server/hw/dmx/doc/html/usb-keyboard_8c.html | 792 ++++-- .../hw/dmx/doc/html/usb-keyboard_8h-source.html | 68 - xorg-server/hw/dmx/doc/html/usb-keyboard_8h.html | 275 +- .../hw/dmx/doc/html/usb-keyboard_8h_source.html | 81 + xorg-server/hw/dmx/doc/html/usb-mouse_8c.html | 520 +++- .../hw/dmx/doc/html/usb-mouse_8h-source.html | 68 - xorg-server/hw/dmx/doc/html/usb-mouse_8h.html | 250 +- .../hw/dmx/doc/html/usb-mouse_8h_source.html | 81 + xorg-server/hw/dmx/doc/html/usb-other_8c.html | 505 +++- .../hw/dmx/doc/html/usb-other_8h-source.html | 68 - xorg-server/hw/dmx/doc/html/usb-other_8h.html | 250 +- .../hw/dmx/doc/html/usb-other_8h_source.html | 81 + .../hw/dmx/doc/html/usb-private_8h-source.html | 131 - xorg-server/hw/dmx/doc/html/usb-private_8h.html | 302 ++- .../hw/dmx/doc/html/usb-private_8h_source.html | 144 ++ 279 files changed, 51528 insertions(+), 37660 deletions(-) delete mode 100644 xorg-server/hw/dmx/doc/html/ChkNotMaskEv_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/ChkNotMaskEv_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmx_8h-source.html create 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 create mode 100644 xorg-server/hw/dmx/doc/html/dmx__glxvisuals_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxarg_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/dmxarg_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxbackend_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/dmxbackend_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxcb_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/dmxcb_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxclient_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/dmxclient_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxcmap_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/dmxcmap_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxcommon_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/dmxcommon_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxcompat_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/dmxcompat_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxconfig_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/dmxconfig_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxconsole_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/dmxconsole_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxcursor_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/dmxcursor_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxdpms_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/dmxdpms_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxdummy_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/dmxdummy_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxeq_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxeq_8h-source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxeq_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxevents_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/dmxevents_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxext_8h-source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxext_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxextension_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/dmxextension_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxfont_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/dmxfont_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxgc_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/dmxgc_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxgcops_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/dmxgcops_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxinit_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/dmxinit_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxinput_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/dmxinput_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxinputinit_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/dmxinputinit_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxlog_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/dmxlog_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxmap_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/dmxmap_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxmotion_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/dmxmotion_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxparse_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/dmxparse_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxpict_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/dmxpict_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxpixmap_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/dmxpixmap_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxprint_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/dmxprint_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxprop_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/dmxprop_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxproto_8h-source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxproto_8h.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxscrinit_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/dmxscrinit_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxshadow_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/dmxshadow_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxsigio_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/dmxsigio_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxstat_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/dmxstat_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxsync_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/dmxsync_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxvisual_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/dmxvisual_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/dmxwindow_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/dmxwindow_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/lib_2dmx_2dmx_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/lnx-keyboard_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/lnx-keyboard_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/lnx-ms_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/lnx-ms_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/lnx-ps2_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/lnx-ps2_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/programs_2Xserver_2Xext_2dmx_8c.html delete mode 100644 xorg-server/hw/dmx/doc/html/structDMXDesktopAttributes.html delete mode 100644 xorg-server/hw/dmx/doc/html/structDMXInputAttributes.html delete mode 100644 xorg-server/hw/dmx/doc/html/structDMXScreenAttributes.html delete mode 100644 xorg-server/hw/dmx/doc/html/structDMXWindowAttributes.html delete mode 100644 xorg-server/hw/dmx/doc/html/struct__Event.html delete mode 100644 xorg-server/hw/dmx/doc/html/struct__EventQueue.html delete mode 100644 xorg-server/hw/dmx/doc/html/structxDMXAddInputReply.html delete mode 100644 xorg-server/hw/dmx/doc/html/structxDMXAddInputReq.html delete mode 100644 xorg-server/hw/dmx/doc/html/structxDMXAddScreenReply.html delete mode 100644 xorg-server/hw/dmx/doc/html/structxDMXAddScreenReq.html delete mode 100644 xorg-server/hw/dmx/doc/html/structxDMXChangeDesktopAttributesReply.html delete mode 100644 xorg-server/hw/dmx/doc/html/structxDMXChangeDesktopAttributesReq.html delete mode 100644 xorg-server/hw/dmx/doc/html/structxDMXChangeScreensAttributesReply.html delete mode 100644 xorg-server/hw/dmx/doc/html/structxDMXChangeScreensAttributesReq.html delete mode 100644 xorg-server/hw/dmx/doc/html/structxDMXForceWindowCreationReply.html delete mode 100644 xorg-server/hw/dmx/doc/html/structxDMXForceWindowCreationReq.html delete mode 100644 xorg-server/hw/dmx/doc/html/structxDMXGetDesktopAttributesReply.html delete mode 100644 xorg-server/hw/dmx/doc/html/structxDMXGetDesktopAttributesReq.html delete mode 100644 xorg-server/hw/dmx/doc/html/structxDMXGetInputAttributesReply.html delete mode 100644 xorg-server/hw/dmx/doc/html/structxDMXGetInputAttributesReq.html delete mode 100644 xorg-server/hw/dmx/doc/html/structxDMXGetInputCountReply.html delete mode 100644 xorg-server/hw/dmx/doc/html/structxDMXGetInputCountReq.html delete mode 100644 xorg-server/hw/dmx/doc/html/structxDMXGetScreenAttributesReply.html delete mode 100644 xorg-server/hw/dmx/doc/html/structxDMXGetScreenAttributesReq.html delete mode 100644 xorg-server/hw/dmx/doc/html/structxDMXGetScreenCountReply.html delete mode 100644 xorg-server/hw/dmx/doc/html/structxDMXGetScreenCountReq.html delete mode 100644 xorg-server/hw/dmx/doc/html/structxDMXGetWindowAttributesReply.html delete mode 100644 xorg-server/hw/dmx/doc/html/structxDMXGetWindowAttributesReq.html delete mode 100644 xorg-server/hw/dmx/doc/html/structxDMXQueryVersionReply.html delete mode 100644 xorg-server/hw/dmx/doc/html/structxDMXQueryVersionReq.html delete mode 100644 xorg-server/hw/dmx/doc/html/structxDMXRemoveInputReply.html delete mode 100644 xorg-server/hw/dmx/doc/html/structxDMXRemoveInputReq.html delete mode 100644 xorg-server/hw/dmx/doc/html/structxDMXRemoveScreenReply.html delete mode 100644 xorg-server/hw/dmx/doc/html/structxDMXRemoveScreenReq.html delete mode 100644 xorg-server/hw/dmx/doc/html/structxDMXSyncReply.html delete mode 100644 xorg-server/hw/dmx/doc/html/structxDMXSyncReq.html delete mode 100644 xorg-server/hw/dmx/doc/html/usb-common_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/usb-common_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/usb-keyboard_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/usb-keyboard_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/usb-mouse_8h-source.html create mode 100644 xorg-server/hw/dmx/doc/html/usb-mouse_8h_source.html delete mode 100644 xorg-server/hw/dmx/doc/html/usb-other_8h-source.html create 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-source.html create 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 index 29fc27d63..fffd19f23 100644 --- a/xorg-server/hw/dmx/doc/html/ChkNotMaskEv_8c.html +++ b/xorg-server/hw/dmx/doc/html/ChkNotMaskEv_8c.html @@ -6,62 +6,89 @@ - -
Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals
-

ChkNotMaskEv.c File Reference

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

ChkNotMaskEv.c File Reference

#include "dmx.h"
+#include "ChkNotMaskEv.h"
+

Functions

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

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

-

- - - - -
- +

Detailed Description

+

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

+

Function Documentation

+ +
+
+
- - - - + + + + + - - - + + + - - - + + - - + + +
Bool XCheckNotMaskEvent Display *  dpy, Bool XCheckNotMaskEvent (Display *  dpy,
long  mask, long  mask,
XEvent *  eventXEvent *  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[]
-
- - - - - -
-   - + +
-

-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.

+

Referenced by XCheckNotMaskEvent().

+ + + +
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 4a4fc4c52..000000000 --- a/xorg-server/hw/dmx/doc/html/ChkNotMaskEv_8h-source.html +++ /dev/null @@ -1,60 +0,0 @@ - - - - - File Index - - - - - -

ChkNotMaskEv.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2002 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Rickard E. (Rik) Faith <faith@redhat.com>
-00032  *
-00033  */
-00034 
-00038 #ifndef _CHKNOTMASKEV_H_
-00039 #define _CHKNOTMASKEV_H_
-00040 extern Bool XCheckNotMaskEvent (Display *dpy, long mask, XEvent *event);
-00041 #endif
-

-
- - 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 index 658c94d9f..c06558216 100644 --- a/xorg-server/hw/dmx/doc/html/ChkNotMaskEv_8h.html +++ b/xorg-server/hw/dmx/doc/html/ChkNotMaskEv_8h.html @@ -6,63 +6,72 @@ - - + + +

ChkNotMaskEv.h File Reference

-

-Go to the source code of this file. - - - - +

Go to the source code of this file.

+

Functions

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

Functions

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


Detailed Description

-Interface for XCheckNotMaskEvent function.
See also:
ChkNotMaskEv.c
-

Function Documentation

-

- - - - -
- +

Detailed Description

+

Interface for XCheckNotMaskEvent function.

+
See also:
ChkNotMaskEv.c
+

Function Documentation

+ +
+
+
- - - - + + + + + - - - + + + - - - + + - - + + -
Bool XCheckNotMaskEvent Display *  dpy, Bool XCheckNotMaskEvent (Display *  dpy,
long  mask, long  mask,
XEvent *  eventXEvent *  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.

-

-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().

+ +
+ +
diff --git a/xorg-server/hw/dmx/doc/html/ChkNotMaskEv_8h_source.html b/xorg-server/hw/dmx/doc/html/ChkNotMaskEv_8h_source.html new file mode 100644 index 000000000..d48888718 --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/ChkNotMaskEv_8h_source.html @@ -0,0 +1,73 @@ + + + + + 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 index 0bd5e9c98..88ce7d6df 100644 --- a/xorg-server/hw/dmx/doc/html/annotated.html +++ b/xorg-server/hw/dmx/doc/html/annotated.html @@ -6,9 +6,25 @@ - - -

Distributed Multihead X Data Structures

Here are the data structures with brief descriptions: + + +
+

Data Structures

Here are the data structures with brief descriptions:
@@ -39,51 +55,17 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
_dmxArg
_dmxColormapPriv
_DMXConfigComment
_DMXStatAvg
_DMXStatInfo
_dmxWinPriv
_Event
_EventQueue
_myPrivate
DMXConfigCmdStruct
DMXConfigListStruct
DMXDesktopAttributes
DMXDesktopAttributesRec
dmxGlxVisualPrivate
DMXInputAttributes
DMXInputAttributesRec
DMXScreenAttributes
DMXScreenAttributesRec
DMXWindowAttributes
DMXWindowAttributesRec
xDMXAddInputReply
xDMXAddInputReq
xDMXAddScreenReply
xDMXAddScreenReq
xDMXChangeDesktopAttributesReply
xDMXChangeDesktopAttributesReq
xDMXChangeScreensAttributesReply
xDMXChangeScreensAttributesReq
xDMXForceWindowCreationReply
xDMXForceWindowCreationReq
xDMXGetDesktopAttributesReply
xDMXGetDesktopAttributesReq
xDMXGetInputAttributesReply
xDMXGetInputAttributesReq
xDMXGetInputCountReply
xDMXGetInputCountReq
xDMXGetScreenAttributesReply
xDMXGetScreenAttributesReq
xDMXGetScreenCountReply
xDMXGetScreenCountReq
xDMXGetWindowAttributesReply
xDMXGetWindowAttributesReq
xDMXQueryVersionReply
xDMXQueryVersionReq
xDMXRemoveInputReply
xDMXRemoveInputReq
xDMXRemoveScreenReply
xDMXRemoveScreenReq
xDMXSyncReply
xDMXSyncReq
stack
+
diff --git a/xorg-server/hw/dmx/doc/html/classes.html b/xorg-server/hw/dmx/doc/html/classes.html index d6632fb09..b7b6b8d3b 100644 --- a/xorg-server/hw/dmx/doc/html/classes.html +++ b/xorg-server/hw/dmx/doc/html/classes.html @@ -6,13 +6,32 @@ - - -

Distributed Multihead X Data Structure Index

-
  _  
-
_DMXConfigWall   _EventQueue   xDMXAddInputReply   xDMXGetInputCountReq   
_dmxArg   _dmxCursorPriv   _myPrivate   xDMXAddInputReq   xDMXGetScreenAttributesReply   
_dmxColormapPriv   _DMXEventMap   
  D  
-
xDMXAddScreenReply   xDMXGetScreenAttributesReq   
_DMXConfigComment   _dmxFontPriv   DMXConfigCmdStruct   xDMXAddScreenReq   xDMXGetScreenCountReply   
_DMXConfigDisplay   _dmxGCPriv   DMXConfigListStruct   xDMXChangeDesktopAttributesReply   xDMXGetScreenCountReq   
_DMXConfigEntry   _dmxGlyphPriv   DMXDesktopAttributes   xDMXChangeDesktopAttributesReq   xDMXGetWindowAttributesReply   
_DMXConfigFullDim   _DMXInputInfo   DMXDesktopAttributesRec   xDMXChangeScreensAttributesReply   xDMXGetWindowAttributesReq   
_DMXConfigNumber   _DMXLocalInitInfo   dmxGlxVisualPrivate   xDMXChangeScreensAttributesReq   xDMXQueryVersionReply   
_DMXConfigOption   _DMXLocalInputInfo   DMXInputAttributes   xDMXForceWindowCreationReply   xDMXQueryVersionReq   
_DMXConfigPair   _dmxPictPriv   DMXInputAttributesRec   xDMXForceWindowCreationReq   xDMXRemoveInputReply   
_DMXConfigParam   _dmxPixPriv   DMXScreenAttributes   xDMXGetDesktopAttributesReply   xDMXRemoveInputReq   
_DMXConfigPartDim   _DMXScreenInfo   DMXScreenAttributesRec   xDMXGetDesktopAttributesReq   xDMXRemoveScreenReply   
_DMXConfigString   _DMXStatAvg   DMXWindowAttributes   xDMXGetInputAttributesReply   xDMXRemoveScreenReq   
_DMXConfigSub   _DMXStatInfo   DMXWindowAttributesRec   xDMXGetInputAttributesReq   xDMXSyncReply   
_DMXConfigToken   _dmxWinPriv   
  X  
-
xDMXGetInputCountReply   xDMXSyncReq   
_DMXConfigVirtual   _Event   

+ + + +
Generated June 29, 2004 for - - - - File Index - - - - - -

dmx.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2001-2003 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Kevin E. Martin <kem@redhat.com>
-00032  *   David H. Dawes <dawes@xfree86.org>
-00033  *   Rickard E. (Rik) Faith <faith@redhat.com>
-00034  *
-00035  */
-00036 
-00051 #ifndef DMX_H
-00052 #define DMX_H
-00053 
-00054 #include "gcstruct.h"
-00055 
-00056 /* Handle client-side include files in one place. */
-00057 #include "dmxclient.h"
-00058 
-00059 #include "globals.h"
-00060 #include "scrnintstr.h"
-00061 
-00062 #ifdef RENDER
-00063 #include "picturestr.h"
-00064 #endif
-00065 
-00066 #ifdef GLXEXT
-00067 #include <GL/glx.h>
-00068 #include <GL/glxint.h>
-00069 #endif
-00070 
-00071 typedef enum {
-00072     PosNone = -1,
-00073     PosAbsolute = 0,
-00074     PosRightOf,
-00075     PosLeftOf,
-00076     PosAbove,
-00077     PosBelow,
-00078     PosRelative
-00079 } PositionType;
-00080 
-00083 typedef struct _DMXInputInfo DMXInputInfo;
-00084 
-00087 typedef struct _DMXStatInfo DMXStatInfo;
-00088 
-00090 typedef struct _DMXScreenInfo {
-00091     const char   *name;           
-00092     int           index;          
-00094     /*---------- Back-end X server information ----------*/
-00095 
-00096     Display      *beDisplay;      
-00097     int           beWidth;        
-00098     int           beHeight;       
-00099     int           beDepth;        
-00100     int           beBPP;          
-00101     int           beXDPI;         
-00102     int           beYDPI;         
-00104     int           beNumDepths;    
-00105     int          *beDepths;       
-00107     int           beNumPixmapFormats; 
-00108     XPixmapFormatValues *bePixmapFormats; 
-00110     int           beNumVisuals;   
-00111     XVisualInfo  *beVisuals;      
-00112     int           beDefVisualIndex; 
-00114     int           beNumDefColormaps; 
-00115     Colormap     *beDefColormaps; 
-00117     Pixel         beBlackPixel;   
-00118     Pixel         beWhitePixel;   
-00120     /*---------- Screen window information ----------*/
-00121 
-00122     Window        scrnWin;        
-00123     int           scrnX;          
-00124     int           scrnY;          
-00125     int           scrnWidth;      
-00126     int           scrnHeight;     
-00127     int           scrnXSign;      
-00128     int           scrnYSign;      
-00131     Drawable      scrnDefDrawables[MAXFORMATS];
-00132 
-00133     struct _DMXScreenInfo *next;  
-00134     struct _DMXScreenInfo *over;  
-00136     /*---------- Root window information ----------*/
-00137 
-00138     Window        rootWin;        
-00139     int           rootX;          
-00140     int           rootY;          
-00141     int           rootWidth;      
-00142     int           rootHeight;     
-00144     int           rootXOrigin;    
-00145     int           rootYOrigin;    
-00147     /*---------- Shadow framebuffer information ----------*/
-00148 
-00149     void         *shadow;         
-00150     XlibGC        shadowGC;       
-00151     XImage       *shadowFBImage;  
-00153     /*---------- Other related information ----------*/
-00154 
-00155     int           shared;         
-00157     Bool          WMRunningOnBE;
-00158 
-00159     Cursor        noCursor;
-00160     Cursor        curCursor;
-00161                                 /* Support for cursors on overlapped
-00162                                  * backend displays. */
-00163     CursorPtr     cursor;
-00164     int           cursorVisible;
-00165     int           cursorNotShared; /* for overlapping screens on a backend */
-00166 
-00167     PositionType  where;            
-00168     int           whereX;           
-00169     int           whereY;           
-00170     int           whereRefScreen;   
-00172     int           savedTimeout;     
-00173     int           dpmsCapable;      
-00174     int           dpmsEnabled;      
-00175     int           dpmsStandby;      
-00176     int           dpmsSuspend;      
-00177     int           dpmsOff;          
-00179     DMXStatInfo  *stat;             
-00180     Bool          needsSync;        
-00182 #ifdef GLXEXT
-00183 
-00184     int           numGlxVisuals;
-00185     __GLXvisualConfig *glxVisuals;
-00186     int           glxMajorOpcode;
-00187     int           glxErrorBase;
-00188 
-00190     __GLXFBConfig *fbconfigs;
-00191     int           numFBConfigs;
-00192 #endif
-00193 
-00196     CloseScreenProcPtr             CloseScreen;
-00197     SaveScreenProcPtr              SaveScreen;
-00198 
-00199     CreateGCProcPtr                CreateGC;
-00200 
-00201     CreateWindowProcPtr            CreateWindow;
-00202     DestroyWindowProcPtr           DestroyWindow;
-00203     PositionWindowProcPtr          PositionWindow;
-00204     ChangeWindowAttributesProcPtr  ChangeWindowAttributes;
-00205     RealizeWindowProcPtr           RealizeWindow;
-00206     UnrealizeWindowProcPtr         UnrealizeWindow;
-00207     RestackWindowProcPtr           RestackWindow;
-00208     WindowExposuresProcPtr         WindowExposures;
-00209     PaintWindowBackgroundProcPtr   PaintWindowBackground;
-00210     PaintWindowBorderProcPtr       PaintWindowBorder;
-00211     CopyWindowProcPtr              CopyWindow;
-00212 
-00213     ResizeWindowProcPtr            ResizeWindow;
-00214     ReparentWindowProcPtr          ReparentWindow;
-00215 
-00216     ChangeBorderWidthProcPtr       ChangeBorderWidth;
-00217 
-00218     GetImageProcPtr                GetImage;
-00219     GetSpansProcPtr                GetSpans;
-00220 
-00221     CreatePixmapProcPtr            CreatePixmap;
-00222     DestroyPixmapProcPtr           DestroyPixmap;
-00223     BitmapToRegionProcPtr          BitmapToRegion;
-00224 
-00225     RealizeFontProcPtr             RealizeFont;
-00226     UnrealizeFontProcPtr           UnrealizeFont;
-00227 
-00228     CreateColormapProcPtr          CreateColormap;
-00229     DestroyColormapProcPtr         DestroyColormap;
-00230     InstallColormapProcPtr         InstallColormap;
-00231     StoreColorsProcPtr             StoreColors;
-00232 
-00233 #ifdef SHAPE
-00234     SetShapeProcPtr                SetShape;
-00235 #endif
-00236 
-00237 #ifdef RENDER
-00238     CreatePictureProcPtr           CreatePicture;
-00239     DestroyPictureProcPtr          DestroyPicture;
-00240     ChangePictureClipProcPtr       ChangePictureClip;
-00241     DestroyPictureClipProcPtr      DestroyPictureClip;
-00242     
-00243     ChangePictureProcPtr           ChangePicture;
-00244     ValidatePictureProcPtr         ValidatePicture;
-00245 
-00246     CompositeProcPtr               Composite;
-00247     GlyphsProcPtr                  Glyphs;
-00248     CompositeRectsProcPtr          CompositeRects;
-00249 
-00250     InitIndexedProcPtr             InitIndexed;
-00251     CloseIndexedProcPtr            CloseIndexed;
-00252     UpdateIndexedProcPtr           UpdateIndexed;
-00253 
-00254     TrapezoidsProcPtr              Trapezoids;
-00255     TrianglesProcPtr               Triangles;
-00256     TriStripProcPtr                TriStrip;
-00257     TriFanProcPtr                  TriFan;
-00258 #endif
-00259 } DMXScreenInfo;
-00260 
-00261 /* Global variables available to all Xserver/hw/dmx routines. */
-00262 extern int              dmxNumScreens;          
-00263 extern DMXScreenInfo   *dmxScreens;             
-00264 extern int              dmxShadowFB;            
-00267 extern XErrorEvent      dmxLastErrorEvent;      
-00269 extern Bool             dmxErrorOccurred;       
-00271 extern Bool             dmxOffScreenOpt;        
-00274 extern Bool             dmxSubdividePrimitives; 
-00277 extern Bool             dmxLazyWindowCreation;  
-00280 extern Bool             dmxUseXKB;              
-00284 extern int              dmxDepth;               
-00286 extern Bool             dmxNoRender;            
-00289 #ifdef GLXEXT
-00290 extern Bool             dmxGLXProxy;            
-00292 extern Bool             dmxGLXSwapGroupSupport; 
-00296 extern Bool             dmxGLXSyncSwap;         
-00300 extern Bool             dmxGLXFinishSwap;       
-00305 #endif
-00306 extern char            *dmxFontPath;            
-00315 extern Bool             dmxIgnoreBadFontPaths;  
-00319 extern Bool             dmxAddRemoveScreens;    
-00324 #define DMX_WRAP(_entry, _newfunc, _saved, _actual)                     \
-00325 do {                                                                    \
-00326     (_saved)->_entry  = (_actual)->_entry;                              \
-00327     (_actual)->_entry = (_newfunc);                                     \
-00328 } while (0)
-00329 
-00331 #define DMX_UNWRAP(_entry, _saved, _actual)                             \
-00332 do {                                                                    \
-00333     (_actual)->_entry = (_saved)->_entry;                               \
-00334 } while (0)
-00335 
-00336 #endif /* DMX_H */
-

-
- - 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 index ecdde319d..1cb2f06ea 100644 --- a/xorg-server/hw/dmx/doc/html/dmx_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmx_8h.html @@ -6,518 +6,431 @@ - - -

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 _DMXInputInfo DMXInputInfo
typedef _DMXStatInfo DMXStatInfo
typedef _DMXScreenInfo DMXScreenInfo

Variables

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


Detailed Description

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

Define Documentation

-

- - - - -
- + + +
+

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

+ +
+
+ - - - - + + + + + + - + + + + + + + - - - -
#define DMX_UNWRAP_entry,
#define DMX_UNWRAP(_entry,
_saved,
_saved,
_actual  )  _actual   )  +
-
- - - - - -
-   - - -

-Value:

do {                                                                    \
+
+
+Value:
do {                                                                    \
     (_actual)->_entry = (_saved)->_entry;                               \
 } while (0)
-
Unwrap screen or GC function pointer
-

- - - - -
- +

Unwrap screen or GC function pointer

+ +

Referenced by dmxChangeBorderWidth(), dmxChangePicture(), dmxChangePictureClip(), dmxChangeWindowAttributes(), dmxCloseConsoleScreen(), dmxCloseScreen(), dmxComposite(), dmxCompositeRects(), dmxCopyWindow(), dmxCreateColormap(), dmxCreateGC(), dmxCreatePicture(), dmxCreatePixmap(), dmxCreateWindow(), dmxDestroyColormap(), dmxDestroyPicture(), dmxDestroyPictureClip(), dmxDestroyPixmap(), dmxDestroyWindow(), dmxInstallColormap(), dmxPositionWindow(), dmxRealizeWindow(), dmxReparentWindow(), dmxResizeWindow(), dmxRestackWindow(), dmxSetShape(), dmxStoreColors(), dmxTrapezoids(), dmxTriangles(), dmxTriFan(), dmxTriStrip(), dmxUnrealizeWindow(), dmxValidatePicture(), and dmxWindowExposures().

+ + + + +
+
+
- - - - - - + + + + + + + + + + - + + + + + + + - - - -
#define DMX_WRAP_entry,
_newfunc,
#define DMX_WRAP(_entry,
_newfunc,
_saved,
_saved,
_actual  )  _actual   )  +
-
- - - - - -
-   - - -

-Value:

do {                                                                    \
+
+
+Value:
do {                                                                    \
     (_saved)->_entry  = (_actual)->_entry;                              \
     (_actual)->_entry = (_newfunc);                                     \
 } while (0)
-
Wrap screen or GC function pointer
-


Typedef Documentation

-

- - - - -
- +

Wrap screen or GC function pointer

+ +

Referenced by dmxChangeBorderWidth(), dmxChangePicture(), dmxChangePictureClip(), dmxChangeWindowAttributes(), dmxComposite(), dmxCompositeRects(), dmxConsoleInit(), dmxCopyWindow(), dmxCreateColormap(), dmxCreateGC(), dmxCreatePicture(), dmxCreatePixmap(), dmxCreateWindow(), dmxDestroyColormap(), dmxDestroyPicture(), dmxDestroyPictureClip(), dmxDestroyPixmap(), dmxDestroyWindow(), dmxInstallColormap(), dmxPictureInit(), dmxPositionWindow(), dmxRealizeWindow(), dmxReparentWindow(), dmxResizeWindow(), dmxRestackWindow(), dmxScreenInit(), dmxSetShape(), dmxStoreColors(), dmxTrapezoids(), dmxTriangles(), dmxTriFan(), dmxTriStrip(), dmxUnrealizeWindow(), dmxValidatePicture(), and dmxWindowExposures().

+ + + +

Typedef Documentation

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

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

See also:
dmxinput.h
-
-

- - - - -
- + +
+

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

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

-Global structure containing information about each backend screen.

-

- - - - -
- + +
+

Global structure containing information about each backend screen.

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

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

See also:
dmxstat.c
-
-


Variable Documentation

-

- - - - -
- + +
+

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

+
See also:
dmxstat.c
+ +
+ +

Enumeration Type Documentation

+ +
+
+
- +
Bool dmxAddRemoveScreens + enum PositionType
-
- - - - - -
-   - - -

-True if add and remove screens support is enabled

-

- - - - -
- + +
+
Enumerator:
+ + + + + + + +
PosNone  +
PosAbsolute  +
PosRightOf  +
PosLeftOf  +
PosAbove  +
PosBelow  +
PosRelative  +
+ + + + + +

Variable Documentation

+ +
+
+ - +
int dmxDepth + Bool dmxAddRemoveScreens
-
- - - - - -
-   - - -

-Requested depth if non-zero

-

- - - - -
- + +
+

True if add and remove screens support is enabled

+ +

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

+ +
+ + +
+
+
- +
Bool dmxErrorOccurred + int dmxDepth
-
- - - - - -
-   - - -

-True if an error occurred

-

- - - - -
- + +
+

Requested depth if non-zero

+ +

Referenced by ddxProcessArgument(), and dmxGetVisualInfo().

+ +
+ + +
+
+
- +
char* dmxFontPath + Bool dmxErrorOccurred
-
- - - - - -
-   - - -

-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

-

- - - - -
- + +
+

True if an error occurred

+ +

Referenced by dmxErrorHandler().

+ +
+ + +
+
+
- +
Bool dmxIgnoreBadFontPaths + char* dmxFontPath
-
- - - - - -
-   - - -

-True if bad font paths should be ignored during server init

-

- - - - -
- + +
+

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().

+ +
+ + +
+
+
- +
XErrorEvent dmxLastErrorEvent + Bool dmxIgnoreBadFontPaths
-
- - - - - -
-   - - -

-Last error that occurred

-

- - - - -
- + +
+

True if bad font paths should be ignored during server init

+ +

Referenced by ddxProcessArgument(), and dmxBELoadFont().

+ +
+ + +
+
+
- +
Bool dmxLazyWindowCreation + XErrorEvent dmxLastErrorEvent
-
- - - - - -
-   - - -

-True if using the lazy window creation optimization

-

- - - - -
- + +
+

Last error that occurred

+ +

Referenced by dmxErrorHandler().

+ +
+ + +
+
+
- +
Bool dmxNoRender + Bool dmxLazyWindowCreation
-
- - - - - -
-   - - -

-True if the RENDER extension should be disabled

-

- - - - -
- + +
+

True if using the lazy window creation optimization

+ +

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

+ +
+ + +
+
+
- +
int dmxNumScreens + int dmxNumScreens
-
- - - - - -
-   - - -

-Number of dmxScreens

-

- - - - -
- + + + + +
+
+
- +
Bool dmxOffScreenOpt + Bool dmxOffScreenOpt
-
- - - - - -
-   - - -

-True if using off screen optimizations

-

- - - - -
- + +
+

True if using off screen optimizations

+ +

Referenced by ddxProcessArgument(), and InitOutput().

+ +
+ + +
+
+
- +
DMXScreenInfo* dmxScreens + DMXScreenInfo* dmxScreens
-
- - - - - -
-   - - -

-List of outputs

-

- - - - -
- + +
+

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 + int dmxShadowFB
-
- - - - - -
-   - - -

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

-

- - - - -
- + +
+

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

+ +

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

+ +
+ + +
+
+
- +
Bool dmxSubdividePrimitives + Bool dmxSubdividePrimitives
-
- - - - - -
-   - - -

-True if using the primitive subdivision optimization

-

- - - - -
- + +
+

True if using the primitive subdivision optimization

+ +

Referenced by ddxProcessArgument(), and dmxPutImage().

+ +
+ + +
+
+
- +
Bool dmxUseXKB + Bool dmxUseXKB
-
- - - - - -
-   - - -

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

+ +

+

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

+ +

Referenced by ddxProcessArgument(), and dmxCommonSaveState().

+ +
+ +
diff --git a/xorg-server/hw/dmx/doc/html/dmx_8h_source.html b/xorg-server/hw/dmx/doc/html/dmx_8h_source.html new file mode 100644 index 000000000..ce2f78e50 --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/dmx_8h_source.html @@ -0,0 +1,327 @@ + + + + + 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 1885e30d7..000000000 --- a/xorg-server/hw/dmx/doc/html/dmx__glxvisuals_8h-source.html +++ /dev/null @@ -1,85 +0,0 @@ - - - - - File Index - - - - - -

dmx_glxvisuals.h

00001 /*
-00002 ** License Applicability. Except to the extent portions of this file are
-00003 ** made subject to an alternative license as permitted in the SGI Free
-00004 ** Software License B, Version 1.1 (the "License"), the contents of this
-00005 ** file are subject only to the provisions of the License. You may not use
-00006 ** this file except in compliance with the License. You may obtain a copy
-00007 ** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600
-00008 ** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:
-00009 **
-00010 ** http://oss.sgi.com/projects/FreeB
-00011 **
-00012 ** Note that, as provided in the License, the Software is distributed on an
-00013 ** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS
-00014 ** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND
-00015 ** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A
-00016 ** PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
-00017 **
-00018 ** Original Code. The Original Code is: OpenGL Sample Implementation,
-00019 ** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
-00020 ** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.
-00021 ** Copyright in any portions created by third parties is as indicated
-00022 ** elsewhere herein. All Rights Reserved.
-00023 **
-00024 ** Additional Notice Provisions: The application programming interfaces
-00025 ** established by SGI in conjunction with the Original Code are The
-00026 ** OpenGL(R) Graphics System: A Specification (Version 1.2.1), released
-00027 ** April 1, 1999; The OpenGL(R) Graphics System Utility Library (Version
-00028 ** 1.3), released November 4, 1998; and OpenGL(R) Graphics with the X
-00029 ** Window System(R) (Version 1.3), released October 19, 1998. This software
-00030 ** was created using the OpenGL(R) version 1.2.1 Sample Implementation
-00031 ** published by SGI, but has not been independently verified as being
-00032 ** compliant with the OpenGL(R) version 1.2.1 Specification.
-00033 **
-00034 */
-00035 
-00036 #ifndef _GLXVISUALS_H
-00037 #define _GLXVISUALS_H
-00038 
-00039 #include <GL/glxint.h>
-00040 
-00042 typedef struct {
-00043     int x_visual_depth;
-00044     int x_visual_class;
-00045 } dmxGlxVisualPrivate;
-00046 
-00047 __GLXvisualConfig *GetGLXVisualConfigs(Display *dpy,
-00048                                        int screen,
-00049                                        int *nconfigs);
-00050 
-00051 __GLXFBConfig *GetGLXFBConfigs(Display *dpy,
-00052                                int glxMajorOpcode,
-00053                                int *nconfigs);
-00054 
-00055 __GLXvisualConfig *GetGLXVisualConfigsFromFBConfigs(__GLXFBConfig *fbconfigs, 
-00056                                                     int nfbconfigs, 
-00057                                                     XVisualInfo *visuals,
-00058                                                     int nvisuals,
-00059                                                     __GLXvisualConfig
-00060                                                     *glxConfigs,
-00061                                                     int nGlxConfigs,
-00062                                                     int *nconfigs);
-00063 
-00064 #endif
-

-
- - 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 new file mode 100644 index 000000000..cd0361f9b --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/dmx__glxvisuals_8h_source.html @@ -0,0 +1,94 @@ + + + + + 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 index db05599a6..ae8912a7e 100644 --- a/xorg-server/hw/dmx/doc/html/dmxarg_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxarg_8c.html @@ -6,225 +6,214 @@ - - -

dmxarg.c File Reference

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

dmxarg.c File Reference

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

Data Structures

struct  _dmxArg

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)
+ + + + + + + + + + +

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.

Function Documentation

-

- - - - -
- +

Detailed Description

+

Generic comma-delimited argument processing.

+

Define Documentation

+ +
+
+
- - - - + +
void dmxArgAdd dmxArg  a, #define DMX_ARG_TEST   0
+ +
+ +
+ +

Function Documentation

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

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

-

- - - - -
- + +
+

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  ) int dmxArgC (dmxArg  a ) 
-
- - - - - -
-   - - -

-Return the number of arguments in the dmxArg object.

-

- - - - -
- + +
+

Return the number of arguments in the dmxArg object.

+ +

References _dmxArg::argc.

+ +

Referenced by dmxInputInit(), and dmxPopulateLocal().

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

-Create an (externally opaque) dmxArg object.

-

- - - - -
- + +
+

Create an (externally opaque) dmxArg object.

+ +

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

+ +

Referenced by dmxArgParse().

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

-Free the specified dmxArg object.

-

- - - - -
- + +
+

Free the specified dmxArg object.

+ +

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

+ +

Referenced by dmxInputInit().

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

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

-

- - - - -
- + +
+

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, const char* dmxArgV (dmxArg  a,
int  itemint  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.

+ +

+

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().

+ +
+ +
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 1f2fbce39..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxarg_8h-source.html +++ /dev/null @@ -1,69 +0,0 @@ - - - - - File Index - - - - - -

dmxarg.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2002 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Rickard E. (Rik) Faith <faith@redhat.com>
-00032  *
-00033  */
-00034 
-00038 #ifndef _DMXARG_H_
-00039 #define _DMXARG_H_
-00040 
-00041 typedef struct _dmxArg *dmxArg;
-00042 
-00043 extern dmxArg     dmxArgCreate(void);
-00044 extern void       dmxArgFree(dmxArg a);
-00045 extern void       dmxArgAdd(dmxArg a, const char *string);
-00046 extern const char *dmxArgV(dmxArg a, int item);
-00047 extern int        dmxArgC(dmxArg a);
-00048 extern dmxArg     dmxArgParse(const char *string);
-00049 
-00050 #endif
-

-
- - 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 index 41fd707e9..6446dfb48 100644 --- a/xorg-server/hw/dmx/doc/html/dmxarg_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmxarg_8h.html @@ -6,221 +6,211 @@ - - + + +

dmxarg.h File Reference

-

-Go to the source code of this file. - - - - - - - - - - - - - - +

Go to the source code of this file.

+

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)
+ + + + + + + + +

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
-

Function Documentation

-

- - - - -
- +

Detailed Description

+

Interface to argument handling functions.

+
See also:
dmxarg.c
+

Typedef Documentation

+ +
+
+
- - - - + +
void dmxArgAdd dmxArg  a, typedef struct _dmxArg* dmxArg
+ +
+ +
+ +

Function Documentation

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

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

-

- - - - -
- + +
+

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  ) int dmxArgC (dmxArg  a ) 
-
- - - - - -
-   - - -

-Return the number of arguments in the dmxArg object.

-

- - - - -
- + +
+

Return the number of arguments in the dmxArg object.

+ +

References _dmxArg::argc.

+ +

Referenced by dmxInputInit(), and dmxPopulateLocal().

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

-Create an (externally opaque) dmxArg object.

-

- - - - -
- + +
+

Create an (externally opaque) dmxArg object.

+ +

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

+ +

Referenced by dmxArgParse().

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

-Free the specified dmxArg object.

-

- - - - -
- + +
+

Free the specified dmxArg object.

+ +

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

+ +

Referenced by dmxInputInit().

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

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

-

- - - - -
- + +
+

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, const char* dmxArgV (dmxArg  a,
int  itemint  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.

+

+
+

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().

+ +
+ +
diff --git a/xorg-server/hw/dmx/doc/html/dmxarg_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxarg_8h_source.html new file mode 100644 index 000000000..c48d76d06 --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/dmxarg_8h_source.html @@ -0,0 +1,82 @@ + + + + + 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 index 1fde71a99..d2bf63f5f 100644 --- a/xorg-server/hw/dmx/doc/html/dmxbackend_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxbackend_8c.html @@ -6,413 +6,1173 @@ - - -

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 "keysym.h"
-#include "mipointer.h"
-#include "scrnintstr.h"
-#include "windowstr.h"
- - - - + + +
+

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
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

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
+
+
-

Functions

-pointer dmxBackendCreatePrivate (DeviceIntPtr pDevice) +
+
+ +
+
+ + + + + + + + + +
#define DMXDBG0( ) 
+
+
-void dmxBackendDestroyPrivate (pointer private) +
+
+ +
+
+ + + + + + + + + + + + + + +
#define DMXDBG1(f,
 ) 
+
+
-void dmxBackendUpdatePosition (pointer private, int x, int y) +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + +
#define DMXDBG2(f,
a,
 ) 
+
+
-void dmxBackendCollectEvents (DevicePtr pDev, dmxMotionProcPtr motion, dmxEnqueueProcPtr enqueue, dmxCheckSpecialProcPtr checkspecial, DMXBlockType block) +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
#define DMXDBG3(f,
a,
b,
 ) 
+
+
-void dmxBackendProcessInput (pointer private) +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#define DMXDBG4(f,
a,
b,
c,
 ) 
+
+
-void dmxBackendLateReInit (DevicePtr pDev) +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#define DMXDBG5(f,
a,
b,
c,
d,
 ) 
+
+
-void dmxBackendInit (DevicePtr pDev) +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#define DMXDBG6(f,
a,
b,
c,
d,
e,
 ) 
+
+
-void dmxBackendMouGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info) +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#define DMXDBG7(f,
a,
b,
c,
d,
e,
g,
 ) 
+
+
-void dmxBackendKbdGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info) +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#define DMXDBG8(f,
a,
b,
c,
d,
e,
g,
h,
 ) 
+
+
-int dmxBackendFunctions (pointer private, DMXFunctionType function) +

Referenced by dmxBackendCollectEvents().

- -

Detailed Description

-These routines support taking input from devices on the backend (output) displays.
See also:
dmxcommon.c.
-

Function Documentation

-

- - - - -
- + + + +
+
+
- - - - + + + + + + + + - - + + + + + + - - + + + + + + - - + + + + + + - - + + + + + + - - +
void dmxBackendCollectEvents DevicePtr  pDev, #define DMXDBG9(f,
a,
dmxMotionProcPtr  motion, b,
c,
dmxEnqueueProcPtr  enqueue, d,
e,
dmxCheckSpecialProcPtr  checkspecial, g,
h,
DMXBlockType  blocki,
 ) 
+ + + +

Typedef Documentation

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

-Get events from the X queue on the backend servers and put the events into the DMX event queue.

-

- - - - -
- + +
+ +
+ +

Function Documentation

+ +
+
+
+ + + + + + - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void dmxBackendCollectEvents (DevicePtr  pDev,
pointer dmxBackendCreatePrivate DeviceIntPtr  pDevice  ) dmxMotionProcPtr  motion,
dmxEnqueueProcPtr  enqueue,
dmxCheckSpecialProcPtr  checkspecial,
DMXBlockType  block 
)
+ + + + +
+
+ + + + + + + + +
static void dmxBackendComputeCenter (myPrivate priv )  [static]
-
- - - - - -
-   - - -

-Create and return a private data structure.

-

- - - - -
- + +
+ +

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

+ +

Referenced by dmxBackendInit(), and dmxBackendLateReInit().

+ +
+ + +
+
+
- - - - - - + + + + + + +
void dmxBackendDestroyPrivate pointer  private  ) 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.

-

- - - - -
- + +
+

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

+ +
+ + +
+
+
- - - - + + + + + + + + + + - - + + + - - + + + + + + + -
int dmxBackendFunctions pointer  private, static int dmxBackendFindOverlapping (myPrivate priv,
int  screen,
DMXFunctionType  functionint  x,
int  y 
) [static]
-
- - - - - -
-   - - -

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

-

- - - - -
- + + + + +
+
+
+ + + + + + + + + + + + - - - - - - + + + +
static DMXScreenInfo* dmxBackendFindWindow (myPrivate priv,
Window  win 
void dmxBackendInit DevicePtr  pDev  ) ) [static]
+ + + + +
+
+ + + + + + + + + + + + + + + + + +
int dmxBackendFunctions (pointer  private,
DMXFunctionType  function 
)
-
- - - - - -
-   - - -

-Initialized the backend device described by pDev.

-

- - - - -
- + +
+

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

+ +

References DMX_FUNCTION_TERMINATE.

+ +
+ + +
+
+
- - - - + + + + + + + + + - - + + +
void dmxBackendKbdGetInfo DevicePtr  pDev, static DMXScreenInfo* dmxBackendGetEvent (myPrivate priv,
XEvent *  X 
DMXLocalInitInfoPtr  info) [static]
+ +
+ +

References dmxBackendTestEvents(), and dmxPropertyIterate().

+ +

Referenced by dmxBackendCollectEvents().

+ +
+ + +
+
+ + + + + + - - +
void dmxBackendInit (DevicePtr  pDev ) 
+
+ +
+ +
+
+ + + + + + + + +
static DMXScreenInfo* dmxBackendInitPrivate (DevicePtr  pDev )  [static]
-
- - - - - -
-   - - -

-Get information about the backend keyboard (for initialization).

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + + + + + + + + + + +
void dmxBackendLateReInit DevicePtr  pDev  ) void dmxBackendKbdGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  info 
)
+ + + + +
+
+ + + + + + + + +
void dmxBackendLateReInit (DevicePtr  pDev ) 
-
- - - - - -
-   - - -

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

-

- - - - -
- + + + + +
+
+
- - - - + + + + + + + + + - - + + + +
void dmxBackendMouGetInfo DevicePtr  pDev, void dmxBackendMouGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  info 
DMXLocalInitInfoPtr  info)
+ + + + +
+
+ + + + + + + - - + + + + + + + + + + + + + +
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]
-
- - - - - -
-   - - -

-Get information about the backend pointer (for initialization).

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + +
void dmxBackendProcessInput pointer  private  ) 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]
-
- - - - - -
-   - - -

-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.

-

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

References _DMXScreenInfo::beDisplay, and XCheckNotMaskEvent().

+ +

Referenced by dmxBackendGetEvent().

+ +
+ + +
+
+ - - - - + + + + + + + + + + + + + +
void dmxBackendUpdatePosition pointer  private, static void* dmxBackendTestMotionEvent (DMXScreenInfo dmxScreen,
void *  closure 
) [static]
+
+
+ +

References _DMXScreenInfo::beDisplay.

+ +

Referenced by dmxBackendPendingMotionEvent().

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

References _DMXScreenInfo::index.

+ +

Referenced by dmxBackendSameDisplay().

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

References _DMXScreenInfo::scrnWin.

+ +

Referenced by dmxBackendFindWindow().

+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + +
void dmxBackendUpdatePosition (pointer  private,
int  x,
int  y 
)
-
- - - - - -
-   - - -

-This routine is called from #dmxCoreMotion for each motion event. #x and #y are global coordinants.

+

+ +
+
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 9b58dac3e..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxbackend_8h-source.html +++ /dev/null @@ -1,75 +0,0 @@ - - - - - File Index - - - - - -

dmxbackend.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2002 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Rickard E. (Rik) Faith <faith@redhat.com>
-00032  *
-00033  */
-00034 
-00039 #ifndef _DMXBACKEND_H_
-00040 #define _DMXBACKEND_H_
-00041 
-00042 extern pointer dmxBackendCreatePrivate(DeviceIntPtr pDevice);
-00043 extern void    dmxBackendDestroyPrivate(pointer private);
-00044 extern void    dmxBackendInit(DevicePtr pDev);
-00045 extern void    dmxBackendLateReInit(DevicePtr pDev);
-00046 extern void    dmxBackendMouGetInfo(DevicePtr pDev, DMXLocalInitInfoPtr info);
-00047 extern void    dmxBackendKbdGetInfo(DevicePtr pDev, DMXLocalInitInfoPtr info);
-00048 extern void    dmxBackendCollectEvents(DevicePtr pDev,
-00049                                        dmxMotionProcPtr motion,
-00050                                        dmxEnqueueProcPtr enqueue,
-00051                                        dmxCheckSpecialProcPtr checkspecial,
-00052                                        DMXBlockType block);
-00053 extern void    dmxBackendProcessInput(pointer private);
-00054 extern int     dmxBackendFunctions(pointer private, DMXFunctionType function);
-00055 extern void    dmxBackendUpdatePosition(pointer private, int x, int y);
-00056 
-00057 #endif
-

-
- - 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 index 2a601be0c..ace4261c4 100644 --- a/xorg-server/hw/dmx/doc/html/dmxbackend_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmxbackend_8h.html @@ -6,397 +6,324 @@ - - + + +

dmxbackend.h File Reference

-

-Go to the source code of this file. - - - - - - - - - - - - - - - - - - - - - - +

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)
+ + + + + + + + + + +

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

-

- - - - -
- +

Detailed Description

+

Interface to backend input device support.

+
See also:
dmxbackend.c
+
+dmxcommon.c
+

Function Documentation

+ +
+
+
- - - - + + + + + - - - + + + - - - + + + - - - + + + - - - + + - - + + -
void dmxBackendCollectEvents DevicePtr  pDev, void dmxBackendCollectEvents (DevicePtr  pDev,
dmxMotionProcPtr  motion, dmxMotionProcPtr  motion,
dmxEnqueueProcPtr  enqueue, dmxEnqueueProcPtr  enqueue,
dmxCheckSpecialProcPtr  checkspecial, dmxCheckSpecialProcPtr  checkspecial,
DMXBlockType  blockDMXBlockType  block 
)
-
- - - - - -
-   - + +
+

Get events from the X queue on the backend servers and put the events into the DMX event queue.

-

-Get events from the X queue on the backend servers and put the events into the DMX event queue.

-

- - - - -
- +

References _DMXScreenInfo::beDisplay, DMX_ABSOLUTE, DMX_RELATIVE, dmxBackendFindWindow(), dmxBackendGetEvent(), dmxBackendPendingMotionEvent(), dmxCommonRestoreState(), dmxCommonSaveState(), DMXDBG2, DMXDBG4, DMXDBG5, DMXDBG7, DMXDBG8, DMXDBG9, dmxError, dmxFatal, dmxLog(), dmxSync(), GETDMXINPUTFROMPRIV, GETPRIVFROMPDEV, _DMXScreenInfo::index, _DMXScreenInfo::name, _DMXScreenInfo::rootHeight, _DMXScreenInfo::rootWidth, _DMXScreenInfo::rootX, _DMXScreenInfo::rootXOrigin, _DMXScreenInfo::rootY, _DMXScreenInfo::rootYOrigin, and _DMXScreenInfo::scrnWin.

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

Create and return a private data structure.

-

-Create and return a private data structure.

-

- - - - -
- +

References GETDMXLOCALFROMPDEVICE.

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

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

-

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

-

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

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

-

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

-

- - - - -
- +

References DMX_FUNCTION_TERMINATE.

+ + + + +
+
+
- - - - - - + + + + + + -
void dmxBackendInit DevicePtr  pDev  ) void dmxBackendInit (DevicePtr  pDev ) 
-
- - - - - -
-   - + +
+

Initialized the backend device described by pDev.

-

-Initialized the backend device described by pDev.

-

- - - - -
- +

References DMX_LOCAL_KEYBOARD, DMX_LOCAL_MOUSE, dmxBackendComputeCenter(), dmxBackendInitPrivate(), dmxBackendSameDisplay(), GETPRIVFROMPDEV, and _DMXScreenInfo::index.

+ + + + +
+
+
- - - - + + + + + - - - + + - - + + -
void dmxBackendKbdGetInfo DevicePtr  pDev, void dmxBackendKbdGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  infoDMXLocalInitInfoPtr  info 
)
-
- - - - - -
-   - + +
+

Get information about the backend keyboard (for initialization).

-

-Get information about the backend keyboard (for initialization).

-

- - - - -
- +

References dmxCommonKbdGetInfo(), dmxCommonKbdGetMap(), _DMXLocalInitInfo::focusClass, _DMXLocalInitInfo::freemap, _DMXLocalInitInfo::kbdFeedbackClass, _DMXLocalInitInfo::keyboard, _DMXLocalInitInfo::keyClass, _DMXLocalInitInfo::keySyms, and _DMXLocalInitInfo::modMap.

+ + + + +
+
+
- - - - - - + + + + + + -
void dmxBackendLateReInit DevicePtr  pDev  ) void dmxBackendLateReInit (DevicePtr  pDev ) 
-
- - - - - -
-   - + +
+

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

-

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

-

- - - - -
- +

References dmxBackendComputeCenter(), dmxBackendInitPrivate(), dmxBackendSameDisplay(), dmxBackendUpdatePosition(), DMXDBG1, dmxGetGlobalPosition(), dmxInvalidateGlobalPosition(), and GETPRIVFROMPDEV.

+ + + + +
+
+
- - - - + + + + + - - - + + - - + + -
void dmxBackendMouGetInfo DevicePtr  pDev, void dmxBackendMouGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  infoDMXLocalInitInfoPtr  info 
)
-
- - - - - -
-   - + +
+

Get information about the backend pointer (for initialization).

-

-Get information about the backend pointer (for initialization).

-

- - - - -
- +

References _DMXScreenInfo::beHeight, _DMXScreenInfo::beWidth, _DMXLocalInitInfo::buttonClass, dmxBackendInitPrivate(), dmxCommonMouGetMap(), _DMXLocalInitInfo::map, _DMXLocalInitInfo::maxres, _DMXLocalInitInfo::maxval, _DMXLocalInitInfo::minres, _DMXLocalInitInfo::minval, _DMXLocalInitInfo::numButtons, _DMXLocalInitInfo::numRelAxes, _DMXLocalInitInfo::ptrFeedbackClass, _DMXLocalInitInfo::res, and _DMXLocalInitInfo::valuatorClass.

+ + + + +
+
+
- - - - - - + + + + + + -
void dmxBackendProcessInput pointer  private  ) 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.

-

-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, void dmxBackendUpdatePosition (pointer  private,
int  x, int  x,
int  yint  y 
)
-
- - - - - -
-   - + +
+

This routine is called from dmxCoreMotion for each motion event. x and y are global coordinants.

-

-This routine is called from #dmxCoreMotion for each motion event. #x and #y are global coordinants.

+

References dmxBackendFindOverlapping(), dmxBackendOffscreen(), dmxBackendPendingMotionEvent(), dmxBackendSameDisplay(), dmxCheckCursor(), dmxConsoleCapture(), dmxConsoleUncapture(), DMXDBG0, DMXDBG2, DMXDBG5, DMXDBG9, dmxHideCursor(), dmxScreens, dmxSync(), and GETPRIVFROMPRIVATE.

+ +

Referenced by dmxBackendLateReInit().

+ +
+ +
diff --git a/xorg-server/hw/dmx/doc/html/dmxbackend_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxbackend_8h_source.html new file mode 100644 index 000000000..8e43b858f --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/dmxbackend_8h_source.html @@ -0,0 +1,88 @@ + + + + + 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 index 072c3ff06..99916930b 100644 --- a/xorg-server/hw/dmx/doc/html/dmxcb_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxcb_8c.html @@ -6,170 +6,166 @@ - - -

dmxcb.c File Reference

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

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 dmxGlobalWidth
int dmxGlobalHeight
+ + + + + + + +

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

-

- - - - -
- +

Detailed Description

+

This code queries and modifies the connection block.

+

Function Documentation

+ +
+
+
- - - - - - + + + + + + -
void dmxComputeWidthHeight DMXRecomputeFlag  flag  ) 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.

-

-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   ) 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.

-

-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, void dmxSetWidthHeight (int  width,
int  heightint  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
-
- - - - - -
-   - + +
-

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

-


Variable Documentation

-

- - - - -
- +

Referenced by dmxConnectionBlockCallback().

+ + + + +
+
+
- +
int dmxGlobalHeight + int dmxGlobalHeight
-
- - - - - -
-   - + +
-

-The cursor position, in global coordinates.

-

- - - - -
- +

Referenced by dmxComputeWidthHeight(), dmxConnectionBlockCallback(), dmxConsoleComputeWidthHeight(), dmxCoreMotion(), dmxGetDesktopAttributes(), and dmxSetWidthHeight().

+ + + + +
+
+
- +
int dmxGlobalWidth + int dmxGlobalWidth
-
- - - - - -
-   - + +
+

The cursor position, in global coordinates.

-

-The cursor position, in global coordinates.

+

Referenced by dmxComputeWidthHeight(), dmxConnectionBlockCallback(), dmxConsoleComputeWidthHeight(), dmxCoreMotion(), dmxGetDesktopAttributes(), and dmxSetWidthHeight().

+ + + +
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 ff57d4982..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxcb_8h-source.html +++ /dev/null @@ -1,70 +0,0 @@ - - - - - File Index - - - - - -

dmxcb.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2001,2002 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Rickard E. (Rik) Faith <faith@redhat.com>
-00032  *
-00033  */
-00034 
-00039 #ifndef _DMXCB_H_
-00040 #define _DMXCB_H_
-00041 
-00042 extern int  dmxGlobalWidth, dmxGlobalHeight;
-00043 
-00046 typedef enum {
-00047     DMX_RECOMPUTE_BOUNDING_BOX,
-00048     DMX_NO_RECOMPUTE_BOUNDING_BOX
-00049 } DMXRecomputeFlag;
-00050 
-00051 extern void dmxSetWidthHeight(int width, int height);
-00052 extern void dmxComputeWidthHeight(DMXRecomputeFlag flag);
-00053 extern void dmxConnectionBlockCallback(void);
-00054 #endif
-

-
- - 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 index 78eaf4f3a..cac6d4303 100644 --- a/xorg-server/hw/dmx/doc/html/dmxcb_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmxcb_8h.html @@ -6,195 +6,176 @@ - - + + +

dmxcb.h File Reference

-

-Go to the source code of this file. - - - - - - - - - - - - - - - - +

Go to the source code of this file.

+

Enumerations

enum  DMXRecomputeFlag

Functions

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

Variables

int dmxGlobalWidth
int dmxGlobalHeight
+ + + + + + + + +

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

-

- - - - + +
+

dmxComputeWidthHeight can either recompute the global bounding box or not.

+
Enumerator:
- +

Detailed Description

+

Header file for connection block functions.

+
See also:
dmxcb.c.
+

Enumeration Type Documentation

+ +
+
+
- +
enum DMXRecomputeFlag + enum DMXRecomputeFlag
-
+ +
DMX_RECOMPUTE_BOUNDING_BOX  +
DMX_NO_RECOMPUTE_BOUNDING_BOX  +
- - - - - -
-   - + + -

-dmxComputeWidthHeight can either recompute the global bounding box or not.

-


Function Documentation

-

- - - - -
- + + +

Function Documentation

+ +
+
+
- - - - - - + + + + + + -
void dmxComputeWidthHeight DMXRecomputeFlag  flag  ) 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.

-

-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   ) 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.

-

-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, void dmxSetWidthHeight (int  width,
int  heightint  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.

-

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

-


Variable Documentation

-

- - - - -
- +

References dmxGlobalHeight, and dmxGlobalWidth.

+ +

Referenced by dmxConfigCopyData().

+ + + +

Variable Documentation

+ +
+
+
- +
int dmxGlobalHeight + int dmxGlobalHeight
-
- - - - - -
-   - + +
-

-The cursor position, in global coordinates.

-

- - - - -
- +

Referenced by dmxComputeWidthHeight(), dmxConnectionBlockCallback(), dmxConsoleComputeWidthHeight(), dmxCoreMotion(), dmxGetDesktopAttributes(), and dmxSetWidthHeight().

+ + + + +
+
+
- +
int dmxGlobalWidth + int dmxGlobalWidth
-
- - - - - -
-   - + +
+

The cursor position, in global coordinates.

-

-The cursor position, in global coordinates.

+

Referenced by dmxComputeWidthHeight(), dmxConnectionBlockCallback(), dmxConsoleComputeWidthHeight(), dmxCoreMotion(), dmxGetDesktopAttributes(), and dmxSetWidthHeight().

+ +
+ +
diff --git a/xorg-server/hw/dmx/doc/html/dmxcb_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxcb_8h_source.html new file mode 100644 index 000000000..37d1380d2 --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/dmxcb_8h_source.html @@ -0,0 +1,83 @@ + + + + + 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-source.html b/xorg-server/hw/dmx/doc/html/dmxclient_8h-source.html deleted file mode 100644 index 39d1b3bc0..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxclient_8h-source.html +++ /dev/null @@ -1,168 +0,0 @@ - - - - - File Index - - - - - -

dmxclient.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright (c) 1995  X Consortium
-00004  * Copyright 2004 Red Hat Inc., Durham, North Carolina.
-00005  *
-00006  * All Rights Reserved.
-00007  *
-00008  * Permission is hereby granted, free of charge, to any person obtaining
-00009  * a copy of this software and associated documentation files (the
-00010  * "Software"), to deal in the Software without restriction, including
-00011  * without limitation on the rights to use, copy, modify, merge,
-00012  * publish, distribute, sublicense, and/or sell copies of the Software,
-00013  * and to permit persons to whom the Software is furnished to do so,
-00014  * subject to the following conditions:
-00015  *
-00016  * The above copyright notice and this permission notice shall be
-00017  * included in all copies or substantial portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT, THE X CONSORTIUM,
-00023  * AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-00024  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
-00025  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-00026  * OTHER DEALINGS IN THE SOFTWARE.
-00027  *
-00028  * Except as contained in this notice, the name of the X Consortium
-00029  * shall not be used in advertising or otherwise to promote the sale,
-00030  * use or other dealings in this Software without prior written
-00031  * authorization from the X Consortium.
-00032  */
-00033 
-00034 /*
-00035  * Derived from hw/xnest/Xnest.h by Rickard E. (Rik) Faith <faith@redhat.com>
-00036  */
-00037 
-00042 #ifndef _DMXCLIENT_H_
-00043 #define _DMXCLIENT_H_
-00044 
-00045 #define GC XlibGC
-00046 
-00047 #ifdef _XSERVER64
-00048 #define DMX64
-00049 #undef _XSERVER64
-00050 typedef unsigned long XID64;
-00051 typedef unsigned long Mask64;
-00052 typedef unsigned long Atom64;
-00053 typedef unsigned long VisualID64;
-00054 typedef unsigned long Time64;
-00055 #define XID           XID64
-00056 #define Mask          Mask64
-00057 #define Atom          Atom64
-00058 #define VisualID      VisualID64
-00059 #define Time          Time64
-00060 typedef XID           Window64;
-00061 typedef XID           Drawable64;
-00062 typedef XID           Font64;
-00063 typedef XID           Pixmap64;
-00064 typedef XID           Cursor64;
-00065 typedef XID           Colormap64;
-00066 typedef XID           GContext64;
-00067 typedef XID           KeySym64;
-00068 #define Window        Window64
-00069 #define Drawable      Drawable64
-00070 #define Font          Font64
-00071 #define Pixmap        Pixmap64
-00072 #define Cursor        Cursor64
-00073 #define Colormap      Colormap64
-00074 #define GContext      GContext64
-00075 #define KeySym        KeySym64
-00076 #endif
-00077 
-00078 #include <X11/Xlib.h>
-00079 #include <X11/Xlibint.h>        /* For _XExtension */
-00080 #include <X11/X.h>              /* from glxserver.h */
-00081 #include <X11/Xmd.h>            /* from glxserver.h */
-00082 #include <X11/Xproto.h>
-00083 #include <X11/Xutil.h>
-00084 #include <X11/Xatom.h>
-00085 #include <X11/cursorfont.h>
-00086 #include <X11/Xmu/SysUtil.h>    /* For XmuSnprintf */
-00087 
-00088 #ifdef SHAPE
-00089 #include <X11/extensions/shape.h>
-00090 #endif
-00091 
-00092 #ifdef RENDER
-00093 #include <X11/extensions/Xrender.h>
-00094 #undef PictFormatType
-00095 #endif
-00096 
-00097 #ifdef XKB
-00098 #include <X11/extensions/XKB.h>
-00099 #include <X11/extensions/XKBstr.h>
-00100 #endif
-00101 
-00102 #ifdef XINPUT
-00103 #include <X11/extensions/XI.h>
-00104 #endif
-00105 
-00106 /* Always include these, since we query them even if we don't export XINPUT. */
-00107 #include <X11/extensions/XInput.h> /* For XDevice */
-00108 #include <X11/extensions/Xext.h>
-00109 
-00110 #undef GC
-00111 
-00112 #ifdef DMX64
-00113 #define _XSERVER64
-00114 #undef XID
-00115 #undef Mask
-00116 #undef Atom
-00117 #undef VisualID
-00118 #undef Time
-00119 #undef Window
-00120 #undef Drawable
-00121 #undef Font
-00122 #undef Pixmap
-00123 #undef Cursor
-00124 #undef Colormap
-00125 #undef GContext
-00126 #undef KeySym
-00127 #endif
-00128 
-00129 /* These are in exglobals.h, but that conflicts with X11/extensions/XKBsrv.h */
-00130 extern int ProximityIn;
-00131 extern int ProximityOut;
-00132 extern int DeviceValuator;
-00133 extern int DeviceMotionNotify;
-00134 extern int DeviceFocusIn;
-00135 extern int DeviceFocusOut;
-00136 extern int DeviceStateNotify;
-00137 extern int DeviceMappingNotify;
-00138 extern int ChangeDeviceNotify;
-00139 
-00140 /* Some protocol gets included last, after undefines. */
-00141 #include <X11/XKBlib.h>
-00142 #ifdef XKB
-00143 #include <X11/extensions/XKBproto.h>
-00144 #define XKB_IN_SERVER
-00145 #include <X11/extensions/XKBsrv.h>
-00146 #undef XPointer
-00147 #endif
-00148 #include <X11/extensions/XIproto.h>
-00149 
-00150 #endif
-

-
- - 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 index f5e62f572..cb22c41c6 100644 --- a/xorg-server/hw/dmx/doc/html/dmxclient_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmxclient_8h.html @@ -6,35 +6,214 @@ - - -

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 <X11/extensions/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/XKBsrv.h>
-#include <X11/extensions/XIproto.h>
- -

-Go to the source code of this file. - + + +
+

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.
+

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 + + + + 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 index 40f62a633..adbef732d 100644 --- a/xorg-server/hw/dmx/doc/html/dmxcmap_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxcmap_8c.html @@ -6,251 +6,240 @@ - - -

dmxcmap.c File Reference

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

dmxcmap.c File Reference

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

Functions

Bool dmxBECreateColormap (ColormapPtr pColormap)
Bool dmxCreateColormap (ColormapPtr pColormap)
+ + + + + + + + + +

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]
+
+
-Bool dmxBEFreeColormap (ColormapPtr pColormap) +

References _dmxColormapPriv::cmap, and DMX_SET_COLORMAP_PRIV.

-void dmxDestroyColormap (ColormapPtr pColormap) +

Referenced by dmxCreateColormap().

-void dmxInstallColormap (ColormapPtr pColormap) +
+
+ +
+
+ + + + + + + + + +
Bool dmxBECreateColormap (ColormapPtr  pColormap ) 
+
+
+

Create pColormap on the back-end server.

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

References _DMXScreenInfo::beDisplay, _dmxColormapPriv::cmap, DMX_GET_COLORMAP_PRIV, dmxLog(), dmxLookupVisual(), dmxScreens, dmxWarning, and _DMXScreenInfo::scrnWin.

-Bool dmxCreateDefColormap (ScreenPtr pScreen) +

Referenced by dmxBECreateResources(), and dmxCreateColormap().

- -

Detailed Description

-Colormap support.

Function Documentation

-

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

Destroy pColormap on the back-end server.

-

-Create pColormap on the back-end server.

-

- - - - -
- - - - - - - - - +

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

-
Bool dmxBEFreeColormap ColormapPtr  pColormap  ) 
-
- - - - - -
-   - +

Referenced by dmxBEDestroyResources(), and dmxDestroyColormap().

-

-Destroy pColormap on the back-end server.

-

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

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

-

-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  ) Bool dmxCreateDefColormap (ScreenPtr  pScreen ) 
-
- - - - - -
-   - - -

-Create the DMX server's default colormap.

-

- - - - -
- + +
+

Create the DMX server's default colormap.

+ +

Referenced by dmxScreenInit().

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

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

-

-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  ) void dmxInstallColormap (ColormapPtr  pColormap ) 
-
- - - - - -
-   - + +
+

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

-

-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, void dmxStoreColors (ColormapPtr  pColormap,
int  ndef, int  ndef,
xColorItem *  pdefxColorItem *  pdef 
)
-
- - - - - -
-   - + +
+

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

-

-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().

+ +
+
+
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 b3a9b291a..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxcmap_8h-source.html +++ /dev/null @@ -1,86 +0,0 @@ - - - - - File Index - - - - - -

dmxcmap.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2002-2004 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Kevin E. Martin <kem@redhat.com>
-00032  *
-00033  */
-00034 
-00038 #ifndef DMXCMAP_H
-00039 #define DMXCMAP_H
-00040 
-00041 #include "colormapst.h"
-00042 
-00044 typedef struct _dmxColormapPriv {
-00045     Colormap  cmap;
-00046 } dmxColormapPrivRec, *dmxColormapPrivPtr;
-00047 
-00048 
-00049 extern Bool dmxCreateColormap(ColormapPtr pColormap);
-00050 extern void dmxDestroyColormap(ColormapPtr pColormap);
-00051 extern void dmxInstallColormap(ColormapPtr pColormap);
-00052 extern void dmxStoreColors(ColormapPtr pColormap, int ndef, xColorItem *pdef);
-00053 
-00054 extern Bool dmxCreateDefColormap(ScreenPtr pScreen);
-00055 
-00056 extern Bool dmxBECreateColormap(ColormapPtr pColormap);
-00057 extern Bool dmxBEFreeColormap(ColormapPtr pColormap);
-00058 
-00060 extern int dmxColormapPrivateIndex;
-00061 
-00063 #define DMX_SET_COLORMAP_PRIV(_pCMap, _pCMapPriv)                       \
-00064     (_pCMap)->devPrivates[dmxColormapPrivateIndex].ptr                  \
-00065         = (pointer)(_pCMapPriv);
-00066 
-00068 #define DMX_GET_COLORMAP_PRIV(_pCMap)                                   \
-00069     (dmxColormapPrivPtr)(_pCMap)->devPrivates[dmxColormapPrivateIndex].ptr
-00070 
-00071 #endif /* DMXCMAP_H */
-

-
- - 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 index f22a97b0e..d07836d7a 100644 --- a/xorg-server/hw/dmx/doc/html/dmxcmap_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmxcmap_8h.html @@ -6,394 +6,324 @@ - - -

dmxcmap.h File Reference

#include "colormapst.h"
- -

-Go to the source code of this file. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + +
+

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)
#define DMX_GET_COLORMAP_PRIV(_pCMap)   (dmxColormapPrivPtr)(_pCMap)->devPrivates[dmxColormapPrivateIndex].ptr

Typedefs

typedef _dmxColormapPriv dmxColormapPrivRec
typedef _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

int dmxColormapPrivateIndex
+ + + + + + + + + + + + + + + + + +

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

-

- - - - -
- +

Detailed Description

+

Header file for colormap support.

+
See also:
dmxcmap.c.
+

Define Documentation

+ +
+
+
- - - - - - + + + + + +
#define DMX_GET_COLORMAP_PRIV_pCMap   )    (dmxColormapPrivPtr)(_pCMap)->devPrivates[dmxColormapPrivateIndex].ptr + #define DMX_GET_COLORMAP_PRIV(_pCMap  ) 
-
- - - - - -
-   - - -

-Get colormap private structure.

-

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

-Value:

(_pCMap)->devPrivates[dmxColormapPrivateIndex].ptr                      \
-        = (pointer)(_pCMapPriv);
-
Set colormap private structure.
-


Typedef Documentation

-

- - - - -
- + +
+

Set colormap private structure.

+ +

Referenced by dmxAllocateColormapPrivates(), and dmxDestroyColormap().

+ +
+ +

Typedef Documentation

+ +
+
+
- +
typedef struct _dmxColormapPriv * dmxColormapPrivPtr + typedef struct _dmxColormapPriv * dmxColormapPrivPtr
-
- - - - - -
-   - - -

-Colormap private area.

-

- - - - -
- + +
+ +
+ + +
+
+
- +
typedef struct _dmxColormapPriv dmxColormapPrivRec + typedef struct _dmxColormapPriv dmxColormapPrivRec
-
- - - - - -
-   - - -

-Colormap private area.

-


Function Documentation

-

- - - - -
- + +
+

Colormap private area.

+ +
+ +

Function Documentation

+ +
+
+
- - - - - - + + + + + + -
Bool dmxBECreateColormap ColormapPtr  pColormap  ) Bool dmxBECreateColormap (ColormapPtr  pColormap ) 
-
- - - - - -
-   - + +
+

Create pColormap on the back-end server.

-

-Create pColormap on the back-end server.

-

- - - - -
- +

References _DMXScreenInfo::beDisplay, _dmxColormapPriv::cmap, DMX_GET_COLORMAP_PRIV, dmxLog(), dmxLookupVisual(), dmxScreens, dmxWarning, and _DMXScreenInfo::scrnWin.

+ +

Referenced by dmxBECreateResources(), and dmxCreateColormap().

+ + + + +
+
+
- - - - - - + + + + + + -
Bool dmxBEFreeColormap ColormapPtr  pColormap  ) Bool dmxBEFreeColormap (ColormapPtr  pColormap ) 
-
- - - - - -
-   - + +
+

Destroy pColormap on the back-end server.

-

-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  ) Bool dmxCreateColormap (ColormapPtr  pColormap ) 
-
- - - - - -
-   - + +
+

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

-

-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  ) Bool dmxCreateDefColormap (ScreenPtr  pScreen ) 
-
- - - - - -
-   - - -

-Create the DMX server's default colormap.

-

- - - - -
- + +
+

Create the DMX server's default colormap.

+ +

Referenced by dmxScreenInit().

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

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

-

-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  ) void dmxInstallColormap (ColormapPtr  pColormap ) 
-
- - - - - -
-   - + +
+

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

-

-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, void dmxStoreColors (ColormapPtr  pColormap,
int  ndef, int  ndef,
xColorItem *  pdefxColorItem *  pdef 
)
-
- - - - - -
-   - + +
+

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

-

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

-


Variable Documentation

-

- - - - -
- +

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

+ +

Referenced by dmxScreenInit(), and dmxStoreColors().

+ + + +

Variable Documentation

+ +
+
+
- +
int dmxColormapPrivateIndex + DevPrivateKey dmxColormapPrivateKey
-
- - - - - -
-   - - -

-Private index for Colormaps

+ +

+

Private index.

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

Private index for Colormaps

+ +
+ +
diff --git a/xorg-server/hw/dmx/doc/html/dmxcmap_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxcmap_8h_source.html new file mode 100644 index 000000000..e9e0ed041 --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/dmxcmap_8h_source.html @@ -0,0 +1,98 @@ + + + + + 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 index 3e0459c12..6782e36ff 100644 --- a/xorg-server/hw/dmx/doc/html/dmxcommon_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxcommon_8c.html @@ -6,687 +6,875 @@ - - -

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 "keysym.h"
-#include "mipointer.h"
-#include "scrnintstr.h"
-#include <unistd.h>
- - - - + + +
+

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
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

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
+
+
-

Typedefs

-typedef _myPrivate myPrivate +
+
+ +
+
+ + + + + + + + + +
#define DMXDBG0( ) 
+
+
+ +
+
+ +
+
+ + + + + + + + + +
#define NAME( )    priv->xkb->names->x ? XGetAtomName(priv->display,priv->xkb->names->x) : NULL
+
+
-

Functions

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

Referenced by dmxCommonKbdGetInfo().

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

Typedef Documentation

+ +
+
+ + + + +
typedef struct _myPrivate myPrivate
+
+
+

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

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

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
static void* dmxCommonAddEnabledDevice (DMXScreenInfo dmxScreen,
void *  closure 
) [static]
+
+
-void dmxCommonKbdGetMap (DevicePtr pDev, KeySymsPtr pKeySyms, CARD8 *pModMap) +

References _DMXScreenInfo::beDisplay.

-void dmxCommonKbdGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info) +

Referenced by dmxCommonMouOn().

-int dmxCommonKbdOn (DevicePtr pDev) +
+
+ +
+
+ + + + + + + + + +
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.

-void dmxCommonKbdOff (DevicePtr pDev) +

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

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

Sound they keyboard bell.

-void dmxCommonOthOff (DevicePtr pDev) +

References GETPRIVFROMPDEV.

-void dmxCommonOthGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info) +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void dmxCommonKbdCtrl (DevicePtr  pDev,
KeybdCtrl *  ctrl 
)
+
+
+

Update the keyboard control.

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

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

-int dmxCommonMouOn (DevicePtr pDev) +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void dmxCommonKbdGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  info 
)
+
+
+

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

-void dmxCommonMouOff (DevicePtr pDev) +

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

-int dmxFindPointerScreen (int x, int y) +

Referenced by dmxBackendKbdGetInfo(), and dmxConsoleKbdGetInfo().

-pointer dmxCommonCopyPrivate (DeviceIntPtr pDevice) +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void dmxCommonKbdGetMap (DevicePtr  pDev,
KeySymsPtr  pKeySyms,
CARD8 *  pModMap 
)
+
+
+

Get the keyboard mapping.

-void dmxCommonSaveState (pointer private) +

References GETPRIVFROMPDEV.

-void dmxCommonRestoreState (pointer private) +

Referenced by dmxBackendKbdGetInfo(), and dmxConsoleKbdGetInfo().

- -

Detailed Description

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

Typedef Documentation

-

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

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

-


Function Documentation

-

- - - - -
- + + + +
+
+
- - - - - - + + + + + + +
pointer dmxCommonCopyPrivate DeviceIntPtr  pDevice  ) void dmxCommonKbdOff (DevicePtr  pDev ) 
+ +
+

Turn pDev off.

+ +

References DMX_KEYBOARD_EVENT_MASK, dmxCommonRestoreState(), and GETPRIVFROMPDEV.

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

-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.

-

- - - - -
- + +
+

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

+ +

References DMX_KEYBOARD_EVENT_MASK, dmxCommonSaveState(), and GETPRIVFROMPDEV.

+ +
+ + +
+
+
- - - - + + + + + - - - + + + - - - + + - - - + + + +
void dmxCommonKbdBell DevicePtr  pDev, static void dmxCommonKbdSetAR (Display *  display,
int  percent, unsigned char *  old,
int  volume, unsigned char *  new 
int  pitch, ) [static]
+ +
+ +

Referenced by dmxCommonKbdSetCtrl().

+ +
+ + +
+
+ + + + + + + + + + + + - - + + - - + + -
static void dmxCommonKbdSetCtrl (Display *  display,
KeybdCtrl *  old,
int  durationKeybdCtrl *  new 
) [static]
-
- - - - - -
-   - - -

-Sound they keyboard bell.

-

- - - - -
- + + + + +
+
+
- - - - + + + + + - - - + + - - + + -
void dmxCommonKbdCtrl DevicePtr  pDev, static void dmxCommonKbdSetLeds (Display *  display,
KeybdCtrl *  ctrlunsigned long  new 
) [static]
-
- - - - - -
-   - - -

-Update the keyboard control.

-

- - - - -
- + +
+ +

Referenced by dmxCommonKbdSetCtrl().

+ +
+ + +
+
+
- - - - + + + + + - - - + + - - + + -
void dmxCommonKbdGetInfo DevicePtr  pDev, void dmxCommonMouCtrl (DevicePtr  pDev,
DMXLocalInitInfoPtr  infoPtrCtrl *  ctrl 
)
-
- - - - - -
-   - - -

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

-

- - - - -
- + +
+

Update the mouse control.

+ +

References dmxCommonMouSetCtrl(), and GETPRIVFROMPDEV.

+ +
+ + +
+
+
- - - - + + + + + - - - + + + - - - + + - - + + -
void dmxCommonKbdGetMap DevicePtr  pDev, void dmxCommonMouGetMap (DevicePtr  pDev,
KeySymsPtr  pKeySyms, unsigned char *  map,
CARD8 *  pModMapint *  nButtons 
)
-
- - - - - -
-   - - -

-Get the keyboard mapping.

-

- - - - -
- + +
+

Obtain the mouse button mapping.

+ +

References DMX_MAX_BUTTONS, and GETPRIVFROMPDEV.

+ +

Referenced by dmxBackendMouGetInfo(), and dmxConsoleMouGetInfo().

+ +
+ + +
+
+
- - - - - - + + + + + + -
void dmxCommonKbdOff DevicePtr  pDev  ) void dmxCommonMouOff (DevicePtr  pDev ) 
-
- - - - - -
-   - - -

-Turn pDev off.

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + -
int dmxCommonKbdOn DevicePtr  pDev  ) int dmxCommonMouOn (DevicePtr  pDev ) 
-
- - - - - -
-   - - -

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

-

- - - - -
- + + + + +
+
+
- - - - + + + + + + + + + + - - + + - - + + -
void dmxCommonMouCtrl DevicePtr  pDev, static void dmxCommonMouSetCtrl (Display *  display,
PtrCtrl *  old,
PtrCtrl *  ctrlPtrCtrl *  new 
) [static]
-
- - - - - -
-   - - -

-Update the mouse control.

-

- - - - -
- + +
+ +

Referenced by dmxCommonMouCtrl().

+ +
+ + +
+
+
- - - - + + + + + - - - + + - - - + + +
void dmxCommonMouGetMap DevicePtr  pDev, void dmxCommonOthGetInfo (DevicePtr  pDev,
unsigned char *  map, DMXLocalInitInfoPtr  info 
int *  nButtons)
+ + + + +
+
+ + + + + + - - -
void dmxCommonOthOff (DevicePtr  pDev ) 
-
- - - - - -
-   - - -

-Obtain the mouse button mapping.

-

- - - - -
- - - - - - - - - + +
+

Turn pDev off.

-
void dmxCommonMouOff DevicePtr  pDev  ) 
-
- - - - - -
-   - - -

-Turn pDev off.

-

- - - - -
- +

References GETPRIVFROMPDEV.

+ + + + +
+
+
- - - - - - + + + + + + -
int dmxCommonMouOn DevicePtr  pDev  ) int dmxCommonOthOn (DevicePtr  pDev ) 
-
- - - - - -
-   - - -

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

-

- - - - -
- + + + + +
+
+
- - - - + + + + + - - - + + - - + + -
void dmxCommonOthGetInfo DevicePtr  pDev, static void* dmxCommonRemoveEnabledDevice (DMXScreenInfo dmxScreen,
DMXLocalInitInfoPtr  infovoid *  closure 
) [static]
-
- - - - - -
-   - - -

-Fill the info structure with information needed to initialize pDev.

-

- - - - -
- + +
+ +

References _DMXScreenInfo::beDisplay.

+ +

Referenced by dmxCommonMouOff().

+ +
+ + +
+
+
- - - - - - + + + + + + -
void dmxCommonOthOff DevicePtr  pDev  ) void dmxCommonRestoreState (pointer  private ) 
-
- - - - - -
-   - - -

-Turn pDev off.

-

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

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

-

- - - - -
- + +
+

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().

+ +
+ + +
+
+
- - - - - - + + + + - -
void dmxCommonRestoreState pointer  private  ) static void* dmxCommonXSelect (DMXScreenInfo dmxScreen,
-
- - - - - -
-   - - -

-This routine restores all the information saved by dmxCommonSaveState.

-

- - - - -
- - - - - - - + + + + + + + + + -
void dmxCommonSaveState pointer  private  ) void *  closure 
) [static]
-
- - - - - -
-   - - -

-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).

-

- - - - -
- + + + + +
+
+
- - - - + + + + + - - - + + - - + + -
int dmxFindPointerScreen int  x, int dmxFindPointerScreen (int  x,
int  yint  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.

+

+
+

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.

+ +
+
+
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 72ac5378b..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxcommon_8h-source.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - File Index - - - - - -

dmxcommon.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2002,2003 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Rickard E. (Rik) Faith <faith@redhat.com>
-00032  *
-00033  */
-00034 
-00039 #ifndef _DMXCOMMON_H_
-00040 #define _DMXCOMMON_H_
-00041 
-00042 #define DMX_COMMON_OTHER                    \
-00043     Display                 *display;       \
-00044     Window                  window;         \
-00045     DMXScreenInfo           *be;            \
-00046     DMXLocalInputInfoPtr    dmxLocal;       \
-00047     int                     initPointerX;   \
-00048     int                     initPointerY;   \
-00049     long                    eventMask;      \
-00050     KeybdCtrl               kctrl;          \
-00051     PtrCtrl                 mctrl;          \
-00052     int                     kctrlset;       \
-00053     int                     mctrlset;       \
-00054     KeybdCtrl               savedKctrl;     \
-00055     XModifierKeymap         *savedModMap;   \
-00056     int                     stateSaved
-00057 
-00058 #ifdef XKB
-00059 #define DMX_COMMON_XKB                      \
-00060     DMX_COMMON_OTHER;                       \
-00061     XkbDescPtr              xkb;            \
-00062     XkbIndicatorRec         savedIndicators
-00063 #else
-00064 #define DMX_COMMON_XKB      DMX_COMMON_OTHER
-00065 #endif
-00066 
-00067 #ifdef XINPUT
-00068 #define DMX_COMMON_PRIVATE                  \
-00069     DMX_COMMON_XKB;                         \
-00070     XDevice                 *xi
-00071 #else
-00072 #define DMX_COMMON_PRIVATE  DMX_COMMON_OTHER
-00073 #endif
-00074 
-00075 #define GETONLYPRIVFROMPRIVATE                                          \
-00076     myPrivate            *priv     = private
-00077 
-00078 #define GETPRIVFROMPRIVATE                                              \
-00079     GETONLYPRIVFROMPRIVATE;                                             \
-00080     DMXInputInfo         *dmxInput = &dmxInputs[priv->dmxLocal->inputIdx]
-00081 
-00082 #define GETDMXLOCALFROMPDEVICE                                          \
-00083     DevicePtr            pDev      = &pDevice->public;                  \
-00084     DMXLocalInputInfoPtr dmxLocal  = pDev->devicePrivate
-00085 
-00086 #define GETDMXINPUTFROMPRIV                                             \
-00087     DMXInputInfo         *dmxInput = &dmxInputs[priv->dmxLocal->inputIdx]
-00088 
-00089 #define GETDMXINPUTFROMPDEVICE                                          \
-00090     GETDMXLOCALFROMPDEVICE;                                             \
-00091     DMXInputInfo         *dmxInput = &dmxInputs[dmxLocal->inputIdx]
-00092 
-00093 #define GETDMXLOCALFROMPDEV                                             \
-00094     DMXLocalInputInfoPtr dmxLocal  = pDev->devicePrivate
-00095 
-00096 #define GETDMXINPUTFROMPDEV                                             \
-00097     GETDMXLOCALFROMPDEV;                                                \
-00098     DMXInputInfo         *dmxInput = &dmxInputs[dmxLocal->inputIdx]
-00099 
-00100 #define GETPRIVFROMPDEV                                                 \
-00101     GETDMXLOCALFROMPDEV;                                                \
-00102     myPrivate            *priv     = dmxLocal->private
-00103 
-00104 #define DMX_KEYBOARD_EVENT_MASK                                         \
-00105     (KeyPressMask | KeyReleaseMask | KeymapStateMask)
-00106 
-00107 #define DMX_POINTER_EVENT_MASK                                          \
-00108     (ButtonPressMask | ButtonReleaseMask | PointerMotionMask)
-00109 
-00110 extern void    dmxCommonKbdGetInfo(DevicePtr pDev, DMXLocalInitInfoPtr info);
-00111 extern void    dmxCommonKbdGetMap(DevicePtr pDev,
-00112                                   KeySymsPtr pKeySyms, CARD8 *pModMap);
-00113 extern void    dmxCommonKbdCtrl(DevicePtr pDev, KeybdCtrl *ctrl);
-00114 extern void    dmxCommonKbdBell(DevicePtr pDev, int percent,
-00115                                 int volume, int pitch, int duration);
-00116 extern int     dmxCommonKbdOn(DevicePtr pDev);
-00117 extern void    dmxCommonKbdOff(DevicePtr pDev);
-00118 extern void    dmxCommonMouGetMap(DevicePtr pDev,
-00119                                   unsigned char *map, int *nButtons);
-00120 extern void    dmxCommonMouCtrl(DevicePtr pDev, PtrCtrl *ctrl);
-00121 extern int     dmxCommonMouOn(DevicePtr pDev);
-00122 extern void    dmxCommonMouOff(DevicePtr pDev);
-00123 extern int     dmxFindPointerScreen(int x, int y);
-00124 
-00125 extern int     dmxCommonOthOn(DevicePtr pDev);
-00126 extern void    dmxCommonOthOff(DevicePtr pDev);
-00127 extern void    dmxCommonOthGetInfo(DevicePtr pDev, DMXLocalInitInfoPtr info);
-00128 
-00129                                 /* helper functions */
-00130 extern pointer dmxCommonCopyPrivate(DeviceIntPtr pDevice);
-00131 extern void    dmxCommonSaveState(pointer private);
-00132 extern void    dmxCommonRestoreState(pointer private);
-00133 #endif
-

-
- - 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 index 9367b5d2c..469d991a7 100644 --- a/xorg-server/hw/dmx/doc/html/dmxcommon_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmxcommon_8h.html @@ -6,651 +6,761 @@ - - + + +

dmxcommon.h File Reference

-

-Go to the source code of this file. - - - - - - - - - - - - - - - - - +

Go to the source code of this file.

+

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)
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

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)
+
+
-int dmxCommonMouOn (DevicePtr pDev) +

Referenced by dmxCommonKbdOff(), and dmxCommonKbdOn().

-void dmxCommonMouOff (DevicePtr pDev) +
+
+ +
+
+ + + + +
#define DMX_POINTER_EVENT_MASK   (ButtonPressMask | ButtonReleaseMask | PointerMotionMask)
+
+
-int dmxFindPointerScreen (int x, int y) +

Referenced by dmxCommonMouOff(), and dmxCommonMouOn().

-int dmxCommonOthOn (DevicePtr pDev) +
+
+ +
+
+ + + + +
#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
+
+
-pointer dmxCommonCopyPrivate (DeviceIntPtr pDevice) +

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

-void dmxCommonSaveState (pointer private) +
+
+ +
+
+ + + + +
#define GETDMXLOCALFROMPDEVICE
+
+ +
+ +
+
+ + + + +
#define GETONLYPRIVFROMPRIVATE   myPrivate *priv = private
+
+
-void dmxCommonRestoreState (pointer private) +

Referenced by dmxConsoleDrawWindows(), dmxConsoleFunctions(), dmxConsoleUpdateInfo(), and dmxConsoleUpdatePosition().

- -

Detailed Description

-Interface to functions used by backend and console input devices.
See also:
dmxcommon.c

-dmxbackend.c

-dmxconsole.c

-

Function Documentation

-

- - - - -
- - - - - - - - + + + +
+
+
pointer dmxCommonCopyPrivate DeviceIntPtr  pDevice  ) 
+ + -
#define GETPRIVFROMPDEV
-
- - - - - -
-   - - -

-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.

-

- - - - -
- + + + + +
+
+
+ + + +
#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, void dmxCommonKbdBell (DevicePtr  pDev,
int  percent, int  percent,
int  volume, int  volume,
int  pitch, int  pitch,
int  durationint  duration 
)
-
- - - - - -
-   - - -

-Sound they keyboard bell.

-

- - - - -
- + +
+

Sound they keyboard bell.

+ +

References GETPRIVFROMPDEV.

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

-Update the keyboard control.

-

- - - - -
- + +
+

Update the keyboard control.

+ +

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

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

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

-

- - - - -
- + +
+

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, void dmxCommonKbdGetMap (DevicePtr  pDev,
KeySymsPtr  pKeySyms, KeySymsPtr  pKeySyms,
CARD8 *  pModMapCARD8 *  pModMap 
)
-
- - - - - -
-   - - -

-Get the keyboard mapping.

-

- - - - -
- + +
+

Get the keyboard mapping.

+ +

References GETPRIVFROMPDEV.

+ +

Referenced by dmxBackendKbdGetInfo(), and dmxConsoleKbdGetInfo().

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

-Turn pDev off.

-

- - - - -
- + +
+

Turn pDev off.

+ +

References DMX_KEYBOARD_EVENT_MASK, dmxCommonRestoreState(), and GETPRIVFROMPDEV.

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

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

-

- - - - -
- + +
+

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

+ +

References DMX_KEYBOARD_EVENT_MASK, dmxCommonSaveState(), and GETPRIVFROMPDEV.

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

-Update the mouse control.

-

- - - - -
- + +
+

Update the mouse control.

+ +

References dmxCommonMouSetCtrl(), and GETPRIVFROMPDEV.

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

-Obtain the mouse button mapping.

-

- - - - -
- + +
+

Obtain the mouse button mapping.

+ +

References DMX_MAX_BUTTONS, and GETPRIVFROMPDEV.

+ +

Referenced by dmxBackendMouGetInfo(), and dmxConsoleMouGetInfo().

+ +
+ + +
+
+
- - - - - - + + + + + + -
void dmxCommonMouOff DevicePtr  pDev  ) void dmxCommonMouOff (DevicePtr  pDev ) 
-
- - - - - -
-   - - -

-Turn pDev off.

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + -
int dmxCommonMouOn DevicePtr  pDev  ) int dmxCommonMouOn (DevicePtr  pDev ) 
-
- - - - - -
-   - - -

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

-

- - - - -
- + + + + +
+
+
- - - - + + + + + - - - + + - - + + -
void dmxCommonOthGetInfo DevicePtr  pDev, void dmxCommonOthGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  infoDMXLocalInitInfoPtr  info 
)
-
- - - - - -
-   - - -

-Fill the info structure with information needed to initialize pDev.

-

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

-Turn pDev off.

-

- - - - -
- + +
+

Turn pDev off.

+ +

References GETPRIVFROMPDEV.

+ +
+ + +
+
+
- - - - - - + + + + + + -
int dmxCommonOthOn DevicePtr  pDev  ) int dmxCommonOthOn (DevicePtr  pDev ) 
-
- - - - - -
-   - - -

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

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + -
void dmxCommonRestoreState pointer  private  ) void dmxCommonRestoreState (pointer  private ) 
-
- - - - - -
-   - - -

-This routine restores all the information saved by dmxCommonSaveState.

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + -
void dmxCommonSaveState 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).

-

- - - - -
- + +
+

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 dmxFindPointerScreen (int  x,
int  yint  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.

+

+
+

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.

+ +
+
+

diff --git a/xorg-server/hw/dmx/doc/html/dmxcommon_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxcommon_8h_source.html new file mode 100644 index 000000000..eb99e95dc --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/dmxcommon_8h_source.html @@ -0,0 +1,156 @@ + + + + + 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 index fe1f991ea..c8100f532 100644 --- a/xorg-server/hw/dmx/doc/html/dmxcompat_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxcompat_8c.html @@ -6,54 +6,240 @@ - - -

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>
- - - - - + + +
+

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

DMXConfigEntryPtr dmxVDLRead (const char *filename)
+ + + + + +

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

-

- - - - -
- - - - - - - - +

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

+ +
+
+
DMXConfigEntryPtr dmxVDLRead const char *  filename  ) 
+ + + + + + + +
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]
-
- - - - - -
-   - + +
-

-Read from the VDL format filename and return a newly allocated DMXConfigEntryPtr

+

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().

+ +
+
+
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 5199ae022..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxcompat_8h-source.html +++ /dev/null @@ -1,61 +0,0 @@ - - - - - File Index - - - - - -

dmxcompat.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2002 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Rickard E. (Rik) Faith <faith@redhat.com>
-00032  *
-00033  */
-00034 
-00041 #ifndef _DMXCOMPAT_H_
-00042 #define _DMXCOMPAT_H_
-00043 
-00044 extern DMXConfigEntryPtr dmxVDLRead(const char *filename);
-00045 #endif
-

-
- - 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 index ab3412ac7..4fc44d7fa 100644 --- a/xorg-server/hw/dmx/doc/html/dmxcompat_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmxcompat_8h.html @@ -6,48 +6,58 @@ - - + + +

dmxcompat.h File Reference

-

-Go to the source code of this file. - - - - +

Go to the source code of this file.

+

Functions

DMXConfigEntryPtr dmxVDLRead (const char *filename)
+ +

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

-

- - - - -
- +

Detailed Description

+

Interface to VDL compatibility support.

+
See also:
dmxcompat.c
+

This file is not used by the DMX server.

+

Function Documentation

+ +
+
+
- - - - - - + + + + + + -
DMXConfigEntryPtr dmxVDLRead const char *  filename  ) DMXConfigEntryPtr dmxVDLRead (const char *  filename ) 
-
- - - - - -
-   - + +
+

Read from the VDL format filename and return a newly allocated DMXConfigEntryPtr

-

-Read from the VDL format filename and return a newly allocated DMXConfigEntryPtr

+

References display, dmxConfigAddEntry(), dmxConfigAddSub(), dmxConfigComment, dmxConfigCopyString(), dmxConfigCreateComment(), dmxConfigCreateDisplay(), dmxConfigCreateFullDim(), dmxConfigCreatePair(), dmxConfigCreatePartDim(), dmxConfigCreateString(), dmxConfigCreateVirtual(), dmxConfigSubDisplay(), dmxConfigVirtual, dmxVDLCount(), dmxVDLDisplayEntry(), dmxVDLReadLine(), dmxVDLVirtualEntry(), and str.

+ +

Referenced by main().

+ +
+ +
diff --git a/xorg-server/hw/dmx/doc/html/dmxcompat_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxcompat_8h_source.html new file mode 100644 index 000000000..16b073d47 --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/dmxcompat_8h_source.html @@ -0,0 +1,74 @@ + + + + + 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 index a20ab1c26..1a404fc5f 100644 --- a/xorg-server/hw/dmx/doc/html/dmxconfig_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxconfig_8c.html @@ -6,388 +6,849 @@ - - -

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"
- - - - + + +
+

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  DMXConfigCmdStruct
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

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.

-void dmxConfigStoreFile (const char *file) +

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

-void dmxConfigStoreConfig (const char *config) +

Referenced by dmxConfigSetMaxScreens(), and InitOutput().

-void dmxConfigConfigure (void) +
+
+ +
+
+ + + + + + + + + +
static void dmxConfigCopyData (DMXConfigVirtualPtr  v )  [static]
+
+
-void dmxConfigSetMaxScreens (void) +

References _DMXConfigVirtual::dim, _DMXConfigSub::display, dmxConfigCopyFromDisplay(), dmxConfigCopyFromOption(), dmxConfigCopyFromParam(), dmxConfigCopyFromWall(), dmxConfigDisplay, dmxConfigOption, dmxConfigParam, dmxConfigWall, dmxFatal, dmxLog(), dmxSetWidthHeight(), _DMXConfigSub::next, _DMXConfigSub::option, _DMXConfigSub::param, _DMXConfigVirtual::subentry, _DMXConfigSub::type, _DMXConfigSub::wall, _DMXConfigPair::x, and _DMXConfigPair::y.

- -

Detailed Description

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

Define Documentation

-

- - - +

Referenced by dmxConfigSetMaxScreens(), and InitOutput().

- + + + +
+
+
- - - - - - - - - - - - - - - -
#define GENparam,
glob,
def   )  +

Referenced by dmxConfigFromConfigFile().

+ + + + +
+
+ + + + + + + + +
static void dmxConfigCopyFromDisplay (DMXConfigDisplayPtr  d )  [static]
-
- - - - - -
-   - - -

-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 + static void dmxConfigCopyFromOption (DMXConfigOptionPtr  o )  [static]
-
- - - - - -
-   - - -

-This stucture stores the parsed configuration information.

-

- - - - -
- + + + + +
+
+
- + + + + + +
typedef struct DMXConfigCmdStruct * DMXConfigCmdPtr + static void dmxConfigCopyFromParam (DMXConfigParamPtr  p )  [static]
-
- - - - - -
-   - - -

-This stucture stores the parsed configuration information.

-

- - - - -
- + + + + +
+
+
- + + + + + +
typedef struct DMXConfigListStruct DMXConfigList + static void dmxConfigCopyFromWall (DMXConfigWallPtr  w )  [static]
-
- - - - - -
-   - - -

-Stores lists of configuration information.

-

- - - - -
- + + + + +
+
+
- + + + + + +
typedef struct DMXConfigListStruct * DMXConfigListPtr + static void dmxConfigFromCommandLine (void  )  [static]
-
- - - - - -
-   - - -

-Stores lists of configuration information.

-


Function Documentation

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + +
void dmxConfigConfigure void   ) static void dmxConfigFromConfigFile (void  )  [static]
+ + + + +
+
+ + + + + + + + + + + + + + + + + +
static const char* dmxConfigMatch (const char *  target,
DMXConfigEntryPtr  entry 
) [static]
-
- - - - - -
-   - - -

-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.

-

- - - - -
- + + + + +
+
+
+ + + + + + - - - - - - + + + + + + + + + +
static int dmxConfigReadFile (const char *  filename,
void dmxConfigSetMaxScreens void   ) 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.

-

- - - - -
- + +
+

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  ) 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 config should be used as the configuration for current instantiation of the DMX server.

-

- - - - -
- + +
+

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 dmxConfigStoreDisplay const char *  display  ) 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 display is the name of an X11 display that should be initialized as a backend (output) display. Called from ddxProcessArgument.

-

- - - - -
- + +
+

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 dmxConfigStoreFile const char *  file  ) 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  ) 
-
- - - - - -
-   - - -

-Make a note that file is the configuration file.

-

- - - - -
- + +
+ +

Referenced by dmxConfigReadFile(), and main().

+ +
+ +

Variable Documentation

+ +
+
+
- - - - - - + -
void dmxConfigStoreInput const char *  input  ) DMXConfigCmd dmxConfigCmd [static]
-
- - - - - -
-   - - -

-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).

-

- - - - -
- + +
+ +
+ + +
+
+
- - - - - - + +
void dmxConfigStoreXInput const char *  input  ) DMXConfigEntryPtr dmxConfigEntry
+ +
+ +

Referenced by main().

+
+ + +
+
+ + + +
int dmxDisplaysFromCommandLine [static]
-
- - - - - -
-   - - -

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

+ +

+ + +
+
+ + + + +
char* dmxXkbLayout [static]
+
+
+ +
+
+ +
+
+ + + + +
char* dmxXkbModel [static]
+
+
+ +
+
+ +
+
+ + + + +
char* dmxXkbOptions [static]
+
+
+ +
+
+ +
+
+ + + + +
char* dmxXkbRules [static]
+
+
+ +
+
+ +
+
+ + + + +
char* dmxXkbVariant [static]
+
+
+ +
+
+ +
+
+ + + + +
FILE* yyin
+
+
+ +

Referenced by dmxConfigReadFile().

+ +
+
+
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 eeaae6481..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxconfig_8h-source.html +++ /dev/null @@ -1,84 +0,0 @@ - - - - - File Index - - - - - -

dmxconfig.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2002 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Rickard E. (Rik) Faith <faith@redhat.com>
-00032  *
-00033  */
-00034 
-00038 #ifndef _DMXCONFIG_H_
-00039 #define _DMXCONFIG_H_
-00040 #define DMX_DEFAULT_XKB_RULES  "xfree86"
-00041 #define DMX_DEFAULT_XKB_MODEL  "pc101"
-00042 #define DMX_DEFAULT_XKB_LAYOUT "us"
-00043 #define DMX_DEFAULT_XKB_VARIANT NULL
-00044 #define DMX_DEFAULT_XKB_OPTIONS NULL
-00045 
-00046 extern void dmxConfigStoreDisplay(const char *display);
-00047 extern void dmxConfigStoreInput(const char *input); /* Core devices */
-00048 extern void dmxConfigStoreXInput(const char *input); /* Non-core devices */
-00049 extern void dmxConfigStoreFile(const char *file);
-00050 extern void dmxConfigStoreConfig(const char *config);
-00051 extern void dmxConfigConfigure(void);
-00052 extern void dmxConfigSetMaxScreens(void);
-00053 
-00054 extern void dmxConfigSetXkbRules(const char *rules);
-00055 extern void dmxConfigSetXkbModel(const char *model);
-00056 extern void dmxConfigSetXkbLayout(const char *layout);
-00057 extern void dmxConfigSetXkbVariant(const char *variant);
-00058 extern void dmxConfigSetXkbOptions(const char *options);
-00059 
-00060 extern char *dmxConfigGetXkbRules(void);
-00061 extern char *dmxConfigGetXkbModel(void);
-00062 extern char *dmxConfigGetXkbLayout(void);
-00063 extern char *dmxConfigGetXkbVariant(void);
-00064 extern char *dmxConfigGetXkbOptions(void);
-00065 #endif
-

-
- - 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 index 76c2eb03d..72d5e1e57 100644 --- a/xorg-server/hw/dmx/doc/html/dmxconfig_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmxconfig_8h.html @@ -6,234 +6,412 @@ - - -

dmxconfig.h File Reference

-

-Go to the source code of this file. - - - + + +
+

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)
+ + + + + + + + + + + + + + + + + + +

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.

-
void dmxConfigStoreXInput (const char *input)
void dmxConfigStoreFile (const char *file)
+ + + + + + + + +
char* dmxConfigGetXkbLayout (void  ) 
+

+
-void dmxConfigStoreConfig (const char *config) +

Referenced by dmxDeviceOnOff(), and dmxKeyboardOn().

-void dmxConfigConfigure (void) +
+
+ +
+
+ + + + + + + + + +
char* dmxConfigGetXkbModel (void  ) 
+
+
-void dmxConfigSetMaxScreens (void) +

Referenced by dmxDeviceOnOff(), and dmxKeyboardOn().

- -

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.

-

- - - - -
- + + + +
+
+
- - - - - - + + + + + + +
void dmxConfigSetMaxScreens void   ) char* dmxConfigGetXkbOptions (void  ) 
+ +
+

Referenced by dmxDeviceOnOff(), and dmxKeyboardOn().

+ +
+ + +
+
+ + + + + + + + +
char* dmxConfigGetXkbRules (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.

-

- - - - -
- + +
+ +

Referenced by dmxDeviceOnOff(), and dmxKeyboardOn().

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

Referenced by dmxDeviceOnOff(), and dmxKeyboardOn().

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

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

-

- - - - -
- + +
+

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 dmxConfigStoreDisplay const char *  display  ) void dmxConfigSetXkbLayout (const char *  layout ) 
+ + + + +
+
+ + + + + + + + +
void dmxConfigSetXkbModel (const char *  model ) 
-
- - - - - -
-   - - -

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

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + +
void dmxConfigStoreFile const char *  file  ) void dmxConfigSetXkbOptions (const char *  options ) 
+ + + + +
+
+ + + + + + + + +
void dmxConfigSetXkbRules (const char *  rules ) 
-
- - - - - -
-   - - -

-Make a note that file is the configuration file.

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + +
void dmxConfigStoreInput const char *  input  ) void dmxConfigSetXkbVariant (const char *  variant ) 
+ + + + +
+
+ + + + + + + + +
void dmxConfigStoreConfig (const char *  config ) 
-
- - - - - -
-   - - -

-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).

-

- - - - -
- + +
+

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 dmxConfigStoreXInput const char *  input  ) 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 input is the name of an X11 display that should be used for input from XInput extension devices.

+

+
+

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().

+ +
+
+
diff --git a/xorg-server/hw/dmx/doc/html/dmxconfig_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxconfig_8h_source.html new file mode 100644 index 000000000..836bd94be --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/dmxconfig_8h_source.html @@ -0,0 +1,94 @@ + + + + + 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 index 026847587..1ee466b09 100644 --- a/xorg-server/hw/dmx/doc/html/dmxconsole_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxconsole_8c.html @@ -6,484 +6,1468 @@ - - -

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"
- - - - + + +
+

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
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

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"
+
+
-

Functions

-pointer dmxConsoleCreatePrivate (DeviceIntPtr pDevice) +

Referenced by dmxConsoleInit().

-void dmxConsoleDestroyPrivate (pointer private) +
+
+ +
+
+ + + + +
#define CONSOLE_DEN   4
+
+
-void dmxConsoleUpdateInfo (pointer private, DMXUpdateType type, WindowPtr pWindow) +

Referenced by dmxConsoleComputeWidthHeight().

-void dmxConsoleUpdatePosition (pointer private, int x, int y) +
+
+ +
+
+ + + + +
#define CONSOLE_FG_COLOR   "black"
+
+
-void dmxConsoleCollectEvents (DevicePtr pDev, dmxMotionProcPtr motion, dmxEnqueueProcPtr enqueue, dmxCheckSpecialProcPtr checkspecial, DMXBlockType block) +
+
+ +
+
+ + + + +
#define CONSOLE_NUM   3
+
+
-void dmxConsoleReInit (DevicePtr pDev) +

Referenced by dmxConsoleComputeWidthHeight().

-void dmxConsoleInit (DevicePtr pDev) +
+
+ +
+
+ + + + +
#define CONSOLE_SCREEN_BG_COLOR   "white"
+
+
-void dmxConsoleMouGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info) +

Referenced by dmxConsoleInit().

-void dmxConsoleKbdGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info) +
+
+ +
+
+ + + + +
#define CONSOLE_SCREEN_CUR_COLOR   "red"
+
+
-int dmxConsoleFunctions (pointer private, DMXFunctionType function) +

Referenced by dmxConsoleInit().

-void dmxConsoleCapture (DMXInputInfo *dmxInput) +
+
+ +
+
+ + + + +
#define CONSOLE_SCREEN_DET_COLOR   "gray75"
+
+
-void dmxConsoleUncapture (DMXInputInfo *dmxInput) +

Referenced by dmxConsoleInit().

- -

Detailed Description

-This file implements the console input devices.

Function Documentation

-

- - - - -
- + + + +
+
+
- - - - - - + +
void dmxConsoleCapture DMXInputInfo dmxInput  ) #define CONSOLE_SCREEN_FG_COLOR   "black"
+ +
+

Referenced by dmxConsoleInit().

+ +
+ + +
+
+ + + +
#define DMX_CONSOLE_DEBUG   0
-
- - - - - -
-   - - -

-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.

-

- - - - -
- + +
+ +
+ + +
+
+
+ + + +
#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( ) 
+
+
+ +
+
+ +
+
+ - - - - + + + + + + + + + +
void dmxConsoleCollectEvents DevicePtr  pDev, #define DMXDBG1(f,
 ) 
+
+
+ +
+
+ +
+
+ + + + + + + + - - + + + + + - - +
#define DMXDBG2(f,
dmxMotionProcPtr  motion, a,
 )  dmxEnqueueProcPtr  enqueue,
+
+
+ +
+
+ +
+
+ + + + + + + + + + + - - + + + + + - - + +
#define DMXDBG3(f,
a,
dmxCheckSpecialProcPtr  checkspecial, b,
 )  DMXBlockType  block
+
+
+ +
+
+ +
+
+ + + + + + + + + + + - - + + + + + + + + + + + + + + +
#define DMXDBG4(f,
a,
b,
c,
 ) 
+
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#define DMXDBG5(f,
a,
b,
c,
d,
 ) 
-
- - - - - -
-   - - -

-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.

-

- - - - -
- + +
+ +
+ + +
+
+
- - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
pointer dmxConsoleCreatePrivate DeviceIntPtr  pDevice  ) #define DMXDBG6(f,
a,
b,
c,
d,
e,
 ) 
+ +
+
+ + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#define DMXDBG7(f,
a,
b,
c,
d,
e,
g,
 ) 
-
- - - - - -
-   - - -

-Create the private area for pDevice.

-

- - - - -
- + +
+ +
+ +

Typedef Documentation

+ +
+
+
- - - - - - + +
void dmxConsoleDestroyPrivate pointer  private  ) typedef struct _myPrivate myPrivate
+ +
+
+ +

Function Documentation

+ +
+
+ + + + + + + + +
static void dmxCloseConsole (myPrivate priv )  [static]
-
- - - - - -
-   - - -

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

-

- - - - -
- + + + + +
+
+
- - - - + + + + + + + + + - - + + +
int dmxConsoleFunctions pointer  private, static Bool dmxCloseConsoleScreen (int  idx,
ScreenPtr  pScreen 
DMXFunctionType  function) [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]
-
- - - - - -
-   - - -

-Handle special console-only keys.

-

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

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]
-
- - - - - -
-   - - -

-Initialized the console device described by pDev.

-

- - - - -
- + + + + +
+
+
- - - - + + + + + + +
void dmxConsoleKbdGetInfo DevicePtr  pDev, 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 )  DMXLocalInitInfoPtr  info
+
+
+

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

+ +
+
+ + + +
+
+ + + + + + + + + + + + + + + + + +
static void dmxConsoleDrawFineCursor (myPrivate priv,
XRectangle *  rect 
) [static]
-
- - - - - -
-   - - -

-Fill in the info structure for the specified pDev. Only used for keyboard.

-

- - - - -
- + + + + +
+
+
- - - - + + + + + + +
void dmxConsoleMouGetInfo DevicePtr  pDev, static void dmxConsoleDrawWindows (pointer  private )  [static]
+ + + + +
+
+ + + + + + + + + + + + - - + + +
int dmxConsoleFunctions (pointer  private,
DMXFunctionType  function 
DMXLocalInitInfoPtr  info)
+
+ +
+ + + +
+
+ + + + + + + + + + + + + + + + + +
void dmxConsoleKbdGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  info 
)
-
- - - - - -
-   - - -

-Fill in the info structure for the specified pDev. Only used for pointers.

-

- - - - -
- + + + + +
+
+
+ + + + + + + + + + + + + + + + + +
void dmxConsoleMouGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  info 
)
+ + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - + + + + + + + + + +
static void dmxConsoleMoveAbsolute (myPrivate priv,
int  x,
int  y,
DevicePtr  pDev,
dmxMotionProcPtr  motion,
void dmxConsoleReInit DevicePtr  pDev  ) DMXBlockType  block 
) [static]
+
+ +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
static void dmxConsoleMoveRelative (myPrivate priv,
int  x,
int  y,
DevicePtr  pDev,
dmxMotionProcPtr  motion,
DMXBlockType  block 
) [static]
-
- - - - - -
-   - - -

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

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + +
void dmxConsoleUncapture DMXInputInfo dmxInput  ) void dmxConsoleReInit (DevicePtr  pDev ) 
+ +
+

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

+

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

+ +
+ + +
+
+ + + + + + + + +
void dmxConsoleUncapture (DMXInputInfo dmxInput ) 
-
- - - - - -
-   - - -

-Undo the capture that was done by dmxConsoleCapture.

-

- - - - -
- + + + + +
+
+
- - - - + + + + + + +
void dmxConsoleUpdateInfo pointer  private, static void dmxConsoleUpdateFineCursor (myPrivate priv )  [static]
+ + + + +
+
+ + + + + + + + + + + + + - - + + + + + +
void dmxConsoleUpdateInfo (pointer  private,
DMXUpdateType  type,
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,
WindowPtr  pWindowint  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]
-
- - - - - -
-   - - -

-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.

-

- - - - -
- + + + + +
+
+
- - - - + + + + + + + + + + + + + +
void dmxConsoleUpdatePosition pointer  private, static int scalex (myPrivate priv,
int  x 
) [static]
+ + + + +
+
+ + + + + + + + + - - + + + + + +
static int scaley (myPrivate priv,
int  x, int  y 
) [static]
+
+ +
+ +
+
+ + + + + + + + + - - + + - - + + +
static int unscalex (myPrivate priv,
int  yint  x 
) [static]
+
+
+ +

References _myPrivate::xScale.

+ +

Referenced by dmxConsoleMoveAbsolute().

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

-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 _myPrivate::yScale.

+ +

Referenced by dmxConsoleMoveAbsolute().

+ +
+
+
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 b806b86fc..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxconsole_8h-source.html +++ /dev/null @@ -1,79 +0,0 @@ - - - - - File Index - - - - - -

dmxconsole.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2002 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Rickard E. (Rik) Faith <faith@redhat.com>
-00032  *
-00033  */
-00034 
-00038 #ifndef _DMXCONSOLE_H_
-00039 #define _DMXCONSOLE_H_
-00040 
-00041 extern pointer dmxConsoleCreatePrivate(DeviceIntPtr pDevice);
-00042 extern void    dmxConsoleDestroyPrivate(pointer private);
-00043 extern void    dmxConsoleInit(DevicePtr pDev);
-00044 extern void    dmxConsoleReInit(DevicePtr pDev);
-00045 extern void    dmxConsoleMouGetInfo(DevicePtr pDev, DMXLocalInitInfoPtr info);
-00046 extern void    dmxConsoleKbdGetInfo(DevicePtr pDev, DMXLocalInitInfoPtr info);
-00047 extern void    dmxConsoleCollectEvents(DevicePtr pDev,
-00048                                        dmxMotionProcPtr motion,
-00049                                        dmxEnqueueProcPtr enqueue,
-00050                                        dmxCheckSpecialProcPtr checkspecial,
-00051                                        DMXBlockType block);
-00052 extern int     dmxConsoleFunctions(pointer private, DMXFunctionType function);
-00053 extern void    dmxConsoleUpdatePosition(pointer private, int x, int y);
-00054 extern void    dmxConsoleKbdSetCtrl(pointer private, KeybdCtrl *ctrl);
-00055 extern void    dmxConsoleCapture(DMXInputInfo *dmxInput);
-00056 extern void    dmxConsoleUncapture(DMXInputInfo *dmxInput);
-00057 extern void    dmxConsoleUpdateInfo(pointer private,
-00058                                     DMXUpdateType, WindowPtr pWindow);
-00059 
-00060 #endif
-

-
- - 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 index 398f56a16..5baa40b29 100644 --- a/xorg-server/hw/dmx/doc/html/dmxconsole_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmxconsole_8h.html @@ -6,474 +6,413 @@ - - + + +

dmxconsole.h File Reference

-

-Go to the source code of this file. - - - - - - - - - - - - - - - - - - - - - - - - - - +

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 dmxConsoleCapture (DMXInputInfo *dmxInput)
void dmxConsoleUncapture (DMXInputInfo *dmxInput)
void dmxConsoleUpdateInfo (pointer private, DMXUpdateType, WindowPtr pWindow)
+ + + + + + + + + + + + + +

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

-

- - - - -
- - - - - - - - +

Detailed Description

+

Interface for console device support.

+
See also:
dmxconsole.c
+
+dmxcommon.c
+

Function Documentation

+ +
+
+
void dmxConsoleCapture DMXInputInfo dmxInput  ) 
+ + + + + + + -
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.

-

-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, void dmxConsoleCollectEvents (DevicePtr  pDev,
dmxMotionProcPtr  motion, dmxMotionProcPtr  motion,
dmxEnqueueProcPtr  enqueue, dmxEnqueueProcPtr  enqueue,
dmxCheckSpecialProcPtr  checkspecial, dmxCheckSpecialProcPtr  checkspecial,
DMXBlockType  blockDMXBlockType  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.

-

- - - - -
- - - - - - - - + +
+

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  ) 
+ + + + + + + -
pointer dmxConsoleCreatePrivate (DeviceIntPtr  pDevice ) 
-
- - - - - -
-   - - -

-Create the private area for pDevice.

-

- - - - -
- - - - - - - - + +
+

Create the private area for pDevice.

+ +

References GETDMXLOCALFROMPDEVICE.

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

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

-

- - - - -
- + +
+

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

+ +
+ + +
+
+
- - - - + + + + + - - - + + - - + + -
int dmxConsoleFunctions pointer  private, int dmxConsoleFunctions (pointer  private,
DMXFunctionType  functionDMXFunctionType  function 
)
-
- - - - - -
-   - - -

-Handle special console-only keys.

-

- - - - -
- - - - - - - - + + + + +
+
+
void dmxConsoleInit DevicePtr  pDev  ) 
+ + + + + + + -
void dmxConsoleInit (DevicePtr  pDev ) 
-
- - - - - -
-   - - -

-Initialized the console device described by pDev.

-

- - - - -
- + + + + +
+
+
- - - - + + + + + + + + + - - + + + +
void dmxConsoleKbdGetInfo DevicePtr  pDev, void dmxConsoleKbdGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  info 
DMXLocalInitInfoPtr  info)
+ + + + +
+
+ + + + + + + - - + + + + + + + -
void dmxConsoleKbdSetCtrl (pointer  private,
KeybdCtrl *  ctrl 
)
-
- - - - - -
-   - - -

-Fill in the info structure for the specified pDev. Only used for keyboard.

-

- - - - -
- + +
+ +
+ + +
+
+
- - - - + + + + + + + + + - - + + +
void dmxConsoleMouGetInfo DevicePtr  pDev, void dmxConsoleMouGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  info 
DMXLocalInitInfoPtr  info)
+ + + + +
+
+ + + + + + - - -
void dmxConsoleReInit (DevicePtr  pDev ) 
-
- - - - - -
-   - - -

-Fill in the info structure for the specified pDev. Only used for pointers.

-

- - - - -
- - - - - - - - + +
+

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

+ +

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

+ +
+ + +
+
+
void dmxConsoleReInit DevicePtr  pDev  ) 
+ + + + + + + -
void dmxConsoleUncapture (DMXInputInfo dmxInput ) 
-
- - - - - -
-   - + +
+

Undo the capture that was done by dmxConsoleCapture.

-

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

-

- - - - -
- - - - - - - - - +

References _myPrivate::captured, _DMXInputInfo::devs, DMX_LOCAL_MOUSE, DMX_LOCAL_TYPE_CONSOLE, DMXDBG0, dmxSync(), _DMXLocalInputInfo::extType, _DMXInputInfo::numDevs, _DMXLocalInputInfo::private, and _DMXLocalInputInfo::type.

-
void dmxConsoleUncapture DMXInputInfo dmxInput  ) 
-
- - - - - -
-   - +

Referenced by dmxBackendUpdatePosition(), and dmxConsoleCollectEvents().

-

-Undo the capture that was done by dmxConsoleCapture.

-

- - - - -
- + + + +
+
+
- - - - + + + + + - - - + + + - - - + + - - + + -
void dmxConsoleUpdateInfo pointer  private, void dmxConsoleUpdateInfo (pointer  private,
DMXUpdateType  type, DMXUpdateType  type,
WindowPtr  pWindowWindowPtr  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.

-

- - - - -
- + +
+

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, void dmxConsoleUpdatePosition (pointer  private,
int  x, int  x,
int  yint  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.

-

-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().

+ +
+ +
diff --git a/xorg-server/hw/dmx/doc/html/dmxconsole_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxconsole_8h_source.html new file mode 100644 index 000000000..1f3f4e911 --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/dmxconsole_8h_source.html @@ -0,0 +1,92 @@ + + + + + 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 index 744bc3547..f6abb7f83 100644 --- a/xorg-server/hw/dmx/doc/html/dmxcursor_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxcursor_8c.html @@ -6,457 +6,1444 @@ - - -

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"
- - - - + + +
+

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"
+

Functions

void dmxCursorNoMulti (void)
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

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
+
+
-void dmxReInitOrigins (void) +
+
+ +
+
+ + + + + + + + + +
#define DMXDBG0( ) 
+
+ +
+ +
+
+ + + + + + + + + + + + + + +
#define DMXDBG1(f,
 ) 
+
+
-void dmxInitOverlap (void) +

Referenced by dmxBackendLateReInit().

-void dmxBECreateCursor (ScreenPtr pScreen, CursorPtr pCursor) +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + +
#define DMXDBG2(f,
a,
 ) 
+
+ +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
#define DMXDBG3(f,
a,
b,
 ) 
+
+ +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#define DMXDBG4(f,
a,
b,
c,
 ) 
+
+ +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#define DMXDBG5(f,
a,
b,
c,
d,
 ) 
+
+
- -

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.


Function Documentation

-

- - - - -
- +

Referenced by _dmxMoveCursor(), dmxBackendCollectEvents(), dmxBackendUpdatePosition(), dmxConsoleCollectEvents(), dmxCoreMotion(), and dmxSetCursor().

+ + + + +
+
+
+ + + + + + + + + + + + + + + - - - - + + + + + + + + - - + + + + + + - - +
#define DMXDBG6(f,
a,
b,
void dmxBECreateCursor ScreenPtr  pScreen, c,
d,
CursorPtr  pCursore,
 ) 
+ + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#define DMXDBG7(f,
a,
b,
c,
d,
e,
g,
 ) 
-
- - - - - -
-   - - -

-Create pCursor on the back-end associated with pScreen.

-

- - - - -
- + +
+ +

Referenced by dmxBackendCollectEvents().

+ +
+ +

Function Documentation

+ +
+
+
- - - - + + + + + + + + + + - - + + - - + + +
Bool dmxBEFreeCursor ScreenPtr  pScreen, static void _dmxMoveCursor (ScreenPtr  pScreen,
int  x,
CursorPtr  pCursorint  y 
) [static]
+ + + + +
+
+ + + + + + + + + + + + + + + + + +
static Bool _dmxRealizeCursor (ScreenPtr  pScreen,
CursorPtr  pCursor 
) [static]
-
- - - - - -
-   - - -

-Free pCursor on the back-end associated with pScreen.

-

- - - - -
- + + + + +
+
+
+ + + + + + + + + + + + + + + + + + - - - - - - + + + + + + + + + +
static void _dmxSetCursor (ScreenPtr  pScreen,
CursorPtr  pCursor,
int  x,
void dmxCheckCursor void   ) int  y 
) [static]
+ + + + +
+
+ + + + + + + + + + + + + + + + + +
static Bool _dmxUnrealizeCursor (ScreenPtr  pScreen,
CursorPtr  pCursor 
) [static]
-
- - - - - -
-   - - -

-This routine is called during reconfiguration to make sure the cursor is visible.

-

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

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

-

- - - - -
- + +
+

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 dmxHideCursor DMXScreenInfo dmxScreen  ) void dmxCheckCursor (void  ) 
+ + + + +
+
+ + + + + + + + +
static void dmxComputeScreenOrigins (void  )  [static]
-
- - - - - -
-   - - -

-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
-
-

- - - - -
- + + + + +
+
+
+ + + + + + - - - - - - + + + + + + + + + +
static void dmxCrossScreen (ScreenPtr  pScreen,
void dmxInitOrigins void   ) Bool  entering 
) [static]
+ +
+
+ + +
+
+ + + + + + + + +
void dmxCursorNoMulti (void  ) 
-
- - - - - -
-   - - -

-Initialize screen origins (and relative position). This is called for each server generation. For dynamic reconfiguration, use dmxReInitOrigins() instead.

-

- - - - -
- + +
+

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 
void dmxInitOverlap void   ) ) [static]
+ + + + +
+
+ + + + + + + + + + + + + + + + + +
static void dmxDeviceCursorCleanup (DeviceIntPtr  pDev,
ScreenPtr  pScr 
) [static]
-
- - - - - -
-   - - -

-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 .

-

- - - - -
- + +
+ +
+ + +
+
+
- - - - + + + + + + + + + - - + + + +
void dmxMoveCursor ScreenPtr  pScreen, static Bool dmxDeviceCursorInitialize (DeviceIntPtr  pDev,
ScreenPtr  pScr 
int  x, ) [static]
+ +
+ +
+ + +
+
+ + + + + + + + + + + - - + + +
static int dmxDoesOverlap (DMXScreenInfo a,
DMXScreenInfo b 
int  y) [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 dmxInitOrigins (void  ) 
-
- - - - - -
-   - - -

-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.

-

- - - - -
- + + + + +
+
+
- - - - + + + + + + + +
int dmxOnScreen int  x, 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,
int  y, 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,
DMXScreenInfo dmxScreenScreenPtr  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 
)
-
- - - - - -
-   - - -

-Returns non-zero if the global x, y coordinate is on the screen window of the dmxScreen.

-

- - - - -
- + + + + +
+
+
+ + + + + + + + + + + + - - - - - - + + + +
static void* dmxPrintOverlap (DMXScreenInfo dmxScreen,
void *  closure 
void dmxReInitOrigins void   ) ) [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]
-
- - - - - -
-   - - -

-Recompute origin information in the dmxScreens list. This is either called from dmxInitOrigins() or from #dmxReconfig().

-


Variable Documentation

-

- - - - -
- + + + + +
+
+
- + + + + + +
miPointerScreenFuncRec dmxPointerCursorFuncs + void dmxReInitOrigins (void  ) 
-
- - - - - -
-   - - -

-Initial value:

+
+ + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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,
-    dmxeqEnqueue,
-    dmxeqSwitchScreen
+    dmxCursorOffScreen,
+    dmxCrossScreen,
+    dmxWarpCursor,
+    NULL,
+    NULL,
 }
-
Cursor functions for mi layer.
See also:
dmxcursor.c

+

Cursor functions for mi layer.

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

- - - - -
- + +

Referenced by dmxScreenInit().

+ + + + +
+
+
- +
miPointerSpriteFuncRec dmxPointerSpriteFuncs + miPointerSpriteFuncRec dmxPointerSpriteFuncs
-
- - - - - -
-   - - -

-Initial value:

+
+
+Initial value:
 {
-    dmxRealizeCursor,
-    dmxUnrealizeCursor,
-    dmxSetCursor,
-    dmxMoveCursor,
+    dmxRealizeCursor,
+    dmxUnrealizeCursor,
+    dmxSetCursor,
+    dmxMoveCursor,
+    dmxDeviceCursorInitialize,
+    dmxDeviceCursorCleanup
 }
-
Sprite functions for mi layer.
See also:
dmxcursor.c

+

Sprite functions for mi layer.

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

Referenced by dmxScreenInit().

+ +
+
+
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 c9a7c8d4d..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxcursor_8h-source.html +++ /dev/null @@ -1,86 +0,0 @@ - - - - - File Index - - - - - -

dmxcursor.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2001-2004 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   David H. Dawes <dawes@xfree86.org>
-00032  *   Kevin E. Martin <kem@redhat.com>
-00033  *   Rickard E. (Rik) Faith <faith@redhat.com>
-00034  *
-00035  */
-00036 
-00040 #ifndef DMXCURSOR_H
-00041 #define DMXCURSOR_H
-00042 
-00043 #include "mipointer.h"
-00044 
-00046 typedef struct _dmxCursorPriv {
-00047     Cursor  cursor;
-00048 } dmxCursorPrivRec, *dmxCursorPrivPtr;
-00049 
-00051 extern miPointerScreenFuncRec dmxPointerCursorFuncs;
-00053 extern miPointerSpriteFuncRec dmxPointerSpriteFuncs;
-00054 
-00055 extern void dmxReInitOrigins(void);
-00056 extern void dmxInitOrigins(void);
-00057 extern void dmxInitOverlap(void);
-00058 extern void dmxCursorNoMulti(void);
-00059 extern void dmxMoveCursor(ScreenPtr pScreen, int x, int y);
-00060 extern void dmxCheckCursor(void);
-00061 extern int  dmxOnScreen(int x, int y, DMXScreenInfo *dmxScreen);
-00062 extern void dmxHideCursor(DMXScreenInfo *dmxScreen);
-00063 
-00064 extern void dmxBECreateCursor(ScreenPtr pScreen, CursorPtr pCursor);
-00065 extern Bool dmxBEFreeCursor(ScreenPtr pScreen, CursorPtr pCursor);
-00066 
-00067 #define DMX_GET_CURSOR_PRIV(_pCursor, _pScreen)                         \
-00068     (dmxCursorPrivPtr)(_pCursor)->devPriv[(_pScreen)->myNum]
-00069 
-00070 #endif /* DMXCURSOR_H */
-

-
- - 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 index 3bb81f00f..93ac65165 100644 --- a/xorg-server/hw/dmx/doc/html/dmxcursor_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmxcursor_8h.html @@ -6,484 +6,464 @@ - - -

dmxcursor.h File Reference

#include "mipointer.h"
- -

-Go to the source code of this file. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + +
+

dmxcursor.h File Reference

#include "mipointer.h"
+ +

Go to the source code of this file.

+

Data Structures

struct  _dmxCursorPriv

Typedefs

typedef _dmxCursorPriv dmxCursorPrivRec
typedef _dmxCursorPrivdmxCursorPrivPtr

Functions

void dmxReInitOrigins (void)
void dmxInitOrigins (void)
void dmxInitOverlap (void)
void dmxCursorNoMulti (void)
void dmxMoveCursor (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
+ + + + + + + + + + + + + + + + + + + + + +

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.
-

Typedef Documentation

-

- - - - -
- +

Detailed Description

+

Interface for cursor support.

+
See also:
dmxcursor.c.
+

Define Documentation

+ +
+
+
-
typedef struct _dmxCursorPriv * dmxCursorPrivPtr -
-
- - - - - -
-   - - -

-Cursor private area.

-

- - - - -
- + + + + - + + + + + +
#define DMX_GET_CURSOR_PRIV(_pCursor,
typedef struct _dmxCursorPriv dmxCursorPrivRec + _pScreen  ) 
-
- - - - - -
-   - - -

-Cursor private area.

-


Function Documentation

-

- - - - -
- + +
+Value:
((dmxCursorPrivPtr) \
+    dixLookupPrivate(&(_pCursor)->devPrivates, CursorScreenKey(_pScreen)))
+
+

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

+ +
+ + +
+
+
- - - - + + + + - - - + + - - + + + + -
void dmxBECreateCursor ScreenPtr  pScreen, #define DMX_SET_CURSOR_PRIV(_pCursor,
CursorPtr  pCursor_pScreen,
 )    dixSetPrivate(&(_pCursor)->devPrivates, CursorScreenKey(_pScreen), v)
-
- - - - - -
-   - - -

-Create pCursor on the back-end associated with pScreen.

-

- - - - -
- + +
+ +

Referenced by _dmxRealizeCursor(), and _dmxUnrealizeCursor().

+ +
+ +

Typedef Documentation

+ +
+
+
- - - - + +
Bool dmxBEFreeCursor ScreenPtr  pScreen, typedef struct _dmxCursorPriv * dmxCursorPrivPtr
+ +
+ +
+ + +
+
+ + + +
typedef struct _dmxCursorPriv dmxCursorPrivRec
+
+
+

Cursor private area.

+ +
+
+

Function Documentation

+ +
+
+ + + + + + + + + - - - + + - - + + -
void dmxBECreateCursor (ScreenPtr  pScreen,
CursorPtr  pCursorCursorPtr  pCursor 
)
-
- - - - - -
-   - - -

-Free pCursor on the back-end associated with pScreen.

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + - -
void dmxCheckCursor void   ) Bool dmxBEFreeCursor (ScreenPtr  pScreen,
-
- - - - - -
-   - - -

-This routine is called during reconfiguration to make sure the cursor is visible.

-

- - - - -
- - - - - - - + + + + - -
void dmxCursorNoMulti void   ) CursorPtr  pCursor 
-
- - - - - -
-   - - -

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

-

- - - - -
- - - - - - - + + + +
void dmxHideCursor DMXScreenInfo dmxScreen  ) )
+ +
+

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  ) 
-
- - - - - -
-   - - -

-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
-
-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + +
void dmxInitOrigins 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 ) 
-
- - - - - -
-   - - -

-Initialize screen origins (and relative position). This is called for each server generation. For dynamic reconfiguration, use dmxReInitOrigins() instead.

-

- - - - -
- + +
+

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   ) void dmxInitOrigins (void  ) 
+ + + + +
+
+ + + + + + + + +
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 .

-

- - - - -
- + +
+

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 ScreenPtr  pScreen, void dmxMoveCursor (DeviceIntPtr  pDev,
int  x, ScreenPtr  pScreen,
int  x,
int  yint  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.

-

- - - - -
- + +
+

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 dmxOnScreen (int  x,
int  y, int  y,
DMXScreenInfo dmxScreenDMXScreenInfo dmxScreen 
)
-
- - - - - -
-   - - -

-Returns non-zero if the global x, y coordinate is on the screen window of the dmxScreen.

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + -
void dmxReInitOrigins void   ) void dmxReInitOrigins (void  ) 
-
- - - - - -
-   - - -

-Recompute origin information in the dmxScreens list. This is either called from dmxInitOrigins() or from #dmxReconfig().

-


Variable Documentation

-

- - - - -
- + + + +

Variable Documentation

+ +
+
+
- +
miPointerScreenFuncRec dmxPointerCursorFuncs + miPointerScreenFuncRec dmxPointerCursorFuncs
-
- - - - - -
-   - - -

-Cursor functions for mi layer.

See also:
dmxcursor.c

+ +

+

Cursor functions for mi layer.

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

- - - - -
- + +

Referenced by dmxScreenInit().

+ + + + +
+
+
- +
miPointerSpriteFuncRec dmxPointerSpriteFuncs + miPointerSpriteFuncRec dmxPointerSpriteFuncs
-
- - - - - -
-   - - -

-Sprite functions for mi layer.

See also:
dmxcursor.c

+ +

+

Sprite functions for mi layer.

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

Referenced by dmxScreenInit().

+ + + +
diff --git a/xorg-server/hw/dmx/doc/html/dmxcursor_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxcursor_8h_source.html new file mode 100644 index 000000000..6211c73eb --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/dmxcursor_8h_source.html @@ -0,0 +1,102 @@ + + + + + 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 index e311a99bd..b1394f74c 100644 --- a/xorg-server/hw/dmx/doc/html/dmxdetach_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxdetach_8c.html @@ -6,56 +6,65 @@ - - -

dmxdetach.c File Reference

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

dmxdetach.c File Reference

#include "dmxinputinit.h"
+#include "dmxextension.h"
+

Functions

void dmxInputDetach (DMXScreenInfo *dmxScreen, Bool reserveId)
+ +

Functions

void dmxInputDetach (DMXScreenInfo *dmxScreen, Bool reserveId)
-

Detailed Description

-Provide support and helper functions for input detach and attach.

Function Documentation

-

- - - - -
- +

Detailed Description

+

Provide support and helper functions for input detach and attach.

+

Function Documentation

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

Search for input associated with dmxScreen, and detach.

-

-Search for input associated with dmxScreen, and detach.

+

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

+ +

Referenced by dmxInputDetachAll(), and dmxInputDetachId().

+ + + +
diff --git a/xorg-server/hw/dmx/doc/html/dmxdpms_8c.html b/xorg-server/hw/dmx/doc/html/dmxdpms_8c.html index 4ad87da6d..2912b4e7c 100644 --- a/xorg-server/hw/dmx/doc/html/dmxdpms_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxdpms_8c.html @@ -6,114 +6,161 @@ - - -

dmxdpms.c File Reference

#include "dmx.h"
-#include "dmxdpms.h"
-#include "dmxlog.h"
-#include "dmxsync.h"
-#include "dpmsproc.h"
-#include "windowstr.h"
-#include "X11/extensions/dpms.h"
- - - - + + +
+

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

void dmxDPMSInit (DMXScreenInfo *dmxScreen)
+ + + + + + + + +

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

+ +
+
+ + + + + + + + + +
static void _dmxDPMSInit (DMXScreenInfo dmxScreen )  [static]
+
+
-void dmxDPMSTerm (DMXScreenInfo *dmxScreen) +

References _DMXScreenInfo::beDisplay, dmxLogOutput(), _DMXScreenInfo::dpmsCapable, _DMXScreenInfo::dpmsEnabled, dpmsGeneration, _DMXScreenInfo::dpmsOff, _DMXScreenInfo::dpmsStandby, dpmsSupported, and _DMXScreenInfo::dpmsSuspend.

-void dmxDPMSWakeup (void) +

Referenced by dmxDPMSInit().

- -

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  ) void dmxDPMSInit (DMXScreenInfo dmxScreen ) 
-
- - - - - -
-   - + +
+

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

-

-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 dmxDPMSTerm (DMXScreenInfo dmxScreen ) 
+ + + + +
+
+ + + + + + + + +
void dmxDPMSWakeup (void  ) 
-
- - - - - -
-   - + +
+

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

-

-Terminate DPMS support on dmxScreen. We restore the settings saved in dmxDPMSInit.

-

- - - - -
- + + +

Variable Documentation

+ +
+
+
- - - - - - + +
void dmxDPMSWakeup void   ) unsigned long dpmsGeneration = 0 [static]
+ +
+

Referenced by _dmxDPMSInit().

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

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

+

Referenced by _dmxDPMSInit().

+ +
+
+
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 ff74d3ab5..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxdpms_8h-source.html +++ /dev/null @@ -1,62 +0,0 @@ - - - - - File Index - - - - - -

dmxdpms.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2003 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Author:
-00031  *   Rickard E. (Rik) Faith <faith@redhat.com>
-00032  *
-00033  */
-00034 
-00038 #ifndef _DMXDPMS_H_
-00039 #define _DMXDPMS_H_
-00040 extern void dmxDPMSInit(DMXScreenInfo *dmxScreen);
-00041 extern void dmxDPMSTerm(DMXScreenInfo *dmxScreen);
-00042 extern void dmxDPMSWakeup(void); /* Call when input is processed */
-00043 #endif
-

-
- - 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 index 45b5a6495..d9254f24b 100644 --- a/xorg-server/hw/dmx/doc/html/dmxdpms_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmxdpms_8h.html @@ -6,110 +6,101 @@ - - + + +

dmxdpms.h File Reference

-

-Go to the source code of this file. - - - - - - - - +

Go to the source code of this file.

+

Functions

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

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

-

- - - - -
- +

Detailed Description

+

Interface for DPMS extension support.

+
See also:
dmxdpms.c
+

Function Documentation

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

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

-

-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 dmxDPMSTerm (DMXScreenInfo dmxScreen ) 
-
- - - - - -
-   - + +
+

Terminate DPMS support on dmxScreen. We restore the settings saved in dmxDPMSInit.

-

-Terminate DPMS support on dmxScreen. We restore the settings saved in dmxDPMSInit.

-

- - - - -
- +

References _DMXScreenInfo::beDisplay, dmxSync(), _DMXScreenInfo::dpmsCapable, _DMXScreenInfo::dpmsEnabled, _DMXScreenInfo::dpmsOff, _DMXScreenInfo::dpmsStandby, _DMXScreenInfo::dpmsSuspend, and _DMXScreenInfo::savedTimeout.

+ +

Referenced by dmxBECloseScreen().

+ + + + +
+
+
- - - - - - + + + + + + -
void dmxDPMSWakeup void   ) void dmxDPMSWakeup (void  ) 
-
- - - - - -
-   - + +
+

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

-

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

+

+ +
diff --git a/xorg-server/hw/dmx/doc/html/dmxdpms_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxdpms_8h_source.html new file mode 100644 index 000000000..892d60eeb --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/dmxdpms_8h_source.html @@ -0,0 +1,75 @@ + + + + + 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 index d497e154a..f504a462f 100644 --- a/xorg-server/hw/dmx/doc/html/dmxdummy_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxdummy_8c.html @@ -6,97 +6,95 @@ - - -

dmxdummy.c File Reference

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

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)
+ + +

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

-

- - - - -
- +

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, void dmxDummyKbdGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  infoDMXLocalInitInfoPtr  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

-

-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, void dmxDummyMouGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  infoDMXLocalInitInfoPtr  info 
)
-
- - - - - -
-   - + +
+

Return information about the dummy mouse device specified in pDev into the structure pointed to by info. They mouse has 3 buttons and two axes.

-

-Return information about the dummy mouse device specified in pDev into the structure pointed to by info. They mouse has 3 buttons and two axes.

+

References _DMXLocalInitInfo::buttonClass, _DMXLocalInitInfo::map, _DMXLocalInitInfo::maxres, _DMXLocalInitInfo::maxval, _DMXLocalInitInfo::minres, _DMXLocalInitInfo::minval, _DMXLocalInitInfo::numButtons, _DMXLocalInitInfo::numRelAxes, _DMXLocalInitInfo::ptrFeedbackClass, _DMXLocalInitInfo::res, and _DMXLocalInitInfo::valuatorClass.

+ + + +
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 907b0f0aa..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxdummy_8h-source.html +++ /dev/null @@ -1,63 +0,0 @@ - - - - - File Index - - - - - -

dmxdummy.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2002 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Rickard E. (Rik) Faith <faith@redhat.com>
-00032  *
-00033  */
-00034 
-00038 #ifndef _DMXDUMMY_H_
-00039 #define _DMXDUMMY_H_
-00040 
-00041 extern void dmxDummyMouGetInfo(DevicePtr pDev, DMXLocalInitInfoPtr info);
-00042 extern void dmxDummyKbdGetInfo(DevicePtr pDev, DMXLocalInitInfoPtr info);
-00043 
-00044 #endif
-

-
- - 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 index ca868f943..158731b70 100644 --- a/xorg-server/hw/dmx/doc/html/dmxdummy_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmxdummy_8h.html @@ -6,97 +6,95 @@ - - + + +

dmxdummy.h File Reference

-

-Go to the source code of this file. - - - - - - +

Go to the source code of this file.

+

Functions

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

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

-

- - - - -
- +

Detailed Description

+

Interface to dummy input device support.

+
See also:
dmxdummy.c
+

Function Documentation

+ +
+
+
- - - - + + + + + - - - + + - - + + -
void dmxDummyKbdGetInfo DevicePtr  pDev, void dmxDummyKbdGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  infoDMXLocalInitInfoPtr  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

-

-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, void dmxDummyMouGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  infoDMXLocalInitInfoPtr  info 
)
-
- - - - - -
-   - + +
+

Return information about the dummy mouse device specified in pDev into the structure pointed to by info. They mouse has 3 buttons and two axes.

-

-Return information about the dummy mouse device specified in pDev into the structure pointed to by info. They mouse has 3 buttons and two axes.

+

References _DMXLocalInitInfo::buttonClass, _DMXLocalInitInfo::map, _DMXLocalInitInfo::maxres, _DMXLocalInitInfo::maxval, _DMXLocalInitInfo::minres, _DMXLocalInitInfo::minval, _DMXLocalInitInfo::numButtons, _DMXLocalInitInfo::numRelAxes, _DMXLocalInitInfo::ptrFeedbackClass, _DMXLocalInitInfo::res, and _DMXLocalInitInfo::valuatorClass.

+ +
+ +
diff --git a/xorg-server/hw/dmx/doc/html/dmxdummy_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxdummy_8h_source.html new file mode 100644 index 000000000..0eff00785 --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/dmxdummy_8h_source.html @@ -0,0 +1,76 @@ + + + + + File Index + + + + + +
+
+ + Generated June 29, 2004 for Distributed Multihead X by + doxygen + 1.3.4. + + + + + diff --git a/xorg-server/hw/dmx/doc/html/dmxeq_8c.html b/xorg-server/hw/dmx/doc/html/dmxeq_8c.html deleted file mode 100644 index ccf71b829..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxeq_8c.html +++ /dev/null @@ -1,269 +0,0 @@ - - - - - File Index - - - - - -

dmxeq.c File Reference

#include "dmx.h"
-#include "dmxeq.h"
-#include "dmxinput.h"
-#include "dmxlog.h"
-#include "dmxdpms.h"
-#include "inputstr.h"
-#include "scrnintstr.h"
-#include "XIproto.h"
-#include "extinit.h"
- - - - - - - - - - - - - - - - - - - - - - - - - - -

Data Structures

struct  _Event
struct  _EventQueue

Defines

#define QUEUE_SIZE   256

Typedefs

typedef _Event EventRec
typedef _EventEventPtr
typedef _EventQueue EventQueueRec
typedef _EventQueueEventQueuePtr

Functions

void dmxeqEnqueue (xEvent *e)
void dmxeqSwitchScreen (ScreenPtr pScreen, Bool fromDIX)
void dmxeqProcessInputEvents (void)
-

Detailed Description

-This file provides an event queue that knows about XInput events. All of the code is based on mi/mieq.c and was modified as little as possible to provide XInput event support (the copyright and some of the comments are from The Open Group, Keith Packard, MIT X Consortium). (Another example of similar code is provided in hw/xfree86/common/xf86Xinput.c.)

Define Documentation

-

- - - - -
- - -
#define QUEUE_SIZE   256 -
-
- - - - - -
-   - - -

-The size of our queue. (The queue provided by mi/mieq.c has a size of 256.)

-


Typedef Documentation

-

- - - - -
- - -
typedef struct _Event * EventPtr -
-
- - - - - -
-   - - -

-Information about the event.

-

- - - - -
- - -
typedef struct _EventQueue * EventQueuePtr -
-
- - - - - -
-   - - -

-Event queue.

-

- - - - -
- - -
typedef struct _EventQueue EventQueueRec -
-
- - - - - -
-   - - -

-Event queue.

-

- - - - -
- - -
typedef struct _Event EventRec -
-
- - - - - -
-   - - -

-Information about the event.

-


Function Documentation

-

- - - - -
- - - - - - - - - - -
void dmxeqEnqueue xEvent *  e  ) 
-
- - - - - -
-   - - -

-This function adds an event to the end of the queue. If the event is an XInput event, then the next event (the valuator event) is also stored in the queue. If the new event has a time before the time of the last event currently on the queue, then the time is updated for the new event.

-Must be reentrant with ProcessInputEvents. Assumption: dmxeqEnqueue will never be interrupted. If this is called from both signal handlers and regular code, make sure the signal is suspended when called from regular code.

-

- - - - -
- - - - - - - - - - -
void dmxeqProcessInputEvents void   ) 
-
- - - - - -
-   - - -

-This function is called from ProcessInputEvents() to remove events from the queue and process them.

-

- - - - -
- - - - - - - - - - - - - - - - - - - -
void dmxeqSwitchScreen ScreenPtr  pScreen,
Bool  fromDIX
-
- - - - - -
-   - - -

-Make pScreen the new screen for enqueueing events. If fromDIX is TRUE, also make pScreen the new screen for dequeuing events.

-


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

dmxeq.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2002 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Rickard E. (Rik) Faith <faith@redhat.com>
-00032  *
-00033  */
-00034 
-00040 #ifndef _DMXEQ_H_
-00041 #define _DMXEQ_H_
-00042 extern Bool dmxeqInit(DevicePtr pKbd, DevicePtr pPtr);
-00043 extern void dmxeqProcessInputEvents(void);
-00044 #endif
-

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

dmxeq.h File Reference

-

-Go to the source code of this file. - - - - -

Functions

void dmxeqProcessInputEvents (void)
-


Detailed Description

-Interface to the event queue support. Some of these functions are included in dmxinput.h, since they are used by top-level .c files.
See also:
dmxeq.c

-dmxinput.h

-

Function Documentation

-

- - - - -
- - - - - - - - - - -
void dmxeqProcessInputEvents void   ) 
-
- - - - - -
-   - - -

-This function is called from ProcessInputEvents() to remove events from the queue and process them.

-


-
- - 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 index 105749a00..ad24bc82a 100644 --- a/xorg-server/hw/dmx/doc/html/dmxevents_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxevents_8c.html @@ -6,270 +6,1084 @@ - - -

dmxevents.c File Reference

#include "dmxinputinit.h"
-#include "dmxevents.h"
-#include "dmxcb.h"
-#include "dmxcommon.h"
-#include "dmxcursor.h"
-#include "dmxmotion.h"
-#include "dmxeq.h"
-#include "dmxsigio.h"
-#include "dmxmap.h"
-#include "keysym.h"
-#include "opaque.h"
-#include "inputstr.h"
-#include "mipointer.h"
-#include "XIstubs.h"
- - - - - - - - - - - - - + + +
+

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"
+

Functions

void dmxGetGlobalPosition (int *x, int *y)
void dmxInvalidateGlobalPosition (void)
void dmxMotion (DevicePtr pDev, int *v, int firstAxes, 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)
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

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.

Function Documentation

-

- - - - -
- +

Detailed Description

+

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

+

Define Documentation

+ +
+
+
- - - - + +
int dmxCheckSpecialKeys DevicePtr  pDev, #define DMX_EVENTS_DEBUG   0
+ +
+ +
+ + +
+
+ + + +
#define DMX_MAX_AXES   32
+
+
+ +

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

+ +
+
+ +
+
+ + + + + + + + +
#define DMXDBG0( ) 
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + +
#define DMXDBG1(f,
 ) 
+
+
+ +
+
+ +
+
+ + + + + + + + - - + + + + + + - - +
#define DMXDBG2(f,
KeySym  keySyma,
 ) 
+
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + +
#define DMXDBG3(f,
a,
b,
 ) 
-
- - - - - -
-   - - -

-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.

-

- - - - -
- + +
+ +
+ + +
+
+
+ + + + + + + + + + + + + + + - - - - + + + + + + + - - +
#define DMXDBG4(f,
a,
b,
void dmxEnqueue DevicePtr  pDev, c,
 )  int  type,
+ +
+ +
+ + +
+
+ + + + + + + + + + + + + + + + + + + + + - - + + + + + + + +
#define DMXDBG5(f,
a,
b,
c,
int  detail, d,
 ) 
+
+
+ +
+
+ +
+
+ + + + + + + + - - + + + + + + - - + + + + + + - - + + + + + + - - +
#define DMXDBG6(f,
KeySym  keySym, a,
b,
XEvent *  e, c,
d,
DMXBlockType  blocke,
 ) 
+
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#define DMXDBG7(f,
a,
b,
c,
d,
e,
g,
 ) 
-
- - - - - -
-   - - -

-Enqueue a non-motion 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.

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

-

- - - - -
- + +
+ +
+ + +
+
+
- - - - + + + + + + + + + +
void dmxGetGlobalPosition int *  x, #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,
int *  yDMXFunctionType  f 
) [static]
+
+ +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + +
static int dmxCheckFunctionKeys (DMXLocalInputInfoPtr  dmxLocal,
int  type,
KeySym  keySym 
) [static]
-
- - - - - -
-   - - -

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

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + + + + + + + + + + +
void dmxInvalidateGlobalPosition void   ) 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 dmxCoreMotion (DevicePtr  pDev,
int  x,
int  y,
int  delta,
DMXBlockType  block 
)
-
- - - - - -
-   - - -

-Invalidate the global position for #dmxCoreMotion.

-

- - - - -
- + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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,
void dmxMotion DevicePtr  pDev, int  axesCount,
DMXMotionType  type,
int *  v, 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  firstAxes, int  detail,
KeySym  keySym 
int  axesCount, ) [static]
+
+ +
+ +
+
+ + + + + + + + + + + - - + + + +
static int dmxGetButtonMapping (DMXLocalInputInfoPtr  dmxLocal,
int  button 
DMXMotionType  type, ) [static]
+
+
+ +

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

+ +

Referenced by dmxEnqueue().

+ +
+
+ +
+
+ + + + + + + + + + + - - + + +
void dmxGetGlobalPosition (int *  x,
int *  y 
DMXBlockType  block)
+
+
+

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]
-
- - - - - -
-   - - -

-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 dmxeqEnqueue().

+ +

+ +

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]
+
+ +
+
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 ead3c2d9f..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxevents_8h-source.html +++ /dev/null @@ -1,66 +0,0 @@ - - - - - File Index - - - - - -

dmxevents.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2001 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Rickard E. (Rik) Faith <faith@redhat.com>
-00032  *
-00033  */
-00034 
-00038 #ifndef _DMXEVENTS_H_
-00039 #define _DMXEVENTS_H_
-00040 
-00041 extern void dmxMotion(DevicePtr pDev, int *v, int firstAxis, int axesCount,
-00042                       DMXMotionType type, DMXBlockType block);
-00043 extern void dmxEnqueue(DevicePtr pDev, int type, int detail, KeySym keySym,
-00044                        XEvent *e, DMXBlockType block);
-00045 extern int  dmxCheckSpecialKeys(DevicePtr pDev, KeySym keySym);
-00046 extern void dmxInvalidateGlobalPosition(void);
-00047 #endif
-

-
- - 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 index 2aa5910d1..bbf1da023 100644 --- a/xorg-server/hw/dmx/doc/html/dmxevents_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmxevents_8h.html @@ -6,219 +6,207 @@ - - + + +

dmxevents.h File Reference

-

-Go to the source code of this file. - - - - - - - - - - +

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)
+ + + + +

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

-

- - - - -
- +

Detailed Description

+

Interface to event processing functions.

+
See also:
dmxevents.h
+

Function Documentation

+ +
+
+
- - - - + + + + + - - - + + - - + + -
int dmxCheckSpecialKeys DevicePtr  pDev, int dmxCheckSpecialKeys (DevicePtr  pDev,
KeySym  keySymKeySym  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.

-

-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, void dmxEnqueue (DevicePtr  pDev,
int  type, int  type,
int  detail, int  detail,
KeySym  keySym, KeySym  keySym,
XEvent *  e, XEvent *  e,
DMXBlockType  blockDMXBlockType  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().

-

-Enqueue a non-motion 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.

-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   ) 
+ + + + + + + +
void dmxInvalidateGlobalPosition (void  ) 
-
- - - - - -
-   - + +
+

Invalidate the global position for dmxCoreMotion.

-

-Invalidate the global position for #dmxCoreMotion.

-

- - - - -
- +

References dmxGlobalInvalid.

+ +

Referenced by dmxBackendLateReInit().

+ + + + +
+
+
- - - - + + + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + - - + + -
void dmxMotion DevicePtr  pDev, void dmxMotion (DevicePtr  pDev,
int *  v, int *  v,
int  firstAxes, int  firstAxes,
int  axesCount, int  axesCount,
DMXMotionType  type, DMXMotionType  type,
DMXBlockType  blockDMXBlockType  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().

-

-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 dmxeqEnqueue().

+

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

+ +

Referenced by dmxCollectAll(), and dmxSigioHandler().

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

dmxext.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2002-2004 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Rickard E. (Rik) Faith <faith@redhat.com>
-00032  *
-00033  */
-00034 
-00040 #ifndef _DMXEXT_H_
-00041 #define _DMXEXT_H_
-00042 
-00043 /* These values must be larger than LastExtensionError.
-00044    The values in dmxext.h and dmxproto.h *MUST* match. */
-00045 #define DmxBadXinerama         1001
-00046 #define DmxBadValue            1002
-00047 #define DmxBadReply            1003
-00048 
-00049 #define DMXScreenWindowWidth   (1L<<0)
-00050 #define DMXScreenWindowHeight  (1L<<1)
-00051 #define DMXScreenWindowXoffset (1L<<2)
-00052 #define DMXScreenWindowYoffset (1L<<3)
-00053 #define DMXRootWindowWidth     (1L<<4)
-00054 #define DMXRootWindowHeight    (1L<<5)
-00055 #define DMXRootWindowXoffset   (1L<<6)
-00056 #define DMXRootWindowYoffset   (1L<<7)
-00057 #define DMXRootWindowXorigin   (1L<<8)
-00058 #define DMXRootWindowYorigin   (1L<<9)
-00059 
-00060 #define DMXDesktopWidth        (1L<<0)
-00061 #define DMXDesktopHeight       (1L<<1)
-00062 #define DMXDesktopShiftX       (1L<<2)
-00063 #define DMXDesktopShiftY       (1L<<3)
-00064 
-00065 #define DMXInputType           (1L<<0)
-00066 #define DMXInputPhysicalScreen (1L<<1)
-00067 #define DMXInputSendsCore      (1L<<2)
-00068 
-00069 #ifndef _DMX_SERVER_
-00070 
-00073 typedef struct {
-00074     char         *displayName;
-00075     int          logicalScreen;
-00076 
-00077     unsigned int screenWindowWidth;    /* displayName's coordinate system */
-00078     unsigned int screenWindowHeight;   /* displayName's coordinate system */
-00079     int          screenWindowXoffset;  /* displayName's coordinate system */
-00080     int          screenWindowYoffset;  /* displayName's coordinate system */
-00081 
-00082     unsigned int rootWindowWidth;      /* screenWindow's coordinate system */
-00083     unsigned int rootWindowHeight;     /* screenWindow's coordinate system */
-00084     int          rootWindowXoffset;    /* screenWindow's coordinate system */
-00085     int          rootWindowYoffset;    /* screenWindow's coordinate system */
-00086 
-00087     int          rootWindowXorigin;    /* global coordinate system */
-00088     int          rootWindowYorigin;    /* global coordinate system */
-00089 } DMXScreenAttributes;
-00090 
-00093 typedef struct {
-00094     int          screen;
-00095     Window       window;
-00096     XRectangle   pos, vis;
-00097 } DMXWindowAttributes;
-00098 
-00101 typedef struct {
-00102     unsigned int width;         /* global coordinate system */
-00103     unsigned int height;        /* global coordinate system */
-00104     int          shiftX;        /* global coordinate system */
-00105     int          shiftY;        /* global coordinate system */
-00106 } DMXDesktopAttributes;
-00107 
-00110 typedef enum {
-00111     DMXLocalInputType,
-00112     DMXConsoleInputType,
-00113     DMXBackendInputType
-00114 } DMXInputEnum;
-00115 
-00118 typedef struct {
-00119     DMXInputEnum inputType;
-00120     int          physicalScreen;
-00121     int          physicalId;
-00122     Bool         isCore;
-00123     Bool         sendsCore;
-00124     const char   *name;
-00125     Bool         detached;
-00126 } DMXInputAttributes;
-00127 
-00128 _XFUNCPROTOBEGIN
-00129 
-00130 extern Bool DMXQueryExtension(Display *dpy,
-00131                               int *event_basep, int *error_basep);
-00132 extern Bool DMXQueryVersion(Display *dpy, int *major_version,
-00133                             int *minor_version, int *patch_version);
-00134 extern Bool DMXSync(Display *dpy);
-00135 extern Bool DMXForceWindowCreation(Display *dpy, Window window);
-00136 
-00137 
-00138 extern Bool DMXGetScreenCount(Display *dpy, int *screen_count);
-00139 extern Bool DMXGetScreenAttributes(Display *dpy,
-00140                                    int screen,
-00141                                    DMXScreenAttributes *attr);
-00142 extern int  DMXChangeScreensAttributes(Display *dpy,
-00143                                        int screen_count,
-00144                                        int *screens,
-00145                                        int mask_count,
-00146                                        unsigned int *masks,
-00147                                        DMXScreenAttributes *attr, /* vector */
-00148                                        int *error_screen);
-00149 
-00150 extern Bool DMXAddScreen(Display *dpy,
-00151                          const char *displayName,
-00152                          unsigned int mask,
-00153                          DMXScreenAttributes *attr,
-00154                          int *screen);
-00155 extern Bool DMXRemoveScreen(Display *dpy, int screen);
-00156 
-00157 /* Call DMXGetScreenWindowCount and allocate info to that size.  Pass
-00158  * the size in available_count.  This call can generate a large amount
-00159  * of wire traffic and should not be used called with available_count=0
-00160  * just to determine the screen_count value -- use DMXGetScreenCount
-00161  * instead.  NOTE: Also see DMX protocol specification (DMXSpec.txt) for
-00162  * usage of DMXSync to flush pending commands. */
-00163 extern Bool DMXGetWindowAttributes(Display *dpy, Window window,
-00164                                    int *screen_count, int available_count,
-00165                                    DMXWindowAttributes *attr);
-00166 
-00167 extern Bool DMXGetDesktopAttributes(Display *dpy, DMXDesktopAttributes *attr);
-00168 extern int  DMXChangeDesktopAttributes(Display *dpy,
-00169                                        unsigned int mask,
-00170                                        DMXDesktopAttributes *attr);
-00171 
-00172 extern Bool DMXGetInputCount(Display *dpy, int *input_count);
-00173 extern Bool DMXGetInputAttributes(Display *dpy, int id,
-00174                                   DMXInputAttributes *attr);
-00175 
-00176 extern Bool DMXAddInput(Display *dpy,
-00177                         unsigned int mask,
-00178                         DMXInputAttributes *attr,
-00179                         int *id);
-00180 extern Bool DMXRemoveInput(Display *dpy, int id);
-00181 
-00182 /* These are helper functions that call DMXAddInput. */
-00183 extern Bool DMXAddBackendInput(Display *dpy, int screen, int sendsCore,
-00184                                int *newId);
-00185 extern Bool DMXAddConsoleInput(Display *dpy, const char *name, int sendsCore,
-00186                                int *newId);
-00187 
-00188 _XFUNCPROTOEND
-00189 #endif
-00190 #endif
-

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

dmxext.h File Reference

-

-Go to the source code of this file. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Data Structures

struct  DMXDesktopAttributes
struct  DMXInputAttributes
struct  DMXScreenAttributes
struct  DMXWindowAttributes

Enumerations

enum  DMXInputEnum

Functions

_XFUNCPROTOBEGIN Bool DMXQueryExtension (Display *dpy, int *event_basep, int *error_basep)
Bool DMXQueryVersion (Display *dpy, int *major_version, int *minor_version, int *patch_version)
Bool DMXSync (Display *dpy)
Bool DMXForceWindowCreation (Display *dpy, Window window)
Bool DMXGetScreenCount (Display *dpy, int *screen_count)
Bool DMXGetScreenAttributes (Display *dpy, int screen, DMXScreenAttributes *attr)
int DMXChangeScreensAttributes (Display *dpy, int screen_count, int *screens, int mask_count, unsigned int *masks, DMXScreenAttributes *attr, int *error_screen)
Bool DMXAddScreen (Display *dpy, const char *displayName, unsigned int mask, DMXScreenAttributes *attr, int *screen)
Bool DMXRemoveScreen (Display *dpy, int screen)
Bool DMXGetWindowAttributes (Display *dpy, Window window, int *screen_count, int available_count, DMXWindowAttributes *attr)
Bool DMXGetDesktopAttributes (Display *dpy, DMXDesktopAttributes *attr)
int DMXChangeDesktopAttributes (Display *dpy, unsigned int mask, DMXDesktopAttributes *attr)
Bool DMXGetInputCount (Display *dpy, int *input_count)
Bool DMXGetInputAttributes (Display *dpy, int id, DMXInputAttributes *attr)
Bool DMXAddInput (Display *dpy, unsigned int mask, DMXInputAttributes *attr, int *id)
Bool DMXRemoveInput (Display *dpy, int id)
Bool DMXAddBackendInput (Display *dpy, int screen, int sendsCore, int *newId)
Bool DMXAddConsoleInput (Display *dpy, const char *name, int sendsCore, int *newId)
-


Detailed Description

-This file describes the interface to the client-side libdmx.a library. All DMX-aware client-side applications should include this file.

Enumeration Type Documentation

-

- - - - -
- - -
enum DMXInputEnum -
-
- - - - - -
-   - - -

-Enumeration for the #inputType field in the DMXInputAttributes structure.

-


Function Documentation

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Bool DMXAddBackendInput Display *  dpy,
int  screen,
int  sendsCore,
int *  newId
-
- - - - - -
-   - - -

-Add backend input (a helper function that calls DMXAddInput).

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Bool DMXAddConsoleInput Display *  dpy,
const char *  name,
int  sendsCore,
int *  newId
-
- - - - - -
-   - - -

-Add console input (a helper function that calls DMXAddInput).

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Bool DMXAddInput Display *  dpy,
unsigned int  mask,
DMXInputAttributes attr,
int *  id
-
- - - - - -
-   - - -

-Add input.

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Bool DMXAddScreen Display *  dpy,
const char *  displayName,
unsigned int  mask,
DMXScreenAttributes attr,
int *  screen
-
- - - - - -
-   - - -

-Add a screen.

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - -
int DMXChangeDesktopAttributes Display *  dpy,
unsigned int  mask,
DMXDesktopAttributes attr
-
- - - - - -
-   - - -

-Change the global bounding box and origin offset.

-Available in DMX Protocol Version 2.0

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
int DMXChangeScreensAttributes Display *  dpy,
int  screen_count,
int *  screens,
int  mask_count,
unsigned int *  masks,
DMXScreenAttributes attrs,
int *  error_screen
-
- - - - - -
-   - - -

-Change geometries and positions of the DMX screen and root windows on the back-end X server.

-

- - - - -
- - - - - - - - - - - - - - - - - - - -
Bool DMXForceWindowCreation Display *  dpy,
Window  window
-
- - - - - -
-   - - -

-The creation of the specified window will be forced.

-Available in DMX Protocol Version 1.2 Reply added in DMX Protocol Version 2.0

-

- - - - -
- - - - - - - - - - - - - - - - - - - -
Bool DMXGetDesktopAttributes Display *  dpy,
DMXDesktopAttributes attr
-
- - - - - -
-   - - -

-If the DMXGetDesktopAttributes protocol request returns information correctly, the information will be placed in attr, and True will be returned. Otherwise, False will be returned.

-Available in DMX Protocol Version 2.0

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - -
Bool DMXGetInputAttributes Display *  dpy,
int  id,
DMXInputAttributes inf
-
- - - - - -
-   - - -

-If the DMXGetInputAttributes protocol request returns information about the input device with the specified id, information about the input device will be placed in inf, and True will be returned. Otherwise, False will be returned.

-Available in DMX Protocol Version 1.1

-

- - - - -
- - - - - - - - - - - - - - - - - - - -
Bool DMXGetInputCount Display *  dpy,
int *  input_count
-
- - - - - -
-   - - -

-If the DMXGetInputCount protocol request returns the input count, the value will be placed in input_count, and True will be returned. Otherwise, False will be returned.

-Available in DMX Protocol Version 1.1

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - -
Bool DMXGetScreenAttributes Display *  dpy,
int  physical_screen,
DMXScreenAttributes attr
-
- - - - - -
-   - - -

-If the DMXGetScreenAttributes protocol request returns information for the specified physical_screen, information about the screen will be placed in attr, and True will be returned. Otherwise, False will be returned.

-Available in DMX Protocol Version 1.0; Modified in Version 2.0

-

- - - - -
- - - - - - - - - - - - - - - - - - - -
Bool DMXGetScreenCount Display *  dpy,
int *  screen_count
-
- - - - - -
-   - - -

-If the DMXGetScreenCount protocol request returns the screen count, the value will be placed in screen_count, and True will be returned. Otherwise, False will be returned.

-Available in DMX Protocol Version 1.0

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Bool DMXGetWindowAttributes Display *  dpy,
Window  window,
int *  screen_count,
int  available_count,
DMXWindowAttributes inf
-
- - - - - -
-   - - -

-If the DMXGetWindowAttributes protocol request returns information about the specified window, the number of screens for which information is available will be returned in screen_count and information about the first available_count of those screens will be placed in inf. Because this call transports a great deal of information over the wire, please call DMXGetScreenCount first, and make sure inf is that large.

-Note that if the specified window has not yet been mapped when DMXGetWindowAttributes is called, then a subsequent XMapWindow call might be buffered in xlib while requests directly to the back-end X servers are processed. This race condition can be solved by calling DMXSync before talking directly to the back-end X servers.

-Available in DMX Protocol Version 1.0, but not working correctly until DMX Protocol Version 1.4

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - -
_XFUNCPROTOBEGIN Bool DMXQueryExtension Display *  dpy,
int *  event_basep,
int *  error_basep
-
- - - - - -
-   - - -

-If the server has the DMX extension, the event and error bases will be placed in event_basep and error_basep, and True will be returned. Otherwise, False will be returned.

-Available in DMX Protocol Version 1.0

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Bool DMXQueryVersion Display *  dpy,
int *  majorVersion,
int *  minorVersion,
int *  patchVersion
-
- - - - - -
-   - - -

-If the DMXQueryVersion protocol request returns version information from the server, majorVersion, minorVersion, and patchVersion are filled in with the appropriate information and True is returned. Otherwise, False will be returned.

-Available in DMX Protocol Version 1.0

-

- - - - -
- - - - - - - - - - - - - - - - - - - -
Bool DMXRemoveInput Display *  dpy,
int  id
-
- - - - - -
-   - - -

-Remove an input.

-

- - - - -
- - - - - - - - - - - - - - - - - - - -
Bool DMXRemoveScreen Display *  dpy,
int  screen
-
- - - - - -
-   - - -

-Remove a screen.

-

- - - - -
- - - - - - - - - - -
Bool DMXSync Display *  dpy  ) 
-
- - - - - -
-   - - -

-Flush all pending dmxSync requests in DMX server.

-Available in DMX Protocol Version 1.5

-


-
- - 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 index 6bcf8f133..fe4cbcd9c 100644 --- a/xorg-server/hw/dmx/doc/html/dmxextension_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxextension_8c.html @@ -6,419 +6,841 @@ - - -

dmxextension.c File Reference

#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 "dmxproto.h"
-#include "cursorstr.h"
- - - - - - - - + + +
+

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)
int dmxGetInputCount (void)
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

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.

-int dmxGetInputAttributes (int deviceId, DMXInputAttributesPtr attr) +

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

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

Referenced by ProcDMXAddInput().

-int dmxRemoveInput (int id) +
+
+ +
+
+ + + + + + + + + +
static void dmxAdjustCursorBoundaries (void  )  [static]
+
+ +
+ +
+
+ + + + + + + + + + + + + + + + + + +
int dmxAttachScreen (int  idx,
DMXScreenAttributesPtr  attr 
)
+
+
+

Reattach previously detached back-end screen.

-int dmxAttachScreen (int idx, DMXScreenAttributesPtr attr) +

References _DMXScreenInfo::beDepths, _DMXScreenInfo::beDisplay, _DMXScreenInfo::bePixmapFormats, _DMXScreenInfo::beVisuals, defaultFont, DMXScreenAttributesRec::displayName, dmxAddRemoveScreens, dmxBECreatePixmap(), dmxBECreateResources(), dmxBECreateScratchGCs(), dmxBECreateWindowTree(), dmxBELoadFont(), dmxBERestorePixmap(), dmxBERestoreRenderGlyph(), dmxBERestoreRenderPict(), dmxBEScreenInit(), dmxCheckForWM(), dmxCompareScreens(), dmxConfigureScreenWindows(), dmxForceExposures(), dmxGetColormaps(), dmxGetPixmapFormats(), dmxGetScreenAttribs(), dmxGetVisualInfo(), dmxLog(), dmxLogOutput(), dmxOpenDisplay(), dmxScreens, dmxSetErrorHandler(), dmxSync(), dmxWarning, and _DMXScreenInfo::name.

-int dmxDetachScreen (int idx) +

Referenced by ProcDMXAddScreen().

- -

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, static void dmxBECreateResources (pointer  value,
XID  id,
RESTYPE  type,
int *  idpointer  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]
-
- - - - - -
-   - - -

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

-

- - - - -
- + +
+

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().

+ +
+ + +
+
+ - - - - + + + + + + + + + + - - + + + - - + + + + + + + -
int dmxAttachScreen int  idx, static void dmxBEDestroyResources (pointer  value,
XID  id,
DMXScreenAttributesPtr  attrRESTYPE  type,
pointer  n 
) [static]
-
- - - - - -
-   - - -

-Reattach previously detached back-end screen.

-

- - - - -
- + +
+

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().

+ +
+ + +
+
+
- - - - - - + + + + + + +
int dmxDetachScreen int  idx  ) 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]
-
- - - - - -
-   - - -

-Detach back-end screen.

-

- - - - -
- + +
+

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().

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

-Flush pending syncs for all screens.

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + + + + + + + + + + + + + + + + +
void dmxForceWindowCreation WindowPtr  pWindow  ) 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]
-
- - - - - -
-   - - -

-Make sure that dmxCreateAndRealizeWindow has been called for pWindow.

-

- - - - -
- + +
+

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().

+ +
+ + +
+
+
- - - - + + + + + - - - + + - - + + +
int dmxGetInputAttributes int  deviceId, static Bool dmxCompareScreens (DMXScreenInfo new,
DMXInputAttributesPtr  attrDMXScreenInfo old 
) [static]
+ + + + +
+
+ + + + + + + + +
int dmxDetachScreen (int  idx ) 
-
- - - - - -
-   - - -

-Return information about the device with id = deviceId. This information is primarily for the ProcDMXGetInputAttributes() function, which does not have access to the appropriate data structure.

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + +
int dmxGetInputCount void   ) void dmxFlushPendingSyncs (void  ) 
+ +
+

Flush pending syncs for all screens.

+ +

References dmxSync().

+ +

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

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

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

-

- - - - -
- + +
+ +

Referenced by dmxAttachScreen().

+ +
+ + +
+
+
- - - - - - + + + + + + +
unsigned long dmxGetNumScreens void   ) 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().

+
+ + +
+
+ + + + + + + + +
void dmxGetDesktopAttributes (DMXDesktopAttributesPtr  attr ) 
-
- - - - - -
-   - - -

-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).

-

- - - - -
- + + + + +
+
+
- - - - + + + + + + + + + - - + + +
Bool dmxGetScreenAttributes int  physical, int dmxGetInputAttributes (int  deviceId,
DMXInputAttributesPtr  attr 
DMXScreenAttributesPtr  attr)
+ + + + +
+
+ + + + + + - - +
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  ) 
-
- - - - - -
-   - - -

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

-

- - - - -
- + +
+

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, Bool dmxGetScreenAttributes (int  physical,
DMXScreenAttributesPtr  attr 
DMXWindowAttributesPtr  attr)
+ + + + +
+
+ + + + + + + + - - + + + + + + + +
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 ) 
-
- - - - - -
-   - - -

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

-

- - - - -
- + +
+

Remove the input with physical id id.

+ +

References dmxInputDetachId().

+ +

Referenced by ProcDMXRemoveInput().

+ +
+ + +
+
+
+ + + + + + - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void dmxUpdateScreenResources (ScreenPtr  pScreen,
int dmxRemoveInput int  id  ) 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
-
- - - - - -
-   - - -

-Remove the input with physical id id.

+

+
+ +

Referenced by dmxAttachScreen(), and dmxBECreateResources().

+ +
+
+
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 4fd796af5..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxextension_8h-source.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - File Index - - - - - -

dmxextension.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2003-2004 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Author:
-00031  *   Rickard E. (Rik) Faith <faith@redhat.com>
-00032  *   Kevin E. Martin <kem@redhat.com>
-00033  *
-00034  */
-00035 
-00040 #ifndef _DMXEXTENSION_H_
-00041 #define _DMXEXTENSION_H_
-00042 
-00045 typedef struct {
-00046     const char   *displayName;
-00047     int          logicalScreen;
-00048 
-00049     unsigned int screenWindowWidth;    /* displayName's coordinate system */
-00050     unsigned int screenWindowHeight;   /* displayName's coordinate system */
-00051     int          screenWindowXoffset;  /* displayName's coordinate system */
-00052     int          screenWindowYoffset;  /* displayName's coordinate system */
-00053 
-00054     unsigned int rootWindowWidth;      /* screenWindow's coordinate system */
-00055     unsigned int rootWindowHeight;     /* screenWindow's coordinate system */
-00056     int          rootWindowXoffset;    /* screenWindow's coordinate system */
-00057     int          rootWindowYoffset;    /* screenWindow's coordinate system */
-00058 
-00059     int          rootWindowXorigin;    /* global coordinate system */
-00060     int          rootWindowYorigin;    /* global coordinate system */
-00061 } DMXScreenAttributesRec, *DMXScreenAttributesPtr;
-00062 
-00064 typedef struct {
-00065     int          screen;
-00066     Window       window;
-00067     xRectangle   pos;
-00068     xRectangle   vis;
-00069 } DMXWindowAttributesRec, *DMXWindowAttributesPtr;
-00070 
-00073 typedef struct {
-00074     int          width;
-00075     int          height;
-00076     int          shiftX;
-00077     int          shiftY;
-00078 } DMXDesktopAttributesRec, *DMXDesktopAttributesPtr;
-00079 
-00081 typedef struct {
-00082     const char   *name;
-00083     int          inputType;
-00084     int          physicalScreen;
-00085     int          physicalId;
-00086     int          isCore;
-00087     int          sendsCore;
-00088     int          detached;
-00089 } DMXInputAttributesRec, *DMXInputAttributesPtr;
-00090 
-00091 
-00092 extern unsigned long dmxGetNumScreens(void);
-00093 extern void          dmxForceWindowCreation(WindowPtr pWindow);
-00094 extern void          dmxFlushPendingSyncs(void);
-00095 extern Bool          dmxGetScreenAttributes(int physical,
-00096                                             DMXScreenAttributesPtr attr);
-00097 extern Bool          dmxGetWindowAttributes(WindowPtr pWindow,
-00098                                             DMXWindowAttributesPtr attr);
-00099 extern void          dmxGetDesktopAttributes(DMXDesktopAttributesPtr attr);
-00100 extern int           dmxGetInputCount(void);
-00101 extern int           dmxGetInputAttributes(int deviceId,
-00102                                            DMXInputAttributesPtr attr);
-00103 extern int           dmxAddInput(DMXInputAttributesPtr attr, int *deviceId);
-00104 extern int           dmxRemoveInput(int deviceId);
-00105 
-00106 extern int           dmxConfigureScreenWindows(int nscreens,
-00107                                                CARD32 *screens,
-00108                                                DMXScreenAttributesPtr attribs,
-00109                                                int *errorScreen);
-00110 
-00111 extern int           dmxConfigureDesktop(DMXDesktopAttributesPtr attribs);
-00112 
-00113 /* dmxUpdateScreenResources exposed for dmxCreateWindow in dmxwindow.c */
-00114 extern void          dmxUpdateScreenResources(ScreenPtr pScreen,
-00115                                               int x, int y, int w, int h);
-00116 
-00117 extern int           dmxAttachScreen(int idx, DMXScreenAttributesPtr attr);
-00118 extern int           dmxDetachScreen(int idx);
-00119 #endif
-

-
- - 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 index 41cdcd3eb..7e0167c36 100644 --- a/xorg-server/hw/dmx/doc/html/dmxextension_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmxextension_8h.html @@ -6,412 +6,546 @@ - - + + +

dmxextension.h File Reference

-

-Go to the source code of this file. - - - - - - - - - - - - - - - - - - +

Go to the source code of this file.

+

Data Structures

struct  DMXDesktopAttributesRec
struct  DMXInputAttributesRec
struct  DMXScreenAttributesRec
struct  DMXWindowAttributesRec

Functions

unsigned long dmxGetNumScreens (void)
void dmxForceWindowCreation (WindowPtr pWindow)
void dmxFlushPendingSyncs (void)
Bool dmxGetScreenAttributes (int physical, DMXScreenAttributesPtr attr)
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

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.

-Bool dmxGetWindowAttributes (WindowPtr pWindow, DMXWindowAttributesPtr attr) +

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

-int dmxGetInputCount (void) +

Referenced by ProcDMXAddInput().

-int dmxGetInputAttributes (int deviceId, DMXInputAttributesPtr attr) +
+
+ + + +
+
+ + + + + + + + + +
int dmxConfigureDesktop (DMXDesktopAttributesPtr  attribs ) 
+
+
-int dmxDetachScreen (int idx) +

Referenced by ProcDMXChangeDesktopAttributes().

- -

Detailed Description

-Interface for DMX extension support. These routines are called by function in Xserver/Xext/dmx.c.
See also:
dmxextension.c
-

Function Documentation

-

- - - - -
- + + + +
+
+
- - - - + + + + + - - - + + + - - + + - -
int dmxAddInput DMXInputAttributesPtr  attr, int dmxConfigureScreenWindows (int  nscreens,
int *  idCARD32 *  screens,
DMXScreenAttributesPtr  attribs,
-
- - - - - -
-   - - -

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

-

- - - - -
- - - - - + + + + - - - + + +
int dmxAttachScreen int  idx, int *  errorScreen 
DMXScreenAttributesPtr  attr)
+ + + + +
+
+ + + + + + - - -
int dmxDetachScreen (int  idx ) 
-
- - - - - -
-   - - -

-Reattach previously detached back-end screen.

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + -
int dmxDetachScreen int  idx  ) void dmxFlushPendingSyncs (void  ) 
-
- - - - - -
-   - - -

-Detach back-end screen.

-

- - - - -
- + +
+

Flush pending syncs for all screens.

+ +

References dmxSync().

+ +

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

+ +
+ + +
+
+
- - - - - - + + + + + + -
void dmxFlushPendingSyncs void   ) void dmxForceWindowCreation (WindowPtr  pWindow ) 
-
- - - - - -
-   - - -

-Flush pending syncs for all screens.

-

- - - - -
- + +
+

Make sure that dmxCreateAndRealizeWindow has been called for pWindow.

+ +

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

+ +

Referenced by ProcDMXForceWindowCreation().

+ +
+ + +
+
+
- - - - - - + + + + + + -
void dmxForceWindowCreation WindowPtr  pWindow  ) void dmxGetDesktopAttributes (DMXDesktopAttributesPtr  attr ) 
-
- - - - - -
-   - - -

-Make sure that dmxCreateAndRealizeWindow has been called for pWindow.

-

- - - - -
- + + + + +
+
+
- - - - + + + + + - - - + + - - + + -
int dmxGetInputAttributes int  deviceId, int dmxGetInputAttributes (int  deviceId,
DMXInputAttributesPtr  attrDMXInputAttributesPtr  attr 
)
-
- - - - - -
-   - - -

-Return information about the device with id = deviceId. This information is primarily for the ProcDMXGetInputAttributes() function, which does not have access to the appropriate data structure.

-

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

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

-

- - - - -
- + +
+

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   ) 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).

-

- - - - -
- + +
+

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 dmxGetScreenAttributes int  physical, Bool dmxGetScreenAttributes (int  physical,
DMXScreenAttributesPtr  attr 
DMXScreenAttributesPtr  attr)
+ + + + +
+
+ + + + + + + + - - + + + + + + + +
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 ) 
-
- - - - - -
-   - - -

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

-

- - - - -
- + +
+

Remove the input with physical id id.

+ +

References dmxInputDetachId().

+ +

Referenced by ProcDMXRemoveInput().

+ +
+ + +
+
+
- - - - + + + + + + + + + + - - + + + - - + + - -
Bool dmxGetWindowAttributes WindowPtr  pWindow, void dmxUpdateScreenResources (ScreenPtr  pScreen,
int  x,
DMXWindowAttributesPtr  attrint  y,
int  w,
-
- - - - - -
-   - - -

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

-

- - - - -
- - - - - - - + + + + + + + + + -
int dmxRemoveInput int  id  ) int  h 
)
-
- - - - - -
-   - - -

-Remove the input with physical id id.

+

+
+

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().

+ +
+
+

diff --git a/xorg-server/hw/dmx/doc/html/dmxextension_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxextension_8h_source.html new file mode 100644 index 000000000..b2cd168ec --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/dmxextension_8h_source.html @@ -0,0 +1,144 @@ + + + + + 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 index b1c6c9f87..b1768ae01 100644 --- a/xorg-server/hw/dmx/doc/html/dmxfont_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxfont_8c.html @@ -6,243 +6,453 @@ - - -

dmxfont.c File Reference

#include "dmx.h"
-#include "dmxsync.h"
-#include "dmxfont.h"
-#include "dmxlog.h"
-#include "fontstruct.h"
-#include "dixfont.h"
-#include "dixstruct.h"
- - - - + + +
+

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"
+

Functions

void dmxInitFonts (void)
+ + + + + + + + + + + + + + + + + + + +

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.

-void dmxResetFonts (void) +

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

-Bool dmxBELoadFont (ScreenPtr pScreen, FontPtr pFont) +

Referenced by dmxBEDestroyResources(), and dmxUnrealizeFont().

-Bool dmxRealizeFont (ScreenPtr pScreen, FontPtr pFont) +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
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.

-Bool dmxBEFreeFont (ScreenPtr pScreen, FontPtr pFont) +

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

-Bool dmxUnrealizeFont (ScreenPtr pScreen, FontPtr pFont) +

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

- -

Detailed Description

-This file provides support for fonts.

Function Documentation

-

- - - - -
- + + + +
+
+
- - - - + + + + + - - - + + - - + + -
Bool dmxBEFreeFont ScreenPtr  pScreen, static int dmxCheckFontPath (DMXScreenInfo dmxScreen,
FontPtr  pFontint *  error 
) [static]
-
- - - - - -
-   - - -

-Free pFont on the back-end associated with pScreen.

-

- - - - -
- + +
+ +

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

+ +

Referenced by dmxProcSetFontPath().

+ +
+ + +
+
+
- - - - + + + + + + + + + - - + + + +
Bool dmxBELoadFont ScreenPtr  pScreen, static Bool dmxCheckFontPathElement (DMXScreenInfo dmxScreen,
char *  fp 
FontPtr  pFont) [static]
+ + + + +
+
+ + + + + + + - - + + + + + + + +
static int dmxFontErrorHandler (Display *  dpy,
XErrorEvent *  ev 
) [static]
+
+
+ +

References dmxFontLastError.

+ +

Referenced by dmxCheckFontPathElement(), and dmxSetFontPath().

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

-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.

-

- - - - -
- + +
+ +

Referenced by dmxBELoadFont(), and dmxSetFontPath().

+ +
+ + +
+
+
- - - - - - + + + + + + +
void dmxInitFonts void   ) 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.

-

- - - - -
- + +
+

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, static int dmxProcSetFontPath (ClientPtr  client )  [static]
+ +
+ +

References dmxCheckFontPath(), dmxNumScreens, and dmxScreens.

+ +

Referenced by dmxInitFonts().

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

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

-

- - - - -
- + +
+

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   ) void dmxResetFonts (void  ) 
+ +
+

Reset font support by restoring the original ProcVector function pointers.

+ +

References dmxSaveProcVector.

+

Referenced by dmxCloseScreen().

+ +
+ + +
+
+ + + + + + + + +
static int dmxSetFontPath (DMXScreenInfo dmxScreen )  [static]
-
- - - - - -
-   - - -

-Reset font support by restoring the original ProcVector function pointers.

-

- - - - -
- + + + + +
+
+
- - - - + + + + + - - - + + - - + + +
Bool dmxUnrealizeFont ScreenPtr  pScreen, Bool dmxUnrealizeFont (ScreenPtr  pScreen,
FontPtr  pFontFontPtr  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]
-
- - - - - -
-   - - -

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

+

+ +
+ +
+
+ + + + +
int(* dmxSaveProcVector[256])(ClientPtr) [static]
+
+
+ +

Referenced by dmxInitFonts(), and dmxResetFonts().

+ +
+
+
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 18412915d..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxfont_8h-source.html +++ /dev/null @@ -1,78 +0,0 @@ - - - - - File Index - - - - - -

dmxfont.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2001-2004 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Kevin E. Martin <kem@redhat.com>
-00032  *
-00033  */
-00034 
-00038 #ifndef DMXFONT_H
-00039 #define DMXFONT_H
-00040 
-00041 #include "fontstruct.h"
-00042 
-00044 typedef struct _dmxFontPriv {
-00045     int          refcnt;
-00046     XFontStruct **font;
-00047 } dmxFontPrivRec, *dmxFontPrivPtr;
-00048 
-00049 extern void dmxInitFonts(void);
-00050 extern void dmxResetFonts(void);
-00051 
-00052 extern Bool dmxRealizeFont(ScreenPtr pScreen, FontPtr pFont);
-00053 extern Bool dmxUnrealizeFont(ScreenPtr pScreen, FontPtr pFont);
-00054 
-00055 extern Bool dmxBELoadFont(ScreenPtr pScreen, FontPtr pFont);
-00056 extern Bool dmxBEFreeFont(ScreenPtr pScreen, FontPtr pFont);
-00057 
-00058 extern int dmxFontPrivateIndex;
-00059 
-00060 #endif /* DMXFONT_H */
-

-
- - 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 index 503e94697..72b0b35b2 100644 --- a/xorg-server/hw/dmx/doc/html/dmxfont_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmxfont_8h.html @@ -6,319 +6,266 @@ - - -

dmxfont.h File Reference

#include "fontstruct.h"
- -

-Go to the source code of this file. - - - - - - - - - - - - - - - - - - - - - - - - + + +
+

dmxfont.h File Reference

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

Go to the source code of this file.

+

Data Structures

struct  _dmxFontPriv

Typedefs

typedef _dmxFontPriv dmxFontPrivRec
typedef _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
+ + + + + + + + + + + + + +

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

-

- - - - -
- +

Detailed Description

+

Interface for font-related functions.

+
See also:
dmxfont.c
+

Typedef Documentation

+ +
+
+
- +
typedef struct _dmxFontPriv * dmxFontPrivPtr + typedef struct _dmxFontPriv * dmxFontPrivPtr
-
- - - - - -
-   - + +
-

-Font private area.

-

- - - - -
- + + + +
+
+
- +
typedef struct _dmxFontPriv dmxFontPrivRec + typedef struct _dmxFontPriv dmxFontPrivRec
-
- - - - - -
-   - + +
+

Font private area.

-

-Font private area.

-


Function Documentation

-

- - - - -
- + + +

Function Documentation

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

Free pFont on the back-end associated with pScreen.

-

-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, Bool dmxBELoadFont (ScreenPtr  pScreen,
FontPtr  pFontFontPtr  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.

-

-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   ) 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.

-

-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, Bool dmxRealizeFont (ScreenPtr  pScreen,
FontPtr  pFontFontPtr  pFont 
)
-
- - - - - -
-   - + +
+

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

-

-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   ) void dmxResetFonts (void  ) 
-
- - - - - -
-   - + +
+

Reset font support by restoring the original ProcVector function pointers.

-

-Reset font support by restoring the original ProcVector function pointers.

-

- - - - -
- +

References dmxSaveProcVector.

+ +

Referenced by dmxCloseScreen().

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

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

-

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

-


Variable Documentation

-

- - - - -
- +

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

+ +

Referenced by dmxScreenInit().

+ + + +

Variable Documentation

+ +
+
+
- +
int dmxFontPrivateIndex + int dmxFontPrivateIndex
-
- - - - - -
-   - + +
+

Private index for Fonts

-

-Private index for Fonts

+

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

+ + + +
diff --git a/xorg-server/hw/dmx/doc/html/dmxfont_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxfont_8h_source.html new file mode 100644 index 000000000..be962052f --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/dmxfont_8h_source.html @@ -0,0 +1,91 @@ + + + + + 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 index 1102958ed..0d14817e1 100644 --- a/xorg-server/hw/dmx/doc/html/dmxgc_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxgc_8c.html @@ -6,442 +6,432 @@ - - -

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"
- - - - - - - - - - - - - - - - - - - - - - - - - + + +
+

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)
+ + + + + + + + + + + + + + +

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

-

- - - - -
- +

Detailed Description

+

This file provides support for GCs.

+

Function Documentation

+ +
+
+
- - - - + + + + + - - - + + - - + + -
void dmxBECreateGC ScreenPtr  pScreen, void dmxBECreateGC (ScreenPtr  pScreen,
GCPtr  pGCGCPtr  pGC 
)
-
- - - - - -
-   - + +
+

Create the GC on the back-end server.

-

-Create the GC on the back-end server.

-

- - - - -
- +

References _DMXScreenInfo::beDisplay, _DMXScreenInfo::beNumPixmapFormats, _DMXScreenInfo::bePixmapFormats, DMX_GET_GC_PRIV, dmxScreens, _dmxGCPriv::gc, and _DMXScreenInfo::scrnDefDrawables.

+ +

Referenced by dmxBECreateResources(), dmxBECreateScratchGCs(), and dmxCreateGC().

+ + + + +
+
+
- - - - - - + + + + + + -
Bool dmxBEFreeGC GCPtr  pGC  ) Bool dmxBEFreeGC (GCPtr  pGC ) 
-
- - - - - -
-   - + +
+

Free the pGC on the back-end server.

-

-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, void dmxChangeClip (GCPtr  pGC,
int  type, int  type,
pointer  pvalue, pointer  pvalue,
int  nrectsint  nrects 
)
-
- - - - - -
-   - - -

-Change the clip rects for a GC.

-

- - - - -
- + + + + +
+
+
- - - - + + + + + - - - + + - - + + -
void dmxChangeGC GCPtr  pGC, void dmxChangeGC (GCPtr  pGC,
unsigned long  maskunsigned long  mask 
)
-
- - - - - -
-   - + +
+

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

-

-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, void dmxCopyClip (GCPtr  pGCDst,
GCPtr  pGCSrcGCPtr  pGCSrc 
)
-
- - - - - -
-   - - -

-Copy a GC's clip rects.

-

- - - - -
- + +
+

Copy a GC's clip rects.

+ +

References DMX_GC_FUNC_EPILOGUE, and DMX_GC_FUNC_PROLOGUE.

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

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

-

- - - - -
- + +
+

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  ) Bool dmxCreateGC (GCPtr  pGC ) 
-
- - - - - -
-   - + +
+

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

-

-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 dmxDestroyClip (GCPtr  pGC ) 
-
- - - - - -
-   - - -

-Destroy a GC's clip rects.

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + -
void dmxDestroyGC GCPtr  pGC  ) void dmxDestroyGC (GCPtr  pGC ) 
-
- - - - - -
-   - - -

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

-

- - - - -
- + +
+

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  ) Bool dmxInitGC (ScreenPtr  pScreen ) 
-
- - - - - -
-   - + +
+

Initialize the GC on pScreen

-

-Initialize the GC on pScreen, which currently involves allocating the GC private associated with this screen.

-

- - - - -
- +

References dmxGCPrivateKey.

+ +

Referenced by dmxScreenInit().

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

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

+ +

+

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().

+ +
+
+ + +
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 9e1df9e31..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxgc_8h-source.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - - File Index - - - - - -

dmxgc.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2001-2004 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Kevin E. Martin <kem@redhat.com>
-00032  *
-00033  */
-00034 
-00038 #ifndef DMXGC_H
-00039 #define DMXGC_H
-00040 
-00041 #include "gcstruct.h"
-00042 
-00044 typedef struct _dmxGCPriv {
-00045     GCOps   *ops;
-00046     GCFuncs *funcs;
-00047     XlibGC   gc;
-00048     Bool     msc;
-00049 } dmxGCPrivRec, *dmxGCPrivPtr;
-00050 
-00051 
-00052 extern Bool dmxInitGC(ScreenPtr pScreen);
-00053 
-00054 extern Bool dmxCreateGC(GCPtr pGC);
-00055 extern void dmxValidateGC(GCPtr pGC, unsigned long changes,
-00056                           DrawablePtr pDrawable);
-00057 extern void dmxChangeGC(GCPtr pGC, unsigned long mask);
-00058 extern void dmxCopyGC(GCPtr pGCSrc, unsigned long changes, GCPtr pGCDst);
-00059 extern void dmxDestroyGC(GCPtr pGC);
-00060 extern void dmxChangeClip(GCPtr pGC, int type, pointer pvalue, int nrects);
-00061 extern void dmxDestroyClip(GCPtr pGC);
-00062 extern void dmxCopyClip(GCPtr pGCDst, GCPtr pGCSrc);
-00063 
-00064 extern void dmxBECreateGC(ScreenPtr pScreen, GCPtr pGC);
-00065 extern Bool dmxBEFreeGC(GCPtr pGC);
-00066 
-00068 extern int dmxGCPrivateIndex;
-00069 
-00071 #define DMX_GET_GC_PRIV(_pGC)                                           \
-00072     (dmxGCPrivPtr)(_pGC)->devPrivates[dmxGCPrivateIndex].ptr
-00073 
-00074 #define DMX_GC_FUNC_PROLOGUE(_pGC)                                      \
-00075 do {                                                                    \
-00076     dmxGCPrivPtr _pGCPriv = DMX_GET_GC_PRIV(_pGC);                      \
-00077     DMX_UNWRAP(funcs, _pGCPriv, (_pGC));                                \
-00078     if (_pGCPriv->ops)                                                  \
-00079         DMX_UNWRAP(ops, _pGCPriv, (_pGC));                              \
-00080 } while (0)
-00081 
-00082 #define DMX_GC_FUNC_EPILOGUE(_pGC)                                      \
-00083 do {                                                                    \
-00084     dmxGCPrivPtr _pGCPriv = DMX_GET_GC_PRIV(_pGC);                      \
-00085     DMX_WRAP(funcs, &dmxGCFuncs, _pGCPriv, (_pGC));                     \
-00086     if (_pGCPriv->ops)                                                  \
-00087         DMX_WRAP(ops, &dmxGCOps, _pGCPriv, (_pGC));                     \
-00088 } while (0)
-00089 
-00090 #endif /* DMXGC_H */
-

-
- - 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 index f16d40d02..3341c2b68 100644 --- a/xorg-server/hw/dmx/doc/html/dmxgc_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmxgc_8h.html @@ -6,547 +6,498 @@ - - -

dmxgc.h File Reference

#include "gcstruct.h"
- -

-Go to the source code of this file. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + +
+

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)(_pGC)->devPrivates[dmxGCPrivateIndex].ptr

Typedefs

typedef _dmxGCPriv dmxGCPrivRec
typedef _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

int dmxGCPrivateIndex
+ + + + + + + + + + + + + + + + + + + + + + +

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

-

- - - +

References _DMXScreenInfo::beDisplay, and _DMXScreenInfo::WMRunningOnBE.

- +

Referenced by dmxAttachScreen(), and dmxDisplayInit().

- - + + + +
+
+
- - - - - - - - - -
#define DMX_GET_GC_PRIV_pGC   )    (dmxGCPrivPtr)(_pGC)->devPrivates[dmxGCPrivateIndex].ptr +

Detailed Description

+

Interface for GC support.

+
See also:
dmxgc.c
+

Define Documentation

+ +
+
+ + + + + + + + +
#define DMX_GC_FUNC_EPILOGUE(_pGC  ) 
-
- - - - - -
-   - - -

-Get private.

-

Typedef Documentation

-

- - - +

Referenced by InitOutput().

- + + + +
+
+
- - - - -
typedef struct _dmxGCPriv * dmxGCPrivPtr + +
+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  ) 
-
- - - - - -
-   - - -

-GC private area.

-

- - - - -
- + +
+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 struct _dmxGCPriv dmxGCPrivRec + #define DMX_GET_GC_PRIV(_pGC  )    (dmxGCPrivPtr)dixLookupPrivate(&(_pGC)->devPrivates, dmxGCPrivateKey)
-
- - - - - -
-   - - -

-GC private area.

-


Function Documentation

-

- - - - -
- + + + +

Typedef Documentation

+ +
+
+
- - - - + +
void dmxBECreateGC ScreenPtr  pScreen, typedef struct _dmxGCPriv * dmxGCPrivPtr
+ +
+ +
+ + +
+
+ + + +
typedef struct _dmxGCPriv dmxGCPrivRec
+
+
+

GC private area.

+ +
+
+

Function Documentation

+ +
+
+ + + + + + + + + - - - + + - - + + -
void dmxBECreateGC (ScreenPtr  pScreen,
GCPtr  pGCGCPtr  pGC 
)
-
- - - - - -
-   - - -

-Create the GC on the back-end server.

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + -
Bool dmxBEFreeGC GCPtr  pGC  ) Bool dmxBEFreeGC (GCPtr  pGC ) 
-
- - - - - -
-   - - -

-Free the pGC on the back-end server.

-

- - - - -
- + +
+

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, void dmxChangeClip (GCPtr  pGC,
int  type, int  type,
pointer  pvalue, pointer  pvalue,
int  nrectsint  nrects 
)
-
- - - - - -
-   - - -

-Change the clip rects for a GC.

-

- - - - -
- + + + + +
+
+
- - - - + + + + + - - - + + - - + + -
void dmxChangeGC GCPtr  pGC, void dmxChangeGC (GCPtr  pGC,
unsigned long  maskunsigned long  mask 
)
-
- - - - - -
-   - - -

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

-

- - - - -
- + +
+

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, void dmxCopyClip (GCPtr  pGCDst,
GCPtr  pGCSrcGCPtr  pGCSrc 
)
-
- - - - - -
-   - - -

-Copy a GC's clip rects.

-

- - - - -
- + +
+

Copy a GC's clip rects.

+ +

References DMX_GC_FUNC_EPILOGUE, and DMX_GC_FUNC_PROLOGUE.

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

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

-

- - - - -
- + +
+

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  ) Bool dmxCreateGC (GCPtr  pGC ) 
-
- - - - - -
-   - - -

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

-

- - - - -
- + +
+

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 dmxDestroyClip (GCPtr  pGC ) 
-
- - - - - -
-   - - -

-Destroy a GC's clip rects.

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + -
void dmxDestroyGC GCPtr  pGC  ) void dmxDestroyGC (GCPtr  pGC ) 
-
- - - - - -
-   - - -

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

-

- - - - -
- + +
+

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  ) Bool dmxInitGC (ScreenPtr  pScreen ) 
-
- - - - - -
-   - - -

-Initialize the GC on pScreen, which currently involves allocating the GC private associated with this screen.

-

- - - - -
- + +
+

Initialize the GC on pScreen

+ +

References dmxGCPrivateKey.

+ +

Referenced by dmxScreenInit().

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

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

-


Variable Documentation

-

- - - +

References _DMXScreenInfo::beDisplay, and dmxNumScreens.

- +

Referenced by ddxGiveUp().

- + + + +
+
+
- - - - -
int dmxGCPrivateIndex + +
+

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 for GCs

+ +
+

Private index.

+
See also:
dmxgc.c
+
+dmxscrinit.c
+

Private index for GCs

+ +

Referenced by dmxInitGC().

+ +
+ +
diff --git a/xorg-server/hw/dmx/doc/html/dmxgc_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxgc_8h_source.html new file mode 100644 index 000000000..11b8e5a9f --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/dmxgc_8h_source.html @@ -0,0 +1,119 @@ + + + + + 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 index d24b53a2c..42ecb5c79 100644 --- a/xorg-server/hw/dmx/doc/html/dmxgcops_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxgcops_8c.html @@ -6,1462 +6,1370 @@ - - -

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"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + +
+

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"
+

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)
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

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.

Function Documentation

-

- - - - -
- +

Detailed Description

+

This file provides support for GC operations.

+

Define Documentation

+ +
+
+
- - - - + + + + + + +
RegionPtr dmxCopyArea DrawablePtr  pSrc, #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().

+ +
+ + +
+
+ - - - - + + + + + + + - - +
DrawablePtr  pDst, #define DMX_GCOPS_SET_DRAWABLE(_pDraw,
_draw  )  GCPtr  pGC,
+
+
+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

+ +
+
+ - - - - + + + + + - - - + + + - - - + + + + + + + + - - + + + + + + + + - - + + + + + + + + - - + + - - + + -
int  srcx, RegionPtr dmxCopyArea (DrawablePtr  pSrc,
int  srcy, DrawablePtr  pDst,
int  w, GCPtr  pGC,
int  srcx,
int  h, int  srcy,
int  w,
int  dstx, int  h,
int  dstx,
int  dstyint  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.

-

-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, RegionPtr dmxCopyPlane (DrawablePtr  pSrc,
DrawablePtr  pDst, DrawablePtr  pDst,
GCPtr  pGC, GCPtr  pGC,
int  srcx, int  srcx,
int  srcy, int  srcy,
int  width, int  width,
int  height, int  height,
int  dstx, int  dstx,
int  dsty, int  dsty,
unsigned long  bitPlaneunsigned 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.

-

-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, void dmxFillPolygon (DrawablePtr  pDrawable,
GCPtr  pGC, GCPtr  pGC,
int  shape, int  shape,
int  mode, int  mode,
int  count, int  count,
DDXPointPtr  pPtsDDXPointPtr  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.

-

-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, void dmxFillSpans (DrawablePtr  pDrawable,
GCPtr  pGC, GCPtr  pGC,
int  nInit, int  nInit,
DDXPointPtr  pptInit, DDXPointPtr  pptInit,
int *  pwidthInit, int *  pwidthInit,
int  fSortedint  fSorted 
)
-
- - - - - -
-   - + +
+

Fill spans -- this function should never be called.

-

-Fill spans -- this function should never be called.

-

- - - - -
- + + + +
+
+
- - - - + + + + + - - - + + - - - + + +
void dmxGetImage DrawablePtr  pDrawable, static DMXScreenInfo* dmxFindAlternatePixmap (DrawablePtr  pDrawable,
int  sx, XID *  draw 
int  sy, ) [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().

+ +
+ + +
+
+ - - - - + + + + + - - - + + + + + + + + - - + + + + + + + + - - + + + + + + + + - - + + - - + + -
int  w, void dmxGetImage (DrawablePtr  pDrawable,
int  h, int  sx,
int  sy,
unsigned int  format, int  w,
int  h,
unsigned long  planeMask, unsigned int  format,
unsigned long  planeMask,
char *  pdstLinechar *  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.

-

-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, void dmxGetSpans (DrawablePtr  pDrawable,
int  wMax, int  wMax,
DDXPointPtr  ppt, DDXPointPtr  ppt,
int *  pwidth, int *  pwidth,
int  nspans, int  nspans,
char *  pdstStartchar *  pdstStart 
)
-
- - - - - -
-   - + +
+

Get Spans -- this function should never be called.

-

-Get Spans -- this function should never be called.

-

- - - - -
- +

Referenced by dmxScreenInit().

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

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

-

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

-

- - - - -
- + + + +
+
+
- - - - + + + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + - - + + -
void dmxImageText16 DrawablePtr  pDrawable, void dmxImageText16 (DrawablePtr  pDrawable,
GCPtr  pGC, GCPtr  pGC,
int  x, int  x,
int  y, int  y,
int  count, int  count,
unsigned short *  charsunsigned 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.

-

-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, void dmxImageText8 (DrawablePtr  pDrawable,
GCPtr  pGC, GCPtr  pGC,
int  x, int  x,
int  y, int  y,
int  count, int  count,
char *  charschar *  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.

-

-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, void dmxPolyArc (DrawablePtr  pDrawable,
GCPtr  pGC, GCPtr  pGC,
int  narcs, int  narcs,
xArc *  parcsxArc *  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.

-

-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, void dmxPolyFillArc (DrawablePtr  pDrawable,
GCPtr  pGC, GCPtr  pGC,
int  narcs, int  narcs,
xArc *  parcsxArc *  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.

-

-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, void dmxPolyFillRect (DrawablePtr  pDrawable,
GCPtr  pGC, GCPtr  pGC,
int  nrectFill, int  nrectFill,
xRectangle *  prectInitxRectangle *  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.

-

-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, void dmxPolyGlyphBlt (DrawablePtr  pDrawable,
GCPtr  pGC, GCPtr  pGC,
int  x, int  x,
int  y, int  y,
unsigned int  nglyph, unsigned int  nglyph,
CharInfoPtr *  ppci, CharInfoPtr *  ppci,
pointer  pglyphBasepointer  pglyphBase 
)
-
- - - - - -
-   - + +
+

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

-

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

-

- - - - -
- + + + +
+
+
- - - - + + + + + - - - + + + - - - + + + - - - + + + - - - + + - - + + -
void dmxPolylines DrawablePtr  pDrawable, void dmxPolylines (DrawablePtr  pDrawable,
GCPtr  pGC, GCPtr  pGC,
int  mode, int  mode,
int  npt, int  npt,
DDXPointPtr  pptInitDDXPointPtr  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.

-

-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, void dmxPolyPoint (DrawablePtr  pDrawable,
GCPtr  pGC, GCPtr  pGC,
int  mode, int  mode,
int  npt, int  npt,
DDXPointPtr  pptInitDDXPointPtr  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.

-

-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, void dmxPolyRectangle (DrawablePtr  pDrawable,
GCPtr  pGC, GCPtr  pGC,
int  nrects, int  nrects,
xRectangle *  pRectsxRectangle *  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.

-

-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, void dmxPolySegment (DrawablePtr  pDrawable,
GCPtr  pGC, GCPtr  pGC,
int  nseg, int  nseg,
xSegment *  pSegsxSegment *  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.

-

-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, int dmxPolyText16 (DrawablePtr  pDrawable,
GCPtr  pGC, GCPtr  pGC,
int  x, int  x,
int  y, int  y,
int  count, int  count,
unsigned short *  charsunsigned 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.

-

-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, int dmxPolyText8 (DrawablePtr  pDrawable,
GCPtr  pGC, GCPtr  pGC,
int  x, int  x,
int  y, int  y,
int  count, int  count,
char *  charschar *  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.

-

-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, void dmxPushPixels (GCPtr  pGC,
PixmapPtr  pBitMap, PixmapPtr  pBitMap,
DrawablePtr  pDst, DrawablePtr  pDst,
int  w, int  w,
int  h, int  h,
int  x, int  x,
int  yint  y 
)
-
- - - - - -
-   - + +
+

Push Pixels -- this function should never be called.

-

-Push Pixels -- this function should never be called.

-

- - - - -
- + + + +
+
+
- - - - + + + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + - - + + -
void dmxPutImage DrawablePtr  pDrawable, void dmxPutImage (DrawablePtr  pDrawable,
GCPtr  pGC, GCPtr  pGC,
int  depth, int  depth,
int  x, int  x,
int  y, int  y,
int  w, int  w,
int  h, int  h,
int  leftPad, int  leftPad,
int  format, int  format,
char *  pBitschar *  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.

-

-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, void dmxSetSpans (DrawablePtr  pDrawable,
GCPtr  pGC, GCPtr  pGC,
char *  psrc, char *  psrc,
DDXPointPtr  ppt, DDXPointPtr  ppt,
int *  pwidth, int *  pwidth,
int  nspans, int  nspans,
int  fSortedint  fSorted 
)
-
- - - - - -
-   - + +
+

Set spans -- this function should never be called.

-

-Set spans -- this function should never be called.

+ + +


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 b232f0b1b..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxgcops_8h-source.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - File Index - - - - - -

dmxgcops.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2001,2002 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Kevin E. Martin <kem@redhat.com>
-00032  *
-00033  */
-00034 
-00038 #ifndef DMXGCOPS_H
-00039 #define DMXGCOPS_H
-00040 
-00041 extern void dmxFillSpans(DrawablePtr pDrawable, GCPtr pGC,
-00042                          int nInit, DDXPointPtr pptInit, int *pwidthInit,
-00043                          int fSorted);
-00044 extern void dmxSetSpans(DrawablePtr pDrawable, GCPtr pGC,
-00045                         char *psrc, DDXPointPtr ppt, int *pwidth, int nspans,
-00046                         int fSorted);
-00047 extern void dmxPutImage(DrawablePtr pDrawable, GCPtr pGC,
-00048                         int depth, int x, int y, int w, int h,
-00049                         int leftPad, int format, char *pBits);
-00050 extern RegionPtr dmxCopyArea(DrawablePtr pSrc, DrawablePtr pDst, GCPtr pGC,
-00051                              int srcx, int srcy, int w, int h,
-00052                              int dstx, int dsty);
-00053 extern RegionPtr dmxCopyPlane(DrawablePtr pSrc, DrawablePtr pDst, GCPtr pGC,
-00054                               int srcx, int srcy, int width, int height,
-00055                               int dstx, int dsty, unsigned long bitPlane);
-00056 extern void dmxPolyPoint(DrawablePtr pDrawable, GCPtr pGC,
-00057                          int mode, int npt, DDXPointPtr pptInit);
-00058 extern void dmxPolylines(DrawablePtr pDrawable, GCPtr pGC,
-00059                          int mode, int npt, DDXPointPtr pptInit);
-00060 extern void dmxPolySegment(DrawablePtr pDrawable, GCPtr pGC,
-00061                            int nseg, xSegment *pSegs);
-00062 extern void dmxPolyRectangle(DrawablePtr pDrawable, GCPtr pGC,
-00063                              int nrects, xRectangle *pRects);
-00064 extern void dmxPolyArc(DrawablePtr pDrawable, GCPtr pGC,
-00065                        int narcs, xArc *parcs);
-00066 extern void dmxFillPolygon(DrawablePtr pDrawable, GCPtr pGC,
-00067                            int shape, int mode, int count, DDXPointPtr pPts);
-00068 extern void dmxPolyFillRect(DrawablePtr pDrawable, GCPtr pGC,
-00069                             int nrectFill, xRectangle *prectInit);
-00070 extern void dmxPolyFillArc(DrawablePtr pDrawable, GCPtr pGC,
-00071                            int narcs, xArc *parcs);
-00072 extern int dmxPolyText8(DrawablePtr pDrawable, GCPtr pGC,
-00073                         int x, int y, int count, char *chars);
-00074 extern int dmxPolyText16(DrawablePtr pDrawable, GCPtr pGC,
-00075                          int x, int y, int count, unsigned short *chars);
-00076 extern void dmxImageText8(DrawablePtr pDrawable, GCPtr pGC,
-00077                           int x, int y, int count, char *chars);
-00078 extern void dmxImageText16(DrawablePtr pDrawable, GCPtr pGC,
-00079                            int x, int y, int count, unsigned short *chars);
-00080 extern void dmxImageGlyphBlt(DrawablePtr pDrawable, GCPtr pGC,
-00081                              int x, int y, unsigned int nglyph,
-00082                              CharInfoPtr *ppci, pointer pglyphBase);
-00083 extern void dmxPolyGlyphBlt(DrawablePtr pDrawable, GCPtr pGC,
-00084                             int x, int y, unsigned int nglyph,
-00085                             CharInfoPtr *ppci, pointer pglyphBase);
-00086 extern void dmxPushPixels(GCPtr pGC, PixmapPtr pBitMap, DrawablePtr pDst,
-00087                           int w, int h, int x, int y);
-00088 
-00089 extern void dmxGetImage(DrawablePtr pDrawable, int sx, int sy, int w, int h,
-00090                         unsigned int format, unsigned long planeMask,
-00091                         char *pdstLine);
-00092 extern void dmxGetSpans(DrawablePtr pDrawable, int wMax,
-00093                         DDXPointPtr ppt, int *pwidth, int nspans,
-00094                         char *pdstStart);
-00095 
-00096 #endif /* DMXGCOPS_H */
-

-
- - 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 index 1f30f11a4..acaef7d88 100644 --- a/xorg-server/hw/dmx/doc/html/dmxgcops_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmxgcops_8h.html @@ -6,1455 +6,1265 @@ - - + + +

dmxgcops.h File Reference

-

-Go to the source code of this file. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +

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)
+ + + + + + + + + + + + + + + + + + + + + + +

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

-

- - - - -
- +

Detailed Description

+

Interface for gcops support.

+
See also:
dmxgcops.c
+

Function Documentation

+ +
+
+
- - - - + + + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + - - + + -
RegionPtr dmxCopyArea DrawablePtr  pSrc, RegionPtr dmxCopyArea (DrawablePtr  pSrc,
DrawablePtr  pDst, DrawablePtr  pDst,
GCPtr  pGC, GCPtr  pGC,
int  srcx, int  srcx,
int  srcy, int  srcy,
int  w, int  w,
int  h, int  h,
int  dstx, int  dstx,
int  dstyint  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.

-

-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, RegionPtr dmxCopyPlane (DrawablePtr  pSrc,
DrawablePtr  pDst, DrawablePtr  pDst,
GCPtr  pGC, GCPtr  pGC,
int  srcx, int  srcx,
int  srcy, int  srcy,
int  width, int  width,
int  height, int  height,
int  dstx, int  dstx,
int  dsty, int  dsty,
unsigned long  bitPlaneunsigned 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.

-

-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, void dmxFillPolygon (DrawablePtr  pDrawable,
GCPtr  pGC, GCPtr  pGC,
int  shape, int  shape,
int  mode, int  mode,
int  count, int  count,
DDXPointPtr  pPtsDDXPointPtr  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.

-

-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, void dmxFillSpans (DrawablePtr  pDrawable,
GCPtr  pGC, GCPtr  pGC,
int  nInit, int  nInit,
DDXPointPtr  pptInit, DDXPointPtr  pptInit,
int *  pwidthInit, int *  pwidthInit,
int  fSortedint  fSorted 
)
-
- - - - - -
-   - + +
+

Fill spans -- this function should never be called.

-

-Fill spans -- this function should never be called.

-

- - - - -
- + + + +
+
+
- - - - + + + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + - - + + -
void dmxGetImage DrawablePtr  pDrawable, void dmxGetImage (DrawablePtr  pDrawable,
int  sx, int  sx,
int  sy, int  sy,
int  w, int  w,
int  h, int  h,
unsigned int  format, unsigned int  format,
unsigned long  planeMask, unsigned long  planeMask,
char *  pdstLinechar *  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.

-

-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, void dmxGetSpans (DrawablePtr  pDrawable,
int  wMax, int  wMax,
DDXPointPtr  ppt, DDXPointPtr  ppt,
int *  pwidth, int *  pwidth,
int  nspans, int  nspans,
char *  pdstStartchar *  pdstStart 
)
-
- - - - - -
-   - + +
+

Get Spans -- this function should never be called.

-

-Get Spans -- this function should never be called.

-

- - - - -
- +

Referenced by dmxScreenInit().

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

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

-

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

-

- - - - -
- + + + +
+
+
- - - - + + + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + - - + + -
void dmxImageText16 DrawablePtr  pDrawable, void dmxImageText16 (DrawablePtr  pDrawable,
GCPtr  pGC, GCPtr  pGC,
int  x, int  x,
int  y, int  y,
int  count, int  count,
unsigned short *  charsunsigned 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.

-

-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, void dmxImageText8 (DrawablePtr  pDrawable,
GCPtr  pGC, GCPtr  pGC,
int  x, int  x,
int  y, int  y,
int  count, int  count,
char *  charschar *  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.

-

-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, void dmxPolyArc (DrawablePtr  pDrawable,
GCPtr  pGC, GCPtr  pGC,
int  narcs, int  narcs,
xArc *  parcsxArc *  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.

-

-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, void dmxPolyFillArc (DrawablePtr  pDrawable,
GCPtr  pGC, GCPtr  pGC,
int  narcs, int  narcs,
xArc *  parcsxArc *  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.

-

-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, void dmxPolyFillRect (DrawablePtr  pDrawable,
GCPtr  pGC, GCPtr  pGC,
int  nrectFill, int  nrectFill,
xRectangle *  prectInitxRectangle *  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.

-

-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, void dmxPolyGlyphBlt (DrawablePtr  pDrawable,
GCPtr  pGC, GCPtr  pGC,
int  x, int  x,
int  y, int  y,
unsigned int  nglyph, unsigned int  nglyph,
CharInfoPtr *  ppci, CharInfoPtr *  ppci,
pointer  pglyphBasepointer  pglyphBase 
)
-
- - - - - -
-   - + +
+

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

-

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

-

- - - - -
- + + + +
+
+
- - - - + + + + + - - - + + + - - - + + + - - - + + + - - - + + - - + + -
void dmxPolylines DrawablePtr  pDrawable, void dmxPolylines (DrawablePtr  pDrawable,
GCPtr  pGC, GCPtr  pGC,
int  mode, int  mode,
int  npt, int  npt,
DDXPointPtr  pptInitDDXPointPtr  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.

-

-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, void dmxPolyPoint (DrawablePtr  pDrawable,
GCPtr  pGC, GCPtr  pGC,
int  mode, int  mode,
int  npt, int  npt,
DDXPointPtr  pptInitDDXPointPtr  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.

-

-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, void dmxPolyRectangle (DrawablePtr  pDrawable,
GCPtr  pGC, GCPtr  pGC,
int  nrects, int  nrects,
xRectangle *  pRectsxRectangle *  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.

-

-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, void dmxPolySegment (DrawablePtr  pDrawable,
GCPtr  pGC, GCPtr  pGC,
int  nseg, int  nseg,
xSegment *  pSegsxSegment *  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.

-

-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, int dmxPolyText16 (DrawablePtr  pDrawable,
GCPtr  pGC, GCPtr  pGC,
int  x, int  x,
int  y, int  y,
int  count, int  count,
unsigned short *  charsunsigned 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.

-

-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, int dmxPolyText8 (DrawablePtr  pDrawable,
GCPtr  pGC, GCPtr  pGC,
int  x, int  x,
int  y, int  y,
int  count, int  count,
char *  charschar *  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.

-

-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, void dmxPushPixels (GCPtr  pGC,
PixmapPtr  pBitMap, PixmapPtr  pBitMap,
DrawablePtr  pDst, DrawablePtr  pDst,
int  w, int  w,
int  h, int  h,
int  x, int  x,
int  yint  y 
)
-
- - - - - -
-   - + +
+

Push Pixels -- this function should never be called.

-

-Push Pixels -- this function should never be called.

-

- - - - -
- + + + +
+
+
- - - - + + + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + - - + + -
void dmxPutImage DrawablePtr  pDrawable, void dmxPutImage (DrawablePtr  pDrawable,
GCPtr  pGC, GCPtr  pGC,
int  depth, int  depth,
int  x, int  x,
int  y, int  y,
int  w, int  w,
int  h, int  h,
int  leftPad, int  leftPad,
int  format, int  format,
char *  pBitschar *  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.

-

-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, void dmxSetSpans (DrawablePtr  pDrawable,
GCPtr  pGC, GCPtr  pGC,
char *  psrc, char *  psrc,
DDXPointPtr  ppt, DDXPointPtr  ppt,
int *  pwidth, int *  pwidth,
int  nspans, int  nspans,
int  fSortedint  fSorted 
)
-
- - - - - -
-   - + +
+

Set spans -- this function should never be called.

-

-Set spans -- this function should never be called.

+

+ +
diff --git a/xorg-server/hw/dmx/doc/html/dmxgcops_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxgcops_8h_source.html new file mode 100644 index 000000000..bfa4842ec --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/dmxgcops_8h_source.html @@ -0,0 +1,128 @@ + + + + + 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 index 22928e654..314910174 100644 --- a/xorg-server/hw/dmx/doc/html/dmxinit_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxinit_8c.html @@ -6,695 +6,877 @@ - - -

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 "Xos.h"
-#include "dixstruct.h"
-#include "panoramiXsrv.h"
-#include <signal.h>
- - - - + + +
+

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>
+

Functions

void InitOutput (ScreenInfo *pScreenInfo, int argc, char *argv[])
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

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.

-
void AbortDDX (void)
void ddxGiveUp (void)
void OsVendorInit (void)
+ + + + + + + + +
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]
+
+
-
void OsVendorFatalError (void)
int ddxProcessArgument (int argc, char *argv[], int i)
+ + + + + + + + +
void dmxCheckForWM (DMXScreenInfo dmxScreen ) 
+ +

-
void ddxUseMsg (void)
CARD32 GetTimeInMillis (void)

Variables

int dmxNumScreens
+ + + + + + + + +
static void dmxDisplayInit (DMXScreenInfo dmxScreen )  [static]
+ +

+

Initialize the display and collect relevant information about the display properties

-DMXScreenInfodmxScreens +

References dmxCheckForWM(), dmxFatal, dmxGetColormaps(), dmxGetPixmapFormats(), dmxGetScreenAttribs(), dmxGetVisualInfo(), dmxLog(), dmxOpenDisplay(), dmxSetErrorHandler(), and _DMXScreenInfo::name.

-int dmxNumInputs +

Referenced by InitOutput().

-DMXInputInfodmxInputs +
+ + +
+
+ + + + + + + + + + + + + + + + + + +
static int dmxErrorHandler (Display *  dpy,
XErrorEvent *  ev 
) [static]
+
+
-int dmxShadowFB = FALSE +

References DMX_ERROR_BUF_SIZE, dmxErrorOccurred, dmxLastErrorEvent, dmxLog(), and dmxWarning.

-XErrorEvent dmxLastErrorEvent +

Referenced by dmxSetErrorHandler().

-Bool dmxErrorOccurred = FALSE +
+
+ +
+
+ + + + + + + + + +
static const char* dmxExecHost (void  )  [static]
+
+
-char * dmxFontPath = NULL +

Referenced by InitOutput().

-Bool dmxOffScreenOpt = TRUE +
+
+ +
+
+ + + + + + + + + +
static const char* dmxExecOS (void  )  [static]
+
+
-Bool dmxSubdividePrimitives = TRUE +

Referenced by InitOutput().

-Bool dmxLazyWindowCreation = TRUE +
+
+ + + +
+
+ + + + + + + + + +
void dmxGetPixmapFormats (DMXScreenInfo dmxScreen ) 
+
+
-Bool dmxIgnoreBadFontPaths = FALSE +

References _DMXScreenInfo::beDepths, _DMXScreenInfo::beDisplay, _DMXScreenInfo::beNumDepths, _DMXScreenInfo::beNumPixmapFormats, and _DMXScreenInfo::bePixmapFormats.

-Bool dmxAddRemoveScreens = FALSE +

Referenced by dmxAttachScreen(), and dmxDisplayInit().

- -

Detailed Description

-Provide expected functions for initialization from the ddx layer and global variables for the DMX server.

Function Documentation

-

- - - - -
- + + + +
+
+
- - - - - - + + + + + + +
void AbortDDX void   ) void dmxGetScreenAttribs (DMXScreenInfo dmxScreen ) 
+ + + + +
+
+ + + + + + + + +
Bool dmxGetVisualInfo (DMXScreenInfo dmxScreen ) 
-
- - - - - -
-   - - -

-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.

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + +
void ddxGiveUp void   ) Bool dmxOpenDisplay (DMXScreenInfo dmxScreen ) 
+ + + + +
+
+ + + + + + + + +
static void dmxPrintScreenInfo (DMXScreenInfo dmxScreen )  [static]
-
- - - - - -
-   - - -

-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.

-

- - - - -
- + + + + +
+
+
- - - - + + + + + + +
int ddxProcessArgument int  argc, static void dmxSetDefaultFontPath (char *  fp )  [static]
+ +
+ +

References dmxFontPath.

+ +

Referenced by ddxProcessArgument().

+ +
+ + +
+
+ + + + + + - - - +
void dmxSetErrorHandler (DMXScreenInfo dmxScreen )  char *  argv[],
+
+
+ +

References dmxErrorHandler().

+ +

Referenced by dmxAttachScreen(), and dmxDisplayInit().

+ +
+
+ +
+
+ - - - - + + + + + - - + + - -
int  istatic Bool dmxSetPixmapFormats (ScreenInfo *  pScreenInfo,
DMXScreenInfo dmxScreen 
-
- - - - - -
-   - - -

-Process our command line arguments.

-

- - - - -
- - - - - - - + + + -
void ddxUseMsg void   ) ) [static]
-
- - - - - -
-   - - -

-Provide succinct usage information for the DMX server.

-

- - - - -
- - - - - - - - - + +
-
CARD32 GetTimeInMillis void   ) 
-
- - - - - -
-   - - -

-Return wall-clock time in milliseconds.

-

- - - - -
- +

References _DMXScreenInfo::beDepths, _DMXScreenInfo::beDisplay, _DMXScreenInfo::beNumDepths, _DMXScreenInfo::beNumPixmapFormats, and _DMXScreenInfo::bePixmapFormats.

+ +

Referenced by InitOutput().

+ + + + +
+
+
- - - - + + + + + - - - + + + - - - + + - - + + -
void InitOutput ScreenInfo *  pScreenInfo, void InitOutput (ScreenInfo *  pScreenInfo,
int  argc, int  argc,
char *  argv[]char *  argv[] 
)
-
- - - - - -
-   - - -

-This routine is called in Xserver/dix/main.c from main().

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + -
void OsVendorFatalError void   ) 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().)

-

- - - - -
- + +
+

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   ) void OsVendorInit (void  ) 
-
- - - - - -
-   - - -

-This function is called in Xserver/os/osinit.c from OsInit().

-


Variable Documentation

-

- - - - -
- + +
+

This function is called in Xserver/os/osinit.c from OsInit().

+ +
+ +

Variable Documentation

+ +
+
+
- +
Bool dmxAddRemoveScreens = FALSE + Bool dmxAddRemoveScreens = FALSE
-
- - - - - -
-   - - -

-True if add and remove screens support is enabled

-

- - - - -
- + +
+

True if add and remove screens support is enabled

+ +

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

+ +
+ + +
+
+
- +
int dmxDepth = 0 + int dmxDepth = 0
-
- - - - - -
-   - - -

-Requested depth if non-zero

-

- - - - -
- + +
+

Requested depth if non-zero

+ +

Referenced by ddxProcessArgument(), and dmxGetVisualInfo().

+ +
+ + +
+
+
- +
Bool dmxErrorOccurred = FALSE + Bool dmxErrorOccurred = FALSE
-
- - - - - -
-   - - -

-True if an error occurred

-

- - - - -
- + +
+

True if an error occurred

+ +

Referenced by dmxErrorHandler().

+ +
+ + +
+
+
- +
char* dmxFontPath = NULL + 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

-

- - - - -
- + +
+

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 = FALSE + Bool dmxGLXProxy = FALSE [static]
-
- - - - - -
-   - - -

-True if bad font paths should be ignored during server init

-

- - - - -
- + +
+ +

Referenced by ddxProcessArgument(), and InitOutput().

+ +
+ + +
+
+
- +
DMXInputInfo* dmxInputs + Bool dmxIgnoreBadFontPaths = FALSE
-
- - - - - -
-   - - -

-List of inputs

-

- - - - -
- + +
+

True if bad font paths should be ignored during server init

+ +

Referenced by ddxProcessArgument(), and dmxBELoadFont().

+ +
+ + +
+
+
- +
XErrorEvent dmxLastErrorEvent + DMXInputInfo* dmxInputs
-
- - - - - -
-   - - -

-Last error that occurred

-

- - - - -
- + + + + +
+
+
- +
Bool dmxLazyWindowCreation = TRUE + XErrorEvent dmxLastErrorEvent
-
- - - - - -
-   - - -

-True if using the lazy window creation optimization

-

- - - - -
- + +
+

Last error that occurred

+ +

Referenced by dmxErrorHandler().

+ +
+ + +
+
+
- +
Bool dmxNoRender = FALSE + Bool dmxLazyWindowCreation = TRUE
-
- - - - - -
-   - - -

-True if the RENDER extension should be disabled

-

- - - - -
- + +
+

True if using the lazy window creation optimization

+ +

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

+ +
+ + +
+
+
- +
int dmxNumInputs + int dmxNumInputs
-
- - - - - -
-   - - -

-Number of dmxInputs

-

- - - - -
- + + + + +
+
+
- +
int dmxNumScreens + int dmxNumScreens
-
- - - - - -
-   - - -

-Number of dmxScreens

-

- - - - -
- + + + + +
+
+
- +
Bool dmxOffScreenOpt = TRUE + Bool dmxOffScreenOpt = TRUE
-
- - - - - -
-   - - -

-True if using off screen optimizations

-

- - - - -
- + +
+

True if using off screen optimizations

+ +

Referenced by ddxProcessArgument(), and InitOutput().

+ +
+ + +
+
+
- +
DMXScreenInfo* dmxScreens + DMXScreenInfo* dmxScreens
-
- - - - - -
-   - - -

-List of outputs

-

- - - - -
- + +
+

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 + int dmxShadowFB = FALSE
-
- - - - - -
-   - - -

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

-

- - - - -
- + +
+

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

+ +

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

+ +
+ + +
+
+
- +
Bool dmxSubdividePrimitives = TRUE + Bool dmxSubdividePrimitives = TRUE
-
- - - - - -
-   - - -

-True if using the primitive subdivision optimization

-

- - - - -
- + +
+

True if using the primitive subdivision optimization

+ +

Referenced by ddxProcessArgument(), and dmxPutImage().

+ +
+ + +
+
+
- +
Bool dmxUseXKB = TRUE + Bool dmxUseXKB = TRUE
-
- - - - - -
-   - - -

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

+

+
+

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

+ +

Referenced by ddxProcessArgument(), and dmxCommonSaveState().

+ +
+
+
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 3217ef4cb..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxinit_8h-source.html +++ /dev/null @@ -1,70 +0,0 @@ - - - - - File Index - - - - - -

dmxinit.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2004 Red Hat Inc., Raleigh, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Kevin E. Martin <kem@redhat.com>
-00032  *
-00033  */
-00034 
-00038 #ifndef DMXINIT_H
-00039 #define DMXINIT_H
-00040 
-00041 #include "scrnintstr.h"
-00042 
-00043 extern Bool dmxOpenDisplay(DMXScreenInfo *dmxScreen);
-00044 extern void dmxSetErrorHandler(DMXScreenInfo *dmxScreen);
-00045 extern void dmxCheckForWM(DMXScreenInfo *dmxScreen);
-00046 extern void dmxGetScreenAttribs(DMXScreenInfo *dmxScreen);
-00047 extern Bool dmxGetVisualInfo(DMXScreenInfo *dmxScreen);
-00048 extern void dmxGetColormaps(DMXScreenInfo *dmxScreen);
-00049 extern void dmxGetPixmapFormats(DMXScreenInfo *dmxScreen);
-00050 
-00051 #endif /* DMXINIT_H */
-

-
- - 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 index 2890be2c6..b83e29690 100644 --- a/xorg-server/hw/dmx/doc/html/dmxinit_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmxinit_8h.html @@ -6,16 +6,195 @@ - - -

dmxinit.h File Reference

#include "scrnintstr.h"
+ + +
+

dmxinit.h File Reference

#include "scrnintstr.h"
-

-Go to the source code of this file. - +

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
+

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().

+ +
+
+

diff --git a/xorg-server/hw/dmx/doc/html/dmxinit_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxinit_8h_source.html new file mode 100644 index 000000000..bb6ba7f8d --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/dmxinit_8h_source.html @@ -0,0 +1,83 @@ + + + + + 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 index 09a5ddd05..d53bd7643 100644 --- a/xorg-server/hw/dmx/doc/html/dmxinput_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxinput_8c.html @@ -6,171 +6,201 @@ - - -

dmxinput.c File Reference

#include "dmx.h"
-#include "dmxlog.h"
-#include "dmxinput.h"
-#include "inputstr.h"
-#include "input.h"
- - - - + + +
+

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, DevicePtr pDev)
+ + + + + + + +

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 InitInput (int argc, char **argv) +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
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.

-void ProcessInputEvents (void) +

References _DMXInputInfo::detached, dmxInputs, dmxNumInputs, and _DMXInputInfo::updateWindowInfo.

-void dmxUpdateWindowInfo (DMXUpdateType type, WindowPtr pWindow) +

Referenced by dmxCopyWindow(), dmxRealizeWindow(), dmxReparentWindow(), dmxResizeWindow(), dmxRestackWindow(), and dmxUnrealizeWindow().

- -

Detailed Description

-Provide the main entry points for input initialization and processing that arequired by the dix layer.

Function Documentation

-

- - - - -
- + + + +
+
+
- - - - + + + + + - - - + + - - + + -
void dmxUpdateWindowInfo DMXUpdateType  type, void InitInput (int  argc,
WindowPtr  pWindowchar **  argv 
)
-
- - - - - -
-   - + +
+

Called from dix/main.c on each server generation to initialize inputs. All the work is done in dmxInputInit.

+
See also:
dmxInputInit()
-

-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 dmxFatal, dmxInputInit(), dmxInputs, dmxLog(), and dmxNumInputs.

+ + + + +
+
+
- - - - + + + + + - - - + + - - + + -
void InitInput int  argc, Bool LegalModifier (unsigned int  key,
char **  argvDeviceIntPtr  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.

-

-Called from dix/main.c on each server generation to initialize inputs. All the work is done in dmxInputInit.

See also:
dmxInputInit()
-
-

- - - - -
- + + + +
+
+
- - - - + + + + + - - - + + - - + + -
Bool LegalModifier unsigned int  key, int NewInputDeviceRequest (InputOption *  options,
DevicePtr  pDevDeviceIntPtr *  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.

-

- - - - -
- + + + +
+
+
- - - - - - + + + + + + -
void ProcessInputEvents void   ) 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.

-

-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().

+ +
+
+
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 013912f37..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxinput_8h-source.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - File Index - - - - - -

dmxinput.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2001,2002 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   David H. Dawes <dawes@xfree86.org>
-00032  *   Kevin E. Martin <kem@redhat.com>
-00033  *   Rickard E. (Rik) Faith <faith@redhat.com>
-00034  *
-00035  */
-00036 
-00048 #ifndef DMXINPUT_H
-00049 #define DMXINPUT_H
-00050 
-00052 #define DMX_MAX_SIGIO_FDS 4
-00053 
-00054 struct _DMXInputInfo;
-00055 
-00057 typedef enum {
-00058     DMX_UPDATE_REALIZE,         
-00059     DMX_UPDATE_UNREALIZE,       
-00060     DMX_UPDATE_RESTACK,         
-00061     DMX_UPDATE_COPY,            
-00062     DMX_UPDATE_RESIZE,          
-00063     DMX_UPDATE_REPARENT         
-00064 } DMXUpdateType;
-00065 
-00066 typedef void (*ProcessInputEventsProc)(struct _DMXInputInfo *);
-00067 typedef void (*UpdateWindowInfoProc)(struct _DMXInputInfo *,
-00068                                      DMXUpdateType, WindowPtr);
-00069 
-00071 typedef struct _DMXLocalInputInfo *DMXLocalInputInfoPtr;
-00072 
-00074 typedef enum {
-00075     DMX_NOSIGIO = 0,            
-00076     DMX_USESIGIO,               
-00079     DMX_ACTIVESIGIO             
-00080 } dmxSigioState;
-00081 
-00085 struct _DMXInputInfo {
-00086     const char              *name; 
-00089     Bool                    freename; 
-00090     Bool                    detached; 
-00091     int                     inputIdx; 
-00092     int                     scrnIdx;  
-00093     Bool                    core;  
-00096     Bool                    console; 
-00100     Bool                    windows; 
-00103     ProcessInputEventsProc  processInputEvents;
-00104     UpdateWindowInfoProc    updateWindowInfo;
-00105 
-00106                                 /* Local input information */
-00107     dmxSigioState           sigioState;    
-00108     int                     sigioFdCount;  
-00109     int                     sigioFd[DMX_MAX_SIGIO_FDS];    
-00110     Bool                    sigioAdded[DMX_MAX_SIGIO_FDS]; 
-00114     int                     vt_switch_pending;
-00115 
-00117     int                     vt_switched;
-00118 
-00120     int                     numDevs;
-00121 
-00126     DMXLocalInputInfoPtr    *devs;
-00127 
-00128     char                    *keycodes; 
-00129     char                    *symbols;  
-00130     char                    *geometry; 
-00131 };
-00132 
-00133 extern int                  dmxNumInputs; 
-00134 extern DMXInputInfo         *dmxInputs;   
-00136 extern void dmxInputInit(DMXInputInfo *dmxInput);
-00137 extern void dmxInputReInit(DMXInputInfo *dmxInput);
-00138 extern void dmxInputLateReInit(DMXInputInfo *dmxInput);
-00139 extern void dmxInputFree(DMXInputInfo *dmxInput);
-00140 extern void dmxInputLogDevices(void);
-00141 extern void dmxUpdateWindowInfo(DMXUpdateType type, WindowPtr pWindow);
-00142 
-00143 /* These functions are defined in input/dmxeq.c */
-00144 extern Bool dmxeqInitialized(void);
-00145 extern void dmxeqEnqueue(xEvent *e);
-00146 extern void dmxeqSwitchScreen(ScreenPtr pScreen, Bool fromDIX);
-00147 
-00148 /* This type is used in input/dmxevents.c.  Also, these functions are
-00149  * defined in input/dmxevents.c */
-00150 typedef enum {
-00151     DMX_NO_BLOCK = 0,
-00152     DMX_BLOCK    = 1
-00153 } DMXBlockType;
-00154 
-00155 extern void          dmxGetGlobalPosition(int *x, int *y);
-00156 extern DMXScreenInfo *dmxFindFirstScreen(int x, int y);
-00157 extern void          dmxCoreMotion(int x, int y, int delta,
-00158                                    DMXBlockType block);
-00159 
-00160 /* Support for dynamic addition of inputs.  This functions is defined in
-00161  * config/dmxconfig.c */
-00162 extern DMXInputInfo *dmxConfigAddInput(const char *name, int core);
-00163 #endif /* DMXINPUT_H */
-

-
- - 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 index fab2a374d..d2c887e08 100644 --- a/xorg-server/hw/dmx/doc/html/dmxinput_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmxinput_8h.html @@ -6,520 +6,577 @@ - - + + +

dmxinput.h File Reference

-

-Go to the source code of this file. - - - - - - - - - - - - +

Referenced by dmxMapInsert(), and dmxMapLookup().

- + + + +
+
+

Data Structures

struct  _DMXInputInfo

Defines

#define DMX_MAX_SIGIO_FDS   4

Typedefs

typedef _DMXLocalInputInfoDMXLocalInputInfoPtr

Enumerations

enum  DMXUpdateType {
-  DMX_UPDATE_REALIZE, -DMX_UPDATE_UNREALIZE, -DMX_UPDATE_RESTACK, -DMX_UPDATE_COPY, -
-  DMX_UPDATE_RESIZE, -DMX_UPDATE_REPARENT -
+

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  dmxSigioState { DMX_NOSIGIO = 0, +DMX_USESIGIO, +DMX_ACTIVESIGIO }

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 dmxeqEnqueue (xEvent *e)
void dmxeqSwitchScreen (ScreenPtr pScreen, Bool fromDIX)
void dmxGetGlobalPosition (int *x, int *y)

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 +
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

-


Typedef Documentation

-

- - - - +

Referenced by dmxMapClear(), dmxMapInsert(), and dmxMapLookup().

- + + + +
+
+
- - - - -
typedef struct _DMXLocalInputInfo* DMXLocalInputInfoPtr + +
+

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.

-

Enumeration Type Documentation

-

- - - + + + +
+
+
- - - - -
enum dmxSigioState + +
+

An opaque structure that is only exposed in the dmx/input layer.

+ +
+ + +
+
+ + + +
typedef void(* ProcessInputEventsProc)(struct _DMXInputInfo *)
-
- - - - - -
-   - - -

-State of the SIGIO engine

Enumeration values:
- - - - -
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.
+ +
+ +
+ + +
+
+ + + + +
typedef void(* UpdateWindowInfoProc)(struct _DMXInputInfo *, DMXUpdateType, WindowPtr)
+
+
+ +
+
+

Enumeration Type Documentation

+ +
+
+ + + + +
enum DMXBlockType
+
+
+
Enumerator:
+ + +
DMX_NO_BLOCK  +
DMX_BLOCK  +
+
-
-

- - - - -
- + + + + +
+
+
- +
enum DMXUpdateType + enum dmxSigioState
-
- - - - - -
-   - - -

-Reason why window layout was updated.

Enumeration values:
- - - - - - - -
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
+ +
+

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.

+
+
-
-


Function Documentation

-

- - - - -
- + + + + +
+
+
- - - - - - + +
void dmxeqEnqueue xEvent *  e  ) 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 
)
-
- - - - - -
-   - - -

-This function adds an event to the end of the queue. If the event is an XInput event, then the next event (the valuator event) is also stored in the queue. If the new event has a time before the time of the last event currently on the queue, then the time is updated for the new event.

-Must be reentrant with ProcessInputEvents. Assumption: dmxeqEnqueue will never be interrupted. If this is called from both signal handlers and regular code, make sure the signal is suspended when called from regular code.

-

- - - - -
- + + + + +
+
+
- - - - + + + + + + + + + + - - + + + - - + + + + + + + + + + + + + -
void dmxeqSwitchScreen ScreenPtr  pScreen, void dmxCoreMotion (DevicePtr  pDev,
int  x,
Bool  fromDIXint  y,
int  delta,
DMXBlockType  block 
)
-
- - - - - -
-   - - -

-Make pScreen the new screen for enqueueing events. If fromDIX is TRUE, also make pScreen the new screen for dequeuing events.

-

- - - - -
- + + + + +
+
+
- - - - + + + + + + + + + + - - + + - - + + -
void dmxGetGlobalPosition int *  x, void dmxeqSwitchScreen (DeviceIntPtr  pDev,
ScreenPtr  pScreen,
int *  yBool  fromDIX 
)
-
- - - - - -
-   - - -

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

-

- - - - -
- + +
+ +
+ + +
+
+
- - - - - - + + + + - -
void dmxInputFree DMXInputInfo dmxInput  ) DMXScreenInfo* dmxFindFirstScreen (int  x,
-
- - - - - -
-   - - -

-Free all of the memory associated with dmxInput

-

- - - - -
- - - - - - - + + + + + + + + + -
void dmxInputInit DMXInputInfo dmxInput  ) int  y 
)
-
- - - - - -
-   - - -

-Initialize all of the devices described in dmxInput.

-

- - - - -
- + +
+ +

References dmxNumScreens, dmxOnScreen(), and dmxScreens.

+ +

Referenced by dmxCheckCursor(), and dmxCoreMotion().

+ +
+ + +
+
+
+ + + + + + + + + + + + - - - - - - + + + +
void dmxGetGlobalPosition (int *  x,
int *  y 
void dmxInputLateReInit DMXInputInfo dmxInput  ) )
+ +
+

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 ) 
-
- - - - - -
-   - - -

-Re-initialize all the devices described in dmxInput. Called from #dmxReconfig after the cursor is redisplayed.

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + +
void dmxInputLogDevices void   ) void dmxInputInit (DMXInputInfo dmxInput ) 
+ + + + +
+
+ + + + + + + + +
void dmxInputLateReInit (DMXInputInfo dmxInput ) 
-
- - - - - -
-   - - -

-Log information about all of the known devices using dmxLog().

-

- - - - -
- + +
+

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  ) void dmxInputLogDevices (void  ) 
+ + + + +
+
+ + + + + + + + +
void dmxInputReInit (DMXInputInfo dmxInput ) 
-
- - - - - -
-   - - -

-Re-initialize all the devices described in dmxInput. Called from #dmxReconfig before the cursor is redisplayed.

-

- - - - -
- + +
+

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, void dmxUpdateWindowInfo (DMXUpdateType  type,
WindowPtr  pWindowWindowPtr  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.

-


Variable Documentation

-

- - - + + + +
+
+
- - - - -
DMXInputInfo* dmxInputs + +
+

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

+ +
+
+ + + +
DMXInputInfo* dmxInputs
-
- - - - - -
-   - - -

-List of inputs

-

- - - - -
- + + + + +
+
+
- +
int dmxNumInputs + int dmxNumInputs
-
- - - - - -
-   - - -

-Number of dmxInputs

+ +

+ +
diff --git a/xorg-server/hw/dmx/doc/html/dmxinput_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxinput_8h_source.html new file mode 100644 index 000000000..931bb12cb --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/dmxinput_8h_source.html @@ -0,0 +1,157 @@ + + + + + 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 index 9b06c5221..d2e4953ea 100644 --- a/xorg-server/hw/dmx/doc/html/dmxinputinit_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxinputinit_8c.html @@ -6,463 +6,1449 @@ - - -

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 "dmxeq.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 "XI.h"
-#include "XIproto.h"
-#include "exevents.h"
-#include "extinit.h"
- - - - - - - - - - - - - - - - - - - - - - - - - - - + + +
+

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"
+

Functions

void dmxChangePointerControl (DeviceIntPtr pDevice, PtrCtrl *ctrl)
void dmxKeyboardKbdCtrlProc (DeviceIntPtr pDevice, KeybdCtrl *ctrl)
void dmxKeyboardBellProc (int percent, DeviceIntPtr pDevice, pointer ctrl, int unknown)
DMXLocalInputInfoPtr dmxInputCopyLocal (DMXInputInfo *dmxInput, DMXLocalInputInfoPtr s)
void dmxInputReInit (DMXInputInfo *dmxInput)
void dmxInputLateReInit (DMXInputInfo *dmxInput)
void dmxInputInit (DMXInputInfo *dmxInput)
void dmxInputFree (DMXInputInfo *dmxInput)
void dmxInputLogDevices (void)
int dmxInputDetach (DMXInputInfo *dmxInput)
void dmxInputDetachAll (DMXScreenInfo *dmxScreen)
int dmxInputDetachId (int id)
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

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.

Function Documentation

-

- - - - -
- +

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

+ +
+
+
- - - - + +
void dmxChangePointerControl DeviceIntPtr  pDevice, #define DMX_WINDOW_DEBUG   0
+ +
+ +
+ + +
+
+ + + +
#define LEN   32
+
+
+ +

Referenced by dmxMakeUniqueDeviceName().

+ +
+
+

Function Documentation

+ +
+
+ + + + + + + + + + + + + - - + + + +
static void _dmxChangePointerControl (DMXLocalInputInfoPtr  dmxLocal,
PtrCtrl *  ctrl 
PtrCtrl *  ctrl) [static]
+
+ +
+ +
+
+ + + + + + + + + + + + - - + + +
static void _dmxKeyboardBellProc (DMXLocalInputInfoPtr  dmxLocal,
int  percent 
) [static]
+
+ +
+ +
+
+ + + + + + + + + + + + + + + + + +
static void _dmxKeyboardKbdCtrlProc (DMXLocalInputInfoPtr  dmxLocal,
KeybdCtrl *  ctrl 
) [static]
-
- - - - - -
-   - - -

-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.

-

- - - - -
- + + + + +
+
+
- - - - + + + + + + + + + + - - + + - - + + +
DMXLocalInputInfoPtr dmxInputCopyLocal DMXInputInfo dmxInput, void DDXRingBell (int  volume,
int  pitch,
DMXLocalInputInfoPtr  sint  duration 
)
+ +
+
+ + +
+
+ + + + + + + + +
static DeviceIntPtr dmxAddDevice (DMXLocalInputInfoPtr  dmxLocal )  [static]
-
- - - - - -
-   - - -

-Copy the local input information from s into a new devs slot in dmxInput.

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + +
int dmxInputDetach DMXInputInfo dmxInput  ) 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]
-
- - - - - -
-   - - -

-Detach an input

-

- - - - -
- + +
+ +

References dmxCollectAll(), and dmxInputs.

+ +

Referenced by dmxInputInit().

+ +
+ + +
+
+
+ + + + + + - - - - - - + + + + + + + + + +
void dmxChangePointerControl (DeviceIntPtr  pDevice,
void dmxInputDetachAll DMXScreenInfo dmxScreen  ) 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().

+ +
+ + +
+
+ + + + + + + + +
static void dmxCollectAll (DMXInputInfo dmxInput )  [static]
-
- - - - - -
-   - - -

-Search for input associated with dmxScreen, and detach.

-

- - - - -
- + + + + +
+
+
+ + + + + + - - - - - - + + + + + + + + + +
static int dmxDeviceOnOff (DeviceIntPtr  pDevice,
int dmxInputDetachId int  id  ) int  what 
) [static]
+ + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + +
int dmxInputAttachBackend (int  physicalScreen,
int  isCore,
int *  id 
)
-
- - - - - -
-   - - -

-Search for input associated with deviceId, and detach.

-

- - - - -
- + + + + +
+
+
+ + + + + + + + + + + + + + + + + + - - - - - - + + + +
int dmxInputAttachConsole (const char *  name,
int  isCore,
int *  id 
void dmxInputFree DMXInputInfo dmxInput  ) )
+ + + + +
+
+ + + + + + + + + + + + + + + + + +
static int dmxInputAttachNew (DMXInputInfo dmxInput,
int *  id 
) [static]
-
- - - - - -
-   - - -

-Free all of the memory associated with dmxInput

-

- - - - -
- + + + + +
+
+
+ + + + + + - - - - - - + + + + + + + + + +
static int dmxInputAttachOld (DMXInputInfo dmxInput,
void dmxInputInit DMXInputInfo dmxInput  ) int *  id 
) [static]
+ + + + +
+
+ + + + + + + + + + + + + + + + + +
DMXLocalInputInfoPtr dmxInputCopyLocal (DMXInputInfo dmxInput,
DMXLocalInputInfoPtr  s 
)
-
- - - - - -
-   - - -

-Initialize all of the devices described in dmxInput.

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + +
void dmxInputLateReInit DMXInputInfo dmxInput  ) int dmxInputDetach (DMXInputInfo dmxInput ) 
+ + + + +
+
+ + + + + + + + +
void dmxInputDetachAll (DMXScreenInfo dmxScreen ) 
-
- - - - - -
-   - - -

-Re-initialize all the devices described in dmxInput. Called from #dmxReconfig after the cursor is redisplayed.

-

- - - - -
- + +
+

Search for input associated with dmxScreen, and detach.

+ +

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

+ +

Referenced by dmxDetachScreen().

+ +
+ + +
+
+
- - - - - - + + + + + + +
void dmxInputLogDevices void   ) 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 
)
-
- - - - - -
-   - - -

-Log information about all of the known devices using dmxLog().

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + +
void dmxInputReInit DMXInputInfo dmxInput  ) void dmxInputFree (DMXInputInfo dmxInput ) 
+ + + + +
+
+ + + + + + + + +
static void dmxInputFreeLocal (DMXLocalInputInfoRec local )  [static]
-
- - - - - -
-   - - -

-Re-initialize all the devices described in dmxInput. Called from #dmxReconfig before the cursor is redisplayed.

-

- - - - -
- + + + + +
+
+
- - - - + + + + + + +
void dmxKeyboardBellProc int  percent, void dmxInputInit (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 )  DeviceIntPtr  pDevice,
+
+ +
+ + + +
+
+ + + + + + + - - + +
void dmxInputReInit (DMXInputInfo dmxInput )  pointer  ctrl,
+
+
+

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.

-

- - - - -
- + +
+

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,
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]
-
- - - - - -
-   - - -

-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 _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]
+
+
+ +
+
+
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 9899c67a0..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxinputinit_8h-source.html +++ /dev/null @@ -1,259 +0,0 @@ - - - - - File Index - - - - - -

dmxinputinit.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2002 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Rickard E. (Rik) Faith <faith@redhat.com>
-00032  *
-00033  */
-00034 
-00038 #ifndef _DMXINPUTINIT_H_
-00039 #define _DMXINPUTINIT_H_
-00040 
-00041 #include "dmx.h"
-00042 #include "dmxinput.h"
-00043 #include "dmxlog.h"
-00044 
-00045 
-00046 #define DMX_LOCAL_DEFAULT_KEYBOARD "kbd"
-00047 #define DMX_LOCAL_DEFAULT_POINTER  "ps2"
-00048 #define DMX_MAX_BUTTONS            256
-00049 #define DMX_MOTION_SIZE            256
-00050 #define DMX_MAX_VALUATORS          32
-00051 #define DMX_MAX_AXES               32
-00052 #define DMX_MAX_XINPUT_EVENT_TYPES 100
-00053 #define DMX_MAP_ENTRIES            16 /* Must be a power of 2 */
-00054 #define DMX_MAP_MASK               (DMX_MAP_ENTRIES - 1)
-00055 
-00056 typedef enum {
-00057     DMX_FUNCTION_GRAB,
-00058     DMX_FUNCTION_TERMINATE,
-00059     DMX_FUNCTION_FINE
-00060 } DMXFunctionType;
-00061 
-00062 typedef enum {
-00063     DMX_LOCAL_HIGHLEVEL,
-00064     DMX_LOCAL_KEYBOARD,
-00065     DMX_LOCAL_MOUSE,
-00066     DMX_LOCAL_OTHER
-00067 } DMXLocalInputType;
-00068 
-00069 typedef enum {
-00070     DMX_LOCAL_TYPE_LOCAL,
-00071     DMX_LOCAL_TYPE_CONSOLE,
-00072     DMX_LOCAL_TYPE_BACKEND,
-00073     DMX_LOCAL_TYPE_COMMON
-00074 } DMXLocalInputExtType;
-00075 
-00076 typedef enum {
-00077     DMX_RELATIVE,
-00078     DMX_ABSOLUTE,
-00079     DMX_ABSOLUTE_CONFINED
-00080 } DMXMotionType;
-00081 
-00084 typedef struct _DMXLocalInitInfo {
-00085     int                  keyboard; 
-00087     int                  keyClass; 
-00088     KeySymsRec           keySyms;  
-00089     int                  freemap;  
-00090     CARD8                modMap[MAP_LENGTH]; 
-00091 #ifdef XKB
-00092     XkbDescPtr           xkb;       
-00093     XkbComponentNamesRec names;     
-00094     int                  freenames; 
-00095     int                  force;     
-00096 #endif
-00097 
-00098     int                  buttonClass; 
-00099     int                  numButtons;  
-00100     unsigned char        map[DMX_MAX_BUTTONS]; 
-00102     int                  valuatorClass; 
-00104     int                  numRelAxes;    
-00105     int                  numAbsAxes;    
-00106     int                  minval[DMX_MAX_AXES]; 
-00107     int                  maxval[DMX_MAX_AXES]; 
-00108     int                  res[DMX_MAX_AXES];    
-00109     int                  minres[DMX_MAX_AXES]; 
-00110     int                  maxres[DMX_MAX_AXES]; 
-00112     int                  focusClass;       
-00114     int                  proximityClass;   
-00116     int                  kbdFeedbackClass; 
-00118     int                  ptrFeedbackClass; 
-00120     int                  ledFeedbackClass; 
-00122     int                  belFeedbackClass; 
-00124     int                  intFeedbackClass; 
-00126     int                  strFeedbackClass; 
-00129     int                  maxSymbols;          
-00130     int                  maxSymbolsSupported; 
-00131     KeySym               *symbols;            
-00132 } DMXLocalInitInfo, *DMXLocalInitInfoPtr;
-00133 
-00134 typedef pointer (*dmxCreatePrivateProcPtr)(DeviceIntPtr);
-00135 typedef void    (*dmxDestroyPrivateProcPtr)(pointer);
-00136                 
-00137 typedef void    (*dmxInitProcPtr)(DevicePtr);
-00138 typedef void    (*dmxReInitProcPtr)(DevicePtr);
-00139 typedef void    (*dmxLateReInitProcPtr)(DevicePtr);
-00140 typedef void    (*dmxGetInfoProcPtr)(DevicePtr, DMXLocalInitInfoPtr);
-00141 typedef int     (*dmxOnProcPtr)(DevicePtr);
-00142 typedef void    (*dmxOffProcPtr)(DevicePtr);
-00143 typedef void    (*dmxUpdatePositionProcPtr)(pointer, int x, int y);
-00144                 
-00145 typedef void    (*dmxVTPreSwitchProcPtr)(pointer);  /* Turn I/O Off */
-00146 typedef void    (*dmxVTPostSwitchProcPtr)(pointer); /* Turn I/O On */
-00147 typedef void    (*dmxVTSwitchReturnProcPtr)(pointer);
-00148 typedef int     (*dmxVTSwitchProcPtr)(pointer, int vt,
-00149                                       dmxVTSwitchReturnProcPtr, pointer);
-00150                 
-00151 typedef void    (*dmxMotionProcPtr)(DevicePtr,
-00152                                     int *valuators,
-00153                                     int firstAxis,
-00154                                     int axesCount,
-00155                                     DMXMotionType type,
-00156                                     DMXBlockType block);
-00157 typedef void    (*dmxEnqueueProcPtr)(DevicePtr, int type, int detail,
-00158                                      KeySym keySym, XEvent *e,
-00159                                      DMXBlockType block);
-00160 typedef int     (*dmxCheckSpecialProcPtr)(DevicePtr, KeySym keySym);
-00161 typedef void    (*dmxCollectEventsProcPtr)(DevicePtr,
-00162                                            dmxMotionProcPtr,
-00163                                            dmxEnqueueProcPtr,
-00164                                            dmxCheckSpecialProcPtr,
-00165                                            DMXBlockType);
-00166 typedef void    (*dmxProcessInputProcPtr)(pointer);
-00167 typedef void    (*dmxUpdateInfoProcPtr)(pointer, DMXUpdateType, WindowPtr);
-00168 typedef int     (*dmxFunctionsProcPtr)(pointer, DMXFunctionType);
-00169                 
-00170 typedef void    (*dmxKBCtrlProcPtr)(DevicePtr, KeybdCtrl *ctrl);
-00171 typedef void    (*dmxMCtrlProcPtr)(DevicePtr, PtrCtrl *ctrl);
-00172 typedef void    (*dmxKBBellProcPtr)(DevicePtr, int percent,
-00173                                     int volume, int pitch, int duration);
-00174 
-00177 typedef struct _DMXEventMap {
-00178     int remote;                 
-00179     int server;                 
-00180 } DMXEventMap;
-00181 
-00185 typedef struct _DMXLocalInputInfo {
-00186     const char               *name;   
-00187     DMXLocalInputType        type;    
-00188     DMXLocalInputExtType     extType; 
-00189     int                      binding; 
-00193                                 /* Low-level (e.g., keyboard/mouse drivers) */
-00194 
-00195     dmxCreatePrivateProcPtr  create_private;  
-00198     dmxDestroyPrivateProcPtr destroy_private; 
-00201     dmxInitProcPtr           init;            
-00202     dmxReInitProcPtr         reinit;          
-00205     dmxLateReInitProcPtr     latereinit;      
-00209     dmxGetInfoProcPtr        get_info;        
-00210     dmxOnProcPtr             on;              
-00211     dmxOffProcPtr            off;             
-00212     dmxUpdatePositionProcPtr update_position; 
-00215     dmxVTPreSwitchProcPtr    vt_pre_switch;   
-00216     dmxVTPostSwitchProcPtr   vt_post_switch;  
-00217     dmxVTSwitchProcPtr       vt_switch;       
-00219     dmxCollectEventsProcPtr  collect_events;  
-00222     dmxProcessInputProcPtr   process_input;   
-00224     dmxFunctionsProcPtr      functions;
-00225     dmxUpdateInfoProcPtr     update_info;     
-00228     dmxMCtrlProcPtr          mCtrl;           
-00229     dmxKBCtrlProcPtr         kCtrl;           
-00230     dmxKBBellProcPtr         kBell;           
-00232     pointer                  private;         
-00233     int                      isCore;          
-00234     int                      sendsCore;       
-00235     KeybdCtrl                kctrl;           
-00236     PtrCtrl                  mctrl;           
-00238     DeviceIntPtr             pDevice;         
-00239     int                      inputIdx;        
-00240     int                      lastX, lastY;    
-00244     int                      head;            
-00246     int                      tail;            
-00248     unsigned long            *history;        
-00249     int                      *valuators;      
-00251                                 /* for XInput ChangePointerDevice */
-00252     int                      (*savedMotionProc)(DeviceIntPtr,
-00253                                                 xTimecoord *,
-00254                                                 unsigned long,
-00255                                                 unsigned long,
-00256                                                 ScreenPtr);
-00257     int                      savedMotionEvents; 
-00258     int                      savedSendsCore;    
-00260     DMXEventMap              map[DMX_MAP_ENTRIES]; 
-00261     int                      mapOptimize;          
-00265     long                     deviceId;    
-00267     const char               *deviceName; 
-00269 } DMXLocalInputInfoRec;
-00270 
-00271 extern DMXLocalInputInfoPtr dmxLocalCorePointer, dmxLocalCoreKeyboard;
-00272 
-00273 extern void                 dmxLocalInitInput(DMXInputInfo *dmxInput);
-00274 extern DMXLocalInputInfoPtr dmxInputCopyLocal(DMXInputInfo *dmxInput,
-00275                                               DMXLocalInputInfoPtr s);
-00276 
-00277 extern void dmxChangePointerControl(DeviceIntPtr pDevice, PtrCtrl *ctrl);
-00278 extern void dmxKeyboardKbdCtrlProc(DeviceIntPtr pDevice, KeybdCtrl *ctrl);
-00279 extern void dmxKeyboardBellProc(int percent, DeviceIntPtr pDevice,
-00280                                 pointer ctrl, int unknown);
-00281 
-00282 extern int  dmxInputExtensionErrorHandler(Display *dsp, char *name,
-00283                                           char *reason);
-00284 
-00285 extern int          dmxInputDetach(DMXInputInfo *dmxInput);
-00286 extern void         dmxInputDetachAll(DMXScreenInfo *dmxScreen);
-00287 extern int          dmxInputDetachId(int id);
-00288 extern DMXInputInfo *dmxInputLocateId(int id);
-00289 extern int          dmxInputAttachConsole(const char *name, int isCore,
-00290                                           int *id);
-00291 extern int          dmxInputAttachBackend(int physicalScreen, int isCore,
-00292                                           int *id);
-00293 
-00294 #endif
-

-
- - 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 index 03a64d73d..fcd892e9d 100644 --- a/xorg-server/hw/dmx/doc/html/dmxinputinit_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmxinputinit_8h.html @@ -6,392 +6,1082 @@ - - -

dmxinputinit.h File Reference

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

dmxinputinit.h File Reference

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

-Go to the source code of this file. - - - +

Go to the source code of this file.

+

Data Structures

struct  _DMXEventMap
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

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"
+
+
-
struct  _DMXLocalInitInfo
+ + + +
#define DMX_LOCAL_DEFAULT_POINTER   "ps2"
+ +

-
struct  _DMXLocalInputInfo
+ + + +
#define DMX_MAP_ENTRIES   16
+ +

-

Typedefs

typedef _DMXLocalInitInfo DMXLocalInitInfo
typedef _DMXLocalInitInfoDMXLocalInitInfoPtr
+ + + +
#define DMX_MAP_MASK   (DMX_MAP_ENTRIES - 1)
+ +

-
typedef _DMXEventMap DMXEventMap
typedef _DMXLocalInputInfo DMXLocalInputInfoRec
+ + + +
#define DMX_MAX_AXES   32
+

+ + + +
+
+ + + + +
#define DMX_MAX_BUTTONS   256
+
+
-void dmxChangePointerControl (DeviceIntPtr pDevice, PtrCtrl *ctrl) +

Referenced by dmxCommonMouGetMap().

-void dmxKeyboardKbdCtrlProc (DeviceIntPtr pDevice, KeybdCtrl *ctrl) +
+
+ +
+
+ + + + +
#define DMX_MAX_VALUATORS   32
+
+
-void dmxKeyboardBellProc (int percent, DeviceIntPtr pDevice, pointer ctrl, int unknown) +
+
+ +
+
+ + + + +
#define DMX_MAX_XINPUT_EVENT_TYPES   100
+
+
-int dmxInputDetach (DMXInputInfo *dmxInput) +

Referenced by dmxCommonOthOn().

-void dmxInputDetachAll (DMXScreenInfo *dmxScreen) +
+
+ +
+
+ + + + +
#define DMX_MOTION_SIZE   256
+
+
-int dmxInputDetachId (int id) +

Referenced by dmxPointerGetMotionBufferSize(), dmxPointerGetMotionEvents(), and dmxPointerPutMotionEvent().

- -

Detailed Description

-Interface for low-level input support.
See also:
dmxinputinit.c
-

Typedef Documentation

-

- - - - -
- - -
typedef struct _DMXEventMap DMXEventMap -
-
- - - - - -
-   - - -

-Stores a mapping between the device id on the remote X server and the id on the DMX server

-

- - - - -
- + + +

Typedef Documentation

+ +
+
+
+ + + +
typedef int(* dmxCheckSpecialProcPtr)(DevicePtr, KeySym keySym)
+ +
+ +
+ + +
- - - - - -
-   - - -

-Stores information from low-level device that is used to initialize the device at the dix level.

-

- - - - + +
+ +
+ + +
+
+
- + +
+ +
+ + +
+
+
+ + + +
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 struct _DMXLocalInitInfo * 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  +
- - - - - + + + + + + +
+
+
-   - - -

-Stores information from low-level device that is used to initialize the device at the dix level.

+ + + +
enum DMXLocalInputExtType
+
+
+
Enumerator:
+ + + +
DMX_LOCAL_TYPE_LOCAL  +
DMX_LOCAL_TYPE_CONSOLE  +
DMX_LOCAL_TYPE_BACKEND  +
DMX_LOCAL_TYPE_COMMON  +
-

- - - - + +
+
Enumerator:
- + + + + + + +
+
+
- +
typedef struct _DMXLocalInputInfo DMXLocalInputInfoRec + enum DMXLocalInputType
-
+ + + +
DMX_LOCAL_HIGHLEVEL  +
DMX_LOCAL_KEYBOARD  +
DMX_LOCAL_MOUSE  +
DMX_LOCAL_OTHER  +
- - - - - + + + + + + +
+
+
-   - - -

-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

-
+ + + +
enum DMXMotionType
+

+
+
Enumerator:
+ + +
DMX_RELATIVE  +
DMX_ABSOLUTE  +
DMX_ABSOLUTE_CONFINED  +
-

Function Documentation

-

- - - - -
- + + + + + +

Function Documentation

+ +
+
+
- - - - + + + + + - - - + + - - + + -
void dmxChangePointerControl DeviceIntPtr  pDevice, void dmxChangePointerControl (DeviceIntPtr  pDevice,
PtrCtrl *  ctrlPtrCtrl *  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.

-

- - - - -
- + +
+

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().

+ +
+ + +
+
+
- - - - + + + + + + + + + + - - + + - - + + -
DMXLocalInputInfoPtr dmxInputCopyLocal DMXInputInfo dmxInput, int dmxInputAttachBackend (int  physicalScreen,
int  isCore,
DMXLocalInputInfoPtr  sint *  id 
)
-
- - - - - -
-   - - -

-Copy the local input information from s into a new devs slot in dmxInput.

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + + + + + + + + + + + + + + + + -
int dmxInputDetach DMXInputInfo dmxInput  ) int dmxInputAttachConsole (const char *  name,
int  isCore,
int *  id 
)
-
- - - - - -
-   - - -

-Detach an input

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + + + + + + + + + + +
void dmxInputDetachAll DMXScreenInfo dmxScreen  ) DMXLocalInputInfoPtr dmxInputCopyLocal (DMXInputInfo dmxInput,
DMXLocalInputInfoPtr  s 
)
+ + + + +
+
+ + + + + + + + +
int dmxInputDetach (DMXInputInfo dmxInput ) 
-
- - - - - -
-   - - -

-Search for input associated with dmxScreen, and detach.

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + +
int dmxInputDetachId int  id  ) 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.

-

- - - - -
- + +
+

Search for input associated with deviceId, and detach.

+ +

References dmxInputDetach(), and dmxInputLocateId().

+ +

Referenced by dmxRemoveInput().

+ +
+ + +
+
+
- - - - + + + + + + + + + + - - + + + + + +
void dmxKeyboardBellProc int  percent, int dmxInputExtensionErrorHandler (Display *  dsp,
char *  name,
DeviceIntPtr  pDevice, char *  reason 
)
+ + + + +
+
+ + + + + + + - - +
DMXInputInfo* dmxInputLocateId (int  id )  pointer  ctrl,
+
+ +
+ +
+
+ + + + + + + + + + + + + + + + + + + - - + + - - + + -
void dmxKeyboardBellProc (int  percent,
DeviceIntPtr  pDevice,
pointer  ctrl,
int  unknownint  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.

-

- - - - -
- + +
+

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, void dmxKeyboardKbdCtrlProc (DeviceIntPtr  pDevice,
KeybdCtrl *  ctrl 
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

+ +
- - - - - -
-   - - -

-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.

+

+ +
+ + +
diff --git a/xorg-server/hw/dmx/doc/html/dmxinputinit_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxinputinit_8h_source.html new file mode 100644 index 000000000..c7f7c1319 --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/dmxinputinit_8h_source.html @@ -0,0 +1,269 @@ + + + + + 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 index c32a4f9c9..b9c072bfb 100644 --- a/xorg-server/hw/dmx/doc/html/dmxlog_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxlog_8c.html @@ -6,588 +6,618 @@ - - -

dmxlog.c File Reference

#include "dmx.h"
-#include "dmxlog.h"
-#include "dmxinput.h"
-#include "XI.h"
-#include "XIproto.h"
- - - - - - - - - - - - - - + + +
+

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)
void dmxLog (dmxLogLevel logLevel, const char *format,...)
void dmxLogCont (dmxLogLevel logLevel, const char *format,...)
void dmxLogOutput (DMXScreenInfo *dmxScreen, const char *format,...)
+ + + + + + + + + + + + + + + + + + + + +

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.

-void dmxLogOutputCont (DMXScreenInfo *dmxScreen, const char *format,...) +

Referenced by VFatalError().

-void dmxLogOutputWarning (DMXScreenInfo *dmxScreen, const char *format,...) +
+
+ +
+
+ + + + + + + + + +
const char* dmxEventName (int  type ) 
+
+
+

Translate an event type into a human-readable string.

-void dmxLogInput (DMXInputInfo *dmxInput, const char *format,...) +

Referenced by dmxConsoleUpdateFineCursor(), dmxDump(), and dmxEnqueue().

-void dmxLogInputCont (DMXInputInfo *dmxInput, const char *format,...) +
+
+ +
+
+ + + + + + + + + +
dmxLogLevel dmxGetLogLevel (void  ) 
+
+
+

Returns the log level set by dmxLogLevel.

-void dmxLogArgs (dmxLogLevel logLevel, int argc, char **argv) +

References dmxCurrentLogLevel.

-void dmxLogVisual (DMXScreenInfo *dmxScreen, XVisualInfo *vi, int defaultVisual) +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
static void dmxHeader (dmxLogLevel  logLevel,
DMXInputInfo dmxInput,
DMXScreenInfo dmxScreen 
) [static]
+
+
-const char * dmxXInputEventName (int type) +

References dmxDebug, dmxError, dmxFatal, dmxInfo, dmxWarning, _DMXScreenInfo::index, _DMXInputInfo::inputIdx, _DMXScreenInfo::name, and _DMXInputInfo::name.

-const char * dmxEventName (int type) +

Referenced by dmxLog(), dmxLogInput(), dmxLogOutput(), and dmxLogOutputWarning().

- -

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   ) 
+ + + + + - -
void dmxLog (dmxLogLevel  logLevel,
-
- - - - - -
-   - - -

-This function was removed between XFree86 4.3.0 and XFree86 4.4.0.

-

- - - - -
- - - - - - - + + + + - -
const char* dmxEventName int  type  ) const char *  format,
-
- - - - - -
-   - - -

-Translate an event type into a human-readable string.

-

- - - - -
- - - - - - - + + + + + + + + + -
dmxLogLevel dmxGetLogLevel void   )   ... 
)
-
- - - - - -
-   - - -

-Returns the log level set by dmxLogLevel.

-

- - - - -
- + +
+

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 dmxLog dmxLogLevel  logLevel, void dmxLogArgs (dmxLogLevel  logLevel,
const char *  format, int  argc,
... char **  argv 
)
-
- - - - - -
-   - - -

-Log the specified message at the specified logLevel. format can be a printf-like format expression.

-

- - - - -
- + +
+

Print argc messages, each describing an element in argv. This is maingly for debugging purposes.

+ +

References dmxLog().

+ +
+ + +
+
+
- - - - + + + + + - - - + + + - - - + + - - + + -
void dmxLogArgs dmxLogLevel  logLevel, void dmxLogCont (dmxLogLevel  logLevel,
int  argc, const char *  format,
char **  argv  ... 
)
-
- - - - - -
-   - - -

-Print argc messages, each describing an element in argv. This is maingly for debugging purposes.

-

- - - - -
- + +
+

Continue a log message without printing the message prefix.

+ +

References dmxMessage().

+ +

Referenced by dmxInputLogDevices(), and dmxStatCallback().

+ +
+ + +
+
+
- - - - + + + + + - - - + + + - - - + + - - + + -
void dmxLogCont dmxLogLevel  logLevel, void dmxLogInput (DMXInputInfo dmxInput,
const char *  format, const char *  format,
...   ... 
)
-
- - - - - -
-   - - -

-Continue a log message without printing the message prefix.

-

- - - - -
- + +
+

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 dmxLogInput DMXInputInfo dmxInput, void dmxLogInputCont (DMXInputInfo dmxInput,
const char *  format, const char *  format,
...   ... 
)
-
- - - - - -
-   - - -

-Log an informational message (at level dmxInfo) related to input. The message prefix will contain information from dmxInput.

-

- - - - -
- + +
+

Continue a message related to input without printing the message prefix.

+ +

References dmxInfo, and dmxMessage().

+ +

Referenced by dmxKeyboardOn().

+ +
+ + +
+
+
- - - - + + + + + - - - + + + - - - + + - - + + -
void dmxLogInputCont DMXInputInfo dmxInput, void dmxLogOutput (DMXScreenInfo dmxScreen,
const char *  format, const char *  format,
...   ... 
)
-
- - - - - -
-   - - -

-Continue a message related to input without printing the message prefix.

-

- - - - -
- + +
+

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 dmxLogOutput DMXScreenInfo dmxScreen, void dmxLogOutputCont (DMXScreenInfo dmxScreen,
const char *  format, const char *  format,
...   ... 
)
-
- - - - - -
-   - - -

-Log an informational message (at level dmxInfo) related to ouput. The message prefix will contain backend information from dmxScreen.

-

- - - - -
- + +
+

Continue a message related to output without printing the message prefix.

+ +

References dmxInfo, and dmxMessage().

+ +

Referenced by dmxInitOverlap(), dmxPrintOverlap(), and dmxPrintScreenInfo().

+ +
+ + +
+
+
- - - - + + + + + - - - + + + - - - + + - - + + -
void dmxLogOutputCont DMXScreenInfo dmxScreen, void dmxLogOutputWarning (DMXScreenInfo dmxScreen,
const char *  format, const char *  format,
...   ... 
)
-
- - - - - -
-   - - -

-Continue a message related to output without printing the message prefix.

-

- - - - -
- + +
+

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 dmxLogOutputWarning DMXScreenInfo dmxScreen, void dmxLogVisual (DMXScreenInfo dmxScreen,
const char *  format, XVisualInfo *  vi,
... int  defaultVisual 
)
-
- - - - - -
-   - - -

-Log a warning message (at level dmxWarning) related to output. The message prefix will contain backend information from dmxScreen.

-

- - - - -
- + +
+

Print messages at level dmxInfo describing the visuals in vi.

+ +

References dmxInfo, dmxLog(), and dmxLogOutput().

+ +

Referenced by dmxConnectionBlockCallback(), and dmxGetVisualInfo().

+ +
+ + +
+
+
- - - - + + + + + - - - + + + - - - + + - - + + -
void dmxLogVisual DMXScreenInfo dmxScreen, static void dmxMessage (dmxLogLevel  logLevel,
XVisualInfo *  vi, const char *  format,
int  defaultVisualva_list  args 
) [static]
-
- - - - - -
-   - - -

-Print messages at level dmxInfo describing the visuals in vi.

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + +
dmxLogLevel dmxSetLogLevel dmxLogLevel  newLevel  ) 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 ) 
-
- - - - - -
-   - - -

-Set the default level for logging to dmxLogLevel. Returns the previous log level.

-

- - - - -
- + +
+

Translate a (normalized) XInput event type into a human-readable string.

+ +
+ + +
+
+
+ + + + + + - - - - - - + + + + + + + + + +
static void VFatalError (const char *  format,
const char* dmxXInputEventName int  type  ) va_list  args 
) [static]
+ +
+ +

References AbortServer(), and OsVendorFatalError().

+ +

Referenced by dmxMessage().

+
+ +

Variable Documentation

+ +
+
+ + + +
dmxLogLevel dmxCurrentLogLevel = dmxDebug [static]
-
- - - - - -
-   - - -

-Translate a (normalized) XInput event type into a human-readable string.

+

+
+ +

Referenced by dmxGetLogLevel(), dmxMessage(), and dmxSetLogLevel().

+ +
+
+
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 a345bd809..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxlog_8h-source.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - File Index - - - - - -

dmxlog.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2001 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Rickard E. (Rik) Faith <faith@redhat.com>
-00032  *
-00033  */
-00034 
-00039 #ifndef _DMXLOG_H_
-00040 #define _DMXLOG_H_
-00041 
-00043 typedef enum {
-00044     dmxDebug,                   
-00045     dmxInfo,                    
-00046     dmxWarning,                 
-00049     dmxError,                   
-00052     dmxFatal                    
-00054 } dmxLogLevel;
-00055 
-00056 /* Logging functions used by Xserver/hw/dmx routines. */
-00057 extern dmxLogLevel dmxSetLogLevel(dmxLogLevel newLevel);
-00058 extern dmxLogLevel dmxGetLogLevel(void);
-00059 extern void        dmxLog(dmxLogLevel logLevel, const char *format, ...);
-00060 extern void        dmxLogCont(dmxLogLevel logLevel, const char *format, ...);
-00061 extern const char  *dmxEventName(int type);
-00062 
-00063 #ifndef DMX_LOG_STANDALONE
-00064 extern void dmxLogOutput(DMXScreenInfo *dmxScreen, const char *format, ...);
-00065 extern void dmxLogOutputCont(DMXScreenInfo *dmxScreen, const char *format,
-00066                              ...);
-00067 extern void dmxLogOutputWarning(DMXScreenInfo *dmxScreen, const char *format,
-00068                                 ...);
-00069 extern void dmxLogInput(DMXInputInfo *dmxInput, const char *format, ...);
-00070 extern void dmxLogInputCont(DMXInputInfo *dmxInput, const char *format, ...);
-00071 extern void dmxLogArgs(dmxLogLevel logLevel, int argc, char **argv);
-00072 extern void dmxLogVisual(DMXScreenInfo *dmxScreen, XVisualInfo *vi,
-00073                          int defaultVisual);
-00074 #ifdef XINPUT
-00075 extern const char *dmxXInputEventName(int type);
-00076 #endif
-00077 #endif
-00078 
-00079 #endif
-

-
- - 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 index 6092d1339..09e824217 100644 --- a/xorg-server/hw/dmx/doc/html/dmxlog_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmxlog_8h.html @@ -6,602 +6,511 @@ - - + + +

dmxlog.h File Reference

-

-Go to the source code of this file. - - - +

References _DMXConfigVirtual::close, _DMXConfigVirtual::dim, dmxConfigAlloc(), _DMXConfigVirtual::height, _DMXConfigVirtual::name, _DMXConfigVirtual::open, _DMXConfigVirtual::start, _DMXConfigString::string, _DMXConfigVirtual::subentry, _DMXConfigVirtual::vname, _DMXConfigVirtual::width, _DMXConfigPair::x, and _DMXConfigPair::y.

- +

Referenced by dmxConfigNCCallback(), and dmxVDLRead().

- + + + +
+
+

Enumerations

enum  dmxLogLevel {
-  dmxDebug, -dmxInfo, -dmxWarning, -dmxError, -
-  dmxFatal -
+

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)

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

-

- - - +

References _DMXConfigToken::comment, dmxConfigAlloc(), _DMXConfigToken::line, and _DMXConfigToken::token.

- + + + +
+
+
- - - - -
enum dmxLogLevel +

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.

Enumeration values:
- - - - - - + +
+

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.
+ + + + +
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

-

- - - - -
- + + + +

Function Documentation

+ +
+
+
- - - - - - + + + + + + -
const char* dmxEventName int  type  ) const char* dmxEventName (int  type ) 
-
- - - - - -
-   - - -

-Translate an event type into a human-readable string.

-

- - - - -
- + +
+

Translate an event type into a human-readable string.

+ +

Referenced by dmxConsoleUpdateFineCursor(), dmxDump(), and dmxEnqueue().

+ +
+ + +
+
+
- - - - - - + + + + + + -
dmxLogLevel dmxGetLogLevel void   ) dmxLogLevel dmxGetLogLevel (void  ) 
-
- - - - - -
-   - - -

-Returns the log level set by dmxLogLevel.

-

- - - - -
- + +
+

Returns the log level set by dmxLogLevel.

+ +

References dmxCurrentLogLevel.

+ +
+ + +
+
+
- - - - + + + + + - - - + + + - - - + + - - + + -
void dmxLog dmxLogLevel  logLevel, void dmxLog (dmxLogLevel  logLevel,
const char *  format, const char *  format,
...   ... 
)
-
- - - - - -
-   - - -

-Log the specified message at the specified logLevel. format can be a printf-like format expression.

-

- - - - -
- + +
+

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, void dmxLogArgs (dmxLogLevel  logLevel,
int  argc, int  argc,
char **  argvchar **  argv 
)
-
- - - - - -
-   - - -

-Print argc messages, each describing an element in argv. This is maingly for debugging purposes.

-

- - - - -
- + +
+

Print argc messages, each describing an element in argv. This is maingly for debugging purposes.

+ +

References dmxLog().

+ +
+ + +
+
+
- - - - + + + + + - - - + + + - - - + + - - + + -
void dmxLogCont dmxLogLevel  logLevel, void dmxLogCont (dmxLogLevel  logLevel,
const char *  format, const char *  format,
...   ... 
)
-
- - - - - -
-   - - -

-Continue a log message without printing the message prefix.

-

- - - - -
- + +
+

Continue a log message without printing the message prefix.

+ +

References dmxMessage().

+ +

Referenced by dmxInputLogDevices(), and dmxStatCallback().

+ +
+ + +
+
+
- - - - + + + + + - - - + + + - - - + + - - + + -
void dmxLogInput DMXInputInfo dmxInput, void dmxLogInput (DMXInputInfo dmxInput,
const char *  format, const char *  format,
...   ... 
)
-
- - - - - -
-   - - -

-Log an informational message (at level dmxInfo) related to input. The message prefix will contain information from dmxInput.

-

- - - - -
- + +
+

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, void dmxLogInputCont (DMXInputInfo dmxInput,
const char *  format, const char *  format,
...   ... 
)
-
- - - - - -
-   - - -

-Continue a message related to input without printing the message prefix.

-

- - - - -
- + +
+

Continue a message related to input without printing the message prefix.

+ +

References dmxInfo, and dmxMessage().

+ +

Referenced by dmxKeyboardOn().

+ +
+ + +
+
+
- - - - + + + + + - - - + + + - - - + + - - + + -
void dmxLogOutput DMXScreenInfo dmxScreen, void dmxLogOutput (DMXScreenInfo dmxScreen,
const char *  format, const char *  format,
...   ... 
)
-
- - - - - -
-   - - -

-Log an informational message (at level dmxInfo) related to ouput. The message prefix will contain backend information from dmxScreen.

-

- - - - -
- + +
+

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, void dmxLogOutputCont (DMXScreenInfo dmxScreen,
const char *  format, const char *  format,
...   ... 
)
-
- - - - - -
-   - - -

-Continue a message related to output without printing the message prefix.

-

- - - - -
- + +
+

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, void dmxLogOutputWarning (DMXScreenInfo dmxScreen,
const char *  format, const char *  format,
...   ... 
)
-
- - - - - -
-   - - -

-Log a warning message (at level dmxWarning) related to output. The message prefix will contain backend information from dmxScreen.

-

- - - - -
- + +
+

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, void dmxLogVisual (DMXScreenInfo dmxScreen,
XVisualInfo *  vi, XVisualInfo *  vi,
int  defaultVisualint  defaultVisual 
)
-
- - - - - -
-   - - -

-Print messages at level dmxInfo describing the visuals in vi.

-

- - - - -
- + +
+

Print messages at level dmxInfo describing the visuals in vi.

+ +

References dmxInfo, dmxLog(), and dmxLogOutput().

+ +

Referenced by dmxConnectionBlockCallback(), and dmxGetVisualInfo().

+ +
+ + +
+
+
- - - - - - + + + + + + -
dmxLogLevel dmxSetLogLevel dmxLogLevel  newLevel  ) dmxLogLevel dmxSetLogLevel (dmxLogLevel  newLevel ) 
-
- - - - - -
-   - - -

-Set the default level for logging to dmxLogLevel. Returns the previous log level.

-

- - - - -
- + +
+

Set the default level for logging to dmxLogLevel. Returns the previous log level.

+ +

References dmxCurrentLogLevel, and dmxFatal.

+ +
+ + +
+
+
- - - - - - + + + + + + -
const char* dmxXInputEventName int  type  ) const char* dmxXInputEventName (int  type ) 
-
- - - - - -
-   - - -

-Translate a (normalized) XInput event type into a human-readable string.

+ +

+

Translate a (normalized) XInput event type into a human-readable string.

+ +
+ +
diff --git a/xorg-server/hw/dmx/doc/html/dmxlog_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxlog_8h_source.html new file mode 100644 index 000000000..f87d72102 --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/dmxlog_8h_source.html @@ -0,0 +1,102 @@ + + + + + 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 index b4230ca30..4f2c9c964 100644 --- a/xorg-server/hw/dmx/doc/html/dmxmap_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxmap_8c.html @@ -6,136 +6,127 @@ - - -

dmxmap.c File Reference

#include "dmxinputinit.h"
-#include "dmxmap.h"
- - - - - - - - - + + +
+

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)
+ + + +

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

-

- - - - -
- +

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  ) void dmxMapClear (DMXLocalInputInfoPtr  dmxLocal ) 
-
- - - - - -
-   - + +
+

Remove all mappings there were inserted with dmxMapInsert.

-

-Remove all mappings there were inserted with dmxMapInsert.

-

- - - - -
- +

References DMX_MAP_ENTRIES, _DMXLocalInputInfo::map, _DMXLocalInputInfo::mapOptimize, and _DMXEventMap::remote.

+ + + + +
+
+
- - - - + + + + + - - - + + + - - - + + - - + + -
void dmxMapInsert DMXLocalInputInfoPtr  dmxLocal, void dmxMapInsert (DMXLocalInputInfoPtr  dmxLocal,
int  remoteEvent, int  remoteEvent,
int  serverEventint  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.

-

-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 dmxMapLookup (DMXLocalInputInfoPtr  dmxLocal,
int  remoteEventint  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.

-

-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().

+ + + +
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 8a9d6b31c..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxmap_8h-source.html +++ /dev/null @@ -1,62 +0,0 @@ - - - - - File Index - - - - - -

dmxmap.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2003 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Rickard E. (Rik) Faith <faith@redhat.com>
-00032  */
-00033 
-00037 #ifndef _DMXMAP_H_
-00038 #define _DMXMAP_H_
-00039 extern void dmxMapInsert(DMXLocalInputInfoPtr dmxLocal,
-00040                          int remoteEvent, int serverEvent);
-00041 extern void dmxMapClear(DMXLocalInputInfoPtr dmxLocal);
-00042 extern int  dmxMapLookup(DMXLocalInputInfoPtr dmxLocal, int remoteEvent);
-00043 #endif
-

-
- - 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 index db69ac6b2..6bf841b00 100644 --- a/xorg-server/hw/dmx/doc/html/dmxmap_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmxmap_8h.html @@ -6,134 +6,125 @@ - - + + +

dmxmap.h File Reference

-

-Go to the source code of this file. - - - - - - - - +

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)
+ + + +

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

-

- - - - -
- +

Detailed Description

+

Interface to XInput event mapping support.

+
See also:
dmxmap.c
+

Function Documentation

+ +
+
+
- - - - - - + + + + + + -
void dmxMapClear DMXLocalInputInfoPtr  dmxLocal  ) void dmxMapClear (DMXLocalInputInfoPtr  dmxLocal ) 
-
- - - - - -
-   - + +
+

Remove all mappings there were inserted with dmxMapInsert.

-

-Remove all mappings there were inserted with dmxMapInsert.

-

- - - - -
- +

References DMX_MAP_ENTRIES, _DMXLocalInputInfo::map, _DMXLocalInputInfo::mapOptimize, and _DMXEventMap::remote.

+ + + + +
+
+
- - - - + + + + + - - - + + + - - - + + - - + + -
void dmxMapInsert DMXLocalInputInfoPtr  dmxLocal, void dmxMapInsert (DMXLocalInputInfoPtr  dmxLocal,
int  remoteEvent, int  remoteEvent,
int  serverEventint  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.

-

-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 dmxMapLookup (DMXLocalInputInfoPtr  dmxLocal,
int  remoteEventint  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.

-

-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().

+ +
+ +
diff --git a/xorg-server/hw/dmx/doc/html/dmxmap_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxmap_8h_source.html new file mode 100644 index 000000000..191eb7c86 --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/dmxmap_8h_source.html @@ -0,0 +1,75 @@ + + + + + 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 index ecf9922a6..76e0babad 100644 --- a/xorg-server/hw/dmx/doc/html/dmxmotion_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxmotion_8c.html @@ -6,167 +6,186 @@ - - -

dmxmotion.c File Reference

#include "inputstr.h"
-#include "dmxinputinit.h"
-#include "dmxcommon.h"
-#include "dmxmotion.h"
- - - - - - - - - + + +
+

dmxmotion.c File Reference

#include "inputstr.h"
+#include "dmxinputinit.h"
+#include "dmxcommon.h"
+#include "dmxmotion.h"
+

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)
+ + + + + +

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.

Function Documentation

-

- - - - -
- +

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,
int dmxPointerGetMotionBufferSize void   ) element  )    ((offset) * (numAxes + 1) + (element))
+ + + +

Function Documentation

+ +
+
+ + + + + + + + +
int dmxPointerGetMotionBufferSize (void  ) 
-
- - - - - -
-   - + +
+

Return size of motion buffer.

+
See also:
DMX_MOTION_SIZE
-

-Return size of motion buffer.

See also:
DMX_MOTION_SIZE
-
-

- - - - -
- +

References DMX_MOTION_SIZE.

+ +

Referenced by dmxDeviceOnOff().

+ + + + +
+
+
- - - - + + + + + - - - + + + - - - + + + - - - + + + - - - + + - - + + -
int dmxPointerGetMotionEvents DeviceIntPtr  pDevice, int dmxPointerGetMotionEvents (DeviceIntPtr  pDevice,
xTimecoord *  coords, xTimecoord *  coords,
unsigned long  start, unsigned long  start,
unsigned long  stop, unsigned long  stop,
ScreenPtr  pScreenScreenPtr  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.

-

-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, void dmxPointerPutMotionEvent (DeviceIntPtr  pDevice,
int  firstAxis, int  firstAxis,
int  axesCount, int  axesCount,
int *  v, int *  v,
unsigned long  timeunsigned 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.

-

-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.

+ + + +
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 1057b7ebb..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxmotion_8h-source.html +++ /dev/null @@ -1,69 +0,0 @@ - - - - - File Index - - - - - -

dmxmotion.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2002 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Rickard E. (Rik) Faith <faith@redhat.com>
-00032  *
-00033  */
-00034 
-00038 #ifndef _DMXMOTION_H_
-00039 #define _DMXMOTION_H_
-00040 
-00041 extern int  dmxPointerGetMotionBufferSize(void);
-00042 extern int  dmxPointerGetMotionEvents(DeviceIntPtr pDevice,
-00043                                       xTimecoord *coords,
-00044                                       unsigned long start,
-00045                                       unsigned long stop,
-00046                                       ScreenPtr pScreen);
-00047 extern void dmxPointerPutMotionEvent(DeviceIntPtr pDevice,
-00048                                      int firstAxis, int axesCount, int *v,
-00049                                      unsigned long time);
-00050 #endif
-

-
- - 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 index f3f4bedc4..47bde57c7 100644 --- a/xorg-server/hw/dmx/doc/html/dmxmotion_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmxmotion_8h.html @@ -6,166 +6,157 @@ - - + + +

dmxmotion.h File Reference

-

-Go to the source code of this file. - - - - - - - - +

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)
+ + + +

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

-

- - - - -
- +

Detailed Description

+

Interface to functions supporting motion events.

+
See also:
dmxmotion.c
+

Function Documentation

+ +
+
+
- - - - - - + + + + + + -
int dmxPointerGetMotionBufferSize void   ) int dmxPointerGetMotionBufferSize (void  ) 
-
- - - - - -
-   - + +
+

Return size of motion buffer.

+
See also:
DMX_MOTION_SIZE
-

-Return size of motion buffer.

See also:
DMX_MOTION_SIZE
-
-

- - - - -
- +

References DMX_MOTION_SIZE.

+ +

Referenced by dmxDeviceOnOff().

+ + + + +
+
+
- - - - + + + + + - - - + + + - - - + + + - - - + + + - - - + + - - + + -
int dmxPointerGetMotionEvents DeviceIntPtr  pDevice, int dmxPointerGetMotionEvents (DeviceIntPtr  pDevice,
xTimecoord *  coords, xTimecoord *  coords,
unsigned long  start, unsigned long  start,
unsigned long  stop, unsigned long  stop,
ScreenPtr  pScreenScreenPtr  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.

-

-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, void dmxPointerPutMotionEvent (DeviceIntPtr  pDevice,
int  firstAxis, int  firstAxis,
int  axesCount, int  axesCount,
int *  v, int *  v,
unsigned long  timeunsigned 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.

-

-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.

+ +
+ +
diff --git a/xorg-server/hw/dmx/doc/html/dmxmotion_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxmotion_8h_source.html new file mode 100644 index 000000000..c993e6eec --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/dmxmotion_8h_source.html @@ -0,0 +1,82 @@ + + + + + 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 index c984dd9f5..7438513be 100644 --- a/xorg-server/hw/dmx/doc/html/dmxparse_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxparse_8c.html @@ -6,60 +6,1380 @@ - - -

dmxparse.c File Reference

#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <stdarg.h>
-#include "dmxparse.h"
- - - - - + + +
+

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,...)
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

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

-

- - - - -
- +

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,
void dmxConfigLog const char *  format, 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().

+ +
+
+ +
+
+ + + + + + + + +
void* dmxConfigAlloc (unsigned long  bytes ) 
-
- - - - - -
-   - - -

-A general error logging routine that does not depend on the dmxLog functions.

+ +

+ + +
+
+ + + + + + + + + + + + + + + + + + +
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.

+ +
+
+
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 c88da9089..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxparse_8h-source.html +++ /dev/null @@ -1,303 +0,0 @@ - - - - - File Index - - - - - -

dmxparse.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2002 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Rickard E. (Rik) Faith <faith@redhat.com>
-00032  *
-00033  */
-00034 
-00038 #ifndef _DMXPARSE_H_
-00039 #define _DMXPARSE_H_
-00040 
-00041 #include <stdio.h>              /* For FILE */
-00042 
-00044 typedef struct _DMXConfigToken {
-00045     int                      token;
-00046     int                      line;
-00047     const char               *comment;
-00048 } DMXConfigToken, *DMXConfigTokenPtr;
-00049 
-00051 typedef struct _DMXConfigString {
-00052     int                      token;
-00053     int                      line;
-00054     const char               *comment;
-00055     const char               *string;
-00056     struct _DMXConfigString  *next;
-00057 } DMXConfigString, *DMXConfigStringPtr;
-00058 
-00060 typedef struct _DMXConfigNumber {
-00061     int                      token;
-00062     int                      line;
-00063     const char               *comment;
-00064     int                      number;
-00065 } DMXConfigNumber, *DMXConfigNumberPtr;
-00066 
-00068 typedef struct _DMXConfigPair {
-00069     int                      token;
-00070     int                      line;
-00071     const char               *comment;
-00072     int                      x;
-00073     int                      y;
-00074     int                      xsign;
-00075     int                      ysign;
-00076 } DMXConfigPair, *DMXConfigPairPtr;
-00077 
-00079 typedef struct _DMXConfigComment {
-00080     int                      token;
-00081     int                      line;
-00082     const char               *comment;
-00083 } DMXConfigComment, *DMXConfigCommentPtr;
-00084 
-00085 typedef enum {
-00086     dmxConfigComment,
-00087     dmxConfigVirtual,
-00088     dmxConfigDisplay,
-00089     dmxConfigWall,
-00090     dmxConfigOption,
-00091     dmxConfigParam
-00092 } DMXConfigType;
-00093 
-00095 typedef struct _DMXConfigPartDim {
-00096     DMXConfigPairPtr         dim;
-00097     DMXConfigPairPtr         offset;
-00098 } DMXConfigPartDim, *DMXConfigPartDimPtr;
-00099 
-00101 typedef struct _DMXConfigFullDim {
-00102     DMXConfigPartDimPtr      scrn;
-00103     DMXConfigPartDimPtr      root;
-00104 } DMXConfigFullDim, *DMXConfigFullDimPtr;
-00105 
-00107 typedef struct _DMXConfigDisplay {
-00108                                 /* Summary information */
-00109     const char               *name;
-00110                                 /* Screen Window Geometry */
-00111     int                      scrnWidth, scrnHeight;
-00112     int                      scrnX, scrnY;
-00113     int                      scrnXSign, scrnYSign;
-00114                                 /* Root Window Geometry */
-00115     int                      rootWidth, rootHeight;
-00116     int                      rootX, rootY;
-00117     int                      rootXSign, rootYSign;
-00118                                 /* Origin in global space */
-00119     int                      rootXOrigin, rootYOrigin;
-00120     
-00121                                 /* Raw configuration information */
-00122     DMXConfigTokenPtr        start;
-00123     DMXConfigStringPtr       dname;
-00124     DMXConfigFullDimPtr      dim;
-00125     DMXConfigPairPtr         origin;
-00126     DMXConfigTokenPtr        end;
-00127 } DMXConfigDisplay, *DMXConfigDisplayPtr;
-00128 
-00130 typedef struct _DMXConfigWall {
-00131                                 /* Summary information */
-00132     int                      width, height; /* dimensions of displays */
-00133     int                      xwall, ywall; /* dimensions of wall, in tiles */
-00134 
-00135     
-00136                                 /* Raw configuration informaiton */
-00137     DMXConfigTokenPtr        start;
-00138     DMXConfigPairPtr         wallDim;
-00139     DMXConfigPairPtr         displayDim;
-00140     DMXConfigStringPtr       nameList;
-00141     DMXConfigTokenPtr        end;
-00142 } DMXConfigWall, *DMXConfigWallPtr;
-00143 
-00145 typedef struct _DMXConfigOption {
-00146                                 /* Summary information */
-00147     char                     *string;
-00148     
-00149                                 /* Raw configuration informaiton */
-00150     DMXConfigTokenPtr        start;
-00151     DMXConfigStringPtr       option;
-00152     DMXConfigTokenPtr        end;
-00153 } DMXConfigOption, *DMXConfigOptionPtr;
-00154 
-00156 typedef struct _DMXConfigParam {
-00157     int                      argc;
-00158     const char               **argv;
-00159     
-00160     DMXConfigTokenPtr        start;
-00161     DMXConfigTokenPtr        open;
-00162     DMXConfigStringPtr       param;
-00163     DMXConfigTokenPtr        close;
-00164     DMXConfigTokenPtr        end; /* Either open/close OR end */
-00165     struct _DMXConfigParam   *next;
-00166 } DMXConfigParam, *DMXConfigParamPtr;
-00167 
-00169 typedef struct _DMXConfigSub {
-00170     DMXConfigType             type;
-00171     DMXConfigCommentPtr       comment;
-00172     DMXConfigDisplayPtr       display;
-00173     DMXConfigWallPtr          wall;
-00174     DMXConfigOptionPtr        option;
-00175     DMXConfigParamPtr         param;
-00176     struct _DMXConfigSub      *next;
-00177 } DMXConfigSub, *DMXConfigSubPtr;
-00178 
-00180 typedef struct _DMXConfigVirtual {
-00181                                 /* Summary information */
-00182     const char                *name;
-00183     int                       width, height;
-00184 
-00185                                 /* Raw configuration information */
-00186     DMXConfigTokenPtr         start;
-00187     DMXConfigStringPtr        vname;
-00188     DMXConfigPairPtr          dim;
-00189     DMXConfigTokenPtr         open;
-00190     DMXConfigSubPtr           subentry;
-00191     DMXConfigTokenPtr         close;
-00192 } DMXConfigVirtual, *DMXConfigVirtualPtr;
-00193 
-00195 typedef struct _DMXConfigEntry {
-00196     DMXConfigType            type;
-00197     DMXConfigCommentPtr      comment;
-00198     DMXConfigVirtualPtr      virtual;
-00199     struct _DMXConfigEntry   *next;
-00200 } DMXConfigEntry, *DMXConfigEntryPtr;
-00201 
-00202 extern DMXConfigEntryPtr   dmxConfigEntry;
-00203 
-00204 extern int                 yylex(void);
-00205 extern int                 yydebug;
-00206 extern void                yyerror(const char *message);
-00207 
-00208 extern void                dmxConfigLog(const char *format, ...);
-00209 extern void                *dmxConfigAlloc(unsigned long bytes);
-00210 extern void                *dmxConfigRealloc(void *orig,
-00211                                              unsigned long orig_bytes,
-00212                                              unsigned long bytes);
-00213 extern const char          *dmxConfigCopyString(const char *string,
-00214                                                 int length);
-00215 extern void                dmxConfigFree(void *area);
-00216 extern DMXConfigTokenPtr   dmxConfigCreateToken(int token, int line,
-00217                                                 const char *comment);
-00218 extern void                dmxConfigFreeToken(DMXConfigTokenPtr p);
-00219 extern DMXConfigStringPtr  dmxConfigCreateString(int token, int line,
-00220                                                  const char *comment,
-00221                                                  const char *string);
-00222 extern void                dmxConfigFreeString(DMXConfigStringPtr p);
-00223 extern DMXConfigNumberPtr  dmxConfigCreateNumber(int token, int line,
-00224                                                  const char *comment,
-00225                                                  int number);
-00226 extern void                dmxConfigFreeNumber(DMXConfigNumberPtr p);
-00227 extern DMXConfigPairPtr    dmxConfigCreatePair(int token, int line,
-00228                                                const char *comment,
-00229                                                int x, int y,
-00230                                                int xsign, int ysign);
-00231 extern void                dmxConfigFreePair(DMXConfigPairPtr p);
-00232 extern DMXConfigCommentPtr dmxConfigCreateComment(int token, int line,
-00233                                                   const char *comment);
-00234 extern void                dmxConfigFreeComment(DMXConfigCommentPtr p);
-00235 extern DMXConfigPartDimPtr dmxConfigCreatePartDim(DMXConfigPairPtr pDim,
-00236                                                   DMXConfigPairPtr pOffset);
-00237 extern void                dmxConfigFreePartDim(DMXConfigPartDimPtr p);
-00238 extern DMXConfigFullDimPtr dmxConfigCreateFullDim(DMXConfigPartDimPtr pScrn,
-00239                                                   DMXConfigPartDimPtr pRoot);
-00240 extern void                dmxConfigFreeFullDim(DMXConfigFullDimPtr p);
-00241 extern DMXConfigDisplayPtr dmxConfigCreateDisplay(DMXConfigTokenPtr pStart,
-00242                                                   DMXConfigStringPtr pName,
-00243                                                   DMXConfigFullDimPtr pDim,
-00244                                                   DMXConfigPairPtr pOrigin,
-00245                                                   DMXConfigTokenPtr pEnd);
-00246 extern void                dmxConfigFreeDisplay(DMXConfigDisplayPtr p);
-00247 extern DMXConfigWallPtr    dmxConfigCreateWall(DMXConfigTokenPtr pStart,
-00248                                                DMXConfigPairPtr pWallDim,
-00249                                                DMXConfigPairPtr pDisplayDim,
-00250                                                DMXConfigStringPtr pNameList,
-00251                                                DMXConfigTokenPtr pEnd);
-00252 extern void                dmxConfigFreeWall(DMXConfigWallPtr p);
-00253 extern DMXConfigOptionPtr  dmxConfigCreateOption(DMXConfigTokenPtr pStart,
-00254                                                  DMXConfigStringPtr pOption,
-00255                                                  DMXConfigTokenPtr pEnd);
-00256 extern void                dmxConfigFreeOption(DMXConfigOptionPtr p);
-00257 extern DMXConfigParamPtr   dmxConfigCreateParam(DMXConfigTokenPtr pStart,
-00258                                                 DMXConfigTokenPtr pOpen,
-00259                                                 DMXConfigStringPtr pParam,
-00260                                                 DMXConfigTokenPtr pClose,
-00261                                                 DMXConfigTokenPtr pEnd);
-00262 extern void                dmxConfigFreeParam(DMXConfigParamPtr p);
-00263 extern const char          **dmxConfigLookupParam(DMXConfigParamPtr p,
-00264                                                   const char *key,
-00265                                                   int *argc);
-00266 extern DMXConfigSubPtr     dmxConfigCreateSub(DMXConfigType type,
-00267                                               DMXConfigCommentPtr comment,
-00268                                               DMXConfigDisplayPtr display,
-00269                                               DMXConfigWallPtr wall,
-00270                                               DMXConfigOptionPtr option,
-00271                                               DMXConfigParamPtr param);
-00272 extern void                dmxConfigFreeSub(DMXConfigSubPtr sub);
-00273 extern DMXConfigSubPtr     dmxConfigSubComment(DMXConfigCommentPtr comment);
-00274 extern DMXConfigSubPtr     dmxConfigSubDisplay(DMXConfigDisplayPtr display);
-00275 extern DMXConfigSubPtr     dmxConfigSubWall(DMXConfigWallPtr wall);
-00276 extern DMXConfigSubPtr     dmxConfigSubOption(DMXConfigOptionPtr option);
-00277 extern DMXConfigSubPtr     dmxConfigSubParam(DMXConfigParamPtr param);
-00278 extern DMXConfigSubPtr     dmxConfigAddSub(DMXConfigSubPtr head,
-00279                                            DMXConfigSubPtr sub);
-00280 extern DMXConfigVirtualPtr dmxConfigCreateVirtual(DMXConfigTokenPtr pStart,
-00281                                                   DMXConfigStringPtr pName,
-00282                                                   DMXConfigPairPtr pDim,
-00283                                                   DMXConfigTokenPtr pOpen,
-00284                                                   DMXConfigSubPtr pSubentry,
-00285                                                   DMXConfigTokenPtr pClose);
-00286 extern void                dmxConfigFreeVirtual(DMXConfigVirtualPtr virtual);
-00287 extern DMXConfigEntryPtr   dmxConfigCreateEntry(DMXConfigType type,
-00288                                                 DMXConfigCommentPtr comment,
-00289                                                 DMXConfigVirtualPtr virtual);
-00290 extern void                dmxConfigFreeEntry(DMXConfigEntryPtr entry);
-00291 extern DMXConfigEntryPtr   dmxConfigAddEntry(DMXConfigEntryPtr head,
-00292                                              DMXConfigType type,
-00293                                              DMXConfigCommentPtr comment,
-00294                                              DMXConfigVirtualPtr virtual);
-00295 extern DMXConfigEntryPtr   dmxConfigEntryComment(DMXConfigCommentPtr comment);
-00296 extern DMXConfigEntryPtr   dmxConfigEntryVirtual(DMXConfigVirtualPtr virtual);
-00297 
-00298 #endif
-

-
- - 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 index 410075337..989fb475c 100644 --- a/xorg-server/hw/dmx/doc/html/dmxparse_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmxparse_8h.html @@ -6,761 +6,1914 @@ - - -

dmxparse.h File Reference

#include <stdio.h>
+ + +
+

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 
)
+
+
-

-Go to the source code of this file. - - - +

References _DMXConfigComment::comment, dmxConfigAlloc(), _DMXConfigComment::line, and _DMXConfigComment::token.

- +

Referenced by dmxVDLRead().

+ + + + +
+
+

Data Structures

struct  _DMXConfigComment
struct  _DMXConfigDisplay
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
DMXConfigDisplayPtr dmxConfigCreateDisplay (DMXConfigTokenPtr  pStart,
DMXConfigStringPtr  pName,
DMXConfigFullDimPtr  pDim,
DMXConfigPairPtr  pOrigin,
DMXConfigTokenPtr  pEnd 
)
+

+ +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
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 
)
+
+
-
struct  _DMXConfigEntry
struct  _DMXConfigFullDim
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
DMXConfigVirtualPtr dmxConfigCreateVirtual (DMXConfigTokenPtr  pStart,
DMXConfigStringPtr  pName,
DMXConfigPairPtr  pDim,
DMXConfigTokenPtr  pOpen,
DMXConfigSubPtr  pSubentry,
DMXConfigTokenPtr  pClose 
)
+ +

-
struct  _DMXConfigNumber
struct  _DMXConfigOption
struct  _DMXConfigPair
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
DMXConfigWallPtr dmxConfigCreateWall (DMXConfigTokenPtr  pStart,
DMXConfigPairPtr  pWallDim,
DMXConfigPairPtr  pDisplayDim,
DMXConfigStringPtr  pNameList,
DMXConfigTokenPtr  pEnd 
)
+

+ + + +
+
+ + + + + + + + + +
DMXConfigEntryPtr dmxConfigEntryComment (DMXConfigCommentPtr  comment ) 
+
+ +
+ +
+
+ + + + + + + + + +
DMXConfigEntryPtr dmxConfigEntryVirtual (DMXConfigVirtualPtr  virtual ) 
+
+ +
+ + + +
+
+ + + + + + + + + +
void dmxConfigFreeComment (DMXConfigCommentPtr  p ) 
+
+ +
+ + + + + + + +
+
+ + + + + + + + + +
void dmxConfigFreeNumber (DMXConfigNumberPtr  p ) 
+
+ +
+ + + +
+
+ + + + + + + + + +
void dmxConfigFreePair (DMXConfigPairPtr  p ) 
+
+ +
+ + + + + +
+
+ + + + + + + + + +
void dmxConfigFreeString (DMXConfigStringPtr  p ) 
+
+
-typedef _DMXConfigEntryDMXConfigEntryPtr +

References _DMXConfigString::comment, dmxConfigFree(), _DMXConfigString::next, and _DMXConfigString::string.

-

Functions

-void dmxConfigLog (const char *format,...) +

Referenced by dmxConfigFreeDisplay(), dmxConfigFreeOption(), dmxConfigFreeParam(), dmxConfigFreeVirtual(), and dmxConfigFreeWall().

- -

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 -
-
- - - - - -
-   - - -

-Stores parsed comments not stored with a token.

-

- - - - -
- - -
typedef struct _DMXConfigDisplay DMXConfigDisplay -
-
- - - - - -
-   - - -

-Stores parsed display information.

-

- - - - -
- - -
typedef struct _DMXConfigDisplay * DMXConfigDisplayPtr -
-
- - - - - -
-   - - -

-Stores parsed display information.

-

- - - - -
- - -
typedef struct _DMXConfigEntry DMXConfigEntry -
-
- - - - - -
-   - - -

-Heads entry storage.

-

- - - - -
- - -
typedef struct _DMXConfigEntry * DMXConfigEntryPtr -
-
- - - - - -
-   - - -

-Heads entry storage.

-

- - - - -
- - -
typedef struct _DMXConfigFullDim DMXConfigFullDim -
-
- - - - - -
-   - - -

-Stores a pair of geometry specifications.

-

- - - - -
- - -
typedef struct _DMXConfigFullDim * DMXConfigFullDimPtr -
-
- - - - - -
-   - - -

-Stores a pair of geometry specifications.

-

- - - - -
- + + + +
+
+
- + + + + + +
typedef struct _DMXConfigNumber DMXConfigNumber + void dmxConfigFreeSub (DMXConfigSubPtr  sub ) 
-
- - - - - -
-   - - -

-Stores parsed numbers.

-

- - - - -
- + + + + +
+
+
- + + + + + +
typedef struct _DMXConfigNumber * DMXConfigNumberPtr + void dmxConfigFreeToken (DMXConfigTokenPtr  p ) 
-
- - - - - -
-   - - -

-Stores parsed numbers.

-

- - - - -
- + + + + +
+
+
- + + + + + +
typedef struct _DMXConfigOption DMXConfigOption + void dmxConfigFreeVirtual (DMXConfigVirtualPtr  virtual ) 
-
- - - - - -
-   - - -

-Stores parsed option information.

-

- - - - -
- + + + + +
+
+
- + + + + + +
typedef struct _DMXConfigOption * DMXConfigOptionPtr + void dmxConfigFreeWall (DMXConfigWallPtr  p ) 
-
- - - - - -
-   - - -

-Stores parsed option information.

-

- - - - -
- + + + + +
+
+
-
typedef struct _DMXConfigPair DMXConfigPair -
-
- - - - - -
-   - - -

-Stores parsed pairs (e.g., x y)

-

- - - - -
- + + + + + -
void dmxConfigLog (const char *  format,
typedef struct _DMXConfigPair * DMXConfigPairPtr -
-
- - - - - -
-   - - -

-Stores parsed pairs (e.g., x y)

-

- - - - -
- + + + + + - + + +
  ... 
typedef struct _DMXConfigParam DMXConfigParam + )
-
- - - - - -
-   - - -

-Stores parsed param information.

-

- - - - -
- + + + + +
+
+
-
typedef struct _DMXConfigParam * DMXConfigParamPtr -
-
- - - - - -
-   - - -

-Stores parsed param information.

-

- - - - -
- + + + + + -
const char** dmxConfigLookupParam (DMXConfigParamPtr  p,
typedef struct _DMXConfigPartDim DMXConfigPartDim -
-
- - - - - -
-   - - -

-Stores a geometry specification.

-

- - - - -
- + + + + + -
const char *  key,
typedef struct _DMXConfigPartDim * DMXConfigPartDimPtr -
-
- - - - - -
-   - - -

-Stores a geometry specification.

-

- - - - -
- + + + + + - + + +
int *  argc 
typedef struct _DMXConfigString DMXConfigString + )
-
- - - - - -
-   - - -

-Stores parsed strings.

-

- - - - -
- + + + + +
+
+
-
typedef struct _DMXConfigString * DMXConfigStringPtr -
-
- - - - - -
-   - - -

-Stores parsed strings.

-

- - - - -
- + + + + + -
void* dmxConfigRealloc (void *  orig,
typedef struct _DMXConfigSub DMXConfigSub -
-
- - - - - -
-   - - -

-Stores options under an entry (subentry).

-

- - - - -
- + + + + + -
unsigned long  orig_bytes,
typedef struct _DMXConfigSub * DMXConfigSubPtr -
-
- - - - - -
-   - - -

-Stores options under an entry (subentry).

-

- - - - -
- + + + + + - + + +
unsigned long  bytes 
typedef struct _DMXConfigToken DMXConfigToken + )
-
- - - - - -
-   - - -

-Stores tokens not stored in other structures (e.g., keywords and ;)

-

- - - - -
- + +
+ +

References dmxConfigLog().

+ +
+ + +
+
+
- + + + + + +
typedef struct _DMXConfigToken * DMXConfigTokenPtr + DMXConfigSubPtr dmxConfigSubComment (DMXConfigCommentPtr  comment ) 
-
- - - - - -
-   - - -

-Stores tokens not stored in other structures (e.g., keywords and ;)

-

- - - - -
- + +
+ +

References dmxConfigComment, and dmxConfigCreateSub().

+ +
+ + +
+
+
- + + + + + +
typedef struct _DMXConfigVirtual DMXConfigVirtual + DMXConfigSubPtr dmxConfigSubDisplay (DMXConfigDisplayPtr  display ) 
-
- - - - - -
-   - - -

-Stores parsed virtual information.

-

- - - - -
- + +
+ +

References dmxConfigCreateSub(), and dmxConfigDisplay.

+ +

Referenced by dmxConfigNDCallback(), and dmxVDLRead().

+ +
+ + +
+
+
- + + + + + +
typedef struct _DMXConfigVirtual * DMXConfigVirtualPtr + DMXConfigSubPtr dmxConfigSubOption (DMXConfigOptionPtr  option ) 
-
- - - - - -
-   - - -

-Stores parsed virtual information.

-

- - - - -
- + +
+ +

References dmxConfigCreateSub(), and dmxConfigOption.

+ +
+ + +
+
+
- + + + + + +
typedef struct _DMXConfigWall DMXConfigWall + DMXConfigSubPtr dmxConfigSubParam (DMXConfigParamPtr  param ) 
-
- - - - - -
-   - - -

-Stores parsed wall information.

-

- - - - -
- + +
+ +

References dmxConfigCreateSub(), and dmxConfigParam.

+ +
+ + +
+
+
- + + + + + +
typedef struct _DMXConfigWall * DMXConfigWallPtr + DMXConfigSubPtr dmxConfigSubWall (DMXConfigWallPtr  wall ) 
-
- - - - - -
-   - - -

-Stores parsed wall information.

-


Function Documentation

-

- - - - -
- + +
+ +

References dmxConfigCreateSub(), and dmxConfigWall.

+ +
+ + +
+
+
- - - - + + + + + + +
void dmxConfigLog const char *  format, void yyerror (const char *  message ) 
+ +
+ +
+ + +
+
+ + + + + + - - - +
int yylex (void  )  ... 
+
+
+ +
+
+

Variable Documentation

+ +
+ +
+ +

Referenced by main().

+
+
+ +
+
+ + + +
int yydebug
-
- - - - - -
-   - - -

-A general error logging routine that does not depend on the dmxLog functions.

+

+
+ +

Referenced by dmxConfigReadFile(), and main().

+ +
+
+
diff --git a/xorg-server/hw/dmx/doc/html/dmxparse_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxparse_8h_source.html new file mode 100644 index 000000000..95c1086a5 --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/dmxparse_8h_source.html @@ -0,0 +1,316 @@ + + + + + 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 index 96fd4fe5f..c0f256484 100644 --- a/xorg-server/hw/dmx/doc/html/dmxpict_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxpict_8c.html @@ -6,1170 +6,1393 @@ - - -

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 "render.h"
-#include "renderproto.h"
-#include "picture.h"
-#include "picturestr.h"
-#include "mipict.h"
-#include "fbpict.h"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + +
+

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

void dmxInitRender (void)
void dmxResetRender (void)
Bool dmxPictureInit (ScreenPtr pScreen, PictFormatPtr formats, int nformats)
Bool dmxBEFreeGlyphSet (ScreenPtr pScreen, GlyphSetPtr glyphSet)
void dmxCreatePictureList (WindowPtr pWindow)
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)
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

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 
)
+
+
+

Create glyphSet on the backend screen number idx.

-void dmxUpdateIndexed (ScreenPtr pScreen, PictFormatPtr pFormat, int ndef, xColorItem *pdef) +

References _DMXScreenInfo::beDisplay, DMX_GET_GLYPH_PRIV, dmxFindFormat(), dmxGlyphErrorHandler(), dmxGlyphLastError, dmxScreens, and _dmxGlyphPriv::glyphSets.

-void dmxTrapezoids (CARD8 op, PicturePtr pSrc, PicturePtr pDst, PictFormatPtr maskFormat, INT16 xSrc, INT16 ySrc, int ntrap, xTrapezoid *traps) +

Referenced by dmxBERestoreRenderGlyph(), and dmxProcRenderCreateGlyphSet().

-void dmxTriangles (CARD8 op, PicturePtr pSrc, PicturePtr pDst, PictFormatPtr maskFormat, INT16 xSrc, INT16 ySrc, int ntri, xTriangle *tris) +
+
+ +
+
+ + + + + + + + + +
int dmxBECreatePicture (PicturePtr  pPicture ) 
+
+
+

Create pPicture on the backend.

-void dmxTriStrip (CARD8 op, PicturePtr pSrc, PicturePtr pDst, PictFormatPtr maskFormat, INT16 xSrc, INT16 ySrc, int npoint, xPointFixed *points) +

References DMX_GET_PICT_PRIV, dmxDoCreatePicture(), dmxValidatePicture(), and _dmxPictPriv::pict.

-void dmxTriFan (CARD8 op, PicturePtr pSrc, PicturePtr pDst, PictFormatPtr maskFormat, INT16 xSrc, INT16 ySrc, int npoint, xPointFixed *points) +

Referenced by dmxBERestoreRenderPict().

- -

Detailed Description

-Provide support for the RENDER extension (version 0.8).

Function Documentation

-

- - - - -
- + + + +
+
+
- - - - + + + + + - - - + + - - + + -
Bool dmxBEFreeGlyphSet ScreenPtr  pScreen, Bool dmxBEFreeGlyphSet (ScreenPtr  pScreen,
GlyphSetPtr  glyphSetGlyphSetPtr  glyphSet 
)
-
- - - - - -
-   - - -

-Free glyphSet on back-end screen number idx.

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + -
Bool dmxBEFreePicture PicturePtr  pPicture  ) Bool dmxBEFreePicture (PicturePtr  pPicture ) 
-
- - - - - -
-   - - -

-Destroy pPicture on the back-end server.

-

- - - - -
- + +
+

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, void dmxChangePicture (PicturePtr  pPicture,
Mask  maskMask  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.

-

- - - - -
- + +
+

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 dmxChangePictureClip (PicturePtr  pPicture,
int  clipType, int  clipType,
pointer  value, pointer  value,
int  nint  n 
)
-
- - - - - -
-   - - -

-Change the picture's list of clip rectangles.

-

- - - - -
- + +
+

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, void dmxCloseIndexed (ScreenPtr  pScreen,
PictFormatPtr  pFormatPictFormatPtr  pFormat 
)
-
- - - - - -
-   - - -

-Indexed color visuals are not yet supported.

-

- - - - -
- + +
+

Indexed color visuals are not yet supported.

+ +
+ + +
+
+
- - - - + + + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + - - + + -
void dmxComposite CARD8  op, void dmxComposite (CARD8  op,
PicturePtr  pSrc, PicturePtr  pSrc,
PicturePtr  pMask, PicturePtr  pMask,
PicturePtr  pDst, PicturePtr  pDst,
INT16  xSrc, INT16  xSrc,
INT16  ySrc, INT16  ySrc,
INT16  xMask, INT16  xMask,
INT16  yMask, INT16  yMask,
INT16  xDst, INT16  xDst,
INT16  yDst, INT16  yDst,
CARD16  width, CARD16  width,
CARD16  heightCARD16  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.

-

- - - - -
- + +
+

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, void dmxCompositeRects (CARD8  op,
PicturePtr  pDst, PicturePtr  pDst,
xRenderColor *  color, xRenderColor *  color,
int  nRect, int  nRect,
xRectangle *  rectsxRectangle *  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.

-

- - - - -
- + +
+

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  ) 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.

-

- - - - -
- + +
+

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  ) 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.

-

- - - - -
- + +
+

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  ) 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.

-

- - - - -
- + +
+

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  ) void dmxDestroyPictureClip (PicturePtr  pPicture ) 
-
- - - - - -
-   - - -

-Destroy the picture's list of clip rectangles.

-

- - - - -
- + +
+

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  ) 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]
-
- - - - - -
-   - - -

-Destroy a list of pictures that are associated with the window that is being destroyed. This function is called by dmxDestroyWindow().

-

- - - - -
- + +
+

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().

+ +
+ + +
+
+
- - - - + + + + + - - - + + - - - + + + +
void dmxGlyphs CARD8  op, static XRenderPictFormat* dmxFindFormat (DMXScreenInfo dmxScreen,
PicturePtr  pSrc, PictFormatPtr  pFmt 
PicturePtr  pDst, ) [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,
PictFormatPtr  maskFormat, XErrorEvent *  ev 
INT16  xSrc, ) [static]
+
+
+ +

References dmxGlyphLastError.

+ +

Referenced by dmxBECreateGlyphSet().

+ +
+
+ +
+
+ + + + + + + + + + + + - - + + + + + + + + - - + + + + + + + + - - + + + + + + + + - - + + - - + + -
void dmxGlyphs (CARD8  op,
PicturePtr  pSrc,
INT16  ySrc, PicturePtr  pDst,
PictFormatPtr  maskFormat,
int  nlists, INT16  xSrc,
INT16  ySrc,
GlyphListPtr  lists, int  nlists,
GlyphListPtr  lists,
GlyphPtr *  glyphsGlyphPtr *  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.

-

- - - - -
- + +
+

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, Bool dmxInitIndexed (ScreenPtr  pScreen,
PictFormatPtr  pFormatPictFormatPtr  pFormat 
)
-
- - - - - -
-   - - -

-Indexed color visuals are not yet supported.

-

- - - - -
- + +
+

Indexed color visuals are not yet supported.

+ +
+ + +
+
+
- - - - - - + + + + + + -
void dmxInitRender void   ) 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.

-

- - - - -
- + +
+

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, Bool dmxPictureInit (ScreenPtr  pScreen,
PictFormatPtr  formats, PictFormatPtr  formats,
int  nformatsint  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]
-
- - - - - -
-   - - -

-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.

-

- - - - -
- + +
+

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().

+ +
+ + +
+
+
- - - - - - + + + + + + +
void dmxResetRender void   ) 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]
-
- - - - - -
-   - - -

-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).

-

- - - - -
- + +
+

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().

+ +
+ + +
+
+
- - - - + + + + + + +
void dmxTrapezoids CARD8  op, 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().

+ +
+ + +
+
+ - - - - + + + + + + +
PicturePtr  pSrc, 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().

+ +
+
+ +
+
+ - - - - + + + + + + +
PicturePtr  pDst, 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().

+ +
+
+ +
+
+ - - - - + + + + + + +
PictFormatPtr  maskFormat, 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,
INT16  xSrc, PicturePtr  pSrc,
PicturePtr  pDst,
INT16  ySrc, PictFormatPtr  maskFormat,
INT16  xSrc,
int  ntrap, INT16  ySrc,
int  ntrap,
xTrapezoid *  trapsxTrapezoid *  traps 
)
-
- - - - - -
-   - - -

-Composite a list of trapezoids on the appropriate screen. For a complete description see the protocol document of the RENDER library.

-

- - - - -
- + +
+

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, void dmxTriangles (CARD8  op,
PicturePtr  pSrc, PicturePtr  pSrc,
PicturePtr  pDst, PicturePtr  pDst,
PictFormatPtr  maskFormat, PictFormatPtr  maskFormat,
INT16  xSrc, INT16  xSrc,
INT16  ySrc, INT16  ySrc,
int  ntri, int  ntri,
xTriangle *  trisxTriangle *  tris 
)
-
- - - - - -
-   - - -

-Composite a list of triangles on the appropriate screen. For a complete description see the protocol document of the RENDER library.

-

- - - - -
- + +
+

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, void dmxTriFan (CARD8  op,
PicturePtr  pSrc, PicturePtr  pSrc,
PicturePtr  pDst, PicturePtr  pDst,
PictFormatPtr  maskFormat, PictFormatPtr  maskFormat,
INT16  xSrc, INT16  xSrc,
INT16  ySrc, INT16  ySrc,
int  npoint, int  npoint,
xPointFixed *  pointsxPointFixed *  points 
)
-
- - - - - -
-   - - -

-Composite a triangle fan on the appropriate screen. For a complete description see the protocol document of the RENDER library.

-

- - - - -
- + +
+

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, void dmxTriStrip (CARD8  op,
PicturePtr  pSrc, PicturePtr  pSrc,
PicturePtr  pDst, PicturePtr  pDst,
PictFormatPtr  maskFormat, PictFormatPtr  maskFormat,
INT16  xSrc, INT16  xSrc,
INT16  ySrc, INT16  ySrc,
int  npoint, int  npoint,
xPointFixed *  pointsxPointFixed *  points 
)
-
- - - - - -
-   - - -

-Composite a triangle strip on the appropriate screen. For a complete description see the protocol document of the RENDER library.

-

- - - - -
- + +
+

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, void dmxUpdateIndexed (ScreenPtr  pScreen,
PictFormatPtr  pFormat, PictFormatPtr  pFormat,
int  ndef, int  ndef,
xColorItem *  pdefxColorItem *  pdef 
)
-
- - - - - -
-   - - -

-Indexed color visuals are not yet supported.

-

- - - - -
- + +
+

Indexed color visuals are not yet supported.

+ +
+ + +
+
+
- - - - + + + + + - - - + + - - + + + +
void dmxValidatePicture PicturePtr  pPicture, void dmxValidatePicture (PicturePtr  pPicture,
Mask  maskMask  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(* dmxSaveRenderVector[RenderNumberRequests])(ClientPtr) [static]
-
- - - - - -
-   - - -

-Validate the picture's attributes before rendering to it. Update any picture attributes that have been changed by one of the higher layers.

+

+ +
+ +
+
+ + + + +
int(* ProcRenderVector[RenderNumberRequests])(ClientPtr)
+
+
+ +

Referenced by dmxInitRender(), and dmxResetRender().

+ +
+
+ +
+
+ + + + +
int RenderErrBase
+
+ +
+
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 1043f82bf..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxpict_8h-source.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - File Index - - - - - -

dmxpict.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2001-2004 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Kevin E. Martin <kem@redhat.com>
-00032  *
-00033  */
-00034 
-00042 #ifndef DMXPICT_H
-00043 #define DMXPICT_H
-00044 
-00046 typedef struct _dmxPictPriv {
-00047     Picture  pict;              
-00048     Mask     savedMask;         
-00050 } dmxPictPrivRec, *dmxPictPrivPtr;
-00051 
-00052 
-00054 typedef struct _dmxGlyphPriv {
-00055     GlyphSet  *glyphSets; 
-00056 } dmxGlyphPrivRec, *dmxGlyphPrivPtr;
-00057 
-00058 
-00059 extern void dmxInitRender(void);
-00060 extern void dmxResetRender(void);
-00061 
-00062 extern Bool dmxPictureInit(ScreenPtr pScreen,
-00063                            PictFormatPtr formats, int nformats);
-00064 
-00065 extern void dmxCreatePictureList(WindowPtr pWindow);
-00066 extern Bool dmxDestroyPictureList(WindowPtr pWindow);
-00067 
-00068 extern int dmxCreatePicture(PicturePtr pPicture);
-00069 extern void dmxDestroyPicture(PicturePtr pPicture);
-00070 extern int dmxChangePictureClip(PicturePtr pPicture, int clipType,
-00071                                 pointer value, int n);
-00072 extern void dmxDestroyPictureClip(PicturePtr pPicture);
-00073 extern void dmxChangePicture(PicturePtr pPicture, Mask mask);
-00074 extern void dmxValidatePicture(PicturePtr pPicture, Mask mask);
-00075 extern void dmxComposite(CARD8 op,
-00076                          PicturePtr pSrc, PicturePtr pMask, PicturePtr pDst,
-00077                          INT16 xSrc, INT16 ySrc,
-00078                          INT16 xMask, INT16 yMask,
-00079                          INT16 xDst, INT16 yDst,
-00080                          CARD16 width, CARD16 height);
-00081 extern void dmxGlyphs(CARD8 op,
-00082                       PicturePtr pSrc, PicturePtr pDst,
-00083                       PictFormatPtr maskFormat,
-00084                       INT16 xSrc, INT16 ySrc,
-00085                       int nlists, GlyphListPtr lists, GlyphPtr *glyphs);
-00086 extern void dmxCompositeRects(CARD8 op,
-00087                               PicturePtr pDst,
-00088                               xRenderColor *color,
-00089                               int nRect, xRectangle *rects);
-00090 extern Bool dmxInitIndexed(ScreenPtr pScreen, PictFormatPtr pFormat);
-00091 extern void dmxCloseIndexed(ScreenPtr pScreen, PictFormatPtr pFormat);
-00092 extern void dmxUpdateIndexed(ScreenPtr pScreen, PictFormatPtr pFormat,
-00093                              int ndef, xColorItem *pdef);
-00094 extern void dmxTrapezoids(CARD8 op,
-00095                           PicturePtr pSrc, PicturePtr pDst,
-00096                           PictFormatPtr maskFormat,
-00097                           INT16 xSrc, INT16 ySrc,
-00098                           int ntrap, xTrapezoid *traps);
-00099 extern void dmxTriangles(CARD8 op,
-00100                          PicturePtr pSrc, PicturePtr pDst,
-00101                          PictFormatPtr maskFormat,
-00102                          INT16 xSrc, INT16 ySrc,
-00103                          int ntri, xTriangle *tris);
-00104 extern void dmxTriStrip(CARD8 op,
-00105                         PicturePtr pSrc, PicturePtr pDst,
-00106                         PictFormatPtr maskFormat,
-00107                         INT16 xSrc, INT16 ySrc,
-00108                         int npoint, xPointFixed *points);
-00109 extern void dmxTriFan(CARD8 op,
-00110                       PicturePtr pSrc, PicturePtr pDst,
-00111                       PictFormatPtr maskFormat,
-00112                       INT16 xSrc, INT16 ySrc,
-00113                       int npoint, xPointFixed *points);
-00114 
-00115 extern Bool dmxBEFreeGlyphSet(ScreenPtr pScreen, GlyphSetPtr glyphSet);
-00116 extern Bool dmxBEFreePicture(PicturePtr pPicture);
-00117 
-00118 extern int dmxPictPrivateIndex;         
-00119 extern int dmxGlyphSetPrivateIndex;     
-00123 #define DMX_GET_PICT_PRIV(_pPict)                                       \
-00124     (dmxPictPrivPtr)(_pPict)->devPrivates[dmxPictPrivateIndex].ptr
-00125 
-00127 #define DMX_SET_GLYPH_PRIV(_pGlyph, _pPriv)                             \
-00128     GlyphSetSetPrivate((_pGlyph), dmxGlyphSetPrivateIndex, (_pPriv))
-00129 
-00130 #define DMX_GET_GLYPH_PRIV(_pGlyph)                                     \
-00131     (dmxGlyphPrivPtr)GlyphSetGetPrivate((_pGlyph), dmxGlyphSetPrivateIndex)
-00132 
-00133 #endif /* DMXPICT_H */
-

-
- - 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 index ea00f7a84..722a89152 100644 --- a/xorg-server/hw/dmx/doc/html/dmxpict_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmxpict_8h.html @@ -6,1404 +6,1229 @@ - - + + +

dmxpict.h File Reference

-

-Go to the source code of this file. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Data Structures

struct  _dmxGlyphPriv
struct  _dmxPictPriv

Defines

#define DMX_GET_PICT_PRIV(_pPict)   (dmxPictPrivPtr)(_pPict)->devPrivates[dmxPictPrivateIndex].ptr
#define DMX_SET_GLYPH_PRIV(_pGlyph, _pPriv)   GlyphSetSetPrivate((_pGlyph), dmxGlyphSetPrivateIndex, (_pPriv))
#define DMX_GET_GLYPH_PRIV(_pGlyph)   (dmxGlyphPrivPtr)GlyphSetGetPrivate((_pGlyph), dmxGlyphSetPrivateIndex)

Typedefs

typedef _dmxPictPriv dmxPictPrivRec
typedef _dmxPictPrivdmxPictPrivPtr
typedef _dmxGlyphPriv dmxGlyphPrivRec
typedef _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)
Bool dmxBEFreeGlyphSet (ScreenPtr pScreen, GlyphSetPtr glyphSet)
Bool dmxBEFreePicture (PicturePtr pPicture)

Variables

int dmxPictPrivateIndex
int dmxGlyphSetPrivateIndex
-


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

-

- - - +

Referenced by dmxPropertyCheckOtherServers(), and dmxPropertyIdentifier().

-
- - - - - - - - - -
#define DMX_GET_GLYPH_PRIV_pGlyph   )    (dmxGlyphPrivPtr)GlyphSetGetPrivate((_pGlyph), dmxGlyphSetPrivateIndex) +

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)
-
- - - - - -
-   - - -

-Get the glyphset private data given a glyphset pointer

-

- - - +

Referenced by dmxPropertyDisplay(), dmxPropertySameDisplay(), and dmxPropertyWindow().

- + + + +
+
+
- - - - - - - - - -
#define DMX_GET_PICT_PRIV_pPict   )    (dmxPictPrivPtr)(_pPict)->devPrivates[dmxPictPrivateIndex].ptr + + + + +
+
+ + + + + + + + +
#define DMX_GET_PICT_PRIV(_pPict  )    (dmxPictPrivPtr)dixLookupPrivate(&(_pPict)->devPrivates, dmxPictPrivateKey)
-
- - - - - -
-   - - -

-Get the picture private data given a picture pointer

-

- - - - -
- + + + + +
+
+
- - - - + + + + + + - - - - + + + +
#define DMX_SET_GLYPH_PRIV_pGlyph,
#define DMX_SET_GLYPH_PRIV(_pGlyph,
_pPriv   )    GlyphSetSetPrivate((_pGlyph), dmxGlyphSetPrivateIndex, (_pPriv)) + _pPriv  )    GlyphSetSetPrivate((_pGlyph), dmxGlyphSetPrivateKey, (_pPriv))
-
- - - - - -
-   - - -

-Set the glyphset private data given a glyphset pointer

-


Typedef Documentation

-

- - - +

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

- +

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

-
- - - - -
typedef struct _dmxGlyphPriv * dmxGlyphPrivPtr + +
+

Set the glyphset private data given a glyphset pointer

+ +

Referenced by dmxProcRenderCreateGlyphSet(), and dmxProcRenderFreeGlyphSet().

+ +
+ +

Typedef Documentation

+ +
+
+ + + +
typedef struct _dmxGlyphPriv * dmxGlyphPrivPtr
-
- - - - - -
-   - - -

-Glyph Set private structure

-

- - - - -
- + +
+ +
+ + +
+
+
- +
typedef struct _dmxGlyphPriv dmxGlyphPrivRec + typedef struct _dmxGlyphPriv dmxGlyphPrivRec
-
- - - - - -
-   - - -

-Glyph Set private structure

-

- - - - -
- + +
+

Glyph Set private structure

+ +
+ + +
+
+
- +
typedef struct _dmxPictPriv * dmxPictPrivPtr + typedef struct _dmxPictPriv * dmxPictPrivPtr
-
- - - - - -
-   - - -

-Picture private structure

-

- - - - -
- + +
+ +
+ + +
+
+
- +
typedef struct _dmxPictPriv dmxPictPrivRec + typedef struct _dmxPictPriv dmxPictPrivRec
-
- - - - - -
-   - - -

-Picture private structure

-


Function Documentation

-

- - - - -
- + +
+

Picture private structure

+ +
+ +

Function Documentation

+ +
+
+
- - - - + + + + + - - - + + - - + + -
Bool dmxBEFreeGlyphSet ScreenPtr  pScreen, int dmxBECreateGlyphSet (int  idx,
GlyphSetPtr  glyphSetGlyphSetPtr  glyphSet 
)
-
- - - - - -
-   - - -

-Free glyphSet on back-end screen number idx.

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + -
Bool dmxBEFreePicture PicturePtr  pPicture  ) int dmxBECreatePicture (PicturePtr  pPicture ) 
-
- - - - - -
-   - - -

-Destroy pPicture on the back-end server.

-

- - - - -
- + +
+

Create pPicture on the backend.

+ +

References DMX_GET_PICT_PRIV, dmxDoCreatePicture(), dmxValidatePicture(), and _dmxPictPriv::pict.

+ +

Referenced by dmxBERestoreRenderPict().

+ +
+ + +
+
+
- - - - + + + + + - - - + + - - + + +
void dmxChangePicture PicturePtr  pPicture, Bool dmxBEFreeGlyphSet (ScreenPtr  pScreen,
Mask  maskGlyphSetPtr  glyphSet 
)
+ + + + +
+
+ + + + + + + + +
Bool dmxBEFreePicture (PicturePtr  pPicture ) 
-
- - - - - -
-   - - -

-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.

-

- - - - -
- + +
+

Destroy pPicture on the back-end server.

+ +

References _DMXScreenInfo::beDisplay, DMX_GET_PICT_PRIV, dmxScreens, and _dmxPictPriv::pict.

+ +

Referenced by dmxBEDestroyResources(), dmxDestroyPicture(), and dmxDestroyPictureList().

+ +
+ + +
+
+
- - - - + + + + + - - - + + + + + +
int dmxChangePictureClip PicturePtr  pPicture, void dmxChangePicture (PicturePtr  pPicture,
int  clipType, 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,
pointer  value, int  clipType,
pointer  value,
int  nint  n 
)
-
- - - - - -
-   - - -

-Change the picture's list of clip rectangles.

-

- - - - -
- + +
+

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, void dmxCloseIndexed (ScreenPtr  pScreen,
PictFormatPtr  pFormatPictFormatPtr  pFormat 
)
-
- - - - - -
-   - - -

-Indexed color visuals are not yet supported.

-

- - - - -
- + +
+

Indexed color visuals are not yet supported.

+ +
+ + +
+
+
- - - - + + + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + - - + + -
void dmxComposite CARD8  op, void dmxComposite (CARD8  op,
PicturePtr  pSrc, PicturePtr  pSrc,
PicturePtr  pMask, PicturePtr  pMask,
PicturePtr  pDst, PicturePtr  pDst,
INT16  xSrc, INT16  xSrc,
INT16  ySrc, INT16  ySrc,
INT16  xMask, INT16  xMask,
INT16  yMask, INT16  yMask,
INT16  xDst, INT16  xDst,
INT16  yDst, INT16  yDst,
CARD16  width, CARD16  width,
CARD16  heightCARD16  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.

-

- - - - -
- + +
+

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, void dmxCompositeRects (CARD8  op,
PicturePtr  pDst, PicturePtr  pDst,
xRenderColor *  color, xRenderColor *  color,
int  nRect, int  nRect,
xRectangle *  rectsxRectangle *  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.

-

- - - - -
- + +
+

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  ) 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.

-

- - - - -
- + +
+

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  ) 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.

-

- - - - -
- + +
+

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  ) 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.

-

- - - - -
- + +
+

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  ) void dmxDestroyPictureClip (PicturePtr  pPicture ) 
-
- - - - - -
-   - - -

-Destroy the picture's list of clip rectangles.

-

- - - - -
- + +
+

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  ) 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().

-

- - - - -
- + +
+

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, void dmxGlyphs (CARD8  op,
PicturePtr  pSrc, PicturePtr  pSrc,
PicturePtr  pDst, PicturePtr  pDst,
PictFormatPtr  maskFormat, PictFormatPtr  maskFormat,
INT16  xSrc, INT16  xSrc,
INT16  ySrc, INT16  ySrc,
int  nlists, int  nlists,
GlyphListPtr  lists, GlyphListPtr  lists,
GlyphPtr *  glyphsGlyphPtr *  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.

-

- - - - -
- + +
+

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, Bool dmxInitIndexed (ScreenPtr  pScreen,
PictFormatPtr  pFormatPictFormatPtr  pFormat 
)
-
- - - - - -
-   - - -

-Indexed color visuals are not yet supported.

-

- - - - -
- + +
+

Indexed color visuals are not yet supported.

+ +
+ + +
+
+
- - - - - - + + + + + + -
void dmxInitRender void   ) 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.

-

- - - - -
- + +
+

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, Bool dmxPictureInit (ScreenPtr  pScreen,
PictFormatPtr  formats, PictFormatPtr  formats,
int  nformatsint  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.

-

- - - - -
- + +
+

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   ) 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).

-

- - - - -
- + +
+

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, void dmxTrapezoids (CARD8  op,
PicturePtr  pSrc, PicturePtr  pSrc,
PicturePtr  pDst, PicturePtr  pDst,
PictFormatPtr  maskFormat, PictFormatPtr  maskFormat,
INT16  xSrc, INT16  xSrc,
INT16  ySrc, INT16  ySrc,
int  ntrap, int  ntrap,
xTrapezoid *  trapsxTrapezoid *  traps 
)
-
- - - - - -
-   - - -

-Composite a list of trapezoids on the appropriate screen. For a complete description see the protocol document of the RENDER library.

-

- - - - -
- + +
+

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, void dmxTriangles (CARD8  op,
PicturePtr  pSrc, PicturePtr  pSrc,
PicturePtr  pDst, PicturePtr  pDst,
PictFormatPtr  maskFormat, PictFormatPtr  maskFormat,
INT16  xSrc, INT16  xSrc,
INT16  ySrc, INT16  ySrc,
int  ntri, int  ntri,
xTriangle *  trisxTriangle *  tris 
)
-
- - - - - -
-   - - -

-Composite a list of triangles on the appropriate screen. For a complete description see the protocol document of the RENDER library.

-

- - - - -
- + +
+

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, void dmxTriFan (CARD8  op,
PicturePtr  pSrc, PicturePtr  pSrc,
PicturePtr  pDst, PicturePtr  pDst,
PictFormatPtr  maskFormat, PictFormatPtr  maskFormat,
INT16  xSrc, INT16  xSrc,
INT16  ySrc, INT16  ySrc,
int  npoint, int  npoint,
xPointFixed *  pointsxPointFixed *  points 
)
-
- - - - - -
-   - - -

-Composite a triangle fan on the appropriate screen. For a complete description see the protocol document of the RENDER library.

-

- - - - -
- + +
+

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, void dmxTriStrip (CARD8  op,
PicturePtr  pSrc, PicturePtr  pSrc,
PicturePtr  pDst, PicturePtr  pDst,
PictFormatPtr  maskFormat, PictFormatPtr  maskFormat,
INT16  xSrc, INT16  xSrc,
INT16  ySrc, INT16  ySrc,
int  npoint, int  npoint,
xPointFixed *  pointsxPointFixed *  points 
)
-
- - - - - -
-   - - -

-Composite a triangle strip on the appropriate screen. For a complete description see the protocol document of the RENDER library.

-

- - - - -
- + +
+

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, void dmxUpdateIndexed (ScreenPtr  pScreen,
PictFormatPtr  pFormat, PictFormatPtr  pFormat,
int  ndef, int  ndef,
xColorItem *  pdefxColorItem *  pdef 
)
-
- - - - - -
-   - - -

-Indexed color visuals are not yet supported.

-

- - - - -
- + +
+

Indexed color visuals are not yet supported.

+ +
+ + +
+
+
- - - - + + + + + - - - + + - - + + -
void dmxValidatePicture PicturePtr  pPicture, void dmxValidatePicture (PicturePtr  pPicture,
Mask  maskMask  mask 
)
-
- - - - - -
-   - - -

-Validate the picture's attributes before rendering to it. Update any picture attributes that have been changed by one of the higher layers.

-


Variable Documentation

-

- - - +

References _DMXScreenInfo::beDisplay, DMX_GET_PIXMAP_PRIV, dmxScreens, dmxSync(), _dmxPixPriv::pixmap, and _DMXScreenInfo::scrnWin.

- +

Referenced by dmxAttachScreen(), dmxBECreateResources(), dmxBECreateWindowTree(), dmxBERestoreRenderPict(), and dmxCreatePixmap().

- + + + +
+
+
- - - - -
int dmxGlyphSetPrivateIndex + +
+

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
-
- - - - - -
-   - - -

-Private index for GlyphSets

-

- - - - -
- + +
+

Index for glyphset private data

+

Private index for GlyphSets

+ +
+ + +
+
+
- +
int dmxPictPrivateIndex + DevPrivateKey dmxPictPrivateKey
-
- - - - - -
-   - - -

-Private index for Picts

+ +

+

Index for picture private data

+

Private index for Picts

+ +

Referenced by dmxPictureInit().

+ +
+ +
diff --git a/xorg-server/hw/dmx/doc/html/dmxpict_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxpict_8h_source.html new file mode 100644 index 000000000..7616ee671 --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/dmxpict_8h_source.html @@ -0,0 +1,156 @@ + + + + + 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 index 8c6fc4551..68bbc807a 100644 --- a/xorg-server/hw/dmx/doc/html/dmxpixmap_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxpixmap_8c.html @@ -6,226 +6,207 @@ - - -

dmxpixmap.c File Reference

#include "dmx.h"
-#include "dmxsync.h"
-#include "dmxpixmap.h"
-#include "pixmapstr.h"
-#include "servermd.h"
- - - - + + +
+

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)
+ + + + + + + +

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 ) 
+
+
+

Create a pixmap on the back-end server.

-
void dmxBECreatePixmap (PixmapPtr pPixmap)
PixmapPtr dmxCreatePixmap (ScreenPtr pScreen, int width, int height, int depth)
Bool dmxBEFreePixmap (PixmapPtr pPixmap)
+ + + + + + + + +
Bool dmxBEFreePixmap (PixmapPtr  pPixmap ) 
+ +

+

Destroy the pixmap on the back-end server.

-
Bool dmxDestroyPixmap (PixmapPtr pPixmap)
RegionPtr dmxBitmapToRegion (PixmapPtr pPixmap)
-


Detailed Description

-Provides pixmap support.

Function Documentation

-

- - - - -
- + + + +
+
+
- - - - - - + + + + + + -
void dmxBECreatePixmap PixmapPtr  pPixmap  ) RegionPtr dmxBitmapToRegion (PixmapPtr  pPixmap ) 
-
- - - - - -
-   - - -

-Create a pixmap on the back-end server.

-

- - - - -
- - - - - - - - - + +
+

Create and return a region based on the pixmap pointed to by pPixmap.

-
Bool dmxBEFreePixmap PixmapPtr  pPixmap  ) 
-
- - - - - -
-   - - -

-Destroy the pixmap on the back-end server.

-

- - - - -
- - - - - - - - - +

References _DMXScreenInfo::beDisplay, DMX_GET_PIXMAP_PRIV, dmxScreens, dmxSync(), and _dmxPixPriv::pixmap.

-
RegionPtr dmxBitmapToRegion PixmapPtr  pPixmap  ) 
-
- - - - - -
-   - - -

-Create and return a region based on the pixmap pointed to by pPixmap.

-

- - - - -
- +

Referenced by dmxScreenInit().

+ + + + +
+
+
- - - - + + + + + - - - + + + - - - + + + + + + + + - - + + - - + + -
PixmapPtr dmxCreatePixmap ScreenPtr  pScreen, PixmapPtr dmxCreatePixmap (ScreenPtr  pScreen,
int  width, int  width,
int  height, int  height,
int  depth,
int  depthunsigned  usage_hint 
)
-
- - - - - -
-   - - -

-Create a pixmap for pScreen with the specified width, height, and depth.

-

- - - - -
- + +
+

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 dmxDestroyPixmap (PixmapPtr  pPixmap ) 
-
- - - - - -
-   - - -

-Destroy the pixmap pointed to by pPixmap.

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + -
Bool dmxInitPixmap ScreenPtr  pScreen  ) Bool dmxInitPixmap (ScreenPtr  pScreen ) 
-
- - - - - -
-   - - -

-Initialize a private area in pScreen for pixmap information.

+ +

+

Initialize a private area in pScreen for pixmap information.

+ +

References dmxPixPrivateKey.

+ +

Referenced by dmxScreenInit().

+ +
+ +
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 faa74a3e0..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxpixmap_8h-source.html +++ /dev/null @@ -1,83 +0,0 @@ - - - - - File Index - - - - - -

dmxpixmap.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2001-2004 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Kevin E. Martin <kem@redhat.com>
-00032  *
-00033  */
-00034 
-00038 #ifndef DMXPIXMAP_H
-00039 #define DMXPIXMAP_H
-00040 
-00041 #include "pixmapstr.h"
-00042 
-00044 typedef struct _dmxPixPriv {
-00045     Pixmap   pixmap;
-00046     XImage  *detachedImage;
-00047 } dmxPixPrivRec, *dmxPixPrivPtr;
-00048 
-00049 
-00050 extern Bool      dmxInitPixmap(ScreenPtr pScreen);
-00051 
-00052 extern PixmapPtr dmxCreatePixmap(ScreenPtr pScreen,
-00053                                  int width, int height, int depth);
-00054 extern Bool      dmxDestroyPixmap(PixmapPtr pPixmap);
-00055 extern RegionPtr dmxBitmapToRegion(PixmapPtr pPixmap);
-00056 
-00057 extern void      dmxBECreatePixmap(PixmapPtr pPixmap);
-00058 extern Bool      dmxBEFreePixmap(PixmapPtr pPixmap);
-00059 
-00061 extern int dmxPixPrivateIndex;
-00062 
-00064 #define DMX_GET_PIXMAP_PRIV(_pPix)                                      \
-00065     (dmxPixPrivPtr)(_pPix)->devPrivates[dmxPixPrivateIndex].ptr
-00066 
-00067 #endif /* DMXPIXMAP_H */
-

-
- - 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 index 27cc6a5da..8feb86bea 100644 --- a/xorg-server/hw/dmx/doc/html/dmxpixmap_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmxpixmap_8h.html @@ -6,337 +6,285 @@ - - -

dmxpixmap.h File Reference

#include "pixmapstr.h"
- -

-Go to the source code of this file. - - - - - - - - - - - - - - - - - - - - - - - - - - - + + +
+

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)(_pPix)->devPrivates[dmxPixPrivateIndex].ptr

Typedefs

typedef _dmxPixPriv dmxPixPrivRec
typedef _dmxPixPrivdmxPixPrivPtr

Functions

Bool dmxInitPixmap (ScreenPtr pScreen)
PixmapPtr dmxCreatePixmap (ScreenPtr pScreen, int width, int height, int depth)
Bool dmxDestroyPixmap (PixmapPtr pPixmap)
RegionPtr dmxBitmapToRegion (PixmapPtr pPixmap)
void dmxBECreatePixmap (PixmapPtr pPixmap)
Bool dmxBEFreePixmap (PixmapPtr pPixmap)

Variables

int dmxPixPrivateIndex
+ + + + + + + + + + + + + + + +

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

-

- - - - -
- +

Detailed Description

+

Interface for pixmap support.

+
See also:
dmxpixmap.c
+

Define Documentation

+ +
+
+
- - - - - - + + + + + +
#define DMX_GET_PIXMAP_PRIV_pPix   )    (dmxPixPrivPtr)(_pPix)->devPrivates[dmxPixPrivateIndex].ptr + #define DMX_GET_PIXMAP_PRIV(_pPix  )    (dmxPixPrivPtr)dixLookupPrivate(&(_pPix)->devPrivates, dmxPixPrivateKey)
-
- - - - - -
-   - + +
+

Get pixmap private pointer.

-

-Get pixmap private pointer.

-


Typedef Documentation

-

- - - - -
- +

Referenced by dmxBECreatePixmap(), dmxBEFreePixmap(), dmxBERestorePixmap(), dmxBESavePixmap(), dmxBitmapToRegion(), dmxChangeGC(), dmxCreatePixmap(), dmxDestroyPixmap(), dmxDoChangeWindowAttributes(), dmxDoCreatePicture(), and dmxFindAlternatePixmap().

+ + + +

Typedef Documentation

+ +
+
+
- +
typedef struct _dmxPixPriv * dmxPixPrivPtr + typedef struct _dmxPixPriv * dmxPixPrivPtr
-
- - - - - -
-   - + +
-

-Pixmap private area.

-

- - - - -
- + + + +
+
+
- +
typedef struct _dmxPixPriv dmxPixPrivRec + typedef struct _dmxPixPriv dmxPixPrivRec
-
- - - - - -
-   - + +
+

Pixmap private area.

-

-Pixmap private area.

-


Function Documentation

-

- - - - -
- + + +

Function Documentation

+ +
+
+
- - - - - - + + + + + + -
void dmxBECreatePixmap PixmapPtr  pPixmap  ) void dmxBECreatePixmap (PixmapPtr  pPixmap ) 
-
- - - - - -
-   - + +
+

Create a pixmap on the back-end server.

-

-Create a pixmap on the back-end server.

-

- - - - -
- +

References _DMXScreenInfo::beDisplay, DMX_GET_PIXMAP_PRIV, dmxScreens, dmxSync(), _dmxPixPriv::pixmap, and _DMXScreenInfo::scrnWin.

+ +

Referenced by dmxAttachScreen(), dmxBECreateResources(), dmxBECreateWindowTree(), dmxBERestoreRenderPict(), and dmxCreatePixmap().

+ + + + +
+
+
- - - - - - + + + + + + -
Bool dmxBEFreePixmap PixmapPtr  pPixmap  ) Bool dmxBEFreePixmap (PixmapPtr  pPixmap ) 
-
- - - - - -
-   - + +
+

Destroy the pixmap on the back-end server.

-

-Destroy the pixmap on the back-end server.

-

- - - - -
- +

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

+ +

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

+ + + + +
+
+
- - - - - - + + + + + + -
RegionPtr dmxBitmapToRegion PixmapPtr  pPixmap  ) RegionPtr dmxBitmapToRegion (PixmapPtr  pPixmap ) 
-
- - - - - -
-   - + +
+

Create and return a region based on the pixmap pointed to by 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, PixmapPtr dmxCreatePixmap (ScreenPtr  pScreen,
int  width, int  width,
int  height, int  height,
int  depth,
int  depthunsigned  usage_hint 
)
-
- - - - - -
-   - + +
+

Create a pixmap for pScreen with the specified width, height, and depth.

-

-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 dmxDestroyPixmap (PixmapPtr  pPixmap ) 
-
- - - - - -
-   - + +
+

Destroy the pixmap pointed to by pPixmap.

-

-Destroy the pixmap pointed to by pPixmap.

-

- - - - -
- +

References _DMXScreenInfo::beDisplay, _dmxPixPriv::detachedImage, DMX_GET_PIXMAP_PRIV, DMX_UNWRAP, DMX_WRAP, dmxBEFreePixmap(), dmxDestroyPixmap(), dmxScreens, and dmxSync().

+ +

Referenced by dmxDestroyPixmap(), and dmxScreenInit().

+ + + + +
+
+
- - - - - - + + + + + + -
Bool dmxInitPixmap ScreenPtr  pScreen  ) Bool dmxInitPixmap (ScreenPtr  pScreen ) 
-
- - - - - -
-   - + +
+

Initialize a private area in pScreen for pixmap information.

-

-Initialize a private area in pScreen for pixmap information.

-


Variable Documentation

-

- - - - -
- +

References dmxPixPrivateKey.

+ +

Referenced by dmxScreenInit().

+ + + +

Variable Documentation

+ +
+
+
- +
int dmxPixPrivateIndex + DevPrivateKey dmxPixPrivateKey
-
- - - - - -
-   - + +
+

Private index.

+
See also:
dmxpicmap.h
+
+dmxscrinit.c
+

Private index for Pixmaps

-

-Private index.

See also:
dmxpicmap.h

-dmxscrinit.c

-
+

Referenced by dmxInitPixmap().

+ + + +
diff --git a/xorg-server/hw/dmx/doc/html/dmxpixmap_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxpixmap_8h_source.html new file mode 100644 index 000000000..3911ae4a7 --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/dmxpixmap_8h_source.html @@ -0,0 +1,97 @@ + + + + + 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 index 9a439cf6b..d52dacec5 100644 --- a/xorg-server/hw/dmx/doc/html/dmxprint_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxprint_8c.html @@ -6,105 +6,697 @@ - - -

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>
- - - - - - - - - - + + +
+

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

void dmxConfigPrint (FILE *stream, DMXConfigEntryPtr entry)
void dmxConfigVirtualPrint (FILE *stream, DMXConfigVirtualPtr p)
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

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

-

- - - - -
- +

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,
void dmxConfigPrint FILE *  stream, const char *  comment,
const char *  format,
DMXConfigEntryPtr  entry  ... 
) [static]
+
+ +
+ +
+
+ + + + + + + + +
static void dmxConfigPopState (void  )  [static]
-
- - - - - -
-   - - -

-The configuration information in entry will be pretty-printed to the stream. If stream is NULL, then stdout will be used.

-

- - - - -
- + + + + +
+
+
+ + + + + + + + + + + + + + + + + +
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]
+
+ +
+ +
+
+ - - - - + + + + + + + + + - - + + + +
void dmxConfigVirtualPrint FILE *  stream, static int dmxConfigPrintPair (DMXConfigPairPtr  p,
int  addSpace 
DMXConfigVirtualPtr  p) [static]
+
+ +
+ + + +
+
+ + + + + + + + + +
static int dmxConfigPrintQuotedString (const char *  s )  [static]
+
+
+ +

Referenced by dmxConfigPrintString().

+ +
+
+ +
+
+ + + + + + + + + + + + - - + + +
static void dmxConfigPrintString (DMXConfigStringPtr  p,
int  quote 
) [static]
+
+ +
+ +
+
+ + + + + + + + +
static void dmxConfigPrintSub (DMXConfigSubPtr  p )  [static]
-
- - - - - -
-   - - -

-The configuration information in p will be pretty-printed to the stream. If stream is NULL, then stdout will be used.

+ +

+ + +
+
+ + + + + + + + + +
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]
+
+ +
+ + +
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 c1a0d4edb..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxprint_8h-source.html +++ /dev/null @@ -1,63 +0,0 @@ - - - - - File Index - - - - - -

dmxprint.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2002 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Rickard E. (Rik) Faith <faith@redhat.com>
-00032  *
-00033  */
-00034 
-00038 #ifndef _DMXPRINT_H_
-00039 #define _DMXPRINT_H_
-00040 
-00041 void dmxConfigPrint(FILE *str, DMXConfigEntryPtr entry);
-00042 void dmxConfigVirtualPrint(FILE *str, DMXConfigVirtualPtr p);
-00043 
-00044 #endif
-

-
- - 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 index c12085c7b..ea6c15cb9 100644 --- a/xorg-server/hw/dmx/doc/html/dmxprint_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmxprint_8h.html @@ -6,97 +6,99 @@ - - + + +

dmxprint.h File Reference

-

-Go to the source code of this file. - - - - - - +

Go to the source code of this file.

+

Functions

void dmxConfigPrint (FILE *str, DMXConfigEntryPtr entry)
void dmxConfigVirtualPrint (FILE *str, DMXConfigVirtualPtr p)
+ + +

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

-

- - - - -
- +

Detailed Description

+

Interface to DMX configuration file pretty-printer.

+
See also:
dmxprint.c
+

Function Documentation

+ +
+
+
- - - - + + + + + - - - + + - - + + -
void dmxConfigPrint FILE *  stream, void dmxConfigPrint (FILE *  stream,
DMXConfigEntryPtr  entryDMXConfigEntryPtr  entry 
)
-
- - - - - -
-   - + +
+

The configuration information in entry will be pretty-printed to the stream. If stream is NULL, then stdout will be used.

-

-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, void dmxConfigVirtualPrint (FILE *  stream,
DMXConfigVirtualPtr  pDMXConfigVirtualPtr  p 
)
-
- - - - - -
-   - + +
+

The configuration information in p will be pretty-printed to the stream. If stream is NULL, then stdout will be used.

-

-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().

+ +
+ +
diff --git a/xorg-server/hw/dmx/doc/html/dmxprint_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxprint_8h_source.html new file mode 100644 index 000000000..a4b25b8e6 --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/dmxprint_8h_source.html @@ -0,0 +1,76 @@ + + + + + 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 index 6fa746b53..7bb916b5f 100644 --- a/xorg-server/hw/dmx/doc/html/dmxprop_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxprop_8c.html @@ -6,221 +6,332 @@ - - -

dmxprop.c File Reference

#include "dmx.h"
-#include "dmxprop.h"
-#include "dmxlog.h"
- - - - - - - - - + + +
+

dmxprop.c File Reference

#include "dmx.h"
+#include "dmxprop.h"
+#include "dmxlog.h"
+

Defines

#define DMX_ATOMNAME   "DMX_NAME"
#define DMX_IDENT   "Xdmx"

Functions

void * dmxPropertyIterate (DMXScreenInfo *start, void *(*f)(DMXScreenInfo *dmxScreen, void *), void *closure)
+ + + + + + + + + + + + + + +

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.

-
int dmxPropertyDisplay (DMXScreenInfo *dmxScreen)
int dmxPropertySameDisplay (DMXScreenInfo *dmxScreen, const char *name)
+ + + +
#define DMX_IDENT   "Xdmx"
+ +

+

The identification string of this DMX server

-
void dmxPropertyWindow (DMXScreenInfo *dmxScreen)
-


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.

-

- - - - -
- + + +

Function Documentation

+ +
+
+
-
#define DMX_IDENT   "Xdmx" -
-
- - - - - -
-   - - -

-The identification string of this DMX server

-


Function Documentation

-

- - - - -
- + + + + + - - - - - - + + + + + + + + + -
static int dmxPropertyCheckOtherServers (DMXScreenInfo dmxScreen,
int dmxPropertyDisplay DMXScreenInfo dmxScreen  ) Atom  atom 
) [static]
-
- - - - - -
-   - - -

-Returns 0 if this is the only Xdmx session on the display; 1 otherwise.

-

- - - - -
- + +
+

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().

+ +
+ + +
+
+
- - - - + + + + + + + + + - - + + +
void* dmxPropertyIterate DMXScreenInfo start, static DMXScreenInfo* dmxPropertyCheckOtherWindows (DMXScreenInfo dmxScreen,
Atom  atom 
void *(*  f)(DMXScreenInfo *dmxScreen, void *), ) [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,
void *  closureXErrorEvent *  ev 
) [static]
+
+ +
+ +
+
+ + + + + + + + +
static const unsigned char* dmxPropertyIdentifier (void  )  [static]
-
- - - - - -
-   - - -

-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.)

-

- - - - -
- + + + + +
+
+
- - - - + + + + + + + + + + - - + + - - + + +
int dmxPropertySameDisplay DMXScreenInfo dmxScreen, void* dmxPropertyIterate (DMXScreenInfo start,
void *(*)(DMXScreenInfo *dmxScreen, void *)  f,
const char *  namevoid *  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).

-

- - - - -
- + +
+

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  ) 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

+ +
+
+ + + +
char* display
-
- - - - - -
-   - - -

-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>"

+

+ + +
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 a623a3b95..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxprop_8h-source.html +++ /dev/null @@ -1,66 +0,0 @@ - - - - - File Index - - - - - -

dmxprop.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2002,2003 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Rickard E. (Rik) Faith <faith@redhat.com>
-00032  *
-00033  */
-00034 
-00038 #ifndef _DMXPROP_H_
-00039 #define _DMXPROP_H_
-00040 extern int  dmxPropertyDisplay(DMXScreenInfo *dmxScreen);
-00041 extern void dmxPropertyWindow(DMXScreenInfo *dmxScreen);
-00042 extern void *dmxPropertyIterate(DMXScreenInfo *start,
-00043                                 void *(*f)(DMXScreenInfo *dmxScreen,
-00044                                            void *closure),
-00045                                 void *closure);
-00046 extern int dmxPropertySameDisplay(DMXScreenInfo *dmxScreen, const char *name);
-00047 #endif
-

-
- - 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 index bc8210b47..c26888a1e 100644 --- a/xorg-server/hw/dmx/doc/html/dmxprop_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmxprop_8h.html @@ -6,122 +6,151 @@ - - + + +

dmxprop.h File Reference

-

-Go to the source code of this file. - - - - - - - - +

Go to the source code of this file.

+

Functions

int dmxPropertyDisplay (DMXScreenInfo *dmxScreen)
void dmxPropertyWindow (DMXScreenInfo *dmxScreen)
int dmxPropertySameDisplay (DMXScreenInfo *dmxScreen, const char *name)
+ + + + +

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

-

- - - - -
- +

Detailed Description

+

Interface for property support.

+
See also:
dmxprop.c
+

Function Documentation

+ +
+
+
- - - - - - + + + + + + -
int dmxPropertyDisplay DMXScreenInfo dmxScreen  ) int dmxPropertyDisplay (DMXScreenInfo dmxScreen ) 
-
- - - - - -
-   - + +
+

Returns 0 if this is the only Xdmx session on the display; 1 otherwise.

-

-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().

+ + + + +
+
+
- - - - + + + + + + + + + + - - + + - - + + -
int dmxPropertySameDisplay DMXScreenInfo dmxScreen, void* dmxPropertyIterate (DMXScreenInfo start,
void *(*)(DMXScreenInfo *dmxScreen, void *closure)  f,
const char *  namevoid *  closure 
)
-
- - - - - -
-   - + +
-

-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).

-

- - - - -
- + + + +
+
+
+ + + + + + + + + + + + - - - - - - + + + +
int dmxPropertySameDisplay (DMXScreenInfo dmxScreen,
const char *  name 
void dmxPropertyWindow DMXScreenInfo dmxScreen  ) )
+ +
+

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>"

-

-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().

+ +
+ +
diff --git a/xorg-server/hw/dmx/doc/html/dmxprop_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxprop_8h_source.html new file mode 100644 index 000000000..cacdb0373 --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/dmxprop_8h_source.html @@ -0,0 +1,79 @@ + + + + + File Index + + + + + +
+
+ + Generated June 29, 2004 for Distributed Multihead X by + doxygen + 1.3.4. + + + + + diff --git a/xorg-server/hw/dmx/doc/html/dmxproto_8h-source.html b/xorg-server/hw/dmx/doc/html/dmxproto_8h-source.html deleted file mode 100644 index 679d60e73..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxproto_8h-source.html +++ /dev/null @@ -1,431 +0,0 @@ - - - - - File Index - - - - - -

dmxproto.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2002-2004 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Rickard E. (Rik) Faith <faith@redhat.com>
-00032  *
-00033  */
-00034 
-00042 #ifndef _DMXSTR_H_
-00043 #define _DMXSTR_H_
-00044 
-00045 #define DMX_EXTENSION_NAME  "DMX"
-00046 #define DMX_EXTENSION_MAJOR 2
-00047 #define DMX_EXTENSION_MINOR 2
-00048 #define DMX_EXTENSION_PATCH 20040604
-00049 
-00050 /* These values must be larger than LastExtensionError.
-00051    The values in dmxext.h and dmxproto.h *MUST* match. */
-00052 #define DMX_BAD_XINERAMA     1001
-00053 #define DMX_BAD_VALUE        1002
-00054 
-00055 #define X_DMXQueryVersion                   0
-00056 #define X_DMXGetScreenCount                 1
-00057 #define X_DMXGetScreenInformationDEPRECATED 2
-00058 #define X_DMXGetWindowAttributes            3
-00059 #define X_DMXGetInputCount                  4
-00060 #define X_DMXGetInputAttributes             5
-00061 #define X_DMXForceWindowCreationDEPRECATED  6
-00062 #define X_DMXReconfigureScreenDEPRECATED    7
-00063 #define X_DMXSync                           8
-00064 #define X_DMXForceWindowCreation            9
-00065 #define X_DMXGetScreenAttributes           10
-00066 #define X_DMXChangeScreensAttributes       11
-00067 #define X_DMXAddScreen                     12
-00068 #define X_DMXRemoveScreen                  13
-00069 #define X_DMXGetDesktopAttributes          14
-00070 #define X_DMXChangeDesktopAttributes       15
-00071 #define X_DMXAddInput                      16
-00072 #define X_DMXRemoveInput                   17
-00073 
-00075 typedef struct {
-00076     CARD8   reqType;            /* dmxcode */
-00077     CARD8   dmxReqType;         /* X_DMXQueryVersion */
-00078     CARD16  length B16;
-00079 } xDMXQueryVersionReq;
-00080 #define sz_xDMXQueryVersionReq 4
-00081 
-00083 typedef struct {
-00084     BYTE    type;               /* X_Reply */
-00085     CARD8   ununsed;
-00086     CARD16  sequenceNumber B16;
-00087     CARD32  length B32;
-00088     CARD32  majorVersion B32;
-00089     CARD32  minorVersion B32;
-00090     CARD32  patchVersion B32;
-00091     CARD32  pad0 B32;
-00092     CARD32  pad1 B32;
-00093     CARD32  pad2 B32;
-00094 } xDMXQueryVersionReply;
-00095 #define sz_xDMXQueryVersionReply 32
-00096 
-00098 typedef struct {
-00099     CARD8   reqType;            /* DMXCode */
-00100     CARD8   dmxReqType;         /* X_DMXSync */
-00101     CARD16  length B16;
-00102 } xDMXSyncReq;
-00103 #define sz_xDMXSyncReq 4
-00104 
-00106 typedef struct {
-00107     BYTE    type;               /* X_Reply */
-00108     CARD8   unused;
-00109     CARD16  sequenceNumber B16;
-00110     CARD32  length B32;
-00111     CARD32  status B32;
-00112     CARD32  pad0 B32;
-00113     CARD32  pad1 B32;
-00114     CARD32  pad2 B32;
-00115     CARD32  pad3 B32;
-00116     CARD32  pad4 B32;
-00117 } xDMXSyncReply;
-00118 #define sz_xDMXSyncReply 32
-00119 
-00121 typedef struct {
-00122     CARD8   reqType;            /* DMXCode */
-00123     CARD8   dmxReqType;         /* X_DMXForceWindowCreation */
-00124     CARD16  length B16;
-00125     CARD32  window B32;
-00126 } xDMXForceWindowCreationReq;
-00127 #define sz_xDMXForceWindowCreationReq 8
-00128 
-00130 typedef struct {
-00131     BYTE    type;               /* X_Reply */
-00132     CARD8   unused;
-00133     CARD16  sequenceNumber B16;
-00134     CARD32  length B32;
-00135     CARD32  status B32;
-00136     CARD32  pad0 B32;
-00137     CARD32  pad1 B32;
-00138     CARD32  pad2 B32;
-00139     CARD32  pad3 B32;
-00140     CARD32  pad4 B32;
-00141 } xDMXForceWindowCreationReply;
-00142 #define sz_xDMXForceWindowCreationReply 32
-00143 
-00145 typedef struct {
-00146     CARD8   reqType;            /* DMXCode */
-00147     CARD8   dmxReqType;         /* X_DMXGetScreenCount */
-00148     CARD16  length B16;
-00149 } xDMXGetScreenCountReq;
-00150 #define sz_xDMXGetScreenCountReq 4
-00151 
-00153 typedef struct {
-00154     BYTE    type;               /* X_Reply */
-00155     CARD8   unused;
-00156     CARD16  sequenceNumber B16;
-00157     CARD32  length B32;
-00158     CARD32  screenCount B32;
-00159     CARD32  pad0 B32;
-00160     CARD32  pad1 B32;
-00161     CARD32  pad2 B32;
-00162     CARD32  pad3 B32;
-00163     CARD32  pad4 B32;
-00164 } xDMXGetScreenCountReply;
-00165 #define sz_xDMXGetScreenCountReply 32
-00166 
-00168 typedef struct {
-00169     CARD8   reqType;            /* DMXCode */
-00170     CARD8   dmxReqType;         /* X_DMXGetScreenAttributes */
-00171     CARD16  length B16;
-00172     CARD32  physicalScreen B32;
-00173 } xDMXGetScreenAttributesReq;
-00174 #define sz_xDMXGetScreenAttributesReq 8
-00175 
-00177 typedef struct {
-00178     BYTE    type;               /* X_Reply */
-00179     CARD8   unused;
-00180     CARD16  sequenceNumber B16;
-00181     CARD32  length B32;
-00182     CARD32  displayNameLength B32;
-00183     CARD32  logicalScreen B32;
-00184 
-00185     CARD16  screenWindowWidth B16;
-00186     CARD16  screenWindowHeight B16;
-00187     INT16   screenWindowXoffset B16;
-00188     INT16   screenWindowYoffset B16;
-00189 
-00190     CARD16  rootWindowWidth B16;
-00191     CARD16  rootWindowHeight B16;
-00192     INT16   rootWindowXoffset B16;
-00193     INT16   rootWindowYoffset B16;
-00194     INT16   rootWindowXorigin B16;
-00195     INT16   rootWindowYorigin B16;
-00196 } xDMXGetScreenAttributesReply;
-00197 #define sz_xDMXGetScreenAttributesReply 36
-00198 
-00200 typedef struct {
-00201     CARD8   reqType;            /* DMXCode */
-00202     CARD8   dmxReqType;         /* X_DMXChangeScreensAttributes */
-00203     CARD16  length B16;
-00204     CARD32  screenCount B32;
-00205     CARD32  maskCount B32;
-00206 } xDMXChangeScreensAttributesReq;
-00207 #define sz_xDMXChangeScreensAttributesReq 12
-00208 
-00210 typedef struct {
-00211     BYTE    type;               /* X_Reply */
-00212     CARD8   unused;
-00213     CARD16  sequenceNumber B16;
-00214     CARD32  length B32;
-00215     CARD32  status B32;
-00216     CARD32  errorScreen B32;
-00217     CARD32  pad0 B32;
-00218     CARD32  pad1 B32;
-00219     CARD32  pad2 B32;
-00220     CARD32  pad3 B32;
-00221 } xDMXChangeScreensAttributesReply;
-00222 #define sz_xDMXChangeScreensAttributesReply 32
-00223 
-00225 typedef struct {
-00226     CARD8   reqType;            /* DMXCode */
-00227     CARD8   dmxReqType;         /* X_DMXAddScreen */
-00228     CARD16  length B16;
-00229     CARD32  displayNameLength B32;
-00230     CARD32  physicalScreen B32;
-00231     CARD32  valueMask B32;
-00232 } xDMXAddScreenReq;
-00233 #define sz_xDMXAddScreenReq 16
-00234 
-00236 typedef struct {
-00237     BYTE    type;               /* X_Reply */
-00238     CARD8   unused;
-00239     CARD16  sequenceNumber B16;
-00240     CARD32  length B32;
-00241     CARD32  status B32;
-00242     CARD32  physicalScreen B32;
-00243     CARD32  pad0 B32;
-00244     CARD32  pad1 B32;
-00245     CARD32  pad2 B32;
-00246     CARD32  pad3 B32;
-00247 } xDMXAddScreenReply;
-00248 #define sz_xDMXAddScreenReply 32
-00249 
-00251 typedef struct {
-00252     CARD8   reqType;            /* DMXCode */
-00253     CARD8   dmxReqType;         /* X_DMXRemoveScreen */
-00254     CARD16  length B16;
-00255     CARD32  physicalScreen B32;
-00256 } xDMXRemoveScreenReq;
-00257 #define sz_xDMXRemoveScreenReq 8
-00258 
-00260 typedef struct {
-00261     BYTE    type;               /* X_Reply */
-00262     CARD8   unused;
-00263     CARD16  sequenceNumber B16;
-00264     CARD32  length B32;
-00265     CARD32  status B32;
-00266     CARD32  pad0 B32;
-00267     CARD32  pad1 B32;
-00268     CARD32  pad2 B32;
-00269     CARD32  pad3 B32;
-00270     CARD32  pad4 B32;
-00271 } xDMXRemoveScreenReply;
-00272 #define sz_xDMXRemoveScreenReply 32
-00273 
-00275 typedef struct {
-00276     CARD8   reqType;            /* DMXCode */
-00277     CARD8   dmxReqType;         /* X_DMXGetWindowAttributes */
-00278     CARD16  length B16;
-00279     CARD32  window B32;
-00280 } xDMXGetWindowAttributesReq;
-00281 #define sz_xDMXGetWindowAttributesReq 8
-00282 
-00284 typedef struct {
-00285     BYTE    type;               /* X_Reply */
-00286     CARD8   unused;
-00287     CARD16  sequenceNumber B16;
-00288     CARD32  length B32;
-00289     CARD32  screenCount B32;
-00290     CARD32  pad0 B32;
-00291     CARD32  pad1 B32;
-00292     CARD32  pad2 B32;
-00293     CARD32  pad3 B32;
-00294     CARD32  pad4 B32;
-00295 } xDMXGetWindowAttributesReply;
-00296 #define sz_xDMXGetWindowAttributesReply 32
-00297 
-00299 typedef struct {
-00300     CARD8   reqType;            /* DMXCode */
-00301     CARD8   dmxReqType;         /* X_DMXGetDesktopAttributes */
-00302     CARD16  length B16;
-00303 } xDMXGetDesktopAttributesReq;
-00304 #define sz_xDMXGetDesktopAttributesReq 4
-00305 
-00307 typedef struct {
-00308     BYTE    type;               /* X_Reply */
-00309     CARD8   unused;
-00310     CARD16  sequenceNumber B16;
-00311     CARD32  length B32;
-00312     INT16   width;
-00313     INT16   height;
-00314     INT16   shiftX;
-00315     INT16   shiftY;
-00316     CARD32  pad0 B32;
-00317     CARD32  pad1 B32;
-00318     CARD32  pad2 B32;
-00319     CARD32  pad3 B32;
-00320 } xDMXGetDesktopAttributesReply;
-00321 #define sz_xDMXGetDesktopAttributesReply 32
-00322 
-00324 typedef struct {
-00325     CARD8   reqType;            /* DMXCode */
-00326     CARD8   dmxReqType;         /* X_DMXChangeDesktopAttributes */
-00327     CARD16  length B16;
-00328     CARD32  valueMask B32;
-00329 } xDMXChangeDesktopAttributesReq;
-00330 #define sz_xDMXChangeDesktopAttributesReq 8
-00331 
-00333 typedef struct {
-00334     BYTE    type;               /* X_Reply */
-00335     CARD8   unused;
-00336     CARD16  sequenceNumber B16;
-00337     CARD32  length B32;
-00338     CARD32  status B32;
-00339     CARD32  pad0 B32;
-00340     CARD32  pad1 B32;
-00341     CARD32  pad2 B32;
-00342     CARD32  pad3 B32;
-00343     CARD32  pad4 B32;
-00344 } xDMXChangeDesktopAttributesReply;
-00345 #define sz_xDMXChangeDesktopAttributesReply 32
-00346 
-00348 typedef struct {
-00349     CARD8   reqType;            /* DMXCode */
-00350     CARD8   dmxReqType;         /* X_DMXGetInputCount */
-00351     CARD16  length B16;
-00352 } xDMXGetInputCountReq;
-00353 #define sz_xDMXGetInputCountReq 4
-00354 
-00356 typedef struct {
-00357     BYTE    type;               /* X_Reply */
-00358     CARD8   unused;
-00359     CARD16  sequenceNumber B16;
-00360     CARD32  length B32;
-00361     CARD32  inputCount B32;
-00362     CARD32  pad0 B32;
-00363     CARD32  pad1 B32;
-00364     CARD32  pad2 B32;
-00365     CARD32  pad3 B32;
-00366     CARD32  pad4 B32;
-00367 } xDMXGetInputCountReply;
-00368 #define sz_xDMXGetInputCountReply 32
-00369 
-00371 typedef struct {
-00372     CARD8   reqType;            /* DMXCode */
-00373     CARD8   dmxReqType;         /* X_DMXGetInputAttributes */
-00374     CARD16  length B16;
-00375     CARD32  deviceId B32;
-00376 } xDMXGetInputAttributesReq;
-00377 #define sz_xDMXGetInputAttributesReq 8
-00378 
-00380 typedef struct {
-00381     BYTE    type;               /* X_Reply */
-00382     CARD8   unused;
-00383     CARD16  sequenceNumber B16;
-00384     CARD32  length B32;
-00385     CARD32  inputType B32;
-00386     CARD32  physicalScreen B32;
-00387     CARD32  physicalId B32;
-00388     CARD32  nameLength B32;
-00389     BOOL    isCore;
-00390     BOOL    sendsCore;
-00391     BOOL    detached;
-00392     CARD8   pad0;
-00393     CARD32  pad1 B32;
-00394 } xDMXGetInputAttributesReply;
-00395 #define sz_xDMXGetInputAttributesReply 32
-00396 
-00398 typedef struct {
-00399     CARD8   reqType;            /* DMXCode */
-00400     CARD8   dmxReqType;         /* X_DMXAddInput */
-00401     CARD16  length B16;
-00402     CARD32  displayNameLength B32;
-00403     CARD32  valueMask;
-00404 } xDMXAddInputReq;
-00405 #define sz_xDMXAddInputReq 12
-00406 
-00408 typedef struct {
-00409     BYTE    type;               /* X_Reply */
-00410     CARD8   unused;
-00411     CARD16  sequenceNumber B16;
-00412     CARD32  length B32;
-00413     CARD32  status B32;
-00414     CARD32  physicalId B32;
-00415     CARD32  pad0 B32;
-00416     CARD32  pad1 B32;
-00417     CARD32  pad2 B32;
-00418     CARD32  pad3 B32;
-00419 } xDMXAddInputReply;
-00420 #define sz_xDMXAddInputReply 32
-00421 
-00423 typedef struct {
-00424     CARD8   reqType;            /* DMXCode */
-00425     CARD8   dmxReqType;         /* X_DMXRemoveInput */
-00426     CARD16  length B16;
-00427     CARD32  physicalId B32;
-00428 } xDMXRemoveInputReq;
-00429 #define sz_xDMXRemoveInputReq 8
-00430 
-00432 typedef struct {
-00433     BYTE     type;
-00434     CARD8    unused;
-00435     CARD16   sequenceNumber B16;
-00436     CARD32   length B32;
-00437     CARD32   status B32;
-00438     CARD32   pad0 B32;
-00439     CARD32   pad1 B32;
-00440     CARD32   pad2 B32;
-00441     CARD32   pad3 B32;
-00442     CARD32   pad4 B32;
-00443 } xDMXRemoveInputReply;
-00444 #define sz_xDMXRemoveInputReply 32
-00445 
-00446 #endif
-

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

dmxproto.h File Reference

-

-Go to the source code of this file. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Data Structures

struct  xDMXAddInputReply
struct  xDMXAddInputReq
struct  xDMXAddScreenReply
struct  xDMXAddScreenReq
struct  xDMXChangeDesktopAttributesReply
struct  xDMXChangeDesktopAttributesReq
struct  xDMXChangeScreensAttributesReply
struct  xDMXChangeScreensAttributesReq
struct  xDMXForceWindowCreationReply
struct  xDMXForceWindowCreationReq
struct  xDMXGetDesktopAttributesReply
struct  xDMXGetDesktopAttributesReq
struct  xDMXGetInputAttributesReply
struct  xDMXGetInputAttributesReq
struct  xDMXGetInputCountReply
struct  xDMXGetInputCountReq
struct  xDMXGetScreenAttributesReply
struct  xDMXGetScreenAttributesReq
struct  xDMXGetScreenCountReply
struct  xDMXGetScreenCountReq
struct  xDMXGetWindowAttributesReply
struct  xDMXGetWindowAttributesReq
struct  xDMXQueryVersionReply
struct  xDMXQueryVersionReq
struct  xDMXRemoveInputReply
struct  xDMXRemoveInputReq
struct  xDMXRemoveScreenReply
struct  xDMXRemoveScreenReq
struct  xDMXSyncReply
struct  xDMXSyncReq
-


Detailed Description

-This file describes the structures necessary to implement the wire protocol for the DMX protocol extension. It should be included only in files that implement the client-side (or server-side) part of the protocol (i.e., client-side applications should not include this file).
-
- - 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 index d2425c3be..14e7a8008 100644 --- a/xorg-server/hw/dmx/doc/html/dmxscrinit_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxscrinit_8c.html @@ -6,364 +6,478 @@ - - -

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"
- - - - + + +
+

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)
+ + + + + + + + + + + + + + + + + + + + + + + + +

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

+ +
+
+ + + + + + + + + +
void dmxBECloseScreen (ScreenPtr  pScreen ) 
+
+ +
+ + + +
+
+ + + + + + + + + + + + + + + + + + +
Bool dmxCloseScreen (int  idx,
ScreenPtr  pScreen 
)
+
+ +
+ +
+
+ + + + + + + + + + + + + + + + + + +
static Bool dmxSaveScreen (ScreenPtr  pScreen,
int  what 
) [static]
+
+
-int dmxPictPrivateIndex +

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

-int dmxGlyphSetPrivateIndex +

Referenced by dmxScreenInit().

- -

Detailed Description

-This file provides support for screen initialization.

Function Documentation

-

- - - - -
- - - - - - - - + + + +
+
+
void dmxBECloseScreen ScreenPtr  pScreen  ) 
+ + + + + - -
Bool dmxScreenInit (int  idx,
-
- - - - - -
-   - - -

-Close the pScreen resources on the back-end server.

-

- - - - -
- - - - - + + + + + + + + + + - - + + - - + + -
void dmxBEScreenInit int  idx, ScreenPtr  pScreen,
int  argc,
ScreenPtr  pScreenchar *  argv[] 
)
-
- - - - - -
-   - - -

-Initialize the parts of screen idx that require access to the back-end server.

-

- - - - -
- + + + +

Variable Documentation

+ +
+
+
- - - - + +
Bool dmxCloseScreen int  idx, DevPrivateKey dmxColormapPrivateKey = &dmxColormapPrivateKeyIndex
+ +
+

Private index for Colormaps

+ +
+ + +
+
+ - - - - + +
ScreenPtr  pScreenint dmxColormapPrivateKeyIndex [static]
+
+
+ +
+
+ +
+
+ - - - + +
unsigned long* dmxCursorGeneration [static]
+
+
+ +

Referenced by dmxScreenInit().

+
+
+ +
+
+ + + +
int dmxFontPrivateIndex
-
- - - - - -
-   - - -

-Close screen number idx.

-

- - - - -
- + +
+

Private index for Fonts

+ +

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

+ +
+ + +
+
+
- - - - + +
Bool dmxScreenInit int  idx, DevPrivateKey dmxGCPrivateKey = &dmxGCPrivateKeyIndex
+ +
+

Private index for GCs

+ +

Referenced by dmxInitGC().

+ +
+ + +
+
+ - - - - + +
ScreenPtr  pScreen, int dmxGCPrivateKeyIndex [static]
+
+
+ +
+
+ +
+
+ - - - - + +
int  argc, unsigned long dmxGeneration [static]
+
+ +
+ +
+
+ - - - - + +
char *  argv[]DevPrivateKey dmxGlyphSetPrivateKey = &dmxGlyphSetPrivateKeyIndex
+
+
+

Private index for GlyphSets

+ +
+
+ +
+
+ - - - + +
int dmxGlyphSetPrivateKeyIndex [static]
+
+
+
+
+ +
+
+ + + +
DevPrivateKey dmxPictPrivateKey = &dmxPictPrivateKeyIndex
-
- - - - - -
-   - - -

-Initialize screen number idx.

-


Variable Documentation

-

- - - +

Referenced by dmxSigioAdd(), and dmxSigioRemove().

- + + + +
+
+
- - - - -
int dmxColormapPrivateIndex + +
+

Private index for Picts

+ +

Referenced by dmxPictureInit().

+ +
+ + +
+
+ + + +
int dmxPictPrivateKeyIndex [static]
-
- - - - - -
-   - - -

-Private index for Colormaps

-

- - - - -
- + +
+ +
+ + +
+
+
- +
int dmxFontPrivateIndex + DevPrivateKey dmxPixPrivateKey = &dmxPixPrivateKeyIndex
-
- - - - - -
-   - - -

-Private index for Fonts

-

- - - - -
- + +
+

Private index for Pixmaps

+ +

Referenced by dmxInitPixmap().

+ +
+ + +
+
+
- +
int dmxGCPrivateIndex + int dmxPixPrivateKeyIndex [static]
-
- - - - - -
-   - - -

-Private index for GCs

-

- - - - -
- + +
+ +
+ + +
+
+
- +
int dmxGlyphSetPrivateIndex + DevPrivateKey dmxScreenPrivateKey = &dmxScreenPrivateKeyIndex
-
- - - - - -
-   - - -

-Private index for GlyphSets

-

- - - - -
- + +
+

Private index for Screens

+ +

Referenced by dmxCloseConsoleScreen(), and dmxConsoleInit().

+ +
+ + +
+
+
- +
int dmxPictPrivateIndex + int dmxScreenPrivateKeyIndex [static]
-
- - - - - -
-   - - -

-Private index for Picts

-

- - - - -
- + +
+ +
+ + +
+
+
- +
int dmxScreenPrivateIndex + DevPrivateKey dmxWinPrivateKey = &dmxWinPrivateKeyIndex
-
- - - - - -
-   - - -

-Private index for Screens

-

- - - - -
- + +
+

Private index for Windows

+ +

Referenced by dmxInitWindow().

+ +
+ + +
+
+
- +
int dmxWinPrivateIndex + int dmxWinPrivateKeyIndex [static]
-
- - - - - -
-   - - -

-Private index for Windows

+ +

+ +
+ +
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 ab7b22fd3..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxscrinit_8h-source.html +++ /dev/null @@ -1,70 +0,0 @@ - - - - - File Index - - - - - -

dmxscrinit.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2001-2004 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Kevin E. Martin <kem@redhat.com>
-00032  *   David H. Dawes <dawes@xfree86.org>
-00033  *
-00034  */
-00035 
-00039 #ifndef DMXSCRINIT_H
-00040 #define DMXSCRINIT_H
-00041 
-00042 #include "scrnintstr.h"
-00043 
-00045 extern int dmxScreenPrivateIndex;
-00046 
-00047 extern Bool dmxScreenInit(int idx, ScreenPtr pScreen, int argc, char *argv[]);
-00048 
-00049 extern void dmxBEScreenInit(int idx, ScreenPtr pScreen);
-00050 extern void dmxBECloseScreen(ScreenPtr pScreen);
-00051 
-00052 #endif /* DMXSCRINIT_H */
-

-
- - 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 index 72415ef97..66fbebc19 100644 --- a/xorg-server/hw/dmx/doc/html/dmxscrinit_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmxscrinit_8h.html @@ -6,167 +6,159 @@ - - -

dmxscrinit.h File Reference

#include "scrnintstr.h"
- -

-Go to the source code of this file. - - - - - - - - - - + + +
+

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

int dmxScreenPrivateIndex
+ + + + + +

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

-

- - - - -
- +

Detailed Description

+

Interface for screen initialization.

+
See also:
dmxscrinit.c
+

Function Documentation

+ +
+
+
- - - - - - + + + + + + -
void dmxBECloseScreen ScreenPtr  pScreen  ) void dmxBECloseScreen (ScreenPtr  pScreen ) 
-
- - - - - -
-   - + +
+

Close the pScreen resources on the back-end server.

-

-Close the pScreen resources on the back-end server.

-

- - - - -
- +

References _DMXScreenInfo::beDefColormaps, _DMXScreenInfo::beDepths, _DMXScreenInfo::beDisplay, _DMXScreenInfo::beNumDefColormaps, _DMXScreenInfo::beNumPixmapFormats, _DMXScreenInfo::bePixmapFormats, _DMXScreenInfo::beVisuals, dmxDPMSTerm(), dmxScreens, dmxShadowFB, _DMXScreenInfo::noCursor, _DMXScreenInfo::scrnDefDrawables, _DMXScreenInfo::scrnWin, _DMXScreenInfo::shadowFBImage, and _DMXScreenInfo::shadowGC.

+ +

Referenced by dmxCloseScreen(), and dmxDetachScreen().

+ + + + +
+
+
- - - - + + + + + - - - + + - - + + -
void dmxBEScreenInit int  idx, void dmxBEScreenInit (int  idx,
ScreenPtr  pScreenScreenPtr  pScreen 
)
-
- - - - - -
-   - + +
+

Initialize the parts of screen idx that require access to the back-end server.

-

-Initialize the parts of screen idx that require access to the back-end server.

-

- - - - -
- +

References _DMXScreenInfo::beBlackPixel, _DMXScreenInfo::beBPP, _DMXScreenInfo::beDefColormaps, _DMXScreenInfo::beDefVisualIndex, _DMXScreenInfo::beDepth, _DMXScreenInfo::beDepths, _DMXScreenInfo::beDisplay, _DMXScreenInfo::beNumDepths, _DMXScreenInfo::beNumPixmapFormats, _DMXScreenInfo::bePixmapFormats, _DMXScreenInfo::beVisuals, _DMXScreenInfo::beWhitePixel, dmxDPMSInit(), dmxPropertyWindow(), dmxScreens, dmxShadowFB, _DMXScreenInfo::noCursor, _DMXScreenInfo::scrnDefDrawables, _DMXScreenInfo::scrnHeight, _DMXScreenInfo::scrnWidth, _DMXScreenInfo::scrnWin, _DMXScreenInfo::scrnX, _DMXScreenInfo::scrnY, _DMXScreenInfo::shadow, _DMXScreenInfo::shadowFBImage, and _DMXScreenInfo::shadowGC.

+ +

Referenced by dmxAttachScreen(), and dmxScreenInit().

+ + + + +
+
+
- - - - + + + + + - - - + + + - - - + + + - - - + + - - + + -
Bool dmxScreenInit int  idx, Bool dmxScreenInit (int  idx,
ScreenPtr  pScreen, ScreenPtr  pScreen,
int  argc, int  argc,
char *  argv[]char *  argv[] 
)
-
- - - - - -
-   - + +
+

Initialize screen number idx.

-

-Initialize screen number idx.

-


Variable Documentation

-

- - - - -
- +

References _DMXScreenInfo::beBPP, _DMXScreenInfo::beDefVisualIndex, _DMXScreenInfo::beDepths, _DMXScreenInfo::beNumDepths, _DMXScreenInfo::beNumVisuals, _DMXScreenInfo::beVisuals, _DMXScreenInfo::beXDPI, DMX_WRAP, dmxBEScreenInit(), dmxBitmapToRegion(), dmxChangeBorderWidth(), dmxChangeWindowAttributes(), dmxCloseScreen(), dmxCopyWindow(), dmxCreateColormap(), dmxCreateDefColormap(), dmxCreateGC(), dmxCreatePixmap(), dmxCreateWindow(), dmxCursorGeneration, dmxDestroyColormap(), dmxDestroyPixmap(), dmxDestroyWindow(), dmxFontPrivateIndex, dmxGeneration, dmxGetImage(), dmxGetSpans(), dmxInitGC(), dmxInitPixmap(), dmxInitWindow(), dmxInstallColormap(), dmxPictureInit(), dmxPointerCursorFuncs, dmxPointerSpriteFuncs, dmxPositionWindow(), dmxRealizeFont(), dmxRealizeWindow(), dmxReparentWindow(), dmxResizeWindow(), dmxRestackWindow(), dmxSaveScreen(), dmxScreens, dmxSetShape(), dmxShadowFB, dmxShadowUpdateProc(), dmxStoreColors(), dmxUnrealizeFont(), dmxUnrealizeWindow(), dmxWindowExposures(), _DMXScreenInfo::scrnHeight, _DMXScreenInfo::scrnWidth, and _DMXScreenInfo::shadow.

+ +

Referenced by InitOutput().

+ + + +

Variable Documentation

+ +
+
+
- +
int dmxScreenPrivateIndex + DevPrivateKey dmxScreenPrivateKey
-
- - - - - -
-   - + +
+

Private index.

+
See also:
dmxscrrinit.c
+
+input/dmxconcole.c
+

Private index for Screens

-

-Private index for Screens

+

Referenced by dmxCloseConsoleScreen(), and dmxConsoleInit().

+ + + +
diff --git a/xorg-server/hw/dmx/doc/html/dmxscrinit_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxscrinit_8h_source.html new file mode 100644 index 000000000..85c30ecb0 --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/dmxscrinit_8h_source.html @@ -0,0 +1,83 @@ + + + + + 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 index 0db2bfa8b..2d3980ba7 100644 --- a/xorg-server/hw/dmx/doc/html/dmxshadow_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxshadow_8c.html @@ -6,57 +6,66 @@ - - -

dmxshadow.c File Reference

#include "dmx.h"
-#include "dmxsync.h"
-#include "dmxshadow.h"
- - - - - + + +
+

dmxshadow.c File Reference

#include "dmx.h"
+#include "dmxsync.h"
+#include "dmxshadow.h"
+

Functions

void dmxShadowUpdateProc (ScreenPtr pScreen, shadowBufPtr pBuf)
+ +

Functions

void dmxShadowUpdateProc (ScreenPtr pScreen, shadowBufPtr pBuf)
-

Detailed Description

-This file provides support for the shadow frame buffer.

Function Documentation

-

- - - - -
- +

Detailed Description

+

This file provides support for the shadow frame buffer.

+

Function Documentation

+ +
+
+
- - - - + + + + + - - - + + - - + + -
void dmxShadowUpdateProc ScreenPtr  pScreen, void dmxShadowUpdateProc (ScreenPtr  pScreen,
shadowBufPtr  pBufshadowBufPtr  pBuf 
)
-
- - - - - -
-   - + +
+

Update the screen from the shadow frame buffer.

-

-Update the screen from the shadow frame buffer.

+

References _DMXScreenInfo::beDisplay, dmxScreens, dmxSync(), _DMXScreenInfo::scrnWin, _DMXScreenInfo::shadowFBImage, and _DMXScreenInfo::shadowGC.

+ +

Referenced by dmxScreenInit().

+ + + +
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 2253c350b..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxshadow_8h-source.html +++ /dev/null @@ -1,66 +0,0 @@ - - - - - File Index - - - - - -

dmxshadow.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2001 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Kevin E. Martin <kem@redhat.com>
-00032  *   David H. Dawes <dawes@xfree86.org>
-00033  *
-00034  */
-00035 
-00039 #ifndef DMXSHADOW_H
-00040 #define DMXSHADOW_H
-00041 
-00042 #include "shadow.h"
-00043 #include "scrnintstr.h"
-00044 
-00045 extern void dmxShadowUpdateProc(ScreenPtr pScreen, shadowBufPtr pBuf);
-00046 
-00047 #endif /* DMXSHADOW_H */
-

-
- - 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 index 05e148ad3..f2ab72b44 100644 --- a/xorg-server/hw/dmx/doc/html/dmxshadow_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmxshadow_8h.html @@ -6,59 +6,68 @@ - - -

dmxshadow.h File Reference

#include "shadow.h"
-#include "scrnintstr.h"
- -

-Go to the source code of this file. - - - + + +
+

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)
+ +

Functions

void dmxShadowUpdateProc (ScreenPtr pScreen, shadowBufPtr pBuf)
-


Detailed Description

-Interface for shadow framebuffer support.
See also:
dmxshadow.c
-

Function Documentation

-

- - - - -
- +

Detailed Description

+

Interface for shadow framebuffer support.

+
See also:
dmxshadow.c
+

Function Documentation

+ +
+
+
- - - - + + + + + - - - + + - - + + -
void dmxShadowUpdateProc ScreenPtr  pScreen, void dmxShadowUpdateProc (ScreenPtr  pScreen,
shadowBufPtr  pBufshadowBufPtr  pBuf 
)
-
- - - - - -
-   - + +
+

Update the screen from the shadow frame buffer.

-

-Update the screen from the shadow frame buffer.

+

References _DMXScreenInfo::beDisplay, dmxScreens, dmxSync(), _DMXScreenInfo::scrnWin, _DMXScreenInfo::shadowFBImage, and _DMXScreenInfo::shadowGC.

+ +

Referenced by dmxScreenInit().

+ + + +
diff --git a/xorg-server/hw/dmx/doc/html/dmxshadow_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxshadow_8h_source.html new file mode 100644 index 000000000..3ba27ee62 --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/dmxshadow_8h_source.html @@ -0,0 +1,79 @@ + + + + + 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 index 761748dae..71d42cb4a 100644 --- a/xorg-server/hw/dmx/doc/html/dmxsigio_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxsigio_8c.html @@ -6,216 +6,367 @@ - - -

dmxsigio.c File Reference

#include "inputstr.h"
-#include "dmxinputinit.h"
-#include "dmxsigio.h"
-#include "dmxevents.h"
-#include <signal.h>
-#include <unistd.h>
-#include <sys/fcntl.h>
- - - - + + +
+

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>
+

Functions

void dmxSigioBlock (void)
+ + + + + + + + + + + + + + + + + + +

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
+
+
-
void dmxSigioUnblock (void)
void dmxSigioEnableInput (void)
+ + + +
#define O_NONBLOCK   FNONBLK
+

+ +
+

Function Documentation

+ +
+
+ + + + + + + + + +
static void dmxSigioAdd (DMXInputInfo dmxInput )  [static]
+
+
-void dmxSigioUnregister (DMXInputInfo *dmxInput) +

References DMX_ACTIVESIGIO, DMX_NOSIGIO, DMX_USESIGIO, dmxFdCount, dmxSigioHook(), O_ASYNC, O_NONBLOCK, _DMXInputInfo::sigioAdded, _DMXInputInfo::sigioFd, _DMXInputInfo::sigioFdCount, and _DMXInputInfo::sigioState.

- -

Detailed Description

-Provides an interface for handling SIGIO signals for input devices.

Function Documentation

-

- - - - -
- - - - - - - - - +

Referenced by dmxSigioEnableInput(), and dmxSigioRegister().

+ + + +
+
+
void dmxSigioBlock void   ) 
+ + + + + + + +
void dmxSigioBlock (void  ) 
-
- - - - - -
-   - - -

-Block SIGIO handling.

-

- - - - -
- + +
+

Block SIGIO handling.

+ +

Referenced by dmxCoreMotion(), dmxExtMotion(), and dmxTranslateAndEnqueueExtEvent().

+ +
+ + +
+
+
- - - - - - + + + + + + +
void dmxSigioDisableInput void   ) 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  ) 
-
- - - - - -
-   - - -

-Disable SIGIO handling. This removes the hanlder from the OS.

-

- - - - -
- + +
+

Enable SIGIO handling. This instantiates the handler with the OS.

+ +

References dmxInputEnabled, dmxInputs, dmxNumInputs, and dmxSigioAdd().

+ +

Referenced by dmxSwitchReturn().

+ +
+ + +
+
+
- - - - - - + + + + + + +
void dmxSigioEnableInput void   ) static void dmxSigioHandler (int  sig )  [static]
+ + + + +
+
+ + + + + + + + +
static void dmxSigioHook (void  )  [static]
-
- - - - - -
-   - - -

-Enable SIGIO handling. This instantiates the handler with the OS.

-

- - - - -
- + +
+ +

References dmxSigioHandler().

+ +

Referenced by dmxSigioAdd().

+ +
+ + +
+
+
- - - - + + + + + - - - + + - - + + +
void dmxSigioRegister DMXInputInfo dmxInput, void dmxSigioRegister (DMXInputInfo dmxInput,
int  fdint  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().

+ +
+ + +
+
+ + + + + + + + +
static void dmxSigioRemove (DMXInputInfo dmxInput )  [static]
-
- - - - - -
-   - - -

-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().

-

- - - - -
- + + + + +
+
+
+ + + + + + + + +
void dmxSigioUnblock (void  ) 
+ +
+

Unblock SIGIO handling.

+ +

Referenced by dmxCoreMotion(), dmxExtMotion(), and dmxTranslateAndEnqueueExtEvent().

+ +
+ + +
+
+ - - - - - - + + + + + + +
void dmxSigioUnblock void   ) static void dmxSigioUnhook (void  )  [static]
+
+
+ +

Referenced by dmxSigioRemove().

+
+
+ +
+
+ + + + + + + + +
void dmxSigioUnregister (DMXInputInfo dmxInput ) 
-
- - - - - -
-   - - -

-Unblock SIGIO handling.

-

- - - - -
- + +
+

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

+ +
+
+
- - - - - - + +
void dmxSigioUnregister DMXInputInfo dmxInput  ) int dmxFdCount = 0 [static]
+ +
+ +

Referenced by dmxSigioAdd(), and dmxSigioRemove().

+
+ + +
+
+ + + +
Bool dmxInputEnabled = TRUE [static]
-
- - - - - -
-   - - -

-Remove the notes that dmxInput is using any file descriptors for SIGIO signals. Calls RemoveEnabledDevice.

+

+ +
+
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 4f41eb80e..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxsigio_8h-source.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - File Index - - - - - -

dmxsigio.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2001 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Rickard E. (Rik) Faith <faith@redhat.com>
-00032  *
-00033  */
-00034 
-00038 #ifndef _DMXSIGIO_H_
-00039 #define _DMXSIGIO_H_
-00040 extern void dmxSigioBlock(void);
-00041 extern void dmxSigioUnblock(void);
-00042 extern void dmxSigioEnableInput(void);
-00043 extern void dmxSigioDisableInput(void);
-00044 extern void dmxSigioRegister(DMXInputInfo *dmxInput, int fd);
-00045 extern void dmxSigioUnregister(DMXInputInfo *dmxInput);
-00046 #endif
-

-
- - 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 index 1e55b7b83..7353f4fbe 100644 --- a/xorg-server/hw/dmx/doc/html/dmxsigio_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmxsigio_8h.html @@ -6,212 +6,182 @@ - - + + +

dmxsigio.h File Reference

-

-Go to the source code of this file. - - - - - - - - - - - - - - +

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)
+ + + + + + +

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

-

- - - - -
- +

Detailed Description

+

Interface to SIGIO handling support.

+
See also:
dmxsigio.c
+

Function Documentation

+ +
+
+
- - - - - - + + + + + + -
void dmxSigioBlock void   ) void dmxSigioBlock (void  ) 
-
- - - - - -
-   - - -

-Block SIGIO handling.

-

- - - - -
- + +
+

Block SIGIO handling.

+ +

Referenced by dmxCoreMotion(), dmxExtMotion(), and dmxTranslateAndEnqueueExtEvent().

+ +
+ + +
+
+
- - - - - - + + + + + + -
void dmxSigioDisableInput void   ) void dmxSigioDisableInput (void  ) 
-
- - - - - -
-   - - -

-Disable SIGIO handling. This removes the hanlder from the OS.

-

- - - - -
- + +
+

Disable SIGIO handling. This removes the hanlder from the OS.

+ +

References dmxInputEnabled, dmxInputs, dmxNumInputs, and dmxSigioRemove().

+ +

Referenced by dmxWakeupHandler().

+ +
+ + +
+
+
- - - - - - + + + + + + -
void dmxSigioEnableInput void   ) void dmxSigioEnableInput (void  ) 
-
- - - - - -
-   - - -

-Enable SIGIO handling. This instantiates the handler with the OS.

-

- - - - -
- + +
+

Enable SIGIO handling. This instantiates the handler with the OS.

+ +

References dmxInputEnabled, dmxInputs, dmxNumInputs, and dmxSigioAdd().

+ +

Referenced by dmxSwitchReturn().

+ +
+ + +
+
+
- - - - + + + + + - - - + + - - + + -
void dmxSigioRegister DMXInputInfo dmxInput, void dmxSigioRegister (DMXInputInfo dmxInput,
int  fdint  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().

-

- - - - -
- + +
+

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   ) void dmxSigioUnblock (void  ) 
-
- - - - - -
-   - - -

-Unblock SIGIO handling.

-

- - - - -
- + +
+

Unblock SIGIO handling.

+ +

Referenced by dmxCoreMotion(), dmxExtMotion(), and dmxTranslateAndEnqueueExtEvent().

+ +
+ + +
+
+
- - - - - - + + + + + + -
void dmxSigioUnregister DMXInputInfo dmxInput  ) void dmxSigioUnregister (DMXInputInfo dmxInput ) 
-
- - - - - -
-   - - -

-Remove the notes that dmxInput is using any file descriptors for SIGIO signals. Calls RemoveEnabledDevice.

+

+
+

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().

+ +
+ +
diff --git a/xorg-server/hw/dmx/doc/html/dmxsigio_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxsigio_8h_source.html new file mode 100644 index 000000000..966734f44 --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/dmxsigio_8h_source.html @@ -0,0 +1,78 @@ + + + + + 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 index 9a9ecfc65..5add0d023 100644 --- a/xorg-server/hw/dmx/doc/html/dmxstat_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxstat_8c.html @@ -6,260 +6,384 @@ - - -

dmxstat.c File Reference

#include "dmx.h"
-#include "dmxstat.h"
-#include "dmxlog.h"
-#include "Xos.h"
- - - - - - - - - + + +
+

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 _DMXStatAvg DMXStatAvg
+ + + + + + + + + + + + + + + + + + + +

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.

-

Functions

-void dmxStatActivate (const char *interval, const char *displays) +
+
+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
static unsigned long avg (DMXStatAvg data,
unsigned long *  max 
) [static]
+
+
-DMXStatInfodmxStatAlloc (void) +

References _DMXStatAvg::count, and _DMXStatAvg::value.

-void dmxStatFree (DMXStatInfo *pt) +

Referenced by dmxStatCallback().

-void dmxStatSync (DMXScreenInfo *dmxScreen, struct timeval *stop, struct timeval *start, unsigned long pending) +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
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.

-void dmxStatInit (void) +

References dmxStatDisplays, and dmxStatInterval.

-

Variables

-int dmxStatInterval +

Referenced by ddxProcessArgument().

- -

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 + DMXStatInfo* dmxStatAlloc (void  ) 
-
- - - - - -
-   - + +
+

Allocate a DMXStatInfo structure.

-

-Used to compute a running average of value.

-


Function Documentation

-

- - - - -
- +

Referenced by dmxConfigAddDisplay().

+ + + + +
+
+
- - - - + + + + + + + + + + - - + + - - + + -
void dmxStatActivate const char *  interval, static CARD32 dmxStatCallback (OsTimerPtr  timer,
CARD32  t,
const char *  displayspointer  arg 
) [static]
-
- - - - - -
-   - + +
-

-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 avg(), _DMXStatInfo::bins, DMX_STAT_BINS, DMX_STAT_INTERVAL, dmxDebug, dmxLog(), dmxLogCont(), dmxNumScreens, dmxScreens, dmxStatDisplays, dmxStatInterval, _DMXStatInfo::oldSyncCount, _DMXStatInfo::pending, _DMXScreenInfo::stat, _DMXStatInfo::syncCount, and _DMXStatInfo::usec.

-
DMXStatInfo* dmxStatAlloc void   ) 
-
- - - - - -
-   - +

Referenced by dmxStatInit().

-

-Allocate a DMXStatInfo structure.

-

- - - - -
- + + + +
+
+
- - - - - - + + + + + + -
void dmxStatFree DMXStatInfo pt  ) void dmxStatFree (DMXStatInfo pt ) 
-
- - - - - -
-   - + +
+

Free the memory used by a DMXStatInfo structure.

-

-Free the memory used by a DMXStatInfo structure.

-

- - - - -
- +

Referenced by InitOutput().

+ + + + +
+
+
- - - - - - + + + + + + -
void dmxStatInit void   ) 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.

-

-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, void dmxStatSync (DMXScreenInfo dmxScreen,
struct timeval *  stop,
struct timeval *  start,
struct timeval *  stop, 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,
struct timeval *  start, unsigned long  value 
) [static]
+
+ +
+ +
+
+ + + + + + + + + - - + + - - + + +
static unsigned long usec (struct timeval *  stop,
unsigned long  pendingstruct 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]
-
- - - - - -
-   - + +
-

-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

-


Variable Documentation

-

- - - - -
- +

Referenced by dmxStatActivate(), and dmxStatCallback().

+ + + + +
+
+
- +
int dmxStatInterval + int dmxStatInterval
-
- - - - - -
-   - + +
+

Only for dmxstat.c and dmxsync.c

-

-Only for dmxstat.c and dmxsync.c

+

Referenced by dmxDoSync(), dmxStatActivate(), dmxStatCallback(), and dmxStatInit().

+ +
+
+ +
+
+ + + + +
OsTimerPtr dmxStatTimer [static]
+
+
+ +

Referenced by dmxStatInit().

+ +
+
+
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 d7579a5d8..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxstat_8h-source.html +++ /dev/null @@ -1,74 +0,0 @@ - - - - - File Index - - - - - -

dmxstat.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2002 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Rickard E. (Rik) Faith <faith@redhat.com>
-00032  *
-00033  */
-00034 
-00038 #ifndef _DMXSTAT_H_
-00039 #define _DMXSTAT_H_
-00040 
-00041 #define DMX_STAT_LENGTH     10  
-00042 #define DMX_STAT_INTERVAL 1000  
-00043 #define DMX_STAT_BINS        3  
-00044 #define DMX_STAT_BIN0    10000  
-00045 #define DMX_STAT_BINMULT   100  
-00047 extern int         dmxStatInterval; 
-00048 extern void        dmxStatActivate(const char *interval, const char *displays);
-00049 extern DMXStatInfo *dmxStatAlloc(void);
-00050 extern void        dmxStatFree(DMXStatInfo *);
-00051 extern void        dmxStatInit(void);
-00052 extern void        dmxStatSync(DMXScreenInfo *dmxScreen,
-00053                                struct timeval *stop, struct timeval *start,
-00054                                unsigned long pending);
-00055 
-00056 #endif
-

-
- - 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 index d4fcb0d9c..6e04e6529 100644 --- a/xorg-server/hw/dmx/doc/html/dmxstat_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmxstat_8h.html @@ -6,350 +6,285 @@ - - + + +

dmxstat.h File Reference

-

-Go to the source code of this file. - - - - - - - - - - - - - - - - - - - - - - - - - - +

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
+ + + + + + + + + + + + + +

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

-

- - - - -
- +

Detailed Description

+

Interface for statistic gathering interface.

+
See also:
dmxstat.c
+

Define Documentation

+ +
+
+
- +
#define DMX_STAT_BIN0   10000 + #define DMX_STAT_BIN0   10000
-
- - - - - -
-   - + +
+

us for bin[0]

-

-us for bin[0]

-

- - - - -
- +

Referenced by dmxStatSync().

+ + + + +
+
+
- +
#define DMX_STAT_BINMULT   100 + #define DMX_STAT_BINMULT   100
-
- - - - - -
-   - + +
+

multiplier for next bin[]

-

-multiplier for next bin[]

-

- - - - -
- +

Referenced by dmxStatSync().

+ + + + +
+
+
- +
#define DMX_STAT_BINS   3 + #define DMX_STAT_BINS   3
-
- - - - - -
-   - + +
+

number of bins

-

-number of bins

-

- - - - -
- +

Referenced by dmxStatCallback(), and dmxStatSync().

+ + + + +
+
+
- +
#define DMX_STAT_INTERVAL   1000 + #define DMX_STAT_INTERVAL   1000
-
- - - - - -
-   - + +
+

msec between printouts

-

-msec between printouts

-

- - - - -
- +

Referenced by dmxStatCallback().

+ + + + +
+
+
- +
#define DMX_STAT_LENGTH   10 + #define DMX_STAT_LENGTH   10
-
- - - - - -
-   - + +
+

number of events for moving average

-

-number of events for moving average

-


Function Documentation

-

- - - - -
- +

Referenced by dmxStatValue().

+ + + +

Function Documentation

+ +
+
+
- - - - + + + + + - - - + + - - + + -
void dmxStatActivate const char *  interval, void dmxStatActivate (const char *  interval,
const char *  displaysconst 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.

-

-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   ) DMXStatInfo* dmxStatAlloc (void  ) 
-
- - - - - -
-   - + +
+

Allocate a DMXStatInfo structure.

-

-Allocate a DMXStatInfo structure.

-

- - - - -
- +

Referenced by dmxConfigAddDisplay().

+ + + + +
+
+
- - - - - - + + + + + + -
void dmxStatFree DMXStatInfo pt  ) void dmxStatFree (DMXStatInfo pt ) 
-
- - - - - -
-   - + +
+

Free the memory used by a DMXStatInfo structure.

-

-Free the memory used by a DMXStatInfo structure.

-

- - - - -
- +

Referenced by InitOutput().

+ + + + +
+
+
- - - - - - + + + + + + -
void dmxStatInit void   ) 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.

-

-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, void dmxStatSync (DMXScreenInfo dmxScreen,
struct timeval *  stop, struct timeval *  stop,
struct timeval *  start, struct timeval *  start,
unsigned long  pendingunsigned 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

-

-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

-


Variable Documentation

-

- - - - -
- +

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 + int dmxStatInterval
-
- - - - - -
-   - + +
+

Only for dmxstat.c and dmxsync.c

-

-Only for dmxstat.c and dmxsync.c

+

Referenced by dmxDoSync(), dmxStatActivate(), dmxStatCallback(), and dmxStatInit().

+ +
+ +
diff --git a/xorg-server/hw/dmx/doc/html/dmxstat_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxstat_8h_source.html new file mode 100644 index 000000000..8b2aa4c7b --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/dmxstat_8h_source.html @@ -0,0 +1,87 @@ + + + + + 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 index 76a940dd9..6db2aeb60 100644 --- a/xorg-server/hw/dmx/doc/html/dmxsync_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxsync_8c.html @@ -6,125 +6,305 @@ - - -

dmxsync.c File Reference

#include "dmx.h"
-#include "dmxsync.h"
-#include "dmxstat.h"
-#include "dmxlog.h"
-#include <sys/time.h>
- - - - - - - - - + + +
+

dmxsync.c File Reference

#include "dmx.h"
+#include "dmxsync.h"
+#include "dmxstat.h"
+#include "dmxlog.h"
+#include <sys/time.h>
+

Functions

void dmxSyncActivate (const char *interval)
void dmxSyncInit (void)
void dmxSync (DMXScreenInfo *dmxScreen, Bool now)
+ + + + + + + + + + + +

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

-

- - - - -
- +

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, void dmxSync (DMXScreenInfo dmxScreen,
Bool  now 
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]
-
- - - - - -
-   - - -

-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 dmxSyncTimer.

+ +

Referenced by dmxSyncInit().

+ +
+ + +
+
+
+ + + + + + + + + + + + - - - - - - + + + + + + + + + +
static CARD32 dmxSyncCallback (OsTimerPtr  timer,
CARD32  time,
void dmxSyncActivate const char *  interval  ) pointer  arg 
) [static]
+ + + + +
+
+ + + + + + + + +
void dmxSyncInit (void  ) 
-
- - - - - -
-   - - -

-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

-

- - - - -
- + +
+

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,
void dmxSyncInit void   ) pointer  pReadMask 
) [static]
+ +
+ +

Referenced by dmxSyncInit().

+
+ +

Variable Documentation

+ +
+
+ + + +
int dmxSyncInterval = 100 [static]
-
- - - - - -
-   - - -

-Initialize the XSync() batching optimization, but only if dmxSyncActivate was last called with a non-negative value.

+ +

+ +

Referenced by dmxSync(), dmxSyncActivate(), and dmxSyncInit().

+ +
+ + +
+
+ + + + +
int dmxSyncPending [static]
+
+
+ +

Referenced by dmxDoSync(), dmxSync(), and dmxSyncCallback().

+ +
+
+ +
+
+ + + + +
OsTimerPtr dmxSyncTimer [static]
+
+
+ +

Referenced by dmxSync(), and dmxSyncBlockHandler().

+ +
+
+
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 a8c4f0d11..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxsync_8h-source.html +++ /dev/null @@ -1,63 +0,0 @@ - - - - - File Index - - - - - -

dmxsync.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2002 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Rickard E. (Rik) Faith <faith@redhat.com>
-00032  *
-00033  */
-00034 
-00038 #ifndef _DMXSYNC_H_
-00039 #define _DMXSYNC_H_
-00040 
-00041 extern void dmxSyncActivate(const char *interval);
-00042 extern void dmxSyncInit(void);
-00043 extern void dmxSync(DMXScreenInfo *dmxScreen, Bool now);
-00044 #endif
-

-
- - 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 index 53edcef9c..b5cbb77a3 100644 --- a/xorg-server/hw/dmx/doc/html/dmxsync_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmxsync_8h.html @@ -6,122 +6,117 @@ - - + + +

dmxsync.h File Reference

-

-Go to the source code of this file. - - - - - - - - +

Go to the source code of this file.

+

Functions

void dmxSyncActivate (const char *interval)
void dmxSyncInit (void)
void dmxSync (DMXScreenInfo *dmxScreen, Bool now)
+ + + +

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

-

- - - - -
- +

Detailed Description

+

Interface for sync support.

+
See also:
dmxsync.c
+

Function Documentation

+ +
+
+
- - - - + + + + + - - - + + - - + + -
void dmxSync DMXScreenInfo dmxScreen, void dmxSync (DMXScreenInfo dmxScreen,
Bool  nowBool  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.

-

-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  ) 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

-

-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   ) void dmxSyncInit (void  ) 
-
- - - - - -
-   - + +
+

Initialize the XSync() batching optimization, but only if dmxSyncActivate was last called with a non-negative value.

-

-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().

+ +
+ +
diff --git a/xorg-server/hw/dmx/doc/html/dmxsync_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxsync_8h_source.html new file mode 100644 index 000000000..427a32677 --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/dmxsync_8h_source.html @@ -0,0 +1,76 @@ + + + + + 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 index a0f20c462..5394adea1 100644 --- a/xorg-server/hw/dmx/doc/html/dmxvisual_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxvisual_8c.html @@ -6,137 +6,132 @@ - - -

dmxvisual.c File Reference

#include "dmx.h"
-#include "dmxvisual.h"
-#include "scrnintstr.h"
- - - - - - - - - + + +
+

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)
+ + + +

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

-

- - - - -
- +

Detailed Description

+

This file provides support for visuals.

+

Function Documentation

+ +
+
+
- - - - + + + + + - - - + + - - + + -
Colormap dmxColormapFromDefaultVisual ScreenPtr  pScreen, Colormap dmxColormapFromDefaultVisual (ScreenPtr  pScreen,
Visual *  visualVisual *  visual 
)
-
- - - - - -
-   - + +
+

Return the colormap for the visual.

-

-Return the colormap for the visual.

-

- - - - -
- +

References _DMXScreenInfo::beDefColormaps, _DMXScreenInfo::beDisplay, _DMXScreenInfo::beNumDefColormaps, _DMXScreenInfo::beVisuals, and dmxScreens.

+ +

Referenced by dmxGetDefaultWindowAttributes().

+ + + + +
+
+
- - - - + + + + + - - - + + - - + + -
Visual* dmxLookupVisual ScreenPtr  pScreen, Visual* dmxLookupVisual (ScreenPtr  pScreen,
VisualPtr  pVisualVisualPtr  pVisual 
)
-
- - - - - -
-   - + +
+

Return the visual that matched 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, Visual* dmxLookupVisualFromID (ScreenPtr  pScreen,
VisualID  vidVisualID  vid 
)
-
- - - - - -
-   - + +
+

Return the visual that matched the vid.

-

-Return the visual that matched the vid.

+

References _DMXScreenInfo::beDisplay, dmxLookupVisual(), and dmxScreens.

+ +

Referenced by dmxCreateWindow(), and dmxGetDefaultWindowAttributes().

+ + + +
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 cda02947e..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxvisual_8h-source.html +++ /dev/null @@ -1,67 +0,0 @@ - - - - - File Index - - - - - -

dmxvisual.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2002 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Kevin E. Martin <kem@redhat.com>
-00032  *
-00033  */
-00034 
-00038 #ifndef DMXVISUAL_H
-00039 #define DMXVISUAL_H
-00040 
-00041 #include "scrnintstr.h"
-00042 
-00043 extern Visual   *dmxLookupVisual(ScreenPtr pScreen, VisualPtr pVisual);
-00044 extern Visual   *dmxLookupVisualFromID(ScreenPtr pScreen, VisualID vid);
-00045 extern Colormap  dmxColormapFromDefaultVisual(ScreenPtr pScreen,
-00046                                               Visual *visual);
-00047 
-00048 #endif /* DMXVISUAL_H */
-

-
- - 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 index d56bb1c9a..6300da7e7 100644 --- a/xorg-server/hw/dmx/doc/html/dmxvisual_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmxvisual_8h.html @@ -6,138 +6,133 @@ - - -

dmxvisual.h File Reference

#include "scrnintstr.h"
- -

-Go to the source code of this file. - - - - - - - + + +
+

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)
+ + + +

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

-

- - - - -
- +

Detailed Description

+

Interface for visual support.

+
See also:
dmxvisual.c
+

Function Documentation

+ +
+
+
- - - - + + + + + - - - + + - - + + -
Colormap dmxColormapFromDefaultVisual ScreenPtr  pScreen, Colormap dmxColormapFromDefaultVisual (ScreenPtr  pScreen,
Visual *  visualVisual *  visual 
)
-
- - - - - -
-   - + +
+

Return the colormap for the visual.

-

-Return the colormap for the visual.

-

- - - - -
- +

References _DMXScreenInfo::beDefColormaps, _DMXScreenInfo::beDisplay, _DMXScreenInfo::beNumDefColormaps, _DMXScreenInfo::beVisuals, and dmxScreens.

+ +

Referenced by dmxGetDefaultWindowAttributes().

+ + + + +
+
+
- - - - + + + + + - - - + + - - + + -
Visual* dmxLookupVisual ScreenPtr  pScreen, Visual* dmxLookupVisual (ScreenPtr  pScreen,
VisualPtr  pVisualVisualPtr  pVisual 
)
-
- - - - - -
-   - + +
+

Return the visual that matched 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, Visual* dmxLookupVisualFromID (ScreenPtr  pScreen,
VisualID  vidVisualID  vid 
)
-
- - - - - -
-   - + +
+

Return the visual that matched the vid.

-

-Return the visual that matched the vid.

+

References _DMXScreenInfo::beDisplay, dmxLookupVisual(), and dmxScreens.

+ +

Referenced by dmxCreateWindow(), and dmxGetDefaultWindowAttributes().

+ + + +
diff --git a/xorg-server/hw/dmx/doc/html/dmxvisual_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxvisual_8h_source.html new file mode 100644 index 000000000..a9801de68 --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/dmxvisual_8h_source.html @@ -0,0 +1,80 @@ + + + + + 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 index ef3509d3c..968515b1e 100644 --- a/xorg-server/hw/dmx/doc/html/dmxwindow_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxwindow_8c.html @@ -6,851 +6,851 @@ - - -

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"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + +
+

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

Bool dmxInitWindow (ScreenPtr pScreen)
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 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)
void dmxWindowExposures (WindowPtr pWindow, RegionPtr prgn, RegionPtr other_exposed)
void dmxPaintWindowBackground (WindowPtr pWindow, RegionPtr pRegion, int what)
void dmxPaintWindowBorder (WindowPtr pWindow, RegionPtr pRegion, int what)
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)
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

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.

-void dmxSetShape (WindowPtr pWindow) +

References _DMXScreenInfo::beDisplay, DMX_GET_WINDOW_PRIV, dmxScreens, and _dmxWinPriv::window.

- -

Detailed Description

-This file provides support for window-related functions.

Function Documentation

-

- - - - -
- - - - - - - - - +

Referenced by dmxBEDestroyWindowTree(), and dmxDestroyWindow().

-
Bool dmxBEDestroyWindow WindowPtr  pWindow  ) 
-
- - - - - -
-   - - -

-Destroy pWindow on the back-end server.

-

- - - - -
- + + + +
+
+
- - - - + + + + + - - - + + - - + + -
void dmxChangeBorderWidth WindowPtr  pWindow, void dmxChangeBorderWidth (WindowPtr  pWindow,
unsigned int  widthunsigned int  width 
)
-
- - - - - -
-   - - -

-Change border width for pWindow to width pixels.

-

- - - - -
- + +
+

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, Bool dmxChangeWindowAttributes (WindowPtr  pWindow,
unsigned long  maskunsigned long  mask 
)
-
- - - - - -
-   - - -

-Change the window attributes of pWindow.

-

- - - - -
- + + + + +
+
+
- - - - + + + + + - - - + + + - - - + + - - + + -
void dmxCopyWindow WindowPtr  pWindow, void dmxCopyWindow (WindowPtr  pWindow,
DDXPointRec  ptOldOrg, DDXPointRec  ptOldOrg,
RegionPtr  prgnSrcRegionPtr  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.

-

- - - - -
- + +
+

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, void dmxCreateAndRealizeWindow (WindowPtr  pWindow,
Bool  doSyncBool  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.

-

- - - - -
- + +
+

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 dmxCreateWindow WindowPtr  pWindow  ) static Window dmxCreateNonRootWindow (WindowPtr  pWindow )  [static]
-
- - - - - -
-   - - -

-Create pWindow on the back-end server. If the lazy window creation optimization is enabled, then the actual creation and realization of the window is handled by dmxCreateAndRealizeWindow().

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + -
Bool dmxDestroyWindow WindowPtr  pWindow  ) Window dmxCreateRootWindow (WindowPtr  pWindow ) 
-
- - - - - -
-   - - -

-Destroy pWindow on the back-end server. If any RENDER pictures were created, destroy them as well.

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + +
Bool dmxInitWindow ScreenPtr  pScreen  ) Bool dmxCreateWindow (WindowPtr  pWindow ) 
+ + + + +
+
+ + + + + + + + +
Bool dmxDestroyWindow (WindowPtr  pWindow ) 
-
- - - - - -
-   - - -

-Initialize the private area for the window functions.

-

- - - - -
- + +
+

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 dmxPaintWindowBackground WindowPtr  pWindow, static void dmxDoChangeWindowAttributes (WindowPtr  pWindow,
RegionPtr  pRegion, unsigned long *  mask,
int  whatXSetWindowAttributes *  attribs 
) [static]
+ + + + +
+
+ + + + + + + + +
static void dmxDoRestackWindow (WindowPtr  pWindow )  [static]
-
- - - - - -
-   - - -

-Paint background of pWindow in pRegion.

-

- - - - -
- + + + + +
+
+
+ + + + + + + + +
static void dmxDoSetShape (WindowPtr  pWindow )  [static]
+ + + + +
+
+ - - - - + + + + + - - - + + + - - - + + - - + + +
void dmxPaintWindowBorder WindowPtr  pWindow, void dmxGetDefaultWindowAttributes (WindowPtr  pWindow,
RegionPtr  pRegion, Colormap *  cmap,
int  whatVisual **  visual 
)
+
+ +
+ +
+
+ + + + + + + + +
Bool dmxInitWindow (ScreenPtr  pScreen ) 
-
- - - - - -
-   - - -

-Paint window border for pWindow in pRegion.

-

- - - - -
- + +
+

Initialize the private area for the window functions.

+ +

References dmxWinPrivateKey.

+ +

Referenced by dmxScreenInit().

+ +
+ + +
+
+
- - - - + + + + + - - - + + + - - - + + - - + + -
Bool dmxPositionWindow WindowPtr  pWindow, Bool dmxPositionWindow (WindowPtr  pWindow,
int  x, int  x,
int  yint  y 
)
-
- - - - - -
-   - - -

-Change the position of pWindow to be x, y.

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + -
Bool dmxRealizeWindow WindowPtr  pWindow  ) 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.

-

- - - - -
- + +
+

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, void dmxReparentWindow (WindowPtr  pWindow,
WindowPtr  pPriorParentWindowPtr  pPriorParent 
)
-
- - - - - -
-   - - -

-Reparent pWindow on the back-end server.

-

- - - - -
- + + + + +
+
+
- - - - + + + + + - - - + + + - - - + + + - - - + + + - - - + + - - + + -
void dmxResizeRootWindow WindowPtr  pRoot, void dmxResizeRootWindow (WindowPtr  pRoot,
int  x, int  x,
int  y, int  y,
int  w, int  w,
int  hint  h 
)
-
- - - - - -
-   - - -

-Change the location and size of the "root" window. Called from #dmxReconfigureRootWindow().

-

- - - - -
- + +
+

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, void dmxResizeScreenWindow (ScreenPtr  pScreen,
int  x, int  x,
int  y, int  y,
int  w, int  w,
int  hint  h 
)
-
- - - - - -
-   - - -

-Change the location and size of the "screen" window. Called from #dmxReconfigureScreenWindow().

-

- - - - -
- + +
+

Change the location and size of the "screen" window. Called from dmxConfigureScreenWindow().

+ +

References _DMXScreenInfo::beDisplay, dmxScreens, dmxSync(), and _DMXScreenInfo::scrnWin.

+ +
+ + +
+
+
- - - - + + + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + - - + + -
void dmxResizeWindow WindowPtr  pWindow, void dmxResizeWindow (WindowPtr  pWindow,
int  x, int  x,
int  y, int  y,
unsigned int  w, unsigned int  w,
unsigned int  h, unsigned int  h,
WindowPtr  pSibWindowPtr  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.

-

- - - - -
- + +
+

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, void dmxRestackWindow (WindowPtr  pWindow,
WindowPtr  pOldNextSibWindowPtr  pOldNextSib 
)
-
- - - - - -
-   - - -

-Handle window restacking. The actual restacking occurs in dmxDoRestackWindow().

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + -
void dmxSetShape WindowPtr  pWindow  ) void dmxSetShape (WindowPtr  pWindow ) 
-
- - - - - -
-   - - -

-Set shape of pWindow on the back-end server.

-

- - - - -
- + +
+

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  ) Bool dmxUnrealizeWindow (WindowPtr  pWindow ) 
-
- - - - - -
-   - - -

-Unrealize pWindow on the back-end server.

-

- - - - -
- + + + + +
+
+
- - - - + + + + + + + + + + - - + + + + + +
void dmxWindowExposures WindowPtr  pWindow, static Bool dmxWindowExposurePredicate (Display *  dpy,
XEvent *  ev,
RegionPtr  prgn, XPointer  ptr 
) [static]
+ +
+ +

Referenced by dmxWindowExposures().

+ +
+ + +
+
+ + + + + + + + + - - + + + - - + + + + + + + -
void dmxWindowExposures (WindowPtr  pWindow,
RegionPtr  other_exposedRegionPtr  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.

+

+
+

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().

+ +
+
+
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 a1bbda691..000000000 --- a/xorg-server/hw/dmx/doc/html/dmxwindow_8h-source.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - File Index - - - - - -

dmxwindow.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2001-2004 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Kevin E. Martin <kem@redhat.com>
-00032  *
-00033  */
-00034 
-00038 #ifndef DMXWINDOW_H
-00039 #define DMXWINDOW_H
-00040 
-00041 #include "windowstr.h"
-00042 
-00044 typedef struct _dmxWinPriv {
-00045     Window         window;
-00046     Bool           offscreen;
-00047     Bool           mapped;
-00048     Bool           restacked;
-00049     unsigned long  attribMask;
-00050     Colormap       cmap;
-00051     Visual        *visual;
-00052 #ifdef SHAPE
-00053     Bool           isShaped;
-00054 #endif
-00055 #ifdef RENDER
-00056     Bool           hasPict;
-00057 #endif
-00058 #ifdef GLXEXT
-00059     void          *swapGroup;
-00060     int            barrier;
-00061     void         (*windowDestroyed)(WindowPtr);
-00062     void         (*windowUnmapped)(WindowPtr);
-00063 #endif
-00064 } dmxWinPrivRec, *dmxWinPrivPtr;
-00065 
-00066 
-00067 extern Bool dmxInitWindow(ScreenPtr pScreen);
-00068 
-00069 extern Window dmxCreateRootWindow(WindowPtr pWindow);
-00070 
-00071 extern void dmxGetDefaultWindowAttributes(WindowPtr pWindow,
-00072                                           Colormap *cmap,
-00073                                           Visual **visual);
-00074 extern void dmxCreateAndRealizeWindow(WindowPtr pWindow, Bool doSync);
-00075 
-00076 extern Bool dmxCreateWindow(WindowPtr pWindow);
-00077 extern Bool dmxDestroyWindow(WindowPtr pWindow);
-00078 extern Bool dmxPositionWindow(WindowPtr pWindow, int x, int y);
-00079 extern Bool dmxChangeWindowAttributes(WindowPtr pWindow, unsigned long mask);
-00080 extern Bool dmxRealizeWindow(WindowPtr pWindow);
-00081 extern Bool dmxUnrealizeWindow(WindowPtr pWindow);
-00082 extern void dmxRestackWindow(WindowPtr pWindow, WindowPtr pOldNextSib);
-00083 extern void dmxWindowExposures(WindowPtr pWindow, RegionPtr prgn,
-00084                                RegionPtr other_exposed);
-00085 extern void dmxPaintWindowBackground(WindowPtr pWindow, RegionPtr pRegion,
-00086                                      int what);
-00087 extern void dmxPaintWindowBorder(WindowPtr pWindow, RegionPtr pRegion,
-00088                                  int what);
-00089 extern void dmxCopyWindow(WindowPtr pWindow, DDXPointRec ptOldOrg,
-00090                           RegionPtr prgnSrc);
-00091 
-00092 extern void dmxResizeWindow(WindowPtr pWindow, int x, int y,
-00093                             unsigned int w, unsigned int h, WindowPtr pSib);
-00094 extern void dmxReparentWindow(WindowPtr pWindow, WindowPtr pPriorParent);
-00095 
-00096 extern void dmxChangeBorderWidth(WindowPtr pWindow, unsigned int width);
-00097 
-00098 extern void dmxResizeScreenWindow(ScreenPtr pScreen,
-00099                                   int x, int y, int w, int h);
-00100 extern void dmxResizeRootWindow(WindowPtr pRoot,
-00101                                 int x, int y, int w, int h);
-00102 
-00103 extern Bool dmxBEDestroyWindow(WindowPtr pWindow);
-00104 
-00105 #ifdef SHAPE
-00106 /* Support for shape extension */
-00107 extern void dmxSetShape(WindowPtr pWindow);
-00108 #endif
-00109 
-00111 extern int dmxWinPrivateIndex;
-00112 
-00114 #define DMX_GET_WINDOW_PRIV(_pWin)                                      \
-00115     ((dmxWinPrivPtr)(_pWin)->devPrivates[dmxWinPrivateIndex].ptr)
-00116 
-00117 /* All of these macros are only used in dmxwindow.c */
-00118 #define DMX_WINDOW_FUNC_PROLOGUE(_pGC)                                  \
-00119 do {                                                                    \
-00120     dmxGCPrivPtr pGCPriv = DMX_GET_GC_PRIV(_pGC);                       \
-00121     DMX_UNWRAP(funcs, pGCPriv, (_pGC));                                 \
-00122     if (pGCPriv->ops)                                                   \
-00123         DMX_UNWRAP(ops, pGCPriv, (_pGC));                               \
-00124 } while (0)
-00125 
-00126 #define DMX_WINDOW_FUNC_EPILOGUE(_pGC)                                  \
-00127 do {                                                                    \
-00128     dmxGCPrivPtr pGCPriv = DMX_GET_GC_PRIV(_pGC);                       \
-00129     DMX_WRAP(funcs, &dmxGCFuncs, pGCPriv, (_pGC));                      \
-00130     if (pGCPriv->ops)                                                   \
-00131         DMX_WRAP(ops, &dmxGCOps, pGCPriv, (_pGC));                      \
-00132 } while (0)
-00133 
-00134 #define DMX_WINDOW_X1(_pWin)                                            \
-00135     ((_pWin)->drawable.x - wBorderWidth(_pWin))
-00136 #define DMX_WINDOW_Y1(_pWin)                                            \
-00137     ((_pWin)->drawable.y - wBorderWidth(_pWin))
-00138 #define DMX_WINDOW_X2(_pWin)                                            \
-00139     ((_pWin)->drawable.x + wBorderWidth(_pWin) + (_pWin)->drawable.width) 
-00140 #define DMX_WINDOW_Y2(_pWin)                                            \
-00141     ((_pWin)->drawable.y + wBorderWidth(_pWin) + (_pWin)->drawable.height) 
-00142 
-00143 #define DMX_WINDOW_OFFSCREEN(_pWin)                                     \
-00144     (DMX_WINDOW_X1(_pWin) >= (_pWin)->drawable.pScreen->width  ||       \
-00145      DMX_WINDOW_Y1(_pWin) >= (_pWin)->drawable.pScreen->height ||       \
-00146      DMX_WINDOW_X2(_pWin) <= 0                                 ||       \
-00147      DMX_WINDOW_Y2(_pWin) <= 0)
-00148 
-00149 #endif /* DMXWINDOW_H */
-

-
- - 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 index f80aae3c3..e1d7e2683 100644 --- a/xorg-server/hw/dmx/doc/html/dmxwindow_8h.html +++ b/xorg-server/hw/dmx/doc/html/dmxwindow_8h.html @@ -6,955 +6,935 @@ - - -

dmxwindow.h File Reference

#include "windowstr.h"
- -

-Go to the source code of this file. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + +
+

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)   ((dmxWinPrivPtr)(_pWin)->devPrivates[dmxWinPrivateIndex].ptr)

Typedefs

typedef _dmxWinPriv dmxWinPrivRec
typedef _dmxWinPrivdmxWinPrivPtr

Functions

Bool dmxInitWindow (ScreenPtr pScreen)
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 dmxPaintWindowBackground (WindowPtr pWindow, RegionPtr pRegion, int what)
void dmxPaintWindowBorder (WindowPtr pWindow, RegionPtr pRegion, int what)
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)
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

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_GET_WINDOW_PRIV(_pWin  ) 
+
+
+Value:
((dmxWinPrivPtr) \
+    dixLookupPrivate(&(_pWin)->devPrivates, dmxWinPrivateKey))
+

Get window private pointer.

-

Variables

-int dmxWinPrivateIndex +

Referenced by dmxBECreateWindowTree(), dmxBEDestroyWindow(), dmxChangeBorderWidth(), dmxChangeWindowAttributes(), dmxCopyWindow(), dmxCreateAndRealizeWindow(), dmxCreateNonRootWindow(), dmxCreateRootWindow(), dmxCreateWindow(), dmxDestroyWindow(), dmxDoCreatePicture(), dmxDoRestackWindow(), dmxDoSetShape(), dmxForceWindowCreation(), dmxGetWindowAttributes(), dmxPositionWindow(), dmxRealizeWindow(), dmxReparentWindow(), dmxResizeRootWindow(), dmxResizeWindow(), dmxRestackWindow(), dmxSetShape(), dmxUnrealizeWindow(), and dmxWindowExposures().

- -

Detailed Description

-Interface for window support.
See also:
dmxwindow.c
-

Define Documentation

-

- - - + + + +
+
+
- - - - - - - - - -
#define DMX_GET_WINDOW_PRIV_pWin   )    ((dmxWinPrivPtr)(_pWin)->devPrivates[dmxWinPrivateIndex].ptr) + + + +
+
+ + + + + + + + +
#define DMX_WINDOW_FUNC_EPILOGUE(_pGC  ) 
-
- - - - - -
-   - - -

-Get window private pointer.

-

Typedef Documentation

-

- - - + + + +
+
+
- - - - -
typedef struct _dmxWinPriv * dmxWinPrivPtr + +
+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  ) 
-
- - - - - -
-   - - -

-Window private area.

-

- - - - -
- + +
+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 dmxWinPrivRec + typedef struct _dmxWinPriv * dmxWinPrivPtr
-
- - - - - -
-   - - -

-Window private area.

-


Function Documentation

-

- - - - -
- + +
+ +
+ + +
+
+
- - - - - - + +
Bool dmxBEDestroyWindow WindowPtr  pWindow  ) typedef struct _dmxWinPriv dmxWinPrivRec
+ +
+

Window private area.

+
+ +

Function Documentation

+ +
+
+ + + + + + + + +
Bool dmxBEDestroyWindow (WindowPtr  pWindow ) 
-
- - - - - -
-   - - -

-Destroy pWindow on the back-end server.

-

- - - - -
- + +
+

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, void dmxChangeBorderWidth (WindowPtr  pWindow,
unsigned int  widthunsigned int  width 
)
-
- - - - - -
-   - - -

-Change border width for pWindow to width pixels.

-

- - - - -
- + +
+

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, Bool dmxChangeWindowAttributes (WindowPtr  pWindow,
unsigned long  maskunsigned long  mask 
)
-
- - - - - -
-   - - -

-Change the window attributes of pWindow.

-

- - - - -
- + + + + +
+
+
- - - - + + + + + - - - + + + - - - + + - - + + -
void dmxCopyWindow WindowPtr  pWindow, void dmxCopyWindow (WindowPtr  pWindow,
DDXPointRec  ptOldOrg, DDXPointRec  ptOldOrg,
RegionPtr  prgnSrcRegionPtr  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.

-

- - - - -
- + +
+

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, void dmxCreateAndRealizeWindow (WindowPtr  pWindow,
Bool  doSyncBool  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.

-

- - - - -
- - - - - - - - - + +
+

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.

-
Bool dmxCreateWindow WindowPtr  pWindow  ) 
-
- - - - - -
-   - - -

-Create pWindow on the back-end server. If the lazy window creation optimization is enabled, then the actual creation and realization of the window is handled by dmxCreateAndRealizeWindow().

-

- - - - -
- - - - - - - - - +

References _DMXScreenInfo::beDisplay, DMX_GET_WINDOW_PRIV, dmxCreateNonRootWindow(), dmxCreatePictureList(), dmxDoRestackWindow(), dmxDoSetShape(), dmxScreens, dmxSync(), _dmxWinPriv::hasPict, _dmxWinPriv::isShaped, _dmxWinPriv::mapped, _dmxWinPriv::restacked, and _dmxWinPriv::window.

-
Bool dmxDestroyWindow WindowPtr  pWindow  ) 
-
- - - - - -
-   - - -

-Destroy pWindow on the back-end server. If any RENDER pictures were created, destroy them as well.

-

- - - - -
- - - - - - - - - +

Referenced by dmxBECreateWindowTree(), dmxCopyWindow(), dmxCreateNonRootWindow(), dmxForceWindowCreation(), dmxPositionWindow(), dmxRealizeWindow(), dmxReparentWindow(), and dmxResizeWindow().

-
Bool dmxInitWindow ScreenPtr  pScreen  ) 
-
- - - - - -
-   - - -

-Initialize the private area for the window functions.

-

- - - - -
- + + + +
+
+
- - - - - - - + + + + + - - +
void dmxPaintWindowBackground WindowPtr  pWindow,
Window dmxCreateRootWindow (WindowPtr  pWindow )  RegionPtr  pRegion,
+ + + + + + +
+
+ + + + + + - - -
Bool dmxDestroyWindow (WindowPtr  pWindow ) 
-
- - - - - -
-   - - -

-Paint background of pWindow in pRegion.

-

- - - - -
- + +
+

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 dmxPaintWindowBorder WindowPtr  pWindow, void dmxGetDefaultWindowAttributes (WindowPtr  pWindow,
RegionPtr  pRegion, Colormap *  cmap,
int  whatVisual **  visual 
)
+ + + + +
+
+ + + + + + + + +
Bool dmxInitWindow (ScreenPtr  pScreen ) 
-
- - - - - -
-   - - -

-Paint window border for pWindow in pRegion.

-

- - - - -
- + +
+

Initialize the private area for the window functions.

+ +

References dmxWinPrivateKey.

+ +

Referenced by dmxScreenInit().

+ +
+ + +
+
+
- - - - + + + + + - - - + + + - - - + + - - + + -
Bool dmxPositionWindow WindowPtr  pWindow, Bool dmxPositionWindow (WindowPtr  pWindow,
int  x, int  x,
int  yint  y 
)
-
- - - - - -
-   - - -

-Change the position of pWindow to be x, y.

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + -
Bool dmxRealizeWindow WindowPtr  pWindow  ) 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.

-

- - - - -
- + +
+

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, void dmxReparentWindow (WindowPtr  pWindow,
WindowPtr  pPriorParentWindowPtr  pPriorParent 
)
-
- - - - - -
-   - - -

-Reparent pWindow on the back-end server.

-

- - - - -
- + + + + +
+
+
- - - - + + + + + - - - + + + - - - + + + - - - + + + - - - + + - - + + -
void dmxResizeRootWindow WindowPtr  pRoot, void dmxResizeRootWindow (WindowPtr  pRoot,
int  x, int  x,
int  y, int  y,
int  w, int  w,
int  hint  h 
)
-
- - - - - -
-   - - -

-Change the location and size of the "root" window. Called from #dmxReconfigureRootWindow().

-

- - - - -
- + +
+

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, void dmxResizeScreenWindow (ScreenPtr  pScreen,
int  x, int  x,
int  y, int  y,
int  w, int  w,
int  hint  h 
)
-
- - - - - -
-   - - -

-Change the location and size of the "screen" window. Called from #dmxReconfigureScreenWindow().

-

- - - - -
- + +
+

Change the location and size of the "screen" window. Called from dmxConfigureScreenWindow().

+ +

References _DMXScreenInfo::beDisplay, dmxScreens, dmxSync(), and _DMXScreenInfo::scrnWin.

+ +
+ + +
+
+
- - - - + + + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + - - + + -
void dmxResizeWindow WindowPtr  pWindow, void dmxResizeWindow (WindowPtr  pWindow,
int  x, int  x,
int  y, int  y,
unsigned int  w, unsigned int  w,
unsigned int  h, unsigned int  h,
WindowPtr  pSibWindowPtr  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.

-

- - - - -
- + +
+

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, void dmxRestackWindow (WindowPtr  pWindow,
WindowPtr  pOldNextSibWindowPtr  pOldNextSib 
)
-
- - - - - -
-   - - -

-Handle window restacking. The actual restacking occurs in dmxDoRestackWindow().

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + -
void dmxSetShape WindowPtr  pWindow  ) void dmxSetShape (WindowPtr  pWindow ) 
-
- - - - - -
-   - - -

-Set shape of pWindow on the back-end server.

-

- - - - -
- + +
+

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  ) Bool dmxUnrealizeWindow (WindowPtr  pWindow ) 
-
- - - - - -
-   - - -

-Unrealize pWindow on the back-end server.

-

- - - - -
- + + + + +
+
+
- - - - + + + + + - - - + + + - - - + + - - + + -
void dmxWindowExposures WindowPtr  pWindow, void dmxWindowExposures (WindowPtr  pWindow,
RegionPtr  prgn, RegionPtr  prgn,
RegionPtr  other_exposedRegionPtr  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.

-


Variable Documentation

-

- - - - + + + +
+
+
- - - - -
int dmxWinPrivateIndex + +
+

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 for Windows

+ +
+

Private index.

+
See also:
dmxwindow.c
+
+dmxscrinit.c
+

Private index for Windows

+ +

Referenced by dmxInitWindow().

+ +
+ +
diff --git a/xorg-server/hw/dmx/doc/html/dmxwindow_8h_source.html b/xorg-server/hw/dmx/doc/html/dmxwindow_8h_source.html new file mode 100644 index 000000000..d04650c6c --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/dmxwindow_8h_source.html @@ -0,0 +1,170 @@ + + + + + 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 index bd64864a1..eebbd60c6 100644 --- a/xorg-server/hw/dmx/doc/html/dmxxinput_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxxinput_8c.html @@ -6,382 +6,314 @@ - - -

dmxxinput.c File Reference

#include "X.h"
-#include "Xproto.h"
-#include "inputstr.h"
-#include "XI.h"
-#include "XIproto.h"
-#include "XIstubs.h"
-#include "mipointer.h"
-#include "dmxinputinit.h"
-#include "exevents.h"
- - - - - - - - - - - - - - - - - - - + + +
+

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)
+ + + + + + + + +

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

-

- - - - -
- +

Detailed Description

+

This file implements support required by the XINPUT extension.

+

Function Documentation

+ +
+
+
- - - - - - + + + + + + -
void AddOtherInputDevices void   ) void AddOtherInputDevices (void  ) 
-
- - - - - -
-   - + +
+

This is not required by the XINPUT model that DMX uses.

-

-This is not required by the XINPUT model that DMX uses.

-

- - - - -
- + + + +
+
+
- - - - + + + + + - - - + + + - - - + + - - + + -
int ChangeDeviceControl ClientPtr  client, int ChangeDeviceControl (ClientPtr  client,
DeviceIntPtr  dev, DeviceIntPtr  dev,
xDeviceCtl *  controlxDeviceCtl *  control 
)
-
- - - - - -
-   - + +
+

Change device control. This is not implemented.

-

-Change device control. This is not implemented.

-

- - - - -
- + + + +
+
+
- - - - + + + + + - - - + + - - + + -
int ChangeKeyboardDevice DeviceIntPtr  old_dev, int ChangeKeyboardDevice (DeviceIntPtr  old_dev,
DeviceIntPtr  new_devDeviceIntPtr  new_dev 
)
-
- - - - - -
-   - + +
+

Change the core keyboard from old_dev to new_dev. Currently this is not implemented.

-

-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, int ChangePointerDevice (DeviceIntPtr  old_dev,
DeviceIntPtr  new_dev, DeviceIntPtr  new_dev,
unsigned char  x, unsigned char  x,
unsigned char  yunsigned char  y 
)
-
- - - - - -
-   - + +
+

Change the core pointer from old_dev to new_dev.

-

-Change the core pointer from old_dev to new_dev.

-

- - - - -
- +

References dmxLocalCorePointer, _DMXLocalInputInfo::isCore, _DMXLocalInputInfo::savedMotionEvents, _DMXLocalInputInfo::savedMotionProc, _DMXLocalInputInfo::savedSendsCore, and _DMXLocalInputInfo::sendsCore.

+ + + + +
+
+
- - - - + + + + + - - - + + - - + + -
void CloseInputDevice DeviceIntPtr  d, void CloseInputDevice (DeviceIntPtr  d,
ClientPtr  clientClientPtr  client 
)
-
- - - - - -
-   - + +
+

Close the input device. This is not required by the XINPUT model that DMX uses.

-

-Close the input device. This is not required by the XINPUT model that DMX uses.

-

- - - - -
- + + + +
+
+
- - - - + + + + + - - - + + + - - - + + - - + + -
void OpenInputDevice DeviceIntPtr  dev, void OpenInputDevice (DeviceIntPtr  dev,
ClientPtr  client, ClientPtr  client,
int *  statusint *  status 
)
-
- - - - - -
-   - + +
+

Open an input device. This is not required by the XINPUT model that DMX uses.

-

-Open an input device. This is not required by the XINPUT model that DMX uses.

-

- - - - -
- + + + +
+
+
- - - - + + + + + - - - + + + - - - + + - - + + -
int SetDeviceMode ClientPtr  client, int SetDeviceMode (ClientPtr  client,
DeviceIntPtr  dev, DeviceIntPtr  dev,
int  modeint  mode 
)
-
- - - - - -
-   - + +
+

Set device mode to mode. This is not implemented.

-

-Set device mode to mode. This is not implemented.

-

- - - - -
- + + + +
+
+
- - - - + + + + + - - - + + + - - - + + + - - - + + + - - - + + - - + + -
int SetDeviceValuators ClientPtr  client, int SetDeviceValuators (ClientPtr  client,
DeviceIntPtr  dev, DeviceIntPtr  dev,
int *  valuators, int *  valuators,
int  first_valuator, int  first_valuator,
int  num_valuatorsint  num_valuators 
)
-
- - - - - -
-   - + +
+

Set device valuators. This is not implemented.

-

-Set device valuators. This is not implemented.

+ + +


diff --git a/xorg-server/hw/dmx/doc/html/files.html b/xorg-server/hw/dmx/doc/html/files.html index 339ba7a98..23ec3c20a 100644 --- a/xorg-server/hw/dmx/doc/html/files.html +++ b/xorg-server/hw/dmx/doc/html/files.html @@ -6,106 +6,122 @@ - - -

Distributed Multihead X File List

Here is a list of all documented files with brief descriptions: + + +
+

File List

Here is a list of all files with brief descriptions:
- - - - - + + + + + + - + - + - - + + - + - + - + - + - + - + - + - - - + - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + - + - + - + - + - + + - + - + - + - + - + - + - + - + - - + + + +
ChkNotMaskEv.c
ChkNotMaskEv.h [code]
programs/Xserver/Xext/dmx.c
lib/dmx/dmx.c
dmx.h [code]
dmx_glxvisuals.h [code]
ChkNotMaskEv.h [code]
dmx-config.h [code]
dmx.c
dmx.h [code]
dmx_glxvisuals.c
dmx_glxvisuals.h [code]
dmxarg.c
dmxarg.h [code]
dmxarg.h [code]
dmxbackend.c
dmxbackend.h [code]
dmxbackend.h [code]
dmxcb.c
dmxcb.h [code]
dmxclient.h [code]
dmxcb.h [code]
dmxclient.h [code]
dmxcmap.c
dmxcmap.h [code]
dmxcmap.h [code]
dmxcommon.c
dmxcommon.h [code]
dmxcommon.h [code]
dmxcompat.c
dmxcompat.h [code]
dmxcompat.h [code]
dmxconfig.c
dmxconfig.h [code]
dmxconfig.h [code]
dmxconsole.c
dmxconsole.h [code]
dmxconsole.h [code]
dmxcursor.c
dmxcursor.h [code]
dmxcursor.h [code]
dmxdetach.c
dmxdpms.c
dmxdpms.h [code]
dmxdpms.h [code]
dmxdummy.c
dmxdummy.h [code]
dmxeq.c
dmxeq.h [code]
dmxdummy.h [code]
dmxevents.c
dmxevents.h [code]
dmxext.h [code]
dmxevents.h [code]
dmxextension.c
dmxextension.h [code]
dmxextension.h [code]
dmxfont.c
dmxfont.h [code]
dmxfont.h [code]
dmxgc.c
dmxgc.h [code]
dmxgc.h [code]
dmxgcops.c
dmxgcops.h [code]
dmxgcops.h [code]
dmxinit.c
dmxinit.h [code]
dmxinit.h [code]
dmxinput.c
dmxinput.h [code]
dmxinput.h [code]
dmxinputinit.c
dmxinputinit.h [code]
dmxinputinit.h [code]
dmxlog.c
dmxlog.h [code]
dmxlog.h [code]
dmxmap.c
dmxmap.h [code]
dmxmap.h [code]
dmxmotion.c
dmxmotion.h [code]
dmxmotion.h [code]
dmxparse.c
dmxparse.h [code]
dmxparse.h [code]
dmxpict.c
dmxpict.h [code]
dmxpict.h [code]
dmxpixmap.c
dmxpixmap.h [code]
dmxpixmap.h [code]
dmxprint.c
dmxprint.h [code]
dmxprint.h [code]
dmxprop.c
dmxprop.h [code]
dmxproto.h [code]
dmxprop.h [code]
dmxscrinit.c
dmxscrinit.h [code]
dmxscrinit.h [code]
dmxshadow.c
dmxshadow.h [code]
dmxshadow.h [code]
dmxsigio.c
dmxsigio.h [code]
dmxsigio.h [code]
dmxstat.c
dmxstat.h [code]
dmxstat.h [code]
dmxsync.c
dmxsync.h [code]
dmxsync.h [code]
dmxtodmx.c
dmxvisual.c
dmxvisual.h [code]
dmxvisual.h [code]
dmxwindow.c
dmxwindow.h [code]
dmxwindow.h [code]
dmxxinput.c
lnx-keyboard.c
lnx-keyboard.h [code]
lnx-keyboard.h [code]
lnx-ms.c
lnx-ms.h [code]
lnx-ms.h [code]
lnx-ps2.c
lnx-ps2.h [code]
lnx-ps2.h [code]
usb-common.c
usb-common.h [code]
usb-common.h [code]
usb-keyboard.c
usb-keyboard.h [code]
usb-keyboard.h [code]
usb-mouse.c
usb-mouse.h [code]
usb-mouse.h [code]
usb-other.c
usb-other.h [code]
usb-private.h [code]
usb-other.h [code]
usb-private.h [code]
vdltodmx.c
xdmxconfig.c
+
diff --git a/xorg-server/hw/dmx/doc/html/functions.html b/xorg-server/hw/dmx/doc/html/functions.html index 766de0f8f..be7974c89 100644 --- a/xorg-server/hw/dmx/doc/html/functions.html +++ b/xorg-server/hw/dmx/doc/html/functions.html @@ -6,223 +6,80 @@ - - - -
a | b | c | d | e | f | g | h | i | k | l | m | n | o | p | r | s | t | u | v | w | x
+ + +
+Here is a list of all struct and union fields with links to the structures/unions they belong to: -

- -

-Here is a list of all documented struct and union fields with links to the struct/union documentation for each field:

- a -

+

diff --git a/xorg-server/hw/dmx/doc/html/functions_vars.html b/xorg-server/hw/dmx/doc/html/functions_vars.html index 71c36065d..92fe40193 100644 --- a/xorg-server/hw/dmx/doc/html/functions_vars.html +++ b/xorg-server/hw/dmx/doc/html/functions_vars.html @@ -6,223 +6,80 @@ - - - -
a | b | c | d | e | f | g | h | i | k | l | m | n | o | p | r | s | t | u | v | w | x
+ + +
+  -

- -

-

- a -

+

diff --git a/xorg-server/hw/dmx/doc/html/globals.html b/xorg-server/hw/dmx/doc/html/globals.html index 5a81930af..78b3e0401 100644 --- a/xorg-server/hw/dmx/doc/html/globals.html +++ b/xorg-server/hw/dmx/doc/html/globals.html @@ -6,508 +6,96 @@ - - - -
a | c | d | e | g | i | k | l | m | o | p | q | s | u | x
+ + +
+Here is a list of all functions, variables, defines, enums, and typedefs with links to the files they belong to: -

- -

-Here is a list of all documented functions, variables, defines, enums, and typedefs with links to the documentation:

- a -

-

- c -

-

- d -

-

- e -

-

- g -

-

- i -

-

- k -

-

- l -

-

- m -

-

- o -

-

- p -

-

- q -

-

- s -

-

- u -

-

- x -

+

- _ -

+

diff --git a/xorg-server/hw/dmx/doc/html/globals_defs.html b/xorg-server/hw/dmx/doc/html/globals_defs.html index 9fb24cc19..78d797125 100644 --- a/xorg-server/hw/dmx/doc/html/globals_defs.html +++ b/xorg-server/hw/dmx/doc/html/globals_defs.html @@ -6,33 +6,72 @@ - - - + + +
+  -

-

+

- a -

+

diff --git a/xorg-server/hw/dmx/doc/html/globals_enum.html b/xorg-server/hw/dmx/doc/html/globals_enum.html index 09cb593d6..98d3be7ef 100644 --- a/xorg-server/hw/dmx/doc/html/globals_enum.html +++ b/xorg-server/hw/dmx/doc/html/globals_enum.html @@ -6,18 +6,73 @@ - - - - -

-

+ + +
+

diff --git a/xorg-server/hw/dmx/doc/html/globals_eval.html b/xorg-server/hw/dmx/doc/html/globals_eval.html index 15700d509..d73c8cf6a 100644 --- a/xorg-server/hw/dmx/doc/html/globals_eval.html +++ b/xorg-server/hw/dmx/doc/html/globals_eval.html @@ -6,27 +6,204 @@ - - - + + +
+  -

-

+ + +

- p -

+ + +

- u -

+

diff --git a/xorg-server/hw/dmx/doc/html/globals_func.html b/xorg-server/hw/dmx/doc/html/globals_func.html index 85b327b60..d1a02d446 100644 --- a/xorg-server/hw/dmx/doc/html/globals_func.html +++ b/xorg-server/hw/dmx/doc/html/globals_func.html @@ -6,374 +6,88 @@ - - - -
a | c | d | g | i | k | l | m | o | p | s | u | x
+ + +
+  -

- -

-

- a -

-

- c -

-

- d -

-

- g -

-

- i -

-

- k -

-

- l -

-

- m -

-

- o -

-

- p -

-

- s -

-

- u -

-

- x -

+

- _ -

+

diff --git a/xorg-server/hw/dmx/doc/html/globals_type.html b/xorg-server/hw/dmx/doc/html/globals_type.html index e3aaeb4ca..8f9ec2b48 100644 --- a/xorg-server/hw/dmx/doc/html/globals_type.html +++ b/xorg-server/hw/dmx/doc/html/globals_type.html @@ -6,82 +6,329 @@ - - - -
d | e | m
+ + +
+  -

- -

-

- d -

+ + +

- p -

+ + +

- u -

+

diff --git a/xorg-server/hw/dmx/doc/html/globals_vars.html b/xorg-server/hw/dmx/doc/html/globals_vars.html index c1c2d27c6..778caa815 100644 --- a/xorg-server/hw/dmx/doc/html/globals_vars.html +++ b/xorg-server/hw/dmx/doc/html/globals_vars.html @@ -6,42 +6,600 @@ - - - + + +
+  -

-

+ + +

- e -

+ + +

- i -

+ + +

- l -

+ + +

- m -

+ + +

- n -

+ + +

- o -

+ + +

- p -

+ + +

- q -

+ + +

- r -

+ + +

- s -

+ + +

- y -

+

diff --git a/xorg-server/hw/dmx/doc/html/index.html b/xorg-server/hw/dmx/doc/html/index.html index 722db1aa5..8c3338217 100644 --- a/xorg-server/hw/dmx/doc/html/index.html +++ b/xorg-server/hw/dmx/doc/html/index.html @@ -1,8 +1,16 @@ - - -Distributed Multihead X + + + + +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/lib_2dmx_2dmx_8c.html b/xorg-server/hw/dmx/doc/html/lib_2dmx_2dmx_8c.html deleted file mode 100644 index 15bb74a1e..000000000 --- a/xorg-server/hw/dmx/doc/html/lib_2dmx_2dmx_8c.html +++ /dev/null @@ -1,894 +0,0 @@ - - - - - File Index - - - - - -

dmx.c File Reference

#include <X11/Xlibint.h>
-#include "Xext.h"
-#include "extutil.h"
-#include "dmxproto.h"
-#include "dmxext.h"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Functions

dmx_extension_info Bool DMXQueryExtension (Display *dpy, int *event_basep, int *error_basep)
Bool DMXQueryVersion (Display *dpy, int *majorVersion, int *minorVersion, int *patchVersion)
Bool DMXSync (Display *dpy)
Bool DMXForceWindowCreation (Display *dpy, Window window)
Bool DMXGetScreenCount (Display *dpy, int *screen_count)
Bool DMXGetScreenAttributes (Display *dpy, int physical_screen, DMXScreenAttributes *attr)
int DMXChangeScreensAttributes (Display *dpy, int screen_count, int *screens, int mask_count, unsigned int *masks, DMXScreenAttributes *attrs, int *error_screen)
Bool DMXAddScreen (Display *dpy, const char *displayName, unsigned int mask, DMXScreenAttributes *attr, int *screen)
Bool DMXRemoveScreen (Display *dpy, int screen)
Bool DMXGetWindowAttributes (Display *dpy, Window window, int *screen_count, int available_count, DMXWindowAttributes *inf)
Bool DMXGetDesktopAttributes (Display *dpy, DMXDesktopAttributes *attr)
int DMXChangeDesktopAttributes (Display *dpy, unsigned int mask, DMXDesktopAttributes *attr)
Bool DMXGetInputCount (Display *dpy, int *input_count)
Bool DMXGetInputAttributes (Display *dpy, int id, DMXInputAttributes *inf)
Bool DMXAddInput (Display *dpy, unsigned int mask, DMXInputAttributes *attr, int *id)
Bool DMXAddBackendInput (Display *dpy, int screen, int sendsCore, int *newId)
Bool DMXAddConsoleInput (Display *dpy, const char *name, int sendsCore, int *newId)
Bool DMXRemoveInput (Display *dpy, int id)
-

Detailed Description

-This file implements the client-side part of the DMX protocol. It can be included in client applications by linking with the libdmx.a library.

Function Documentation

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Bool DMXAddBackendInput Display *  dpy,
int  screen,
int  sendsCore,
int *  newId
-
- - - - - -
-   - - -

-Add backend input (a helper function that calls DMXAddInput).

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Bool DMXAddConsoleInput Display *  dpy,
const char *  name,
int  sendsCore,
int *  newId
-
- - - - - -
-   - - -

-Add console input (a helper function that calls DMXAddInput).

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Bool DMXAddInput Display *  dpy,
unsigned int  mask,
DMXInputAttributes attr,
int *  id
-
- - - - - -
-   - - -

-Add input.

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Bool DMXAddScreen Display *  dpy,
const char *  displayName,
unsigned int  mask,
DMXScreenAttributes attr,
int *  screen
-
- - - - - -
-   - - -

-Add a screen.

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - -
int DMXChangeDesktopAttributes Display *  dpy,
unsigned int  mask,
DMXDesktopAttributes attr
-
- - - - - -
-   - - -

-Change the global bounding box and origin offset.

-Available in DMX Protocol Version 2.0

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
int DMXChangeScreensAttributes Display *  dpy,
int  screen_count,
int *  screens,
int  mask_count,
unsigned int *  masks,
DMXScreenAttributes attrs,
int *  error_screen
-
- - - - - -
-   - - -

-Change geometries and positions of the DMX screen and root windows on the back-end X server.

-

- - - - -
- - - - - - - - - - - - - - - - - - - -
Bool DMXForceWindowCreation Display *  dpy,
Window  window
-
- - - - - -
-   - - -

-The creation of the specified window will be forced.

-Available in DMX Protocol Version 1.2 Reply added in DMX Protocol Version 2.0

-

- - - - -
- - - - - - - - - - - - - - - - - - - -
Bool DMXGetDesktopAttributes Display *  dpy,
DMXDesktopAttributes attr
-
- - - - - -
-   - - -

-If the DMXGetDesktopAttributes protocol request returns information correctly, the information will be placed in attr, and True will be returned. Otherwise, False will be returned.

-Available in DMX Protocol Version 2.0

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - -
Bool DMXGetInputAttributes Display *  dpy,
int  id,
DMXInputAttributes inf
-
- - - - - -
-   - - -

-If the DMXGetInputAttributes protocol request returns information about the input device with the specified id, information about the input device will be placed in inf, and True will be returned. Otherwise, False will be returned.

-Available in DMX Protocol Version 1.1

-

- - - - -
- - - - - - - - - - - - - - - - - - - -
Bool DMXGetInputCount Display *  dpy,
int *  input_count
-
- - - - - -
-   - - -

-If the DMXGetInputCount protocol request returns the input count, the value will be placed in input_count, and True will be returned. Otherwise, False will be returned.

-Available in DMX Protocol Version 1.1

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - -
Bool DMXGetScreenAttributes Display *  dpy,
int  physical_screen,
DMXScreenAttributes attr
-
- - - - - -
-   - - -

-If the DMXGetScreenAttributes protocol request returns information for the specified physical_screen, information about the screen will be placed in attr, and True will be returned. Otherwise, False will be returned.

-Available in DMX Protocol Version 1.0; Modified in Version 2.0

-

- - - - -
- - - - - - - - - - - - - - - - - - - -
Bool DMXGetScreenCount Display *  dpy,
int *  screen_count
-
- - - - - -
-   - - -

-If the DMXGetScreenCount protocol request returns the screen count, the value will be placed in screen_count, and True will be returned. Otherwise, False will be returned.

-Available in DMX Protocol Version 1.0

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Bool DMXGetWindowAttributes Display *  dpy,
Window  window,
int *  screen_count,
int  available_count,
DMXWindowAttributes inf
-
- - - - - -
-   - - -

-If the DMXGetWindowAttributes protocol request returns information about the specified window, the number of screens for which information is available will be returned in screen_count and information about the first available_count of those screens will be placed in inf. Because this call transports a great deal of information over the wire, please call DMXGetScreenCount first, and make sure inf is that large.

-Note that if the specified window has not yet been mapped when DMXGetWindowAttributes is called, then a subsequent XMapWindow call might be buffered in xlib while requests directly to the back-end X servers are processed. This race condition can be solved by calling DMXSync before talking directly to the back-end X servers.

-Available in DMX Protocol Version 1.0, but not working correctly until DMX Protocol Version 1.4

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - -
dmx_extension_info Bool DMXQueryExtension Display *  dpy,
int *  event_basep,
int *  error_basep
-
- - - - - -
-   - - -

-If the server has the DMX extension, the event and error bases will be placed in event_basep and error_basep, and True will be returned. Otherwise, False will be returned.

-Available in DMX Protocol Version 1.0

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Bool DMXQueryVersion Display *  dpy,
int *  majorVersion,
int *  minorVersion,
int *  patchVersion
-
- - - - - -
-   - - -

-If the DMXQueryVersion protocol request returns version information from the server, majorVersion, minorVersion, and patchVersion are filled in with the appropriate information and True is returned. Otherwise, False will be returned.

-Available in DMX Protocol Version 1.0

-

- - - - -
- - - - - - - - - - - - - - - - - - - -
Bool DMXRemoveInput Display *  dpy,
int  id
-
- - - - - -
-   - - -

-Remove an input.

-

- - - - -
- - - - - - - - - - - - - - - - - - - -
Bool DMXRemoveScreen Display *  dpy,
int  screen
-
- - - - - -
-   - - -

-Remove a screen.

-

- - - - -
- - - - - - - - - - -
Bool DMXSync Display *  dpy  ) 
-
- - - - - -
-   - - -

-Flush all pending dmxSync requests in DMX server.

-Available in DMX Protocol Version 1.5

-


-
- - Generated June 29, 2004 for Distributed Multihead X by - doxygen - 1.3.4. - - - - - diff --git a/xorg-server/hw/dmx/doc/html/lnx-keyboard_8c.html b/xorg-server/hw/dmx/doc/html/lnx-keyboard_8c.html index e02182b73..05de129c4 100644 --- a/xorg-server/hw/dmx/doc/html/lnx-keyboard_8c.html +++ b/xorg-server/hw/dmx/doc/html/lnx-keyboard_8c.html @@ -6,497 +6,1244 @@ - - -

lnx-keyboard.c File Reference

#include "dmxinputinit.h"
-#include "lnx-keyboard.h"
-#include "inputstr.h"
-#include "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 "xf86Keymap.h"
-#include <linux/keyboard.h>
- - - - + + +
+

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
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

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
+
+
-

Functions

pointer kbdLinuxCreatePrivate (DeviceIntPtr pKeyboard)
+ + + +
#define CHECKPROC   dmxCheckSpecialProcPtr
+ +

-
void kbdLinuxDestroyPrivate (pointer priv)
+ + + +
#define ENQUEUEPROC   dmxEnqueueProcPtr
+ +

-
void kbdLinuxBell (DevicePtr pDev, int percent, int volume, int pitch, int duration)
+ + + + + + + + +
#define FATAL0( )    dmxLog(dmxFatal,f)
+

+
-void kbdLinuxCtrl (DevicePtr pDev, KeybdCtrl *ctrl) +

Referenced by kbdLinuxActivate(), kbdLinuxGetFreeVTNumber(), and kbdLinuxVTSwitch().

-void kbdLinuxVTPreSwitch (pointer p) +
+
+ +
+
+ + + + + + + + + + + + + + +
#define FATAL1(f,
 )    dmxLog(dmxFatal,f,a)
+
+
-void kbdLinuxVTPostSwitch (pointer p) +

Referenced by kbdLinuxGetFreeVTNumber(), kbdLinuxInit(), kbdLinuxOn(), msLinuxInit(), msLinuxOn(), ps2LinuxInit(), and usbInit().

-int kbdLinuxVTSwitch (pointer p, int vt, void(*switch_return)(pointer), pointer switch_return_data) +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + +
#define FATAL2(f,
a,
 )    dmxLog(dmxFatal,f,a,b)
+
+
-void kbdLinuxInit (DevicePtr pDev) +

Referenced by kbdLinuxOpenVT().

-void kbdLinuxRead (DevicePtr pDev, MOTIONPROC motion, ENQUEUEPROC enqueue, CHECKPROC checkspecial, BLOCK block) +
+
+ +
+
+ + + + +
#define FINALMESSAGE   "\033cDMX terminated."
+
+
-int kbdLinuxOn (DevicePtr pDev) +

Referenced by kbdLinuxCloseConsole().

-void kbdLinuxOff (DevicePtr pDev) +
+
+ + + +
+
+ + + + + + + + + +
#define LOG0( )    dmxLog(dmxDebug,f)
+
+
- -

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).

Function Documentation

-

- - - - -
- + + + +
+
+
- - - - + + + + - - - + + + + + +
void kbdLinuxBell DevicePtr  pDev, #define LOG1(f,
int  percent,  )    dmxLog(dmxDebug,f,a)
+ +
+ +

Referenced by kbdLinuxCloseConsole().

+ +
+ + +
+
+ + + + + + - - - + + - - - + + + + +
#define LOG2(f,
int  volume, a,
int  pitch,  )    dmxLog(dmxDebug,f,a,b)
+
+ +
+ +
+
+ + + + + + + + + + + - - + + - - + + + + +
#define LOG3(f,
a,
int  durationb,
 )    dmxLog(dmxDebug,f,a,b,c)
+
+
+

Referenced by kbdUSBRead(), and usbRead().

+ +
+
+ +
+
+ + + +
#define MESSAGE   "\033c\n\n\nDMX taking input from this console..."
-
- - - - - -
-   - - -

-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").

-

- - - - -
- + +
+ +

Referenced by kbdLinuxOpenConsole().

+ +
+ + +
+
+
- - - - - - + +
pointer kbdLinuxCreatePrivate DeviceIntPtr  pKeyboard  ) #define MOTIONPROC   dmxMotionProcPtr
+ +
+
+ + +
+
+ + + +
#define NUM_AT2LNX   (sizeof(at2lnx) / sizeof(at2lnx[0]))
-
- - - - - -
-   - - -

-Create a private structure for use within this file.

-

- - - - -
- + +
+ +

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

+ +
+
+ - - - - + +
void kbdLinuxCtrl DevicePtr  pDev, typedef struct _myPrivate myPrivate
+
+
+ +
+
+

Function Documentation

+ +
+
+ + + + + + + + + + + + + - - + + - - + + -
static int kbdLinuxActivate (int  fd,
int  vtno,
KeybdCtrl *  ctrlint  setSig 
) [static]
-
- - - - - -
-   - - -

-Set the LEDs.

-

- - - - -
- + + + + +
+
+
+ + + + + + + + + + + + + + + + + + - - - - - - + + + + + + + + + + + + + + + +
void kbdLinuxBell (DevicePtr  pDev,
int  percent,
int  volume,
void kbdLinuxDestroyPrivate pointer  priv  ) 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]
-
- - - - - -
-   - - -

-Destroy a private structure.

-

- - - - -
- + +
+ +

References FINALMESSAGE, GETPRIV, kbdLinuxActivate(), and LOG1.

+ +

Referenced by kbdLinuxOff().

+ +
+ + +
+
+
- - - - + + + + + + + + + + - - + + + - - + + + + + + + + + + + + + -
void kbdLinuxGetInfo DevicePtr  pDev, static void kbdLinuxConvert (DevicePtr  pDev,
unsigned char  scanCode,
DMXLocalInitInfoPtr  infoENQUEUEPROC  enqueue,
CHECKPROC  checkspecial,
BLOCK  block 
) [static]
-
- - - - - -
-   - - -

-Fill the info structure with information needed to initialize pDev.

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + +
void kbdLinuxInit DevicePtr  pDev  ) 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 
)
-
- - - - - -
-   - - -

-Initialize the pDev as a Linux keyboard.

-

- - - - -
- + +
+

Set the LEDs.

+ +

References GETPRIV.

+ +
+ + +
+
+
- - - - - - + + + + + + +
void kbdLinuxOff DevicePtr  pDev  ) void kbdLinuxDestroyPrivate (pointer  priv ) 
+ +
+

Destroy a private structure.

+
+ + +
+
+ + + + + + + + +
static int kbdLinuxGetCurrentVTNumber (int  fd )  [static]
-
- - - - - -
-   - - -

-Turn pDev off (i.e., stop taking input from pDev).

-

- - - - -
- + +
+ +

Referenced by kbdLinuxOpenConsole().

+ +
+ + +
+
+
- - - - - - + + + + + + +
int kbdLinuxOn DevicePtr  pDev  ) static int kbdLinuxGetFreeVTNumber (void  )  [static]
+ +
+ +

References FATAL0, and FATAL1.

+ +

Referenced by kbdLinuxOpenConsole().

+
+ + +
+
+ + + + + + + + + + + + + + + + + +
void kbdLinuxGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  info 
)
-
- - - - - -
-   - - -

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

-

- - - - -
- + + + + +
+
+
- - - - + + + + + + + + + + - - + + + + + +
void kbdLinuxRead DevicePtr  pDev, static void kbdLinuxGetMap (DevicePtr  pDev,
KeySymsPtr  pKeySyms,
MOTIONPROC  motion, CARD8 *  pModMap 
) [static]
+ + + + +
+
+ + + + + + + - - +
void kbdLinuxInit (DevicePtr  pDev )  ENQUEUEPROC  enqueue,
+
+
+

Initialize the pDev as a Linux keyboard.

+ +

References FATAL1, GETPRIV, and kbdLinuxOpenConsole().

+ +
+
+ +
+
+ + + + + + + + + + + + - - + + + +
static int kbdLinuxKeyDown (myPrivate priv,
int  keyCode 
CHECKPROC  checkspecial, ) [static]
+
+
+ +

References _myPrivate::kbdState, and NUM_STATE_ENTRIES.

+ +

Referenced by kbdLinuxConvert(), and kbdUSBConvert().

+ +
+
+ +
+
+ + + + + + + + + + + + - - + + - - + + +
static void kbdLinuxKeyState (myPrivate priv,
int  type,
BLOCK  blockint  keyCode 
) [static]
+
+
+ +

References _myPrivate::kbdState, and NUM_STATE_ENTRIES.

+

Referenced by kbdLinuxConvert().

+ +
+
+ +
+
+ + + + + + + + +
void kbdLinuxOff (DevicePtr  pDev ) 
-
- - - - - -
-   - - -

-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.

-

- - - - -
- + +
+

Turn pDev off (i.e., stop taking input from pDev).

+ +

References GETPRIV, and kbdLinuxCloseConsole().

+ +
+ + +
+
+
- - - - - - + + + + + + +
void kbdLinuxVTPostSwitch pointer  p  ) int kbdLinuxOn (DevicePtr  pDev ) 
+ +
+

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

+ +

References FATAL1, and GETPRIV.

+
+ + +
+
+ + + + + + + + +
static void kbdLinuxOpenConsole (DevicePtr  pDev )  [static]
-
- - - - - -
-   - - -

-Currently unused hook called after returning from a VT switch.

-

- - - - -
- + + + + +
+
+
- - - - - - + + + + + + +
void kbdLinuxVTPreSwitch pointer  p  ) static int kbdLinuxOpenVT (int  vtno )  [static]
+ +
+ +

References FATAL2, and O_NONBLOCK.

+ +

Referenced by kbdLinuxOpenConsole().

+
+ + +
+
+ + + + + + + + +
static int kbdLinuxPrefix0Mapping (unsigned char *  scanCode )  [static]
-
- - - - - -
-   - - -

-Currently unused hook called prior to an VT switch.

-

- - - - -
- + +
+ +

Referenced by kbdLinuxPrefixMapping().

+ +
+ + +
+
+
- - - - + + + + + + + + + - - + + + +
int kbdLinuxVTSwitch pointer  p, static int kbdLinuxPrefixMapping (myPrivate priv,
unsigned char *  scanCode 
int  vt, ) [static]
+ +
+ +

References kbdLinuxPrefix0Mapping(), and _myPrivate::prefix.

+ +

Referenced by kbdLinuxConvert().

+ +
+ + +
+
+ + + + + + + + + + + + - - + + + + + + + + - - + + - - + + +
void kbdLinuxRead (DevicePtr  pDev,
MOTIONPROC  motion,
void(*  switch_return)(pointer), ENQUEUEPROC  enqueue,
CHECKPROC  checkspecial,
pointer  switch_return_dataBLOCK  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]
-
- - - - - -
-   - - -

-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 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]
+
+
+ +
+
+
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 20330c73a..000000000 --- a/xorg-server/hw/dmx/doc/html/lnx-keyboard_8h-source.html +++ /dev/null @@ -1,83 +0,0 @@ - - - - - File Index - - - - - -

lnx-keyboard.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2001 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Rickard E. (Rik) Faith <faith@redhat.com>
-00032  *
-00033  */
-00034 
-00038 #ifndef _LNX_KEYBOARD_H_
-00039 #define _LNX_KEYBOARD_H_
-00040 
-00041 extern pointer kbdLinuxCreatePrivate(DeviceIntPtr pKeyboard);
-00042 extern void    kbdLinuxDestroyPrivate(pointer private);
-00043 
-00044 extern void    kbdLinuxInit(DevicePtr pDev);
-00045 extern void    kbdLinuxGetInfo(DevicePtr pDev, DMXLocalInitInfoPtr info);
-00046 extern int     kbdLinuxOn(DevicePtr pDev);
-00047 extern void    kbdLinuxOff(DevicePtr pDev);
-00048 
-00049 extern void    kbdLinuxVTPreSwitch(pointer p);
-00050 extern void    kbdLinuxVTPostSwitch(pointer p);
-00051 extern int     kbdLinuxVTSwitch(pointer p, int vt,
-00052                                 dmxVTSwitchReturnProcPtr switch_return,
-00053                                 pointer switch_return_data);
-00054 
-00055 extern void    kbdLinuxRead(DevicePtr pDev,
-00056                             dmxMotionProcPtr motion,
-00057                             dmxEnqueueProcPtr enqueue,
-00058                             dmxCheckSpecialProcPtr checkspecial,
-00059                             DMXBlockType block);
-00060 
-00061 extern void    kbdLinuxCtrl(DevicePtr pDev, KeybdCtrl *ctrl);
-00062 extern void    kbdLinuxBell(DevicePtr pDev, int percent,
-00063                             int volume, int pitch, int duration);
-00064 #endif
-

-
- - 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 index 4811cad59..3698b18d7 100644 --- a/xorg-server/hw/dmx/doc/html/lnx-keyboard_8h.html +++ b/xorg-server/hw/dmx/doc/html/lnx-keyboard_8h.html @@ -6,374 +6,380 @@ - - + + +

lnx-keyboard.h File Reference

-

-Go to the source code of this file. - - - - - - - - - - - - - - - - - - - - - - +

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)
void kbdLinuxCtrl (DevicePtr pDev, KeybdCtrl *ctrl)
void kbdLinuxBell (DevicePtr pDev, int percent, int volume, int pitch, int duration)
+ + + + + + + + + + + + +

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

-

- - - - -
- +

Detailed Description

+

Interface to Linux keyboard driver.

+
See also:
lnx-keyboard.c
+

Function Documentation

+ +
+
+
- - - - + + + + + - - - + + + - - - + + + - - - + + + - - - + + - - + + -
void kbdLinuxBell DevicePtr  pDev, void kbdLinuxBell (DevicePtr  pDev,
int  percent, int  percent,
int  volume, int  volume,
int  pitch, int  pitch,
int  durationint  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").

-

-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  ) pointer kbdLinuxCreatePrivate (DeviceIntPtr  pKeyboard ) 
-
- - - - - -
-   - + +
+

Create a private structure for use within this file.

-

-Create a private structure for use within this file.

-

- - - - -
- +

References _myPrivate::fd, and _myPrivate::pKeyboard.

+ + + + +
+
+
- - - - + + + + + - - - + + - - + + -
void kbdLinuxCtrl DevicePtr  pDev, void kbdLinuxCtrl (DevicePtr  pDev,
KeybdCtrl *  ctrlKeybdCtrl *  ctrl 
)
-
- - - - - -
-   - + +
+

Set the LEDs.

-

-Set the LEDs.

-

- - - - -
- +

References GETPRIV.

+ + + + +
+
+
- - - - - - + + + + + + -
void kbdLinuxDestroyPrivate pointer  priv  ) void kbdLinuxDestroyPrivate (pointer  priv ) 
-
- - - - - -
-   - + +
+

Destroy a private structure.

-

-Destroy a private structure.

-

- - - - -
- + + + +
+
+
- - - - + + + + + - - - + + - - + + -
void kbdLinuxGetInfo DevicePtr  pDev, void kbdLinuxGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  infoDMXLocalInitInfoPtr  info 
)
-
- - - - - -
-   - + +
+

Fill the info structure with information needed to initialize pDev.

-

-Fill the info structure with information needed to initialize pDev.

-

- - - - -
- +

References _DMXLocalInitInfo::focusClass, _DMXLocalInitInfo::kbdFeedbackClass, kbdLinuxGetMap(), _DMXLocalInitInfo::keyboard, _DMXLocalInitInfo::keyClass, _DMXLocalInitInfo::keySyms, and _DMXLocalInitInfo::modMap.

+ + + + +
+
+
- - - - - - + + + + + + -
void kbdLinuxInit DevicePtr  pDev  ) void kbdLinuxInit (DevicePtr  pDev ) 
-
- - - - - -
-   - + +
+

Initialize the pDev as a Linux keyboard.

-

-Initialize the pDev as a Linux keyboard.

-

- - - - -
- +

References FATAL1, GETPRIV, and kbdLinuxOpenConsole().

+ + + + +
+
+
- - - - - - + + + + + + -
void kbdLinuxOff DevicePtr  pDev  ) void kbdLinuxOff (DevicePtr  pDev ) 
-
- - - - - -
-   - + +
+

Turn pDev off (i.e., stop taking input from pDev).

-

-Turn pDev off (i.e., stop taking input from pDev).

-

- - - - -
- +

References GETPRIV, and kbdLinuxCloseConsole().

+ + + + +
+
+
- - - - - - + + + + + + -
int kbdLinuxOn DevicePtr  pDev  ) int kbdLinuxOn (DevicePtr  pDev ) 
-
- - - - - -
-   - + +
+

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

-

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

-

- - - - -
- +

References FATAL1, and GETPRIV.

+ + + + +
+
+
- - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void kbdLinuxVTPostSwitch pointer  p  ) 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.

-

-Currently unused hook called after returning from a VT switch.

-

- - - - -
- + + + +
+
+
- - - - - - + + + + + + +
void kbdLinuxVTPreSwitch pointer  p  ) 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 
)
-
- - - - - -
-   - + +
-

-Currently unused hook called prior to an VT switch.

+

+ +
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 new file mode 100644 index 000000000..d29a1a785 --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/lnx-keyboard_8h_source.html @@ -0,0 +1,96 @@ + + + + + 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 index e77e562a4..25ba6260a 100644 --- a/xorg-server/hw/dmx/doc/html/lnx-ms_8c.html +++ b/xorg-server/hw/dmx/doc/html/lnx-ms_8c.html @@ -6,338 +6,706 @@ - - -

lnx-ms.c File Reference

#include "inputstr.h"
-#include "Xos.h"
-#include <errno.h>
-#include <termios.h>
-#include "dmxinputinit.h"
-#include "lnx-ms.h"
- - - - + + +
+

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
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

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
+
+
-

Functions

-void msLinuxRead (DevicePtr pDev, MOTIONPROC motion, ENQUEUEPROC enqueue, CHECKPROC checkspecial, BLOCK block) +
+
+ +
+
+ + + + +
#define CHECKPROC   dmxCheckSpecialProcPtr
+
+
-void msLinuxInit (DevicePtr pDev) +
+
+ +
+
+ + + + +
#define ENQUEUEPROC   dmxEnqueueProcPtr
+
+
-int msLinuxOn (DevicePtr pDev) +
+
+ +
+
+ + + + + + + + + +
#define FATAL0( )    dmxLog(dmxFatal,f)
+
+
-void msLinuxOff (DevicePtr pDev) +
+
+ +
+
+ + + + + + + + + + + + + + +
#define FATAL1(f,
 )    dmxLog(dmxFatal,f,a)
+
+
-void msLinuxVTPreSwitch (pointer p) +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + +
#define FATAL2(f,
a,
 )    dmxLog(dmxFatal,f,a,b)
+
+
-void msLinuxVTPostSwitch (pointer p) +
+
+ +
+
+ + + + +
#define GETPRIV
+
+
+Value:
myPrivate *priv                            \
+                      = ((DMXLocalInputInfoPtr)(pDev->devicePrivate))->private
+
+
+
+ +
+
+ + + + + + + + + +
#define LOG0( )    dmxLog(dmxDebug,f)
+
+
-pointer msLinuxCreatePrivate (DeviceIntPtr pMouse) +
+
+ +
+
+ + + + + + + + + + + + + + +
#define LOG1(f,
 )    dmxLog(dmxDebug,f,a)
+
+
-void msLinuxDestroyPrivate (pointer priv) +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + +
#define LOG2(f,
a,
 )    dmxLog(dmxDebug,f,a,b)
+
+
-void msLinuxGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info) +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
#define LOG3(f,
a,
b,
 )    dmxLog(dmxDebug,f,a,b,c)
+
+
- -

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).

Function Documentation

-

- - - - -
- - - - - - - - + + + +
+
+
pointer msLinuxCreatePrivate DeviceIntPtr  pMouse  ) 
+ + +
#define MOTIONPROC   dmxMotionProcPtr
+ +
+
+ + +
+
+ + + + + + + + +
#define PRESS( ) 
-
- - - - - -
-   - - -

-Create a private structure for use within this file.

-

- - - - -
- + +
+Value:
do {                                                 \
+        enqueue(pDev, ButtonPress, 0, 0, NULL, block);   \
+    } while (0)
+
+

Referenced by msLinuxButton(), ps2LinuxButton(), and usbRead().

+ +
+ + +
+
+
- - - - - - + + + + + + +
void msLinuxDestroyPrivate pointer  priv  ) #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
-
- - - - - -
-   - - -

-Destroy a private structure.

-

- - - - -
- + +
+ +
+ +

Function Documentation

+ +
+
+
- - - - + + + + + + + + + + + + + + + + - - + + - - + + +
void msLinuxGetInfo DevicePtr  pDev, static void msLinuxButton (DevicePtr  pDev,
ENQUEUEPROC  enqueue,
int  buttons,
DMXLocalInitInfoPtr  infoBLOCK  block 
) [static]
+ +
+ +

References GETPRIV, PRESS, and RELEASE.

+ +

Referenced by msLinuxRead().

+
+ + +
+
+ + + + + + + + +
pointer msLinuxCreatePrivate (DeviceIntPtr  pMouse ) 
-
- - - - - -
-   - - -

-Fill the info structure with information needed to initialize pDev.

-

- - - - -
- + +
+

Create a private structure for use within this file.

+ +

References _myPrivate::fd, and _myPrivate::pMouse.

+ +
+ + +
+
+
- - - - - - + + + + + + +
void msLinuxInit DevicePtr  pDev  ) void msLinuxDestroyPrivate (pointer  priv ) 
+ +
+

Destroy a private structure.

+
+ + +
+
+ + + + + + + + + + + + + + + + + +
void msLinuxGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  info 
)
-
- - - - - -
-   - - -

-Initialize pDev.

-

- - - - -
- + + + + +
+
+
+ + + + + + + + + + + + + + + + + + - - - - - - + + + +
static void msLinuxGetMap (DevicePtr  pDev,
unsigned char *  map,
int *  nButtons 
void msLinuxOff DevicePtr  pDev  ) ) [static]
+ +
+

Referenced by msLinuxGetInfo().

+ +
+ + +
+
+ + + + + + + + +
void msLinuxInit (DevicePtr  pDev ) 
-
- - - - - -
-   - - -

-Turn pDev off (i.e., stop taking input from pDev).

-

- - - - -
- + +
+

Initialize pDev.

+ +

References FATAL1, GETPRIV, and O_NONBLOCK.

+ +

Referenced by msLinuxOn().

+ +
+ + +
+
+
- - - - - - + + + + + + +
int msLinuxOn DevicePtr  pDev  ) 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).

-

- - - - -
- + +
+

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

+ +

References FATAL1, GETPRIV, and msLinuxInit().

+ +
+ + +
+
+
- - - - + + + + + + + + + + - - + + + + + + + + - - + + + + + +
void msLinuxRead DevicePtr  pDev, void msLinuxRead (DevicePtr  pDev,
MOTIONPROC  motion,
MOTIONPROC  motion, ENQUEUEPROC  enqueue,
CHECKPROC  checkspecial,
ENQUEUEPROC  enqueue, 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,
CHECKPROC  checkspecial, unsigned char *  buf,
int  len,
BLOCK  blockint  min 
) [static]
-
- - - - - -
-   - - -

-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.

-

- - - - -
- + +
+ +

Referenced by msLinuxRead().

+ +
+ + +
+
+
- - - - - - + + + + + + -
void msLinuxVTPostSwitch pointer  p  ) void msLinuxVTPostSwitch (pointer  p ) 
-
- - - - - -
-   - - -

-Currently unused hook called after returning from a VT switch.

-

- - - - -
- + +
+

Currently unused hook called after returning from a VT switch.

+ +
+ + +
+
+
- - - - - - + + + + + + -
void msLinuxVTPreSwitch pointer  p  ) void msLinuxVTPreSwitch (pointer  p ) 
-
- - - - - -
-   - - -

-Currently unused hook called prior to an VT switch.

+

+
+

Currently unused hook called prior to an VT switch.

+ +
+
+
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 c900c32b2..000000000 --- a/xorg-server/hw/dmx/doc/html/lnx-ms_8h-source.html +++ /dev/null @@ -1,75 +0,0 @@ - - - - - File Index - - - - - -

lnx-ms.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2001 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Rickard E. (Rik) Faith <faith@redhat.com>
-00032  *
-00033  */
-00034 
-00038 #ifndef _LNX_MS_H_
-00039 #define _LNX_MS_H_
-00040 
-00041 extern pointer msLinuxCreatePrivate(DeviceIntPtr pMouse);
-00042 extern void    msLinuxDestroyPrivate(pointer priv);
-00043 extern void    msLinuxRead(DevicePtr pDev,
-00044                            dmxMotionProcPtr motion,
-00045                            dmxEnqueueProcPtr enqueue,
-00046                            dmxCheckSpecialProcPtr checkspecial,
-00047                            DMXBlockType block);
-00048 extern void    msLinuxInit(DevicePtr pDev);
-00049 extern void    msLinuxGetInfo(DevicePtr pDev, DMXLocalInitInfoPtr info);
-00050 extern int     msLinuxOn(DevicePtr pDev);
-00051 extern void    msLinuxOff(DevicePtr pDev);
-00052 extern void    msLinuxCtrl(DevicePtr pDev, PtrCtrl *ctrl);
-00053 extern void    msLinuxVTPreSwitch(pointer p);
-00054 extern void    msLinuxVTPostSwitch(pointer p);
-00055 
-00056 #endif
-

-
- - 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 index 3bd06c193..0f926cbb5 100644 --- a/xorg-server/hw/dmx/doc/html/lnx-ms_8h.html +++ b/xorg-server/hw/dmx/doc/html/lnx-ms_8h.html @@ -6,274 +6,288 @@ - - + + +

lnx-ms.h File Reference

-

-Go to the source code of this file. - - - - - - - - - - - - - - - - - - +

Go to the source code of this file.

+

Functions

pointer msLinuxCreatePrivate (DeviceIntPtr pMouse)
void msLinuxDestroyPrivate (pointer priv)
void msLinuxInit (DevicePtr pDev)
void msLinuxGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info)
int msLinuxOn (DevicePtr pDev)
void msLinuxOff (DevicePtr pDev)
void msLinuxVTPreSwitch (pointer p)
void msLinuxVTPostSwitch (pointer p)
+ + + + + + + + + + +

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

-

- - - - -
- +

Detailed Description

+

Interface to Linux MS mouse driver.

+
See also:
lnx-ms.c
+

Function Documentation

+ +
+
+
- - - - - - + + + + + + -
pointer msLinuxCreatePrivate DeviceIntPtr  pMouse  ) pointer msLinuxCreatePrivate (DeviceIntPtr  pMouse ) 
-
- - - - - -
-   - + +
+

Create a private structure for use within this file.

-

-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  ) )
+ +
+
+ + +
+
+ + + + + + + + +
void msLinuxDestroyPrivate (pointer  priv ) 
-
- - - - - -
-   - + +
+

Destroy a private structure.

-

-Destroy a private structure.

-

- - - - -
- + + + +
+
+
- - - - + + + + + - - - + + - - + + -
void msLinuxGetInfo DevicePtr  pDev, void msLinuxGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  infoDMXLocalInitInfoPtr  info 
)
-
- - - - - -
-   - + +
+

Fill the info structure with information needed to initialize pDev.

-

-Fill the info structure with information needed to initialize pDev.

-

- - - - -
- +

References _DMXLocalInitInfo::buttonClass, _DMXLocalInitInfo::map, _DMXLocalInitInfo::maxres, _DMXLocalInitInfo::maxval, _DMXLocalInitInfo::minres, _DMXLocalInitInfo::minval, msLinuxGetMap(), _DMXLocalInitInfo::numButtons, _DMXLocalInitInfo::numRelAxes, _DMXLocalInitInfo::ptrFeedbackClass, _DMXLocalInitInfo::res, and _DMXLocalInitInfo::valuatorClass.

+ + + + +
+
+
- - - - - - + + + + + + -
void msLinuxInit DevicePtr  pDev  ) void msLinuxInit (DevicePtr  pDev ) 
-
- - - - - -
-   - + +
+

Initialize pDev.

-

-Initialize pDev.

-

- - - - -
- +

References FATAL1, GETPRIV, and O_NONBLOCK.

+ +

Referenced by msLinuxOn().

+ + + + +
+
+
- - - - - - + + + + + + -
void msLinuxOff DevicePtr  pDev  ) void msLinuxOff (DevicePtr  pDev ) 
-
- - - - - -
-   - + +
+

Turn pDev off (i.e., stop taking input from pDev).

-

-Turn pDev off (i.e., stop taking input from pDev).

-

- - - - -
- +

References GETPRIV.

+ + + + +
+
+
- - - - - - + + + + + + -
int msLinuxOn DevicePtr  pDev  ) int msLinuxOn (DevicePtr  pDev ) 
-
- - - - - -
-   - + +
+

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

-

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

-

- - - - -
- +

References FATAL1, GETPRIV, and msLinuxInit().

+ + + + +
+
+
- - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
void msLinuxVTPostSwitch pointer  p  ) void msLinuxRead (DevicePtr  pDev,
dmxMotionProcPtr  motion,
dmxEnqueueProcPtr  enqueue,
dmxCheckSpecialProcPtr  checkspecial,
DMXBlockType  block 
)
-
- - - - - -
-   - + +
-

-Currently unused hook called after returning from a VT switch.

-

- - - - -
- + + + +
+
+
- - - - - - + + + + + + +
void msLinuxVTPreSwitch pointer  p  ) 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.

-

-Currently unused hook called prior to an VT switch.

+

+ +
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 new file mode 100644 index 000000000..9fcb934a0 --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/lnx-ms_8h_source.html @@ -0,0 +1,88 @@ + + + + + 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 index f0e44c742..da61a904b 100644 --- a/xorg-server/hw/dmx/doc/html/lnx-ps2_8c.html +++ b/xorg-server/hw/dmx/doc/html/lnx-ps2_8c.html @@ -6,338 +6,702 @@ - - -

lnx-ps2.c File Reference

#include "inputstr.h"
-#include "Xos.h"
-#include <errno.h>
-#include <termios.h>
-#include "dmxinputinit.h"
-#include "lnx-ps2.h"
- - - - + + +
+

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
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

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
+
+
-

Functions

-void ps2LinuxRead (DevicePtr pDev, MOTIONPROC motion, ENQUEUEPROC enqueue, CHECKPROC checkspecial, BLOCK block) +
+
+ +
+
+ + + + +
#define CHECKPROC   dmxCheckSpecialProcPtr
+
+
-void ps2LinuxInit (DevicePtr pDev) +
+
+ +
+
+ + + + +
#define ENQUEUEPROC   dmxEnqueueProcPtr
+
+
-int ps2LinuxOn (DevicePtr pDev) +
+
+ +
+
+ + + + + + + + + +
#define FATAL0( )    dmxLog(dmxFatal,f)
+
+
-void ps2LinuxOff (DevicePtr pDev) +
+
+ +
+
+ + + + + + + + + + + + + + +
#define FATAL1(f,
 )    dmxLog(dmxFatal,f,a)
+
+
-void ps2LinuxVTPreSwitch (pointer p) +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + +
#define FATAL2(f,
a,
 )    dmxLog(dmxFatal,f,a,b)
+
+
-void ps2LinuxVTPostSwitch (pointer p) +
+
+ +
+
+ + + + +
#define GETPRIV
+
+
+Value:
myPrivate *priv                            \
+                      = ((DMXLocalInputInfoPtr)(pDev->devicePrivate))->private
+
+
+
+ +
+
+ + + + + + + + + +
#define LOG0( )    dmxLog(dmxDebug,f)
+
+
-pointer ps2LinuxCreatePrivate (DeviceIntPtr pMouse) +
+
+ +
+
+ + + + + + + + + + + + + + +
#define LOG1(f,
 )    dmxLog(dmxDebug,f,a)
+
+
-void ps2LinuxDestroyPrivate (pointer priv) +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + +
#define LOG2(f,
a,
 )    dmxLog(dmxDebug,f,a,b)
+
+
-void ps2LinuxGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info) +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
#define LOG3(f,
a,
b,
 )    dmxLog(dmxDebug,f,a,b,c)
+
+
- -

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).

Function Documentation

-

- - - - -
- - - - - - - - + + + +
+
+
pointer ps2LinuxCreatePrivate DeviceIntPtr  pMouse  ) 
+ + +
#define MOTIONPROC   dmxMotionProcPtr
+ +
+
+ + +
+
+ + + + + + + + +
#define PRESS( ) 
-
- - - - - -
-   - - -

-Create a private structure for use within this file.

-

- - - - -
- + +
+Value:
do {                                                 \
+        enqueue(pDev, ButtonPress, 0, 0, NULL, block);   \
+    } while (0)
+
+
+ + +
+
+
- - - - - - + + + + + + -
void ps2LinuxDestroyPrivate pointer  priv  ) #define RELEASE( ) 
-
- - - - - -
-   - - -

-Destroy a private structure.

-

- - - - -
- + +
+Value:
do {                                                 \
+        enqueue(pDev, ButtonRelease, 0, 0, NULL, block); \
+    } while (0)
+
+
+ +

Typedef Documentation

+ +
+
+
+ + + +
typedef struct _myPrivate myPrivate
+ +
+ +
+ +

Function Documentation

+ +
+
+ - - - - + + + + + + + + + + + + + + + + - - + + - - + + +
void ps2LinuxGetInfo DevicePtr  pDev, static void ps2LinuxButton (DevicePtr  pDev,
ENQUEUEPROC  enqueue,
int  buttons,
DMXLocalInitInfoPtr  infoBLOCK  block 
) [static]
+
+
+ +

References GETPRIV, PRESS, and RELEASE.

+ +

Referenced by ps2LinuxRead().

+
+
+ +
+
+ + + + + + + + +
pointer ps2LinuxCreatePrivate (DeviceIntPtr  pMouse ) 
-
- - - - - -
-   - - -

-Fill the info structure with information needed to initialize pDev.

-

- - - - -
- + +
+

Create a private structure for use within this file.

+ +

References _myPrivate::fd, and _myPrivate::pMouse.

+ +
+ + +
+
+
- - - - - - + + + + + + +
void ps2LinuxInit DevicePtr  pDev  ) void ps2LinuxDestroyPrivate (pointer  priv ) 
+ +
+

Destroy a private structure.

+
+ + +
+
+ + + + + + + + + + + + + + + + + +
void ps2LinuxGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  info 
)
-
- - - - - -
-   - - -

-Initialize pDev.

-

- - - - -
- + + + + +
+
+
+ + + + + + + + + + + + + + + + + + - - - - - - + + + +
static void ps2LinuxGetMap (DevicePtr  pDev,
unsigned char *  map,
int *  nButtons 
void ps2LinuxOff DevicePtr  pDev  ) ) [static]
+ +
+

Referenced by ps2LinuxGetInfo().

+ +
+ + +
+
+ + + + + + + + +
void ps2LinuxInit (DevicePtr  pDev ) 
-
- - - - - -
-   - - -

-Turn pDev off (i.e., stop taking input from pDev).

-

- - - - -
- + +
+

Initialize pDev.

+ +

References FATAL1, GETPRIV, and O_NONBLOCK.

+ +

Referenced by ps2LinuxOn().

+ +
+ + +
+
+
- - - - - - + + + + + + +
int ps2LinuxOn DevicePtr  pDev  ) 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).

-

- - - - -
- + +
+

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

+ +

References GETPRIV, and ps2LinuxInit().

+ +
+ + +
+
+
- - - - + + + + + + + + + + - - + + + + + + + + - - + + + + + +
void ps2LinuxRead DevicePtr  pDev, void ps2LinuxRead (DevicePtr  pDev,
MOTIONPROC  motion,
MOTIONPROC  motion, ENQUEUEPROC  enqueue,
CHECKPROC  checkspecial,
ENQUEUEPROC  enqueue, 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,
CHECKPROC  checkspecial, unsigned char *  buf,
int  len,
BLOCK  blockint  min 
) [static]
-
- - - - - -
-   - - -

-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.

-

- - - - -
- + +
+ +

Referenced by ps2LinuxRead().

+ +
+ + +
+
+
- - - - - - + + + + + + -
void ps2LinuxVTPostSwitch pointer  p  ) void ps2LinuxVTPostSwitch (pointer  p ) 
-
- - - - - -
-   - - -

-Currently unused hook called after returning from a VT switch.

-

- - - - -
- + +
+

Currently unused hook called after returning from a VT switch.

+ +
+ + +
+
+
- - - - - - + + + + + + -
void ps2LinuxVTPreSwitch pointer  p  ) void ps2LinuxVTPreSwitch (pointer  p ) 
-
- - - - - -
-   - - -

-Currently unused hook called prior to an VT switch.

+

+
+

Currently unused hook called prior to an VT switch.

+ +
+
+
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 f4f76a04e..000000000 --- a/xorg-server/hw/dmx/doc/html/lnx-ps2_8h-source.html +++ /dev/null @@ -1,75 +0,0 @@ - - - - - File Index - - - - - -

lnx-ps2.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2001 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Rickard E. (Rik) Faith <faith@redhat.com>
-00032  *
-00033  */
-00034 
-00038 #ifndef _LNX_PS2_H_
-00039 #define _LNX_PS2_H_
-00040 
-00041 extern pointer ps2LinuxCreatePrivate(DeviceIntPtr pMouse);
-00042 extern void    ps2LinuxDestroyPrivate(pointer priv);
-00043 extern void    ps2LinuxRead(DevicePtr pDev,
-00044                             dmxMotionProcPtr motion,
-00045                             dmxEnqueueProcPtr enqueue,
-00046                             dmxCheckSpecialProcPtr checkspecial,
-00047                             DMXBlockType block);
-00048 extern void    ps2LinuxInit(DevicePtr pDev);
-00049 extern void    ps2LinuxGetInfo(DevicePtr pDev, DMXLocalInitInfoPtr info);
-00050 extern int     ps2LinuxOn(DevicePtr pDev);
-00051 extern void    ps2LinuxOff(DevicePtr pDev);
-00052 extern void    ps2LinuxCtrl(DevicePtr pDev, PtrCtrl *ctrl);
-00053 extern void    ps2LinuxVTPreSwitch(pointer p);
-00054 extern void    ps2LinuxVTPostSwitch(pointer p);
-00055 
-00056 #endif
-

-
- - 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 index 2723f9c60..0b86b1c4d 100644 --- a/xorg-server/hw/dmx/doc/html/lnx-ps2_8h.html +++ b/xorg-server/hw/dmx/doc/html/lnx-ps2_8h.html @@ -6,274 +6,288 @@ - - + + +

lnx-ps2.h File Reference

-

-Go to the source code of this file. - - - - - - - - - - - - - - - - - - +

Go to the source code of this file.

+

Functions

pointer ps2LinuxCreatePrivate (DeviceIntPtr pMouse)
void ps2LinuxDestroyPrivate (pointer priv)
void ps2LinuxInit (DevicePtr pDev)
void ps2LinuxGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info)
int ps2LinuxOn (DevicePtr pDev)
void ps2LinuxOff (DevicePtr pDev)
void ps2LinuxVTPreSwitch (pointer p)
void ps2LinuxVTPostSwitch (pointer p)
+ + + + + + + + + + +

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

-

- - - - -
- +

Detailed Description

+

Interface to Linux PS/2 mouse driver.

+
See also:
lnx-ps2.c
+

Function Documentation

+ +
+
+
- - - - - - + + + + + + -
pointer ps2LinuxCreatePrivate DeviceIntPtr  pMouse  ) pointer ps2LinuxCreatePrivate (DeviceIntPtr  pMouse ) 
-
- - - - - -
-   - + +
+

Create a private structure for use within this file.

-

-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  ) )
+ +
+
+ + +
+
+ + + + + + + + +
void ps2LinuxDestroyPrivate (pointer  priv ) 
-
- - - - - -
-   - + +
+

Destroy a private structure.

-

-Destroy a private structure.

-

- - - - -
- + + + +
+
+
- - - - + + + + + - - - + + - - + + -
void ps2LinuxGetInfo DevicePtr  pDev, void ps2LinuxGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  infoDMXLocalInitInfoPtr  info 
)
-
- - - - - -
-   - + +
+

Fill the info structure with information needed to initialize pDev.

-

-Fill the info structure with information needed to initialize pDev.

-

- - - - -
- +

References _DMXLocalInitInfo::buttonClass, _DMXLocalInitInfo::map, _DMXLocalInitInfo::maxres, _DMXLocalInitInfo::maxval, _DMXLocalInitInfo::minres, _DMXLocalInitInfo::minval, _DMXLocalInitInfo::numButtons, _DMXLocalInitInfo::numRelAxes, ps2LinuxGetMap(), _DMXLocalInitInfo::ptrFeedbackClass, _DMXLocalInitInfo::res, and _DMXLocalInitInfo::valuatorClass.

+ + + + +
+
+
- - - - - - + + + + + + -
void ps2LinuxInit DevicePtr  pDev  ) void ps2LinuxInit (DevicePtr  pDev ) 
-
- - - - - -
-   - + +
+

Initialize pDev.

-

-Initialize pDev.

-

- - - - -
- +

References FATAL1, GETPRIV, and O_NONBLOCK.

+ +

Referenced by ps2LinuxOn().

+ + + + +
+
+
- - - - - - + + + + + + -
void ps2LinuxOff DevicePtr  pDev  ) void ps2LinuxOff (DevicePtr  pDev ) 
-
- - - - - -
-   - + +
+

Turn pDev off (i.e., stop taking input from pDev).

-

-Turn pDev off (i.e., stop taking input from pDev).

-

- - - - -
- +

References GETPRIV.

+ + + + +
+
+
- - - - - - + + + + + + -
int ps2LinuxOn DevicePtr  pDev  ) int ps2LinuxOn (DevicePtr  pDev ) 
-
- - - - - -
-   - + +
+

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

-

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

-

- - - - -
- +

References GETPRIV, and ps2LinuxInit().

+ + + + +
+
+
- - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
void ps2LinuxVTPostSwitch pointer  p  ) void ps2LinuxRead (DevicePtr  pDev,
dmxMotionProcPtr  motion,
dmxEnqueueProcPtr  enqueue,
dmxCheckSpecialProcPtr  checkspecial,
DMXBlockType  block 
)
-
- - - - - -
-   - + +
-

-Currently unused hook called after returning from a VT switch.

-

- - - - -
- + + + +
+
+
- - - - - - + + + + + + +
void ps2LinuxVTPreSwitch pointer  p  ) 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.

-

-Currently unused hook called prior to an VT switch.

+

+ +
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 new file mode 100644 index 000000000..5cc89aadc --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/lnx-ps2_8h_source.html @@ -0,0 +1,88 @@ + + + + + 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 index 86ee52bea..8dd9c3b2c 100644 --- a/xorg-server/hw/dmx/doc/html/main.html +++ b/xorg-server/hw/dmx/doc/html/main.html @@ -6,12 +6,24 @@ - - -

Distributed Multihead X Documentation

-

-

dmx-1-2-20040604 and later

+ + +
+

Distributed Multihead X Documentation

dmx-1-2-20040604 and later

+

diff --git a/xorg-server/hw/dmx/doc/html/programs_2Xserver_2Xext_2dmx_8c.html b/xorg-server/hw/dmx/doc/html/programs_2Xserver_2Xext_2dmx_8c.html deleted file mode 100644 index d9fefed76..000000000 --- a/xorg-server/hw/dmx/doc/html/programs_2Xserver_2Xext_2dmx_8c.html +++ /dev/null @@ -1,71 +0,0 @@ - - - - - File Index - - - - - -

dmx.c File Reference

#include "X.h"
-#include "Xproto.h"
-#include "misc.h"
-#include "os.h"
-#include "dixstruct.h"
-#include "extnsionst.h"
-#include "opaque.h"
-#include "dmxextension.h"
-#include "dmxproto.h"
-#include "dmxext.h"
- - - - - -

Functions

void DMXExtensionInit (void)
-

Detailed Description

-This file implements the server-side part of the DMX protocol. A vector of fucntions is provided at extension initialization time, so most all of the useful functions in this file are declared static and do not appear in the doxygen documentation.

-Much of the low-level work is done by functions in #dmxextension.c

-Please see the Client-to-Server DMX Extension to the X Protocol document for details about the protocol.


Function Documentation

-

- - - - -
- - - - - - - - - - -
void DMXExtensionInit void   ) 
-
- - - - - -
-   - - -

-Initialize the extension.

-


-
- - 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 index 5e1929147..1c3094f47 100644 --- a/xorg-server/hw/dmx/doc/html/structDMXConfigCmdStruct.html +++ b/xorg-server/hw/dmx/doc/html/structDMXConfigCmdStruct.html @@ -6,16 +6,114 @@ - - -

DMXConfigCmdStruct Struct Reference

- + + +
+

DMXConfigCmdStruct Struct Reference

+ + + + + +

Data Fields

const char * filename
const char * config
DMXConfigListdisplays
DMXConfigListinputs
DMXConfigListxinputs
-

Detailed Description

-This stucture stores the parsed configuration information. -

-


The documentation for this struct was generated from the following file: +

Detailed Description

+

This stucture stores the parsed configuration information.

+

Field Documentation

+ + + + + + + + + + +
The documentation for this struct was generated from the following file: +
diff --git a/xorg-server/hw/dmx/doc/html/structDMXConfigListStruct.html b/xorg-server/hw/dmx/doc/html/structDMXConfigListStruct.html index ca55fcce3..8d5fc6703 100644 --- a/xorg-server/hw/dmx/doc/html/structDMXConfigListStruct.html +++ b/xorg-server/hw/dmx/doc/html/structDMXConfigListStruct.html @@ -6,16 +6,66 @@ - - -

DMXConfigListStruct Struct Reference

- + + +
+

DMXConfigListStruct Struct Reference

+ + +

Data Fields

const char * name
struct DMXConfigListStructnext
-

Detailed Description

-Stores lists of configuration information. -

-


The documentation for this struct was generated from the following file: +

Detailed Description

+

Stores lists of configuration information.

+

Field Documentation

+ + + + +
The documentation for this struct was generated from the following file: +
diff --git a/xorg-server/hw/dmx/doc/html/structDMXDesktopAttributes.html b/xorg-server/hw/dmx/doc/html/structDMXDesktopAttributes.html deleted file mode 100644 index ed10c039b..000000000 --- a/xorg-server/hw/dmx/doc/html/structDMXDesktopAttributes.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - File Index - - - - - -

DMXDesktopAttributes Struct Reference

#include <dmxext.h> -

- - -
-


Detailed Description

-Client-library desktop information structure, returned by DMXGetDesktopAttributes. -

-


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 index ea37ca26d..fc522c688 100644 --- a/xorg-server/hw/dmx/doc/html/structDMXDesktopAttributesRec.html +++ b/xorg-server/hw/dmx/doc/html/structDMXDesktopAttributesRec.html @@ -6,18 +6,100 @@ - - -

DMXDesktopAttributesRec Struct Reference

#include <dmxextension.h> -

- - + + +
+

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. -

-


The documentation for this struct was generated from the following file: +

Detailed Description

+

Desktop attributes. Used by ProcDMXGetDesktopAttributes and ProcDMXChangeDesktopAttributes.

+

Field Documentation

+ + + + + + + + +
The documentation for this struct was generated from the following file: +
diff --git a/xorg-server/hw/dmx/doc/html/structDMXInputAttributes.html b/xorg-server/hw/dmx/doc/html/structDMXInputAttributes.html deleted file mode 100644 index 6573b9efc..000000000 --- a/xorg-server/hw/dmx/doc/html/structDMXInputAttributes.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - File Index - - - - - -

DMXInputAttributes Struct Reference

#include <dmxext.h> -

- - -
-


Detailed Description

-Client-library input information structure, returned by DMXGetInputAttributes. -

-


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 index 9e5ee05cf..8bfe84b1d 100644 --- a/xorg-server/hw/dmx/doc/html/structDMXInputAttributesRec.html +++ b/xorg-server/hw/dmx/doc/html/structDMXInputAttributesRec.html @@ -6,18 +6,148 @@ - - -

DMXInputAttributesRec Struct Reference

#include <dmxextension.h> -

- - + + +
+

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. -

-


The documentation for this struct was generated from the following file: +

Detailed Description

+

Input attributes. Used by ProcDMXGetInputAttributes.

+

Field Documentation

+ + + + + + + + + + + + + + +
The documentation for this struct was generated from the following file: +
diff --git a/xorg-server/hw/dmx/doc/html/structDMXScreenAttributes.html b/xorg-server/hw/dmx/doc/html/structDMXScreenAttributes.html deleted file mode 100644 index 708d4c3cf..000000000 --- a/xorg-server/hw/dmx/doc/html/structDMXScreenAttributes.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - File Index - - - - - -

DMXScreenAttributes Struct Reference

#include <dmxext.h> -

- - -
-


Detailed Description

-Client-library screen information structure, returned by DMXGetScreenAttributes. -

-


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 index 595b4aee6..ee2faa6ee 100644 --- a/xorg-server/hw/dmx/doc/html/structDMXScreenAttributesRec.html +++ b/xorg-server/hw/dmx/doc/html/structDMXScreenAttributesRec.html @@ -6,18 +6,228 @@ - - -

DMXScreenAttributesRec Struct Reference

#include <dmxextension.h> -

- - + + +
+

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 #ProcDMXChangeScreenAttributes. -

-


The documentation for this struct was generated from the following file: +

Detailed Description

+

Screen attributes. Used by ProcDMXGetScreenAttributes and ProcDMXChangeScreensAttributes.

+

Field Documentation

+ + + + + + + + + + + + + + + + + + + + + + + + +
The documentation for this struct was generated from the following file: +
diff --git a/xorg-server/hw/dmx/doc/html/structDMXWindowAttributes.html b/xorg-server/hw/dmx/doc/html/structDMXWindowAttributes.html deleted file mode 100644 index 18c427819..000000000 --- a/xorg-server/hw/dmx/doc/html/structDMXWindowAttributes.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - File Index - - - - - -

DMXWindowAttributes Struct Reference

#include <dmxext.h> -

- - -
-


Detailed Description

-Client-library window information structure, returned by DMXGetWindowAttributes. -

-


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 index a18b883e6..c35cfff52 100644 --- a/xorg-server/hw/dmx/doc/html/structDMXWindowAttributesRec.html +++ b/xorg-server/hw/dmx/doc/html/structDMXWindowAttributesRec.html @@ -6,18 +6,100 @@ - - -

DMXWindowAttributesRec Struct Reference

#include <dmxextension.h> -

- - + + +
+

DMXWindowAttributesRec Struct Reference

+

#include <dmxextension.h>

+
+ + + + +

Data Fields

int screen
Window window
xRectangle pos
xRectangle vis
-


Detailed Description

-Window attributes. Used by #ProcDMXGetWidowAttributes. -

-


The documentation for this struct was generated from the following file: +

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: +
diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXConfigComment.html b/xorg-server/hw/dmx/doc/html/struct__DMXConfigComment.html index be011e397..ed84f96bb 100644 --- a/xorg-server/hw/dmx/doc/html/struct__DMXConfigComment.html +++ b/xorg-server/hw/dmx/doc/html/struct__DMXConfigComment.html @@ -6,18 +6,84 @@ - - -

_DMXConfigComment Struct Reference

#include <dmxparse.h> -

- - + + +
+

_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. -

-


The documentation for this struct was generated from the following file: +

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: +
diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXConfigDisplay.html b/xorg-server/hw/dmx/doc/html/struct__DMXConfigDisplay.html index 53310fb7a..ff068c2fd 100644 --- a/xorg-server/hw/dmx/doc/html/struct__DMXConfigDisplay.html +++ b/xorg-server/hw/dmx/doc/html/struct__DMXConfigDisplay.html @@ -6,18 +6,356 @@ - - -

_DMXConfigDisplay Struct Reference

#include <dmxparse.h> -

- - + + +
+

_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. -

-


The documentation for this struct was generated from the following file: +

Detailed Description

+

Stores parsed display information.

+

Field Documentation

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
The documentation for this struct was generated from the following file: +
diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXConfigEntry.html b/xorg-server/hw/dmx/doc/html/struct__DMXConfigEntry.html index 644098698..fa6fe120e 100644 --- a/xorg-server/hw/dmx/doc/html/struct__DMXConfigEntry.html +++ b/xorg-server/hw/dmx/doc/html/struct__DMXConfigEntry.html @@ -6,18 +6,100 @@ - - -

_DMXConfigEntry Struct Reference

#include <dmxparse.h> -

- - + + +
+

_DMXConfigEntry Struct Reference

+

#include <dmxparse.h>

+
+ + + + +

Data Fields

DMXConfigType type
DMXConfigCommentPtr comment
DMXConfigVirtualPtr virtual
struct _DMXConfigEntrynext
-


Detailed Description

-Heads entry storage. -

-


The documentation for this struct was generated from the following file: +

Detailed Description

+

Heads entry storage.

+

Field Documentation

+ + + + + + + + +
The documentation for this struct was generated from the following file: +
diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXConfigFullDim.html b/xorg-server/hw/dmx/doc/html/struct__DMXConfigFullDim.html index 2e564ce87..86b195a03 100644 --- a/xorg-server/hw/dmx/doc/html/struct__DMXConfigFullDim.html +++ b/xorg-server/hw/dmx/doc/html/struct__DMXConfigFullDim.html @@ -6,18 +6,68 @@ - - -

_DMXConfigFullDim Struct Reference

#include <dmxparse.h> -

- - + + +
+

_DMXConfigFullDim Struct Reference

+

#include <dmxparse.h>

+
+ + +

Data Fields

DMXConfigPartDimPtr scrn
DMXConfigPartDimPtr root
-


Detailed Description

-Stores a pair of geometry specifications. -

-


The documentation for this struct was generated from the following file: +

Detailed Description

+

Stores a pair of geometry specifications.

+

Field Documentation

+ + + + +
The documentation for this struct was generated from the following file: +
diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXConfigNumber.html b/xorg-server/hw/dmx/doc/html/struct__DMXConfigNumber.html index f60e11c63..9698660b2 100644 --- a/xorg-server/hw/dmx/doc/html/struct__DMXConfigNumber.html +++ b/xorg-server/hw/dmx/doc/html/struct__DMXConfigNumber.html @@ -6,18 +6,100 @@ - - -

_DMXConfigNumber Struct Reference

#include <dmxparse.h> -

- - + + +
+

_DMXConfigNumber Struct Reference

+

#include <dmxparse.h>

+
+ + + + +

Data Fields

int token
int line
const char * comment
int number
-


Detailed Description

-Stores parsed numbers. -

-


The documentation for this struct was generated from the following file: +

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: +
diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXConfigOption.html b/xorg-server/hw/dmx/doc/html/struct__DMXConfigOption.html index 1ae073674..343bf018c 100644 --- a/xorg-server/hw/dmx/doc/html/struct__DMXConfigOption.html +++ b/xorg-server/hw/dmx/doc/html/struct__DMXConfigOption.html @@ -6,18 +6,100 @@ - - -

_DMXConfigOption Struct Reference

#include <dmxparse.h> -

- - + + +
+

_DMXConfigOption Struct Reference

+

#include <dmxparse.h>

+
+ + + + +

Data Fields

char * string
DMXConfigTokenPtr start
DMXConfigStringPtr option
DMXConfigTokenPtr end
-


Detailed Description

-Stores parsed option information. -

-


The documentation for this struct was generated from the following file: +

Detailed Description

+

Stores parsed option information.

+

Field Documentation

+ + + + + + + + +
The documentation for this struct was generated from the following file: +
diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXConfigPair.html b/xorg-server/hw/dmx/doc/html/struct__DMXConfigPair.html index bd0454be6..a50556e73 100644 --- a/xorg-server/hw/dmx/doc/html/struct__DMXConfigPair.html +++ b/xorg-server/hw/dmx/doc/html/struct__DMXConfigPair.html @@ -6,18 +6,148 @@ - - -

_DMXConfigPair Struct Reference

#include <dmxparse.h> -

- - + + +
+

_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) -

-


The documentation for this struct was generated from the following file: +

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: +
diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXConfigParam.html b/xorg-server/hw/dmx/doc/html/struct__DMXConfigParam.html index 90f017e20..9d855aae8 100644 --- a/xorg-server/hw/dmx/doc/html/struct__DMXConfigParam.html +++ b/xorg-server/hw/dmx/doc/html/struct__DMXConfigParam.html @@ -6,18 +6,164 @@ - - -

_DMXConfigParam Struct Reference

#include <dmxparse.h> -

- - + + +
+

_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. -

-


The documentation for this struct was generated from the following file: +

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: +
diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXConfigPartDim.html b/xorg-server/hw/dmx/doc/html/struct__DMXConfigPartDim.html index 07f4c7757..ca1d9a3ec 100644 --- a/xorg-server/hw/dmx/doc/html/struct__DMXConfigPartDim.html +++ b/xorg-server/hw/dmx/doc/html/struct__DMXConfigPartDim.html @@ -6,18 +6,68 @@ - - -

_DMXConfigPartDim Struct Reference

#include <dmxparse.h> -

- - + + +
+

_DMXConfigPartDim Struct Reference

+

#include <dmxparse.h>

+
+ + +

Data Fields

DMXConfigPairPtr dim
DMXConfigPairPtr offset
-


Detailed Description

-Stores a geometry specification. -

-


The documentation for this struct was generated from the following file: +

Detailed Description

+

Stores a geometry specification.

+

Field Documentation

+ + + + +
The documentation for this struct was generated from the following file: +
diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXConfigString.html b/xorg-server/hw/dmx/doc/html/struct__DMXConfigString.html index a70f1a51a..93f1980f9 100644 --- a/xorg-server/hw/dmx/doc/html/struct__DMXConfigString.html +++ b/xorg-server/hw/dmx/doc/html/struct__DMXConfigString.html @@ -6,18 +6,116 @@ - - -

_DMXConfigString Struct Reference

#include <dmxparse.h> -

- - + + +
+

_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. -

-


The documentation for this struct was generated from the following file: +

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: +
diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXConfigSub.html b/xorg-server/hw/dmx/doc/html/struct__DMXConfigSub.html index a27630540..b2b903eab 100644 --- a/xorg-server/hw/dmx/doc/html/struct__DMXConfigSub.html +++ b/xorg-server/hw/dmx/doc/html/struct__DMXConfigSub.html @@ -6,18 +6,148 @@ - - -

_DMXConfigSub Struct Reference

#include <dmxparse.h> -

- - + + +
+

_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). -

-


The documentation for this struct was generated from the following file: +

Detailed Description

+

Stores options under an entry (subentry).

+

Field Documentation

+ + + + + + + + + + + + + + +
The documentation for this struct was generated from the following file: +
diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXConfigToken.html b/xorg-server/hw/dmx/doc/html/struct__DMXConfigToken.html index a7705deb9..c321bf658 100644 --- a/xorg-server/hw/dmx/doc/html/struct__DMXConfigToken.html +++ b/xorg-server/hw/dmx/doc/html/struct__DMXConfigToken.html @@ -6,18 +6,84 @@ - - -

_DMXConfigToken Struct Reference

#include <dmxparse.h> -

- - + + +
+

_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 ;) -

-


The documentation for this struct was generated from the following file: +

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: +
diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXConfigVirtual.html b/xorg-server/hw/dmx/doc/html/struct__DMXConfigVirtual.html index d221fa816..7f613920b 100644 --- a/xorg-server/hw/dmx/doc/html/struct__DMXConfigVirtual.html +++ b/xorg-server/hw/dmx/doc/html/struct__DMXConfigVirtual.html @@ -6,18 +6,180 @@ - - -

_DMXConfigVirtual Struct Reference

#include <dmxparse.h> -

- - + + +
+

_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. -

-


The documentation for this struct was generated from the following file: +

Detailed Description

+

Stores parsed virtual information.

+

Field Documentation

+ + + + + + + + + + + + + + + + + + +
The documentation for this struct was generated from the following file: +
diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXConfigWall.html b/xorg-server/hw/dmx/doc/html/struct__DMXConfigWall.html index fcb27db04..2716c5cbb 100644 --- a/xorg-server/hw/dmx/doc/html/struct__DMXConfigWall.html +++ b/xorg-server/hw/dmx/doc/html/struct__DMXConfigWall.html @@ -6,18 +6,180 @@ - - -

_DMXConfigWall Struct Reference

#include <dmxparse.h> -

- - + + +
+

_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. -

-


The documentation for this struct was generated from the following file: +

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: +
diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXEventMap.html b/xorg-server/hw/dmx/doc/html/struct__DMXEventMap.html index 41ae5b368..ea95b9c0b 100644 --- a/xorg-server/hw/dmx/doc/html/struct__DMXEventMap.html +++ b/xorg-server/hw/dmx/doc/html/struct__DMXEventMap.html @@ -6,68 +6,70 @@ - - -

_DMXEventMap Struct Reference

#include <dmxinputinit.h> -

- - - - - - - + + +
+

_DMXEventMap Struct Reference

+

#include <dmxinputinit.h>

+

Data Fields

int remote
int server
+ + +

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

-

- - - - -
- +

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 + int _DMXEventMap::remote
-
- - - - - -
-   - + +
+

Event number on remote X server

-

-Event number on remote X server

-

- - - - -
- +

Referenced by dmxMapClear(), dmxMapInsert(), and dmxMapLookup().

+ + + + +
+
+
- +
int _DMXEventMap::server + int _DMXEventMap::server
-
- - - - - -
-   - + +
+

Event number (unbiased) on DMX server

-

-Event number (unbiased) on DMX server

-


The documentation for this struct was generated from the following file: +

Referenced by dmxMapInsert(), and dmxMapLookup().

+ + + +
The documentation for this struct was generated from the following file: +
diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXInputInfo.html b/xorg-server/hw/dmx/doc/html/struct__DMXInputInfo.html index a89e01f5b..3ee6c6b58 100644 --- a/xorg-server/hw/dmx/doc/html/struct__DMXInputInfo.html +++ b/xorg-server/hw/dmx/doc/html/struct__DMXInputInfo.html @@ -6,476 +6,391 @@ - - -

_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
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

-

- - - - -
- + + +
+

_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

+ +
- - - - - -
-   - - -

-True if console and backend input share the same backend display

-

- - - - -
- + +
+

True if console and backend input share the same backend display

+ +

Referenced by dmxCloseConsole(), and dmxInputInit().

+ +
+ + +
+
+
- +
Bool _DMXInputInfo::core + Bool _DMXInputInfo::core
-
- - - - - -
-   - - -

-If True, initialize these devices as devices that send core events

-

- - - - -
- + +
+

If True, initialize these devices as devices that send core events

+ +

Referenced by dmxConfigAddInput(), dmxInputCopyLocal(), and dmxInputInit().

+ +
+ + +
+
+
- +
Bool _DMXInputInfo::detached + Bool _DMXInputInfo::detached
-
- - - - - -
-   - - -

-If true, input screen is detached

-

- - - - -
- + + + + +
+
+
- +
DMXLocalInputInfoPtr* _DMXInputInfo::devs + DMXLocalInputInfoPtr* _DMXInputInfo::devs
-
- - - - - -
-   - - -

-List of actual input devices. Each _DMXInputInfo structure can refer to more than one device. For example, the keyboard and the pointer of a backend display; or all of the XInput extension devices on a backend display.

-

- - - - -
- + + + + +
+
+
- +
Bool _DMXInputInfo::freename + Bool _DMXInputInfo::freename
-
- - - - - -
-   - - -

-If true, free name on destroy

-

- - - - -
- + +
+

If true, free name on destroy

+ +

Referenced by dmxInputAttachConsole(), and dmxInputFree().

+ +
+ + +
+
+
- +
char* _DMXInputInfo::geometry + char* _DMXInputInfo::geometry
-
- - - - - -
-   - - -

-XKB geometry from command line

-

- - - - -
- + +
+

XKB geometry from command line

+ +

Referenced by dmxInputFree(), and dmxInputInit().

+ +
+ + +
+
+
- +
int _DMXInputInfo::inputIdx + int _DMXInputInfo::inputIdx
-
- - - - - -
-   - - -

-Index into dmxInputs global

-

- - - - -
- + + + + +
+
+
- +
char* _DMXInputInfo::keycodes + char* _DMXInputInfo::keycodes
-
- - - - - -
-   - - -

-XKB keycodes from command line

-

- - - - -
- + +
+

XKB keycodes from command line

+ +

Referenced by dmxInputFree(), and dmxInputInit().

+ +
+ + +
+
+
- +
const char* _DMXInputInfo::name + const char* _DMXInputInfo::name
-
- - - - - -
-   - - -

-Name of input display or device (from command line or config file)

-

- - - - -
- + + + + +
+
+
- +
int _DMXInputInfo::numDevs + int _DMXInputInfo::numDevs
-
- - - - - -
-   - - -

-Number of devices handled in this _DMXInputInfo structure.

-

- - - - -
- + + + + +
+
+
- +
int _DMXInputInfo::scrnIdx + ProcessInputEventsProc _DMXInputInfo::processInputEvents
-
- - - - - -
-   - - -

-Index into dmxScreens global

-

- - - - -
- + +
+ +

Referenced by dmxInputInit(), and ProcessInputEvents().

+ +
+ + +
+
+
- +
Bool _DMXInputInfo::sigioAdded[DMX_MAX_SIGIO_FDS] + int _DMXInputInfo::scrnIdx
-
- - - - - -
-   - - -

-Active fds

-

- - - - -
- + + + + +
+
+
- +
int _DMXInputInfo::sigioFd[DMX_MAX_SIGIO_FDS] + Bool _DMXInputInfo::sigioAdded[DMX_MAX_SIGIO_FDS]
-
- - - - - -
-   - - -

-List of fds

-

- - - - -
- + +
+

Active fds

+ +

Referenced by dmxSigioAdd(), and dmxSigioRemove().

+ +
+ + +
+
+
- +
int _DMXInputInfo::sigioFdCount + int _DMXInputInfo::sigioFd[DMX_MAX_SIGIO_FDS]
-
- - - - - -
-   - - -

-Number of fds in use

-

- - - - -
- + +
+

List of fds

+ +

Referenced by dmxSigioAdd(), dmxSigioRegister(), and dmxSigioRemove().

+ +
+ + +
+
+
- +
dmxSigioState _DMXInputInfo::sigioState + int _DMXInputInfo::sigioFdCount
-
- - - - - -
-   - - -

-Current stat

-

- - - - -
- + +
+

Number of fds in use

+ +

Referenced by dmxSigioAdd(), dmxSigioRegister(), dmxSigioRemove(), and dmxSigioUnregister().

+ +
+ + +
+
+
- +
char* _DMXInputInfo::symbols + dmxSigioState _DMXInputInfo::sigioState
-
- - - - - -
-   - - -

-XKB symbols from command line

-

- - - - -
- + + + + +
+
+
- +
int _DMXInputInfo::vt_switch_pending + char* _DMXInputInfo::symbols
-
- - - - - -
-   - - -

-True if a VT switch is pending, but has not yet happened.

-

- - - - -
- + +
+

XKB symbols from command line

+ +

Referenced by dmxInputFree(), and dmxInputInit().

+ +
+ + +
+
+
- +
int _DMXInputInfo::vt_switched + UpdateWindowInfoProc _DMXInputInfo::updateWindowInfo
-
- - - - - -
-   - - -

-True if a VT switch has happened.

-

- - - - -
- + +
+ +

Referenced by dmxInputInit(), and dmxUpdateWindowInfo().

+ +
+ + +
+
+
- +
Bool _DMXInputInfo::windows + int _DMXInputInfo::vt_switch_pending
-
- - - - - -
-   - - -

-True if window outlines are draw in console

-


The documentation for this struct was generated from the following file: + +
+

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: +
diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXLocalInitInfo.html b/xorg-server/hw/dmx/doc/html/struct__DMXLocalInitInfo.html index 73b3e3ba6..9803358d9 100644 --- a/xorg-server/hw/dmx/doc/html/struct__DMXLocalInitInfo.html +++ b/xorg-server/hw/dmx/doc/html/struct__DMXLocalInitInfo.html @@ -6,764 +6,557 @@ - - -

_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

-

- - - - -
- + + +
+

_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

-

- - - - -
- + +
+

Non-zero if device has a bell

+ +

Referenced by dmxDeviceOnOff(), and othUSBGetInfo().

+ +
+ + +
+
+
- +
int _DMXLocalInitInfo::buttonClass + int _DMXLocalInitInfo::buttonClass
-
- - - - - -
-   - - -

-Non-zero if buttons are present

-

- - - - -
- + + + + +
+
+
- +
int _DMXLocalInitInfo::focusClass + int _DMXLocalInitInfo::focusClass
-
- - - - - -
-   - - -

-Non-zero if device can cause focus

-

- - - - -
- + + + + +
+
+
- +
int _DMXLocalInitInfo::force + int _DMXLocalInitInfo::force
-
- - - - - -
-   - - -

-Do not allow command line override

-

- - - - -
- + +
+

Do not allow command line override

+ +

Referenced by dmxDummyKbdGetInfo(), dmxKeyboardOn(), and kbdUSBGetInfo().

+ +
+ + +
+
+
- +
int _DMXLocalInitInfo::freemap + int _DMXLocalInitInfo::freemap
-
- - - - - -
-   - - -

-If non-zero, free keySyms.map

-

- - - - -
- + + + + +
+
+
- +
int _DMXLocalInitInfo::freenames + int _DMXLocalInitInfo::freenames
-
- - - - - -
-   - - -

-Non-zero if names should be free'd

-

- - - - -
- + +
+

Non-zero if names should be free'd

+ +

Referenced by dmxCommonKbdGetInfo(), and dmxKeyboardOn().

+ +
+ + +
+
+
- +
int _DMXLocalInitInfo::intFeedbackClass + int _DMXLocalInitInfo::intFeedbackClass
-
- - - - - -
-   - - -

-Non-zero if device has integer feedback

-

- - - - -
- + +
+

Non-zero if device has integer feedback

+ +

Referenced by dmxDeviceOnOff().

+ +
+ + +
+
+
- +
int _DMXLocalInitInfo::kbdFeedbackClass + int _DMXLocalInitInfo::kbdFeedbackClass
-
- - - - - -
-   - - -

-Non-zero if device has keyboard feedback

-

- - - - -
- + +
+

Non-zero if device has keyboard feedback

+ +

Referenced by dmxBackendKbdGetInfo(), dmxCommonOthGetInfo(), dmxConsoleKbdGetInfo(), dmxDummyKbdGetInfo(), kbdLinuxGetInfo(), and kbdUSBGetInfo().

+ +
+ + +
+
+
- +
int _DMXLocalInitInfo::keyboard + int _DMXLocalInitInfo::keyboard
-
- - - - - -
-   - - -

-Non-zero if the device is a keyboard

-

- - - - -
- + + + + +
+
+
- +
int _DMXLocalInitInfo::keyClass + int _DMXLocalInitInfo::keyClass
-
- - - - - -
-   - - -

-Non-zero if keys are present

-

- - - - -
- + + + + +
+
+
- +
KeySymsRec _DMXLocalInitInfo::keySyms + KeySymsRec _DMXLocalInitInfo::keySyms
-
- - - - - -
-   - - -

-Key symbols

-

- - - - -
- + + + + +
+
+
- +
int _DMXLocalInitInfo::ledFeedbackClass + int _DMXLocalInitInfo::ledFeedbackClass
-
- - - - - -
-   - - -

-Non-zero if device has LED indicators

-

- - - - -
- + +
+

Non-zero if device has LED indicators

+ +

Referenced by dmxDeviceOnOff(), and othUSBGetInfo().

+ +
+ + +
+
+
- +
unsigned char _DMXLocalInitInfo::map[DMX_MAX_BUTTONS] + unsigned char _DMXLocalInitInfo::map[DMX_MAX_BUTTONS]
-
- - - - - -
-   - - -

-Button map

-

- - - - -
- + + + + +
+
+
- +
int _DMXLocalInitInfo::maxres[DMX_MAX_AXES] + int _DMXLocalInitInfo::maxres[DMX_MAX_AXES]
-
- - - - - -
-   - - -

-Maximum resolutions

-

- - - - -
- + + + + +
+
+
- +
int _DMXLocalInitInfo::maxSymbols + int _DMXLocalInitInfo::maxSymbols
-
- - - - - -
-   - - -

-Maximum symbols

-

- - - - -
- + +
+

Maximum symbols

+ +
+ + +
+
+
- +
int _DMXLocalInitInfo::maxSymbolsSupported + int _DMXLocalInitInfo::maxSymbolsSupported
-
- - - - - -
-   - - -

-Maximum symbols supported

-

- - - - -
- + +
+

Maximum symbols supported

+ +
+ + +
+
+
- +
int _DMXLocalInitInfo::maxval[DMX_MAX_AXES] + int _DMXLocalInitInfo::maxval[DMX_MAX_AXES]
-
- - - - - -
-   - - -

-Maximum values

-

- - - - -
- + + + + +
+
+
- +
int _DMXLocalInitInfo::minres[DMX_MAX_AXES] + int _DMXLocalInitInfo::minres[DMX_MAX_AXES]
-
- - - - - -
-   - - -

-Minimum resolutions

-

- - - - -
- + + + + +
+
+
- +
int _DMXLocalInitInfo::minval[DMX_MAX_AXES] + int _DMXLocalInitInfo::minval[DMX_MAX_AXES]
-
- - - - - -
-   - - -

-Minimum values

-

- - - - -
- + + + + +
+
+
- +
CARD8 _DMXLocalInitInfo::modMap[MAP_LENGTH] + CARD8 _DMXLocalInitInfo::modMap[MAP_LENGTH]
-
- - - - - -
-   - - -

-Modifier map

-

- - - - -
- + + + + +
+
+
- +
XkbComponentNamesRec _DMXLocalInitInfo::names + XkbComponentNamesRec _DMXLocalInitInfo::names
-
- - - - - -
-   - - -

-XKB component names

-

- - - - -
- + +
+

XKB component names

+ +

Referenced by dmxCommonKbdGetInfo(), dmxKeyboardOn(), and kbdUSBGetInfo().

+ +
+ + +
+
+
- +
int _DMXLocalInitInfo::numAbsAxes + int _DMXLocalInitInfo::numAbsAxes
-
- - - - - -
-   - - -

-Number of absolute axes

-

- - - - -
- + +
+

Number of absolute axes

+ +

Referenced by dmxCommonOthGetInfo(), dmxDeviceOnOff(), and othUSBGetInfo().

+ +
+ + +
+
+
- +
int _DMXLocalInitInfo::numButtons + int _DMXLocalInitInfo::numButtons
-
- - - - - -
-   - - -

-Number of buttons

-

- - - - -
- + + + + +
+
+
- +
int _DMXLocalInitInfo::numRelAxes + int _DMXLocalInitInfo::numRelAxes
-
- - - - - -
-   - - -

-Number of relative axes

-

- - - - -
- + + + + +
+
+
- +
int _DMXLocalInitInfo::proximityClass + int _DMXLocalInitInfo::proximityClass
-
- - - - - -
-   - - -

-Non-zero if device causes proximity events

-

- - - - -
- + +
+

Non-zero if device causes proximity events

+ +

Referenced by dmxCommonOthGetInfo(), and dmxDeviceOnOff().

+ +
+ + +
+
+
- +
int _DMXLocalInitInfo::ptrFeedbackClass + int _DMXLocalInitInfo::ptrFeedbackClass
-
- - - - - -
-   - - -

-Non-zero if device has pointer feedback

-

- - - - -
- + + + + +
+
+
- +
int _DMXLocalInitInfo::res[DMX_MAX_AXES] + int _DMXLocalInitInfo::res[DMX_MAX_AXES]
-
- - - - - -
-   - - -

-Resolution

-

- - - - -
- + + + + +
+
+
- +
int _DMXLocalInitInfo::strFeedbackClass + int _DMXLocalInitInfo::strFeedbackClass
-
- - - - - -
-   - - -

-Non-zero if device has string feedback

-

- - - - -
- + +
+

Non-zero if device has string feedback

+ +

Referenced by dmxDeviceOnOff().

+ +
+ + +
+
+
- +
KeySym* _DMXLocalInitInfo::symbols + KeySym* _DMXLocalInitInfo::symbols
-
- - - - - -
-   - - -

-Key symbols

-

- - - - -
- + +
+

Key symbols

+ +
+ + +
+
+
- +
int _DMXLocalInitInfo::valuatorClass + int _DMXLocalInitInfo::valuatorClass
-
- - - - - -
-   - - -

-Non-zero if valuators are present

-

- - - - -
- + + + + +
+
+
- +
XkbDescPtr _DMXLocalInitInfo::xkb + XkbDescPtr _DMXLocalInitInfo::xkb
-
- - - - - -
-   - - -

-XKB description

-


The documentation for this struct was generated from the following file: + +
+

XKB description

+ +

Referenced by dmxDeviceOnOff().

+ +
+ +
The documentation for this struct was generated from the following file: +
diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXLocalInputInfo.html b/xorg-server/hw/dmx/doc/html/struct__DMXLocalInputInfo.html index 7893e905f..8a3ee7cc4 100644 --- a/xorg-server/hw/dmx/doc/html/struct__DMXLocalInputInfo.html +++ b/xorg-server/hw/dmx/doc/html/struct__DMXLocalInputInfo.html @@ -6,982 +6,755 @@ - - -

_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
dmxUpdateInfoProcPtr update_info
dmxMCtrlProcPtr mCtrl
dmxKBCtrlProcPtr kCtrl
dmxKBBellProcPtr kBell
pointer private
int isCore
int sendsCore
KeybdCtrl kctrl
PtrCtrl mctrl
DeviceIntPtr pDevice
int inputIdx
int lastY
int head
int tail
unsigned long * history
int * valuators
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

+ +

+
+

_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

-

- - - - -
- - -
int _DMXLocalInputInfo::binding -
-
- - - - - -
-   - - -

-Count of how many consecutive structs are bound to the same device

-

- - - - -
- - -
dmxCollectEventsProcPtr _DMXLocalInputInfo::collect_events -
-
- - - - - -
-   - - -

-Collect and enqueue events from the device

-

- - - - -
- - -
dmxCreatePrivateProcPtr _DMXLocalInputInfo::create_private -
-
- - - - - -
-   - - -

-Create device-dependent private

-

- - - - -
- - -
dmxDestroyPrivateProcPtr _DMXLocalInputInfo::destroy_private -
-
- - - - - -
-   - - -

-Destroy device-dependent private

-

- - - - -
- - -
long _DMXLocalInputInfo::deviceId -
-
- - - - - -
-   - - -

-device id on remote side, if any

-

- - - - -
- - -
const char* _DMXLocalInputInfo::deviceName -
-
- - - - - -
-   - - -

-devive name on remote side, if any

-

- - - - -
- - -
DMXLocalInputExtType _DMXLocalInputInfo::extType -
-
- - - - - -
-   - - -

-Extended device type

-

- - - - -
- - -
dmxGetInfoProcPtr _DMXLocalInputInfo::get_info -
-
- - - - - -
-   - - -

-Get device information

-

- - - - -
- - -
int _DMXLocalInputInfo::head -
-
- - - - - -
-   - - -

-XInput motion history head

-

- - - - -
- - -
unsigned long* _DMXLocalInputInfo::history -
-
- - - - - -
-   - - -

-XInput motion history

-

- - - - -
- - -
dmxInitProcPtr _DMXLocalInputInfo::init -
-
- - - - - -
-   - - -

-Initialize device

-

- - - - -
- - -
int _DMXLocalInputInfo::inputIdx -
-
- - - - - -
-   - - -

-High-level index

-

- - - - -
- - -
int _DMXLocalInputInfo::isCore -
-
- - - - - -
-   - - -

-Is a DMX core device

-

- - - - -
- - -
dmxKBBellProcPtr _DMXLocalInputInfo::kBell -
-
- - - - - -
-   - - -

-Bell control

-

- - - - -
- - -
KeybdCtrl _DMXLocalInputInfo::kctrl -
-
- - - - - -
-   - - -

-Keyboard control

-

- - - - -
- +

Field Documentation

+ +
+
+
- +
dmxKBCtrlProcPtr _DMXLocalInputInfo::kCtrl + int _DMXLocalInputInfo::binding
-
- - - - - -
-   - - -

-Keyboard control

-

- - - - -
- + +
+

Count of how many consecutive structs are bound to the same device

+ +

Referenced by dmxApplyFunctions(), dmxCollectAll(), dmxCoreMotion(), dmxProcessInputEvents(), and dmxUpdateWindowInformation().

+ +
+ + +
+
+
- +
int _DMXLocalInputInfo::lastY + dmxCollectEventsProcPtr _DMXLocalInputInfo::collect_events
-
- - - - - -
-   - - -

-Last known position; for XInput in dmxevents.c

-

- - - - -
- + +
+

Collect and enqueue events from the device

+ +

Referenced by dmxCollectAll(), and dmxSigioHandler().

+ +
+ + +
+
+
- +
dmxLateReInitProcPtr _DMXLocalInputInfo::latereinit + dmxCreatePrivateProcPtr _DMXLocalInputInfo::create_private
-
- - - - - -
-   - - -

-Reinitialize a device (called very late during a reconfiguration)

-

- - - - -
- + +
+

Create device-dependent private

+ +

Referenced by dmxAddDevice().

+ +
+ + +
+
+
-
DMXEventMap _DMXLocalInputInfo::map[DMX_MAP_ENTRIES] -
-
- - - - - -
-   - - -

-XInput device id map

-

- - - - -
- + + +
dmxDestroyPrivateProcPtr _DMXLocalInputInfo::destroy_private
+ +
+

Destroy device-dependent private

+ +

Referenced by dmxInputFreeLocal().

+ +
+ + +
- - - - - -
-   - - -

-XInput device id map optimization

-

- - - - -
- + + +
long _DMXLocalInputInfo::deviceId
+ + + + +
+
+ + + + +
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().

+ +
+
+ +
- - - - - -
-   - - -

-Pointer control

-

- - - + + + +
+
+
- - - - -
dmxMCtrlProcPtr _DMXLocalInputInfo::mCtrl + +
+

Keyboard control

+ +

Referenced by _dmxKeyboardKbdCtrlProc().

+ +
+ + +
+
- - - - - -
-   - - -

-Pointer control

-

- - - - -
- + +
+ +

Referenced by dmxExtMotion().

+ +
+ + +
+
+
- +
const char* _DMXLocalInputInfo::name + int _DMXLocalInputInfo::lastY
-
- - - - - -
-   - - -

-Device name

-

- - - - -
- + +
+

Last known position; for XInput in dmxevents.c

+ +

Referenced by dmxExtMotion().

+ +
+ + +
+
+
- +
dmxOffProcPtr _DMXLocalInputInfo::off + dmxLateReInitProcPtr _DMXLocalInputInfo::latereinit
-
- - - - - -
-   - - -

-Turn device off

-

- - -
- - - - -
dmxOnProcPtr _DMXLocalInputInfo::on + +
+

Reinitialize a device (called very late during a reconfiguration)

+ +

Referenced by dmxInputLateReInit().

+ +
+ + +
+
+ + + +
DMXEventMap _DMXLocalInputInfo::map[DMX_MAP_ENTRIES]
-
- - - - - -
-   - - -

-Turn device on

-

- - - +

Referenced by dmxBackendComputeCenter().

- + + + +
+
+
- - - - -
DeviceIntPtr _DMXLocalInputInfo::pDevice + +
+

XInput device id map

+ +

Referenced by dmxMapClear(), dmxMapInsert(), and dmxMapLookup().

+ +
+ + +
- - - - - -
-   - - -

-X-level device

-

- - - +

Referenced by dmxConsoleCapture(), and dmxConsoleUncapture().

- + + + +
+
+
- - - - -
pointer _DMXLocalInputInfo::private + +
+

XInput device id map optimization

+ +

Referenced by dmxMapClear(), dmxMapInsert(), and dmxMapLookup().

+ +
+ + +
+
+ + + +
PtrCtrl _DMXLocalInputInfo::mctrl
-
- - - - - -
-   - - -

-Device-dependent private

-

- - - + + + +
+
+
- - - - -
dmxProcessInputProcPtr _DMXLocalInputInfo::process_input + +
+

Pointer control

+ +

Referenced by _dmxChangePointerControl().

+ +
+ + +
- - - - - -
-   - - -

-Process event (from queue)

-

- - - + + + +
+
+
- - - - -
dmxReInitProcPtr _DMXLocalInputInfo::reinit + +
+

Pointer control

+ +

Referenced by _dmxChangePointerControl().

+ +
+ + +
+
+ + + +
const char* _DMXLocalInputInfo::name
-
- - - - - -
-   - - -

-Reinitialize device (during a reconfiguration)

-

- - - + + + +
+
+
- - - - -
int _DMXLocalInputInfo::savedMotionEvents + +
+

Device name

+ +

Referenced by dmxAddDevice(), dmxLookupLocal(), and dmxPopulateLocal().

+ +
+ + +
- - - - - -
-   - - -

-Saved motion events

-

- - - + + +

Field Documentation

+ +
+
+
- - - - -
int _DMXLocalInputInfo::savedSendsCore + +
+

Turn device off

+ +
+ + +
- - - - - -
-   - - -

-Saved sends-core flag

-

- - - - -
- - -
int _DMXLocalInputInfo::sendsCore -
-
- - - - - -
-   - - -

-Sends DMX core events

-

- - - - -
- - -
int _DMXLocalInputInfo::tail -
-
- - - - - -
-   - - -

-XInput motion history tail

-

- - - - -
- - -
DMXLocalInputType _DMXLocalInputInfo::type -
-
- - - - - -
-   - - -

-Device type

-

- - - + + + +
+
+
- - - - -
dmxUpdateInfoProcPtr _DMXLocalInputInfo::update_info + +
+

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)
-
- - - - - -
-   - - -

-Update window layout information

-

- - - +

Referenced by _dmxSetCursor(), and dmxMoveCursor().

-
- - - - -
dmxUpdatePositionProcPtr _DMXLocalInputInfo::update_position + +
+ +

Referenced by ChangePointerDevice().

+ +
+ + +
- - - - - -
-   - - -

-Called when another device updates the cursor position

-

- - - +

Referenced by dmxInitOverlap(), dmxMoveCursor(), dmxPrintOverlap(), dmxRealizeCursor(), dmxSetCursor(), and dmxUnrealizeCursor().

- + + + +
+
+
- - - - -
int* _DMXLocalInputInfo::valuators + +
+

Saved sends-core flag

+ +

Referenced by ChangeKeyboardDevice(), ChangePointerDevice(), and dmxInputCopyLocal().

+ +
+ + +
- - - - - -
-   - - -

-Cache of previous values

-

- - - +

Referenced by _dmxSetCursor(), dmxCheckCursor(), dmxFindCursor(), and dmxMoveCursor().

- + + + +
+
+
- - - - -
dmxVTPostSwitchProcPtr _DMXLocalInputInfo::vt_post_switch + + + + +
+
+ + + +
int _DMXLocalInputInfo::tail
-
- - - - - -
-   - - -

-Called after a VT switch

-

- - - - -
- + +
+

XInput motion history tail

+ +
+ + +
+
+
- +
dmxVTPreSwitchProcPtr _DMXLocalInputInfo::vt_pre_switch + DMXLocalInputType _DMXLocalInputInfo::type
-
- - - - - -
-   - - -

-Called before a VT switch

-

- - - +

Referenced by _dmxSetCursor().

- + + + +
+
+
- - - - -
dmxVTSwitchProcPtr _DMXLocalInputInfo::vt_switch + + + + +
+ +
+

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

-
The documentation for this struct was generated from the following file: + +
+

Causes a VT switch

+ +

Referenced by dmxWakeupHandler().

+ +
+ +
The documentation for this struct was generated from the following file: +
diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXScreenInfo.html b/xorg-server/hw/dmx/doc/html/struct__DMXScreenInfo.html index c83d3f0aa..365f3fd4f 100644 --- a/xorg-server/hw/dmx/doc/html/struct__DMXScreenInfo.html +++ b/xorg-server/hw/dmx/doc/html/struct__DMXScreenInfo.html @@ -6,1316 +6,1636 @@ - - -

_DMXScreenInfo Struct Reference

#include <dmx.h> -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + +
+

_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]
_DMXScreenInfonext
_DMXScreenInfoover
Window rootWin
int rootX
int rootY
int rootWidth
int rootHeight
int rootXOrigin
int rootYOrigin
void * shadow
XlibGC shadowGC
XImage * shadowFBImage
int shared
PositionType where
int whereX
int whereY
int whereRefScreen
int savedTimeout
int dpmsCapable
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

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
+
+
-
int dpmsEnabled
int dpmsStandby
+ + + +
CursorPtr _DMXScreenInfo::cursor
+ +

-
int dpmsSuspend
int dpmsOff
+ + + +
int _DMXScreenInfo::cursorNotShared
+ +

-
DMXStatInfostat
Bool needsSync
+ + + +
int _DMXScreenInfo::cursorVisible
+ +

-
CloseScreenProcPtr CloseScreen
-


Detailed Description

-Global structure containing information about each backend screen. -

-


Field Documentation

-

- - - - -
- - -
Pixel _DMXScreenInfo::beBlackPixel -
-
- - - - - -
-   - - -

-Default black pixel for BE

-

- - - - -
- + + + +
+
+
- +
int _DMXScreenInfo::beBPP + DestroyColormapProcPtr _DMXScreenInfo::DestroyColormap
-
- - - - - -
-   - - -

-Bits per pixel of BE display

-

- - - - -
- + +
+ +
+ + +
+
+
- +
Colormap* _DMXScreenInfo::beDefColormaps + DestroyPictureProcPtr _DMXScreenInfo::DestroyPicture
-
- - - - - -
-   - - -

-Default colormaps for DMX server

-

- - - - -
- + +
+ +
+ + +
+
+
- +
int _DMXScreenInfo::beDefVisualIndex + DestroyPictureClipProcPtr _DMXScreenInfo::DestroyPictureClip
-
- - - - - -
-   - - -

-Default visual index of BE

-

- - - - -
- + +
+ +
+ + +
+
+
- +
int _DMXScreenInfo::beDepth + DestroyPixmapProcPtr _DMXScreenInfo::DestroyPixmap
-
- - - - - -
-   - - -

-Depth of BE display

-

- - - - -
- + +
+ +
+ + +
+
+
- +
int* _DMXScreenInfo::beDepths + DestroyWindowProcPtr _DMXScreenInfo::DestroyWindow
-
- - - - - -
-   - - -

-Depths from BE server

-

- - - - -
- + +
+ +
+ + +
+
+
- +
Display* _DMXScreenInfo::beDisplay + int _DMXScreenInfo::dpmsCapable
-
- - - - - -
-   - - -

-Back-end X server's display

-

- - - - -
- + +
+

Non-zero if backend is DPMS capable

+ +

Referenced by _dmxDPMSInit(), and dmxDPMSTerm().

+ +
+ + +
+
+
- +
int _DMXScreenInfo::beHeight + int _DMXScreenInfo::dpmsEnabled
-
- - - - - -
-   - - -

-Height of BE display

-

- - - - -
- + +
+

Non-zero if DPMS enabled

+ +

Referenced by _dmxDPMSInit(), and dmxDPMSTerm().

+ +
+ + +
+
+
- +
int _DMXScreenInfo::beNumDefColormaps + int _DMXScreenInfo::dpmsOff
-
- - - - - -
-   - - -

-Number of default colormaps

-

- - - - -
- + +
+

Original DPMS off value

+ +

Referenced by _dmxDPMSInit(), and dmxDPMSTerm().

+ +
+ + +
+
+
- +
int _DMXScreenInfo::beNumDepths + int _DMXScreenInfo::dpmsStandby
-
- - - - - -
-   - - -

-Number of depths on BE server

-

- - - - -
- + +
+

Original DPMS standby value

+ +

Referenced by _dmxDPMSInit(), and dmxDPMSTerm().

+ +
+ + +
+
+
- +
int _DMXScreenInfo::beNumPixmapFormats + int _DMXScreenInfo::dpmsSuspend
-
- - - - - -
-   - - -

-Number of pixmap formats on BE

-

- - - - -
- + +
+

Original DPMS suspend value

+ +

Referenced by _dmxDPMSInit(), and dmxDPMSTerm().

+ +
+ + +
+
+
- +
int _DMXScreenInfo::beNumVisuals + GetImageProcPtr _DMXScreenInfo::GetImage
-
- - - - - -
-   - - -

-Number of visuals on BE

-

- - - - -
- + +
+ +
+ + +
+
+
- +
XPixmapFormatValues* _DMXScreenInfo::bePixmapFormats + GetSpansProcPtr _DMXScreenInfo::GetSpans
-
- - - - - -
-   - - -

-Pixmap formats on BE

-

- - - - -
- + +
+ +
+ + +
+
+
- +
XVisualInfo* _DMXScreenInfo::beVisuals + GlyphsProcPtr _DMXScreenInfo::Glyphs
-
- - - - - -
-   - - -

-Visuals from BE server

-

- - - - -
- + +
+ +
+ + +
+
+
- +
Pixel _DMXScreenInfo::beWhitePixel + int _DMXScreenInfo::index
-
- - - - - -
-   - - -

-Default white pixel for BE

-

- - - - -
- + + + + +
+
+
- +
int _DMXScreenInfo::beWidth + InitIndexedProcPtr _DMXScreenInfo::InitIndexed
-
- - - - - -
-   - - -

-Width of BE display

-

- - - - -
- + +
+ +
+ + +
+
+
- +
int _DMXScreenInfo::beXDPI + InstallColormapProcPtr _DMXScreenInfo::InstallColormap
-
- - - - - -
-   - - -

-Horizontal dots per inch of BE

-

- - - - -
- + +
+ +
+ + +
+
+
- +
int _DMXScreenInfo::beYDPI + const char* _DMXScreenInfo::name
-
- - - - - -
-   - - -

-Vertical dots per inch of BE

-

- - - - -
- + + + + +
+
+
- +
CloseScreenProcPtr _DMXScreenInfo::CloseScreen + Bool _DMXScreenInfo::needsSync
-
- - - - - -
-   - - -

-Function pointers to wrapped screen functions

-

- - - - -
- + +
+

True if an XSync is pending

+ +

Referenced by dmxDoSync(), dmxSync(), and dmxSyncCallback().

+ +
+ + +
+
+
- +
int _DMXScreenInfo::dpmsCapable + struct _DMXScreenInfo* _DMXScreenInfo::next [read]
-
- - - - - -
-   - - -

-Non-zero if backend is DPMS capable

-

- - - - -
- + +
+

List of "screens" on same display

+ +

Referenced by dmxPropertyIterate(), and dmxPropertyWindow().

+ +
+ + +
+
+
- +
int _DMXScreenInfo::dpmsEnabled + Cursor _DMXScreenInfo::noCursor
-
- - - - - -
-   - - -

-Non-zero if DPMS enabled

-

- - - - -
- + + + + +
+
+
- +
int _DMXScreenInfo::dpmsOff + struct _DMXScreenInfo* _DMXScreenInfo::over [read]
-
- - - - - -
-   - - -

-Original DPMS off value

-

- - - - -
- + + + + +
+
+
- +
int _DMXScreenInfo::dpmsStandby + PositionWindowProcPtr _DMXScreenInfo::PositionWindow
-
- - - - - -
-   - - -

-Original DPMS standby value

-

- - - - -
- + +
+ +
+ + +
+
+
- +
int _DMXScreenInfo::dpmsSuspend + RealizeFontProcPtr _DMXScreenInfo::RealizeFont
-
- - - - - -
-   - - -

-Original DPMS suspend value

-

- - - - -
- + +
+ +
+ + +
+
+
- +
int _DMXScreenInfo::index + RealizeWindowProcPtr _DMXScreenInfo::RealizeWindow
-
- - - - - -
-   - - -

-Index into dmxScreens global

-

- - - - -
- + +
+ +
+ + +
+
+
- +
const char* _DMXScreenInfo::name + ReparentWindowProcPtr _DMXScreenInfo::ReparentWindow
-
- - - - - -
-   - - -

-Name from command line or config file

-

- - - - -
- + +
+ +
+ + +
+
+
- +
Bool _DMXScreenInfo::needsSync + ResizeWindowProcPtr _DMXScreenInfo::ResizeWindow
-
- - - - - -
-   - - -

-True if an XSync is pending

-

- - - - -
- + +
+ +
+ + +
+
+
- +
struct _DMXScreenInfo* _DMXScreenInfo::next + RestackWindowProcPtr _DMXScreenInfo::RestackWindow
-
- - - - - -
-   - - -

-List of "screens" on same display

-

- - - - -
- + +
+ +
+ + +
+
+
- +
struct _DMXScreenInfo* _DMXScreenInfo::over + int _DMXScreenInfo::rootHeight
-
- - - - - -
-   - - -

-List of "screens" that overlap

-

- - - - -
- + + + + +
+
+
- +
int _DMXScreenInfo::rootHeight + int _DMXScreenInfo::rootWidth
-
- - - - - -
-   - - -

-Height of "root" window

-

- - - - -
- + + + + +
+
+
- +
int _DMXScreenInfo::rootWidth + Window _DMXScreenInfo::rootWin
-
- - - - - -
-   - - -

-Width of "root" window

-

- - - - -
- + +
+

"Root" window on backend display

+ +

Referenced by dmxBECreateWindowTree(), and dmxCreateWindow().

+ +
+ + +
+
+
- +
Window _DMXScreenInfo::rootWin + int _DMXScreenInfo::rootX
-
- - - - - -
-   - - -

-"Root" window on backend display

-

- - - - -
- + + + + +
+
+
- +
int _DMXScreenInfo::rootX + int _DMXScreenInfo::rootXOrigin
-
- - - - - -
-   - - -

-X offset of "root" window WRT "screen"

-

- - - - -
- + + + + +
+
+
- +
int _DMXScreenInfo::rootXOrigin + int _DMXScreenInfo::rootY
-
- - - - - -
-   - - -

-Global X origin of "root" window

-

- - - - -
- + + + + +
+
+
- +
int _DMXScreenInfo::rootY + int _DMXScreenInfo::rootYOrigin
-
- - - - - -
-   - - -

-Y offset of "root" window WRT "screen"

-

- - - - -
- + + + + +
+
+
- +
int _DMXScreenInfo::rootYOrigin + int _DMXScreenInfo::savedTimeout
-
- - - - - -
-   - - -

-Global Y origin of "root" window

-

- - - - -
- + +
+

Original screen saver timeout

+ +

Referenced by dmxDPMSInit(), and dmxDPMSTerm().

+ +
+ + +
+
+
- +
int _DMXScreenInfo::savedTimeout + SaveScreenProcPtr _DMXScreenInfo::SaveScreen
-
- - - - - -
-   - - -

-Original screen saver timeout

-

- - - - -
- + +
+ +
+ + +
+
+
- +
Drawable _DMXScreenInfo::scrnDefDrawables[MAXFORMATS] + Drawable _DMXScreenInfo::scrnDefDrawables[MAXFORMATS]
-
- - - - - -
-   - - -

-Default drawables for "screen"

-

- - - - -
- + +
+

Default drawables for "screen"

+ +

Referenced by dmxBECloseScreen(), dmxBECreateCursor(), dmxBECreateGC(), dmxBERestorePixmap(), and dmxBEScreenInit().

+ +
+ + +
+
+
- +
int _DMXScreenInfo::scrnHeight + int _DMXScreenInfo::scrnHeight
-
- - - - - -
-   - - -

-Height of "screen"

-

- - - - -
- + + + + +
+
+
- +
int _DMXScreenInfo::scrnWidth + int _DMXScreenInfo::scrnWidth
-
- - - - - -
-   - - -

-Width of "screen"

-

- - - - -
- + + + + +
+
+
- +
Window _DMXScreenInfo::scrnWin + Window _DMXScreenInfo::scrnWin
-
- - - - - -
-   - - -

-"Screen" window on backend display

-

- - - - -
- + + + + +
+
+
- +
int _DMXScreenInfo::scrnX + int _DMXScreenInfo::scrnX
-
- - - - - -
-   - - -

-X offset of "screen" WRT BE display

-

- - - - -
- + + + + +
+
+
- +
int _DMXScreenInfo::scrnXSign + int _DMXScreenInfo::scrnXSign
-
- - - - - -
-   - - -

-X offset sign of "screen"

-

- - - - -
- + +
+

X offset sign of "screen"

+ +

Referenced by dmxConfigAddDisplay(), and dmxGetScreenAttribs().

+ +
+ + +
+
+
- +
int _DMXScreenInfo::scrnY + int _DMXScreenInfo::scrnY
-
- - - - - -
-   - - -

-Y offset of "screen" WRT BE display

-

- - - - -
- + + + + +
+
+
- +
int _DMXScreenInfo::scrnYSign + int _DMXScreenInfo::scrnYSign
-
- - - - - -
-   - - -

-Y offset sign of "screen"

-

- - - - -
- + +
+

Y offset sign of "screen"

+ +

Referenced by dmxConfigAddDisplay(), and dmxGetScreenAttribs().

+ +
+ + +
+
+
- +
void* _DMXScreenInfo::shadow + SetShapeProcPtr _DMXScreenInfo::SetShape
-
- - - - - -
-   - - -

-Shadow framebuffer data (if enabled)

-

- - - - -
- + +
+ +
+ + +
+
+
- +
XImage* _DMXScreenInfo::shadowFBImage + void* _DMXScreenInfo::shadow
-
- - - - - -
-   - - -

-Screen image used by shadow FB code

-

- - - - -
- + +
+

Shadow framebuffer data (if enabled)

+ +

Referenced by dmxBEScreenInit(), dmxCloseScreen(), and dmxScreenInit().

+ +
+ + +
+
+
- +
XlibGC _DMXScreenInfo::shadowGC + XImage* _DMXScreenInfo::shadowFBImage
-
- - - - - -
-   - - -

-Default GC used by shadow FB code

-

- - - - -
- + +
+

Screen image used by shadow FB code

+ +

Referenced by dmxBECloseScreen(), dmxBEScreenInit(), and dmxShadowUpdateProc().

+ +
+ + +
+
+
- +
int _DMXScreenInfo::shared + XlibGC _DMXScreenInfo::shadowGC
-
- - - - - -
-   - - -

-Non-zero if another Xdmx is running

-

- - - - -
- + +
+

Default GC used by shadow FB code

+ +

Referenced by dmxBECloseScreen(), dmxBEScreenInit(), and dmxShadowUpdateProc().

+ +
+ + +
+
+
- +
DMXStatInfo* _DMXScreenInfo::stat + int _DMXScreenInfo::shared
-
- - - - - -
-   - - -

-Statistics about XSync

-

- - - - -
- + +
+

Non-zero if another Xdmx is running

+ +

Referenced by dmxPropertyDisplay().

+ +
+ + +
+
+
- +
PositionType _DMXScreenInfo::where + DMXStatInfo* _DMXScreenInfo::stat
-
- - - - - -
-   - - -

-Relative layout information

-

- - - - -
- + +
+

Statistics about XSync

+ +

Referenced by dmxConfigAddDisplay(), dmxStatCallback(), dmxStatSync(), and InitOutput().

+ +
+ + +
+
+
- +
int _DMXScreenInfo::whereRefScreen + StoreColorsProcPtr _DMXScreenInfo::StoreColors
-
- - - - - -
-   - - -

-Relative layout information

-

- - - - -
- + +
+ +
+ + +
+
+
- +
int _DMXScreenInfo::whereX + TrapezoidsProcPtr _DMXScreenInfo::Trapezoids
-
- - - - - -
-   - - -

-Relative layout information

-

- - - - -
- + +
+ +
+ + +
+
+
- +
int _DMXScreenInfo::whereY + TrianglesProcPtr _DMXScreenInfo::Triangles
-
- - - - - -
-   - - -

-Relative layout information

-


The documentation for this struct was generated from the following file: + +
+ +
+ + +
+
+ + + + +
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: +
diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXStatAvg.html b/xorg-server/hw/dmx/doc/html/struct__DMXStatAvg.html index feb264dcb..7fcb44ae7 100644 --- a/xorg-server/hw/dmx/doc/html/struct__DMXStatAvg.html +++ b/xorg-server/hw/dmx/doc/html/struct__DMXStatAvg.html @@ -6,16 +6,82 @@ - - -

_DMXStatAvg Struct Reference

- + + +
+

_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. -

-


The documentation for this struct was generated from the following file: +

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: +
diff --git a/xorg-server/hw/dmx/doc/html/struct__DMXStatInfo.html b/xorg-server/hw/dmx/doc/html/struct__DMXStatInfo.html index eff756130..3a0fd0540 100644 --- a/xorg-server/hw/dmx/doc/html/struct__DMXStatInfo.html +++ b/xorg-server/hw/dmx/doc/html/struct__DMXStatInfo.html @@ -6,16 +6,114 @@ - - -

_DMXStatInfo Struct Reference

- + + +
+

_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. -

-


The documentation for this struct was generated from the following file: +

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: +
diff --git a/xorg-server/hw/dmx/doc/html/struct__Event.html b/xorg-server/hw/dmx/doc/html/struct__Event.html deleted file mode 100644 index cb9b65bc3..000000000 --- a/xorg-server/hw/dmx/doc/html/struct__Event.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - File Index - - - - - -

_Event Struct Reference

- - - - - - - - -

Data Fields

xEvent event
ScreenPtr pScreen
deviceValuator valuator
-

Detailed Description

-Information about the event. -

-


Field Documentation

-

- - - - -
- - -
xEvent _Event::event -
-
- - - - - -
-   - - -

-Event.

-

- - - - -
- - -
ScreenPtr _Event::pScreen -
-
- - - - - -
-   - - -

-Screen on which event occurred.

-

- - - - -
- - -
deviceValuator _Event::valuator -
-
- - - - - -
-   - - -

-XInput device valuator information.

-


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__EventQueue.html b/xorg-server/hw/dmx/doc/html/struct__EventQueue.html deleted file mode 100644 index abcc33aa2..000000000 --- a/xorg-server/hw/dmx/doc/html/struct__EventQueue.html +++ /dev/null @@ -1,224 +0,0 @@ - - - - - File Index - - - - - -

_EventQueue Struct Reference

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

Data Fields

HWEventQueueType head
HWEventQueueType tail
CARD32 lastEventTime
Bool lastMotion
EventRec events [QUEUE_SIZE]
DevicePtr pPtr
ScreenPtr pEnqueueScreen
ScreenPtr pDequeueScreen
-

Detailed Description

-Event queue. -

-


Field Documentation

-

- - - - -
- - -
EventRec _EventQueue::events[QUEUE_SIZE] -
-
- - - - - -
-   - - -

-Static allocation for signals.

-

- - - - -
- - -
HWEventQueueType _EventQueue::head -
-
- - - - - -
-   - - -

-Queue head; must be long for SetInputCheck.

-

- - - - -
- - -
CARD32 _EventQueue::lastEventTime -
-
- - - - - -
-   - - -

-To avoid time running backwards.

-

- - - - -
- - -
Bool _EventQueue::lastMotion -
-
- - - - - -
-   - - -

-True if last event was motion.

-

- - - - -
- - -
ScreenPtr _EventQueue::pDequeueScreen -
-
- - - - - -
-   - - -

-Screen events are dispatched to.

-

- - - - -
- - -
ScreenPtr _EventQueue::pEnqueueScreen -
-
- - - - - -
-   - - -

-Screen events are delivered to.

-

- - - - -
- - -
DevicePtr _EventQueue::pPtr -
-
- - - - - -
-   - - -

-Device pointers (to get funcs)

-

- - - - -
- - -
HWEventQueueType _EventQueue::tail -
-
- - - - - -
-   - - -

-Queue tail; must be long for SetInputCheck.

-


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 index 16ef20aed..1694271bf 100644 --- a/xorg-server/hw/dmx/doc/html/struct__dmxArg.html +++ b/xorg-server/hw/dmx/doc/html/struct__dmxArg.html @@ -6,90 +6,85 @@ - - -

_dmxArg Struct Reference

- - - - - - - - + + +
+

_dmxArg Struct Reference


Data Fields

int argc
int argm
const char ** argv
+ + + +

Data Fields

int argc
int argm
const char ** argv
-

Detailed Description

-Stores the parsed argument list. -

-


Field Documentation

-

- - - - -
- +

Detailed Description

+

Stores the parsed argument list.

+

Field Documentation

+ +
+
+
- +
int _dmxArg::argc + int _dmxArg::argc
-
- - - - - -
-   - + +
+

Number of arguments in argv

-

-Number of arguments in argv

-

- - - - -
- +

Referenced by dmxArgAdd(), dmxArgC(), dmxArgCreate(), dmxArgFree(), and dmxArgV().

+ + + + +
+
+
- +
int _dmxArg::argm + int _dmxArg::argm
-
- - - - - -
-   - + +
+

Maximum number of arguments store-able in argv

-

-Maximum number of arguments store-able in argv

-

- - - - -
- +

Referenced by dmxArgAdd(), and dmxArgCreate().

+ + + + +
+
+
- +
const char** _dmxArg::argv + const char** _dmxArg::argv
-
- - - - - -
-   - + +
+

Arguments

-

-Arguments

-


The documentation for this struct was generated from the following file: +

Referenced by dmxArgAdd(), dmxArgCreate(), dmxArgFree(), and dmxArgV().

+ + + +
The documentation for this struct was generated from the following file: +
diff --git a/xorg-server/hw/dmx/doc/html/struct__dmxColormapPriv.html b/xorg-server/hw/dmx/doc/html/struct__dmxColormapPriv.html index 531e96ee2..72468bbf4 100644 --- a/xorg-server/hw/dmx/doc/html/struct__dmxColormapPriv.html +++ b/xorg-server/hw/dmx/doc/html/struct__dmxColormapPriv.html @@ -6,18 +6,52 @@ - - -

_dmxColormapPriv Struct Reference

#include <dmxcmap.h> -

- - + + +
+

_dmxColormapPriv Struct Reference

+

#include <dmxcmap.h>

+
+ +

Data Fields

Colormap cmap
-


Detailed Description

-Colormap private area. -

-


The documentation for this struct was generated from the following file: +

Detailed Description

+

Colormap private area.

+

Field Documentation

+ + +
The documentation for this struct was generated from the following file: +
diff --git a/xorg-server/hw/dmx/doc/html/struct__dmxCursorPriv.html b/xorg-server/hw/dmx/doc/html/struct__dmxCursorPriv.html index 3891b8f3a..13187c67d 100644 --- a/xorg-server/hw/dmx/doc/html/struct__dmxCursorPriv.html +++ b/xorg-server/hw/dmx/doc/html/struct__dmxCursorPriv.html @@ -6,18 +6,52 @@ - - -

_dmxCursorPriv Struct Reference

#include <dmxcursor.h> -

- - + + +
+

_dmxCursorPriv Struct Reference

+

#include <dmxcursor.h>

+
+ +

Data Fields

Cursor cursor
-


Detailed Description

-Cursor private area. -

-


The documentation for this struct was generated from the following file: +

Detailed Description

+

Cursor private area.

+

Field Documentation

+ + +
The documentation for this struct was generated from the following file: +
diff --git a/xorg-server/hw/dmx/doc/html/struct__dmxFontPriv.html b/xorg-server/hw/dmx/doc/html/struct__dmxFontPriv.html index adff77f04..7b4c457d5 100644 --- a/xorg-server/hw/dmx/doc/html/struct__dmxFontPriv.html +++ b/xorg-server/hw/dmx/doc/html/struct__dmxFontPriv.html @@ -6,18 +6,68 @@ - - -

_dmxFontPriv Struct Reference

#include <dmxfont.h> -

- - + + +
+

_dmxFontPriv Struct Reference

+

#include <dmxfont.h>

+
+ + +

Data Fields

int refcnt
XFontStruct ** font
-


Detailed Description

-Font private area. -

-


The documentation for this struct was generated from the following file: +

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: +
diff --git a/xorg-server/hw/dmx/doc/html/struct__dmxGCPriv.html b/xorg-server/hw/dmx/doc/html/struct__dmxGCPriv.html index 9a7b0fd25..eaa249d5c 100644 --- a/xorg-server/hw/dmx/doc/html/struct__dmxGCPriv.html +++ b/xorg-server/hw/dmx/doc/html/struct__dmxGCPriv.html @@ -6,18 +6,100 @@ - - -

_dmxGCPriv Struct Reference

#include <dmxgc.h> -

- - + + +
+

_dmxGCPriv Struct Reference

+

#include <dmxgc.h>

+
+ + + + +

Data Fields

GCOps * ops
GCFuncs * funcs
XlibGC gc
Bool msc
-


Detailed Description

-GC private area. -

-


The documentation for this struct was generated from the following file: +

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: +
diff --git a/xorg-server/hw/dmx/doc/html/struct__dmxGlyphPriv.html b/xorg-server/hw/dmx/doc/html/struct__dmxGlyphPriv.html index c7738a4b6..e113e3710 100644 --- a/xorg-server/hw/dmx/doc/html/struct__dmxGlyphPriv.html +++ b/xorg-server/hw/dmx/doc/html/struct__dmxGlyphPriv.html @@ -6,44 +6,53 @@ - - -

_dmxGlyphPriv Struct Reference

#include <dmxpict.h> -

- - - - - + + +
+

_dmxGlyphPriv Struct Reference

+

#include <dmxpict.h>

+

Data Fields

GlyphSet * glyphSets
+ +

Data Fields

GlyphSet * glyphSets
-


Detailed Description

-Glyph Set private structure -

-


Field Documentation

-

- - - - -
- +

Detailed Description

+

Glyph Set private structure

+

Field Documentation

+ +
+
+
- +
GlyphSet* _dmxGlyphPriv::glyphSets + GlyphSet* _dmxGlyphPriv::glyphSets
-
- - - - - -
-   - + +
+

Glyph Set IDs from back-end server

-

-Glyph Set IDs from back-end server

-


The documentation for this struct was generated from the following file: +

Referenced by dmxBECreateGlyphSet(), dmxBEFreeGlyphSet(), dmxBERestoreRenderGlyph(), dmxProcRenderAddGlyphs(), dmxProcRenderCompositeGlyphs(), dmxProcRenderCreateGlyphSet(), dmxProcRenderFreeGlyphs(), and dmxProcRenderFreeGlyphSet().

+ + + +
The documentation for this struct was generated from the following file: +
diff --git a/xorg-server/hw/dmx/doc/html/struct__dmxPictPriv.html b/xorg-server/hw/dmx/doc/html/struct__dmxPictPriv.html index c3034eefa..beaf8e3cc 100644 --- a/xorg-server/hw/dmx/doc/html/struct__dmxPictPriv.html +++ b/xorg-server/hw/dmx/doc/html/struct__dmxPictPriv.html @@ -6,68 +6,70 @@ - - -

_dmxPictPriv Struct Reference

#include <dmxpict.h> -

- - - - - - - + + +
+

_dmxPictPriv Struct Reference

+

#include <dmxpict.h>

+

Data Fields

Picture pict
Mask savedMask
+ + +

Data Fields

Picture pict
Mask savedMask
-


Detailed Description

-Picture private structure -

-


Field Documentation

-

- - - - -
- +

Detailed Description

+

Picture private structure

+

Field Documentation

+ +
+
+
- +
Picture _dmxPictPriv::pict + Picture _dmxPictPriv::pict
-
- - - - - -
-   - + +
+

Picture ID from back-end server

-

-Picture ID from back-end server

-

- - - - -
- +

Referenced by dmxBECreatePicture(), dmxBEFreePicture(), dmxChangePictureClip(), dmxComposite(), dmxCompositeRects(), dmxCreatePicture(), dmxCreatePictureList(), dmxDestroyPictureClip(), dmxProcRenderCompositeGlyphs(), dmxProcRenderSetPictureFilter(), dmxProcRenderSetPictureTransform(), dmxTrapezoids(), dmxTriangles(), dmxTriFan(), dmxTriStrip(), and dmxValidatePicture().

+ + + + +
+
+
- +
Mask _dmxPictPriv::savedMask + Mask _dmxPictPriv::savedMask
-
- - - - - -
-   - + +
+

Mask of picture attributes saved for lazy window creation.

-

-Mask of picture attributes saved for lazy window creation.

-


The documentation for this struct was generated from the following file: +

Referenced by dmxChangePicture(), dmxCreatePicture(), and dmxValidatePicture().

+ + + +
The documentation for this struct was generated from the following file: +
diff --git a/xorg-server/hw/dmx/doc/html/struct__dmxPixPriv.html b/xorg-server/hw/dmx/doc/html/struct__dmxPixPriv.html index a358c0162..67e50903e 100644 --- a/xorg-server/hw/dmx/doc/html/struct__dmxPixPriv.html +++ b/xorg-server/hw/dmx/doc/html/struct__dmxPixPriv.html @@ -6,18 +6,68 @@ - - -

_dmxPixPriv Struct Reference

#include <dmxpixmap.h> -

- - + + +
+

_dmxPixPriv Struct Reference

+

#include <dmxpixmap.h>

+
+ + +

Data Fields

Pixmap pixmap
XImage * detachedImage
-


Detailed Description

-Pixmap private area. -

-


The documentation for this struct was generated from the following file: +

Detailed Description

+

Pixmap private area.

+

Field Documentation

+ + + + +
The documentation for this struct was generated from the following file: +
diff --git a/xorg-server/hw/dmx/doc/html/struct__dmxWinPriv.html b/xorg-server/hw/dmx/doc/html/struct__dmxWinPriv.html index c51978e8f..3601baa07 100644 --- a/xorg-server/hw/dmx/doc/html/struct__dmxWinPriv.html +++ b/xorg-server/hw/dmx/doc/html/struct__dmxWinPriv.html @@ -6,18 +6,180 @@ - - -

_dmxWinPriv Struct Reference

#include <dmxwindow.h> -

- - + + +
+

_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. -

-


The documentation for this struct was generated from the following file: +

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: +
diff --git a/xorg-server/hw/dmx/doc/html/struct__myPrivate.html b/xorg-server/hw/dmx/doc/html/struct__myPrivate.html index 50e532569..2a3cb28e8 100644 --- a/xorg-server/hw/dmx/doc/html/struct__myPrivate.html +++ b/xorg-server/hw/dmx/doc/html/struct__myPrivate.html @@ -6,258 +6,1096 @@ - - -

_myPrivate Struct Reference

- - - + + +
+

_myPrivate Struct Reference

+

#include <usb-private.h>

+

Data Fields

int fd
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

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  +
+
+
-
CARD32 kbdState [NUM_STATE_ENTRIES]
+ + + +
anonymous enum
+ +

+
Enumerator:
+ + + + + +
button1  +
button2  +
button3  +
button4  +
button5  +
+
+
-
int pitch
+ + + +
int _myPrivate::absmap[DMX_MAX_AXES]
+ +

+

Absolute axis map

-
unsigned long duration
+ + + +
enum { ... } _myPrivate::buttons
+ +

-
DeviceIntPtr pDevice
+ + + +
enum { ... } _myPrivate::buttons
+ +

-
unsigned char mask [EV_MAX/8+1]
+ + + +
int _myPrivate::captured
+ +

-
int numLeds
int relmap [DMX_MAX_AXES]
+ + + +
int _myPrivate::centerX
+ +

-
int absmap [DMX_MAX_AXES]
DMXInputInfodmxInput
+ + + +
int _myPrivate::centerY
+ +

-
-


Detailed Description

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

-


Field Documentation

-

- - - - -
- - -
int _myPrivate::absmap[DMX_MAX_AXES] -
-
- - - - - -
-   - - -

-Absolute axis map

-

- - - - -
- +

Referenced by dmxBackendComputeCenter().

+ + + + +
+
+
- +
DMXInputInfo* _myPrivate::dmxInput + CloseScreenProcPtr _myPrivate::CloseScreen
-
- - - - - -
-   - - -

-For pretty-printing

-

- - - - -
- + +
+ +

Referenced by dmxCloseConsoleScreen(), and dmxConsoleInit().

+ +
+ + +
+
+
- +
unsigned long _myPrivate::duration + int _myPrivate::consHeight
-
- - - - - -
-   - - -

-Bell duration

-

- - - - -
- + + + + +
+
+
- +
int _myPrivate::fd + int _myPrivate::consWidth
-
- - - - - -
-   - - -

-File descriptor

-

- - - - -
- + + + + +
+
+
- +
CARD32 _myPrivate::kbdState + Cursor _myPrivate::cursorEmpty
-
- - - - - -
-   - - -

-Keyboard state

-

- - - - -
- + +
+ +
+ + +
+
+
- +
unsigned char _myPrivate::mask[EV_MAX/8 + 1] + Cursor _myPrivate::cursorGrabbed
-
- - - - - -
-   - - -

-Mask

-

- - - - -
- + +
+ +
+ + +
+
+
- +
int _myPrivate::numLeds + Cursor _myPrivate::cursorNormal
-
- - - - - -
-   - - -

-Counts

-

- - - - -
- + +
+ +
+ + +
+
+
- +
DeviceIntPtr _myPrivate::pDevice + int _myPrivate::curX
-
- - - - - -
-   - - -

-Device (mouse or other)

-

- - - - -
- + +
+ +

Referenced by dmxConsoleCapture(), and dmxConsoleMoveAbsolute().

+ +
+ + +
+
+
- +
int _myPrivate::pitch + int _myPrivate::curY
-
- - - - - -
-   - - -

-Bell pitch

-

- - - - -
- + +
+ +

Referenced by dmxConsoleCapture(), and dmxConsoleMoveAbsolute().

+ +
+ + +
+
+
- +
int _myPrivate::relmap[DMX_MAX_AXES] + _myPrivate::DMX_COMMON_PRIVATE
-
- - - - - -
-   - - -

-Relative axis map

-


The documentation for this struct was generated from the following files: + +
+ +
+ + +
+ +
+

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: +
diff --git a/xorg-server/hw/dmx/doc/html/structdmxGlxVisualPrivate.html b/xorg-server/hw/dmx/doc/html/structdmxGlxVisualPrivate.html index 2c5584e14..e431d597d 100644 --- a/xorg-server/hw/dmx/doc/html/structdmxGlxVisualPrivate.html +++ b/xorg-server/hw/dmx/doc/html/structdmxGlxVisualPrivate.html @@ -6,18 +6,68 @@ - - -

dmxGlxVisualPrivate Struct Reference

#include <dmx_glxvisuals.h> -

- - + + +
+

dmxGlxVisualPrivate Struct Reference

+

#include <dmx_glxvisuals.h>

+
+ + +

Data Fields

int x_visual_depth
int x_visual_class
-


Detailed Description

-GLX Visual private area. -

-


The documentation for this struct was generated from the following file: +

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: +
diff --git a/xorg-server/hw/dmx/doc/html/structxDMXAddInputReply.html b/xorg-server/hw/dmx/doc/html/structxDMXAddInputReply.html deleted file mode 100644 index 580d1dcc0..000000000 --- a/xorg-server/hw/dmx/doc/html/structxDMXAddInputReply.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - File Index - - - - - -

xDMXAddInputReply Struct Reference

#include <dmxproto.h> -

- - -
-


Detailed Description

-Wire-level description of DMXAddInput protocol reply. -

-


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/structxDMXAddInputReq.html b/xorg-server/hw/dmx/doc/html/structxDMXAddInputReq.html deleted file mode 100644 index 8f2a84d5d..000000000 --- a/xorg-server/hw/dmx/doc/html/structxDMXAddInputReq.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - File Index - - - - - -

xDMXAddInputReq Struct Reference

#include <dmxproto.h> -

- - -
-


Detailed Description

-Wire-level description of DMXAddInput protocol request. -

-


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/structxDMXAddScreenReply.html b/xorg-server/hw/dmx/doc/html/structxDMXAddScreenReply.html deleted file mode 100644 index 6f1b91d8e..000000000 --- a/xorg-server/hw/dmx/doc/html/structxDMXAddScreenReply.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - File Index - - - - - -

xDMXAddScreenReply Struct Reference

#include <dmxproto.h> -

- - -
-


Detailed Description

-Wire-level description of DMXAddScreen protocol reply. -

-


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/structxDMXAddScreenReq.html b/xorg-server/hw/dmx/doc/html/structxDMXAddScreenReq.html deleted file mode 100644 index ec634882d..000000000 --- a/xorg-server/hw/dmx/doc/html/structxDMXAddScreenReq.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - File Index - - - - - -

xDMXAddScreenReq Struct Reference

#include <dmxproto.h> -

- - -
-


Detailed Description

-Wire-level description of DMXAddScreen protocol request. -

-


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/structxDMXChangeDesktopAttributesReply.html b/xorg-server/hw/dmx/doc/html/structxDMXChangeDesktopAttributesReply.html deleted file mode 100644 index 5ca2fb174..000000000 --- a/xorg-server/hw/dmx/doc/html/structxDMXChangeDesktopAttributesReply.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - File Index - - - - - -

xDMXChangeDesktopAttributesReply Struct Reference

#include <dmxproto.h> -

- - -
-


Detailed Description

-Wire-level description of DMXChangeDesktopAttributes protocol reply. -

-


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/structxDMXChangeDesktopAttributesReq.html b/xorg-server/hw/dmx/doc/html/structxDMXChangeDesktopAttributesReq.html deleted file mode 100644 index 9fb5c4cdf..000000000 --- a/xorg-server/hw/dmx/doc/html/structxDMXChangeDesktopAttributesReq.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - File Index - - - - - -

xDMXChangeDesktopAttributesReq Struct Reference

#include <dmxproto.h> -

- - -
-


Detailed Description

-Wire-level description of DMXChangeDesktopAttributes protocol request. -

-


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/structxDMXChangeScreensAttributesReply.html b/xorg-server/hw/dmx/doc/html/structxDMXChangeScreensAttributesReply.html deleted file mode 100644 index f7228665f..000000000 --- a/xorg-server/hw/dmx/doc/html/structxDMXChangeScreensAttributesReply.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - File Index - - - - - -

xDMXChangeScreensAttributesReply Struct Reference

#include <dmxproto.h> -

- - -
-


Detailed Description

-Wire-level description of DMXChangeScreensAttributes protocol reply. -

-


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/structxDMXChangeScreensAttributesReq.html b/xorg-server/hw/dmx/doc/html/structxDMXChangeScreensAttributesReq.html deleted file mode 100644 index d744c6a72..000000000 --- a/xorg-server/hw/dmx/doc/html/structxDMXChangeScreensAttributesReq.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - File Index - - - - - -

xDMXChangeScreensAttributesReq Struct Reference

#include <dmxproto.h> -

- - -
-


Detailed Description

-Wire-level description of DMXChangeScreensAttributes protocol request. -

-


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/structxDMXForceWindowCreationReply.html b/xorg-server/hw/dmx/doc/html/structxDMXForceWindowCreationReply.html deleted file mode 100644 index 796791499..000000000 --- a/xorg-server/hw/dmx/doc/html/structxDMXForceWindowCreationReply.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - File Index - - - - - -

xDMXForceWindowCreationReply Struct Reference

#include <dmxproto.h> -

- - -
-


Detailed Description

-Wire-level description of DMXForceWindowCreation protocol reply. -

-


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/structxDMXForceWindowCreationReq.html b/xorg-server/hw/dmx/doc/html/structxDMXForceWindowCreationReq.html deleted file mode 100644 index b85f6b11c..000000000 --- a/xorg-server/hw/dmx/doc/html/structxDMXForceWindowCreationReq.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - File Index - - - - - -

xDMXForceWindowCreationReq Struct Reference

#include <dmxproto.h> -

- - -
-


Detailed Description

-Wire-level description of DMXForceWindowCreation protocol request. -

-


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/structxDMXGetDesktopAttributesReply.html b/xorg-server/hw/dmx/doc/html/structxDMXGetDesktopAttributesReply.html deleted file mode 100644 index 6637fb12a..000000000 --- a/xorg-server/hw/dmx/doc/html/structxDMXGetDesktopAttributesReply.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - File Index - - - - - -

xDMXGetDesktopAttributesReply Struct Reference

#include <dmxproto.h> -

- - -
-


Detailed Description

-Wire-level description of DMXGetDesktopAttributes protocol reply. -

-


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/structxDMXGetDesktopAttributesReq.html b/xorg-server/hw/dmx/doc/html/structxDMXGetDesktopAttributesReq.html deleted file mode 100644 index c9ecbc38d..000000000 --- a/xorg-server/hw/dmx/doc/html/structxDMXGetDesktopAttributesReq.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - File Index - - - - - -

xDMXGetDesktopAttributesReq Struct Reference

#include <dmxproto.h> -

- - -
-


Detailed Description

-Wire-level description of DMXGetDesktopAttributes protocol request. -

-


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/structxDMXGetInputAttributesReply.html b/xorg-server/hw/dmx/doc/html/structxDMXGetInputAttributesReply.html deleted file mode 100644 index 71595c5a1..000000000 --- a/xorg-server/hw/dmx/doc/html/structxDMXGetInputAttributesReply.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - File Index - - - - - -

xDMXGetInputAttributesReply Struct Reference

#include <dmxproto.h> -

- - -
-


Detailed Description

-Wire-level description of DMXGetInputAttributes protocol reply. -

-


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/structxDMXGetInputAttributesReq.html b/xorg-server/hw/dmx/doc/html/structxDMXGetInputAttributesReq.html deleted file mode 100644 index 6c7fade50..000000000 --- a/xorg-server/hw/dmx/doc/html/structxDMXGetInputAttributesReq.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - File Index - - - - - -

xDMXGetInputAttributesReq Struct Reference

#include <dmxproto.h> -

- - -
-


Detailed Description

-Wire-level description of DMXGetInputAttributes protocol request. -

-


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/structxDMXGetInputCountReply.html b/xorg-server/hw/dmx/doc/html/structxDMXGetInputCountReply.html deleted file mode 100644 index 375b1415c..000000000 --- a/xorg-server/hw/dmx/doc/html/structxDMXGetInputCountReply.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - File Index - - - - - -

xDMXGetInputCountReply Struct Reference

#include <dmxproto.h> -

- - -
-


Detailed Description

-Wire-level description of DMXGetInputCount protocol reply. -

-


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/structxDMXGetInputCountReq.html b/xorg-server/hw/dmx/doc/html/structxDMXGetInputCountReq.html deleted file mode 100644 index 55251bb52..000000000 --- a/xorg-server/hw/dmx/doc/html/structxDMXGetInputCountReq.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - File Index - - - - - -

xDMXGetInputCountReq Struct Reference

#include <dmxproto.h> -

- - -
-


Detailed Description

-Wire-level description of DMXGetInputCount protocol request. -

-


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/structxDMXGetScreenAttributesReply.html b/xorg-server/hw/dmx/doc/html/structxDMXGetScreenAttributesReply.html deleted file mode 100644 index 89ca021e7..000000000 --- a/xorg-server/hw/dmx/doc/html/structxDMXGetScreenAttributesReply.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - File Index - - - - - -

xDMXGetScreenAttributesReply Struct Reference

#include <dmxproto.h> -

- - -
-


Detailed Description

-Wire-level description of DMXGetScreenAttributes protocol reply. -

-


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/structxDMXGetScreenAttributesReq.html b/xorg-server/hw/dmx/doc/html/structxDMXGetScreenAttributesReq.html deleted file mode 100644 index d7d9e9afd..000000000 --- a/xorg-server/hw/dmx/doc/html/structxDMXGetScreenAttributesReq.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - File Index - - - - - -

xDMXGetScreenAttributesReq Struct Reference

#include <dmxproto.h> -

- - -
-


Detailed Description

-Wire-level description of DMXGetScreenAttributes protocol request. -

-


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/structxDMXGetScreenCountReply.html b/xorg-server/hw/dmx/doc/html/structxDMXGetScreenCountReply.html deleted file mode 100644 index e694fc90a..000000000 --- a/xorg-server/hw/dmx/doc/html/structxDMXGetScreenCountReply.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - File Index - - - - - -

xDMXGetScreenCountReply Struct Reference

#include <dmxproto.h> -

- - -
-


Detailed Description

-Wire-level description of DMXGetScreenCount protocol reply. -

-


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/structxDMXGetScreenCountReq.html b/xorg-server/hw/dmx/doc/html/structxDMXGetScreenCountReq.html deleted file mode 100644 index f27e1e05a..000000000 --- a/xorg-server/hw/dmx/doc/html/structxDMXGetScreenCountReq.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - File Index - - - - - -

xDMXGetScreenCountReq Struct Reference

#include <dmxproto.h> -

- - -
-


Detailed Description

-Wire-level description of DMXGetScreenCount protocol request. -

-


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/structxDMXGetWindowAttributesReply.html b/xorg-server/hw/dmx/doc/html/structxDMXGetWindowAttributesReply.html deleted file mode 100644 index 2e381958b..000000000 --- a/xorg-server/hw/dmx/doc/html/structxDMXGetWindowAttributesReply.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - File Index - - - - - -

xDMXGetWindowAttributesReply Struct Reference

#include <dmxproto.h> -

- - -
-


Detailed Description

-Wire-level description of DMXGetWindowAttributes protocol reply. -

-


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/structxDMXGetWindowAttributesReq.html b/xorg-server/hw/dmx/doc/html/structxDMXGetWindowAttributesReq.html deleted file mode 100644 index 9b3e1c053..000000000 --- a/xorg-server/hw/dmx/doc/html/structxDMXGetWindowAttributesReq.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - File Index - - - - - -

xDMXGetWindowAttributesReq Struct Reference

#include <dmxproto.h> -

- - -
-


Detailed Description

-Wire-level description of DMXGetWindowAttributes protocol request. -

-


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/structxDMXQueryVersionReply.html b/xorg-server/hw/dmx/doc/html/structxDMXQueryVersionReply.html deleted file mode 100644 index c9a4683f1..000000000 --- a/xorg-server/hw/dmx/doc/html/structxDMXQueryVersionReply.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - File Index - - - - - -

xDMXQueryVersionReply Struct Reference

#include <dmxproto.h> -

- - -
-


Detailed Description

-Wire-level description of DMXQueryVersion protocol reply. -

-


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/structxDMXQueryVersionReq.html b/xorg-server/hw/dmx/doc/html/structxDMXQueryVersionReq.html deleted file mode 100644 index fdc3c3f97..000000000 --- a/xorg-server/hw/dmx/doc/html/structxDMXQueryVersionReq.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - File Index - - - - - -

xDMXQueryVersionReq Struct Reference

#include <dmxproto.h> -

- - -
-


Detailed Description

-Wire-level description of DMXQueryVersion protocol request. -

-


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/structxDMXRemoveInputReply.html b/xorg-server/hw/dmx/doc/html/structxDMXRemoveInputReply.html deleted file mode 100644 index 66c04a373..000000000 --- a/xorg-server/hw/dmx/doc/html/structxDMXRemoveInputReply.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - File Index - - - - - -

xDMXRemoveInputReply Struct Reference

#include <dmxproto.h> -

- - -
-


Detailed Description

-Wire-level description of DMXRemoveInput protocol reply. -

-


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/structxDMXRemoveInputReq.html b/xorg-server/hw/dmx/doc/html/structxDMXRemoveInputReq.html deleted file mode 100644 index 62f2af182..000000000 --- a/xorg-server/hw/dmx/doc/html/structxDMXRemoveInputReq.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - File Index - - - - - -

xDMXRemoveInputReq Struct Reference

#include <dmxproto.h> -

- - -
-


Detailed Description

-Wire-level description of DMXRemoveInput protocol request. -

-


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/structxDMXRemoveScreenReply.html b/xorg-server/hw/dmx/doc/html/structxDMXRemoveScreenReply.html deleted file mode 100644 index c446a3442..000000000 --- a/xorg-server/hw/dmx/doc/html/structxDMXRemoveScreenReply.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - File Index - - - - - -

xDMXRemoveScreenReply Struct Reference

#include <dmxproto.h> -

- - -
-


Detailed Description

-Wire-level description of DMXRemoveScreen protocol reply. -

-


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/structxDMXRemoveScreenReq.html b/xorg-server/hw/dmx/doc/html/structxDMXRemoveScreenReq.html deleted file mode 100644 index 3920bff9b..000000000 --- a/xorg-server/hw/dmx/doc/html/structxDMXRemoveScreenReq.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - File Index - - - - - -

xDMXRemoveScreenReq Struct Reference

#include <dmxproto.h> -

- - -
-


Detailed Description

-Wire-level description of DMXRemoveScreen protocol request. -

-


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/structxDMXSyncReply.html b/xorg-server/hw/dmx/doc/html/structxDMXSyncReply.html deleted file mode 100644 index 0a361cf5d..000000000 --- a/xorg-server/hw/dmx/doc/html/structxDMXSyncReply.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - File Index - - - - - -

xDMXSyncReply Struct Reference

#include <dmxproto.h> -

- - -
-


Detailed Description

-Wire-level description of DMXSync protocol reply. -

-


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/structxDMXSyncReq.html b/xorg-server/hw/dmx/doc/html/structxDMXSyncReq.html deleted file mode 100644 index a1580095d..000000000 --- a/xorg-server/hw/dmx/doc/html/structxDMXSyncReq.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - File Index - - - - - -

xDMXSyncReq Struct Reference

#include <dmxproto.h> -

- - -
-


Detailed Description

-Wire-level description of DMXSync protocol request. -

-


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 index 59560837e..d85f37403 100644 --- a/xorg-server/hw/dmx/doc/html/tree.html +++ b/xorg-server/hw/dmx/doc/html/tree.html @@ -1,70 +1,31 @@ + - + - + TreeView - - +
-

Distributed Multihead X

+

Distributed Multihead X

-

o*Main Page

-

o+File List

+

o*Main Page

+

o+Data Structures

-

|o*ChkNotMaskEv.c

-

|o*ChkNotMaskEv.h

-

|o*programs/Xserver/Xext/dmx.c

-

|o*lib/dmx/dmx.c

-

|o*dmx.h

-

|o*dmx_glxvisuals.h

-

|o*dmxarg.c

-

|o*dmxarg.h

-

|o*dmxbackend.c

-

|o*dmxbackend.h

-

|o*dmxcb.c

-

|o*dmxcb.h

-

|o*dmxclient.h

-

|o*dmxcmap.c

-

|o*dmxcmap.h

-

|o*dmxcommon.c

-

|o*dmxcommon.h

-

|o*dmxcompat.c

-

|o*dmxcompat.h

-

|o*dmxconfig.c

-

|o*dmxconfig.h

-

|o*dmxconsole.c

-

|o*dmxconsole.h

-

|o*dmxcursor.c

-

|o*dmxcursor.h

-

|o*dmxdetach.c

-

|o*dmxdpms.c

-

|o*dmxdpms.h

-

|o*dmxdummy.c

-

|o*dmxdummy.h

-

|o*dmxeq.c

-

|o*dmxeq.h

-

|o*dmxevents.c

-

|o*dmxevents.h

-

|o*dmxext.h

-

|o*dmxextension.c

-

|o*dmxextension.h

-

|o*dmxfont.c

-

|o*dmxfont.h

-

|o*dmxgc.c

-

|o*dmxgc.h

-

|o*dmxgcops.c

-

|o*dmxgcops.h

-

|o*dmxinit.c

-

|o*dmxinit.h

-

|o*dmxinput.c

-

|o*dmxinput.h

-

|o*dmxinputinit.c

-

|o*dmxinputinit.h

-

|o*dmxlog.c

-

|o*dmxlog.h

-

|o*dmxmap.c

-

|o*dmxmap.h

-

|o*dmxmotion.c

-

|o*dmxmotion.h

-

|o*dmxparse.c

-

|o*dmxparse.h

-

|o*dmxpict.c

-

|o*dmxpict.h

-

|o*dmxpixmap.c

-

|o*dmxpixmap.h

-

|o*dmxprint.c

-

|o*dmxprint.h

-

|o*dmxprop.c

-

|o*dmxprop.h

-

|o*dmxproto.h

-

|o*dmxscrinit.c

-

|o*dmxscrinit.h

-

|o*dmxshadow.c

-

|o*dmxshadow.h

-

|o*dmxsigio.c

-

|o*dmxsigio.h

-

|o*dmxstat.c

-

|o*dmxstat.h

-

|o*dmxsync.c

-

|o*dmxsync.h

-

|o*dmxvisual.c

-

|o*dmxvisual.h

-

|o*dmxwindow.c

-

|o*dmxwindow.h

-

|o*dmxxinput.c

-

|o*lnx-keyboard.c

-

|o*lnx-keyboard.h

-

|o*lnx-ms.c

-

|o*lnx-ms.h

-

|o*lnx-ps2.c

-

|o*lnx-ps2.h

-

|o*usb-common.c

-

|o*usb-common.h

-

|o*usb-keyboard.c

-

|o*usb-keyboard.h

-

|o*usb-mouse.c

-

|o*usb-mouse.h

-

|o*usb-other.c

-

|o*usb-other.h

-

|\*usb-private.h

+

|o*_dmxArg

+

|o*_dmxColormapPriv

+

|o*_DMXConfigComment

+

|o*_DMXConfigDisplay

+

|o*_DMXConfigEntry

+

|o*_DMXConfigFullDim

+

|o*_DMXConfigNumber

+

|o*_DMXConfigOption

+

|o*_DMXConfigPair

+

|o*_DMXConfigParam

+

|o*_DMXConfigPartDim

+

|o*_DMXConfigString

+

|o*_DMXConfigSub

+

|o*_DMXConfigToken

+

|o*_DMXConfigVirtual

+

|o*_DMXConfigWall

+

|o*_dmxCursorPriv

+

|o*_DMXEventMap

+

|o*_dmxFontPriv

+

|o*_dmxGCPriv

+

|o*_dmxGlyphPriv

+

|o*_DMXInputInfo

+

|o*_DMXLocalInitInfo

+

|o*_DMXLocalInputInfo

+

|o*_dmxPictPriv

+

|o*_dmxPixPriv

+

|o*_DMXScreenInfo

+

|o*_DMXStatAvg

+

|o*_DMXStatInfo

+

|o*_dmxWinPriv

+

|o*_myPrivate

+

|o*DMXConfigCmdStruct

+

|o*DMXConfigListStruct

+

|o*DMXDesktopAttributesRec

+

|o*dmxGlxVisualPrivate

+

|o*DMXInputAttributesRec

+

|o*DMXScreenAttributesRec

+

|o*DMXWindowAttributesRec

+

|\*stack

-

o+Data Structures

+

o*Data Fields

+

o+File List

-

|o*_dmxArg

-

|o*_dmxColormapPriv

-

|o*_DMXConfigComment

-

|o*_DMXConfigDisplay

-

|o*_DMXConfigEntry

-

|o*_DMXConfigFullDim

-

|o*_DMXConfigNumber

-

|o*_DMXConfigOption

-

|o*_DMXConfigPair

-

|o*_DMXConfigParam

-

|o*_DMXConfigPartDim

-

|o*_DMXConfigString

-

|o*_DMXConfigSub

-

|o*_DMXConfigToken

-

|o*_DMXConfigVirtual

-

|o*_DMXConfigWall

-

|o*_dmxCursorPriv

-

|o*_DMXEventMap

-

|o*_dmxFontPriv

-

|o*_dmxGCPriv

-

|o*_dmxGlyphPriv

-

|o*_DMXInputInfo

-

|o*_DMXLocalInitInfo

-

|o*_DMXLocalInputInfo

-

|o*_dmxPictPriv

-

|o*_dmxPixPriv

-

|o*_DMXScreenInfo

-

|o*_DMXStatAvg

-

|o*_DMXStatInfo

-

|o*_dmxWinPriv

-

|o*_Event

-

|o*_EventQueue

-

|o*_myPrivate

-

|o*DMXConfigCmdStruct

-

|o*DMXConfigListStruct

-

|o*DMXDesktopAttributes

-

|o*DMXDesktopAttributesRec

-

|o*dmxGlxVisualPrivate

-

|o*DMXInputAttributes

-

|o*DMXInputAttributesRec

-

|o*DMXScreenAttributes

-

|o*DMXScreenAttributesRec

-

|o*DMXWindowAttributes

-

|o*DMXWindowAttributesRec

-

|o*xDMXAddInputReply

-

|o*xDMXAddInputReq

-

|o*xDMXAddScreenReply

-

|o*xDMXAddScreenReq

-

|o*xDMXChangeDesktopAttributesReply

-

|o*xDMXChangeDesktopAttributesReq

-

|o*xDMXChangeScreensAttributesReply

-

|o*xDMXChangeScreensAttributesReq

-

|o*xDMXForceWindowCreationReply

-

|o*xDMXForceWindowCreationReq

-

|o*xDMXGetDesktopAttributesReply

-

|o*xDMXGetDesktopAttributesReq

-

|o*xDMXGetInputAttributesReply

-

|o*xDMXGetInputAttributesReq

-

|o*xDMXGetInputCountReply

-

|o*xDMXGetInputCountReq

-

|o*xDMXGetScreenAttributesReply

-

|o*xDMXGetScreenAttributesReq

-

|o*xDMXGetScreenCountReply

-

|o*xDMXGetScreenCountReq

-

|o*xDMXGetWindowAttributesReply

-

|o*xDMXGetWindowAttributesReq

-

|o*xDMXQueryVersionReply

-

|o*xDMXQueryVersionReq

-

|o*xDMXRemoveInputReply

-

|o*xDMXRemoveInputReq

-

|o*xDMXRemoveScreenReply

-

|o*xDMXRemoveScreenReq

-

|o*xDMXSyncReply

-

|\*xDMXSyncReq

+

|o*ChkNotMaskEv.c

+

|o*ChkNotMaskEv.h

+

|o*dmx-config.h

+

|o*dmx.c

+

|o*dmx.h

+

|o*dmx_glxvisuals.c

+

|o*dmx_glxvisuals.h

+

|o*dmxarg.c

+

|o*dmxarg.h

+

|o*dmxbackend.c

+

|o*dmxbackend.h

+

|o*dmxcb.c

+

|o*dmxcb.h

+

|o*dmxclient.h

+

|o*dmxcmap.c

+

|o*dmxcmap.h

+

|o*dmxcommon.c

+

|o*dmxcommon.h

+

|o*dmxcompat.c

+

|o*dmxcompat.h

+

|o*dmxconfig.c

+

|o*dmxconfig.h

+

|o*dmxconsole.c

+

|o*dmxconsole.h

+

|o*dmxcursor.c

+

|o*dmxcursor.h

+

|o*dmxdetach.c

+

|o*dmxdpms.c

+

|o*dmxdpms.h

+

|o*dmxdummy.c

+

|o*dmxdummy.h

+

|o*dmxevents.c

+

|o*dmxevents.h

+

|o*dmxextension.c

+

|o*dmxextension.h

+

|o*dmxfont.c

+

|o*dmxfont.h

+

|o*dmxgc.c

+

|o*dmxgc.h

+

|o*dmxgcops.c

+

|o*dmxgcops.h

+

|o*dmxinit.c

+

|o*dmxinit.h

+

|o*dmxinput.c

+

|o*dmxinput.h

+

|o*dmxinputinit.c

+

|o*dmxinputinit.h

+

|o*dmxlog.c

+

|o*dmxlog.h

+

|o*dmxmap.c

+

|o*dmxmap.h

+

|o*dmxmotion.c

+

|o*dmxmotion.h

+

|o*dmxparse.c

+

|o*dmxparse.h

+

|o*dmxpict.c

+

|o*dmxpict.h

+

|o*dmxpixmap.c

+

|o*dmxpixmap.h

+

|o*dmxprint.c

+

|o*dmxprint.h

+

|o*dmxprop.c

+

|o*dmxprop.h

+

|o*dmxscrinit.c

+

|o*dmxscrinit.h

+

|o*dmxshadow.c

+

|o*dmxshadow.h

+

|o*dmxsigio.c

+

|o*dmxsigio.h

+

|o*dmxstat.c

+

|o*dmxstat.h

+

|o*dmxsync.c

+

|o*dmxsync.h

+

|o*dmxtodmx.c

+

|o*dmxvisual.c

+

|o*dmxvisual.h

+

|o*dmxwindow.c

+

|o*dmxwindow.h

+

|o*dmxxinput.c

+

|o*lnx-keyboard.c

+

|o*lnx-keyboard.h

+

|o*lnx-ms.c

+

|o*lnx-ms.h

+

|o*lnx-ps2.c

+

|o*lnx-ps2.h

+

|o*usb-common.c

+

|o*usb-common.h

+

|o*usb-keyboard.c

+

|o*usb-keyboard.h

+

|o*usb-mouse.c

+

|o*usb-mouse.h

+

|o*usb-other.c

+

|o*usb-other.h

+

|o*usb-private.h

+

|o*vdltodmx.c

+

|\*xdmxconfig.c

-

o*Data Fields

-

\*Globals

+

\*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 index 3c1882a5b..0032cf4eb 100644 --- a/xorg-server/hw/dmx/doc/html/usb-common_8c.html +++ b/xorg-server/hw/dmx/doc/html/usb-common_8c.html @@ -6,208 +6,718 @@ - - -

usb-common.c File Reference

#include "usb-private.h"
-#include "usb-mouse.h"
- - - - + + +
+

usb-common.c File Reference

#include "usb-private.h"
+#include "usb-mouse.h"
+

Functions

void usbRead (DevicePtr pDev, MOTIONPROC motion, ENQUEUEPROC enqueue, int minButton, BLOCK block)
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

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
+
+
-
void usbInit (DevicePtr pDev, usbType type)
+ + + +
#define CHECKPROC   dmxCheckSpecialProcPtr
+

+
-void usbOff (DevicePtr pDev) +
+ + +
+
+ + + + +
#define ENQUEUEPROC   dmxEnqueueProcPtr
+
+
-pointer usbCreatePrivate (DeviceIntPtr pDevice) +
+
+ +
+
+ + + + + + + + + +
#define FATAL0( )    dmxLog(dmxFatal,f)
+
+
-void usbDestroyPrivate (pointer priv) +
+
+ +
+
+ + + + + + + + + + + + + + +
#define FATAL1(f,
 )    dmxLog(dmxFatal,f,a)
+
+
- -

Detailed Description

-Routines that are common between #usb-keyboard.c, #usb-mouse.c, and #usb-other.c

Function Documentation

-

- - - - -
- + + + +
+
+
- - - - - - + + + + + + + + + + + + + + + + +
pointer usbCreatePrivate DeviceIntPtr  pDevice  ) #define FATAL2(f,
a,
 )    dmxLog(dmxFatal,f,a,b)
+ +
+
+ + +
+
+ + + +
#define GETNAME
-
- - - - - -
-   - - -

-Create a private structure for use within this file.

-

- - - - -
- + +
+Value:
((DMXLocalInputInfoPtr)(pDevice->public.devicePrivate)) \
+                      ->name
+
+

Referenced by usbPrint().

+ +
+ + +
+
+
+ + + +
#define GETPRIV
+ +
+Value:
myPrivate *priv                                         \
+                      = ((DMXLocalInputInfoPtr)(pDev->devicePrivate))->private
+
+
+ + +
+
+ - - - - - - + + + + + + +
void usbDestroyPrivate pointer  priv  ) #define LOG0( )    dmxLog(dmxDebug,f)
+
+
+
+
+ +
+
+ + + + + + + + + + + + + +
#define LOG1(f,
 )    dmxLog(dmxDebug,f,a)
-
- - - - - -
-   - - -

-Destroy a private structure.

-

- - - - -
- + +
+ +
+ + +
+
+
+ + + + + - - - - + + + + + + + + + +
#define LOG1INPUT(p,
void usbInit DevicePtr  pDev, f,
 )    dmxLogInput(p->dmxInput,f,a)
+ +
+ +

Referenced by usbPrint().

+ +
+ + +
+
+ + + + + + + + - - + + - - + + + + +
#define LOG2(f,
usbType  typea,
 )    dmxLog(dmxDebug,f,a,b)
+
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + +
#define LOG3(f,
a,
b,
 )    dmxLog(dmxDebug,f,a,b,c)
-
- - - - - -
-   - - -

-Initialized pDev as a usbMouse, usbKeyboard, or usbOther device.

-

- - - - -
- + +
+ +
+ + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#define LOG3INPUT(p,
f,
a,
b,
 )    dmxLogInput(p->dmxInput,f,a,b,c)
+ +
+ +

Referenced by usbPrint().

+ +
+ + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - + + + + + + + + + + + +
#define LOG5INPUT(p,
f,
a,
b,
c,
void usbOff DevicePtr  pDev  ) d,
 )    dmxLogInput(p->dmxInput,f,a,b,c,d,e)
+
+
+

Referenced by usbPrint().

+ +
+
+ +
+
+ + + +
#define MOTIONPROC   dmxMotionProcPtr
-
- - - - - -
-   - - -

-Turn pDev off (i.e., stop taking input from pDev).

-

- - - - -
- + +
+ +
+ + +
+
+
- - - - + + + + + + +
void usbRead DevicePtr  pDev, #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 )  MOTIONPROC  motion,
+
+
+

Destroy a private structure.

+ +
+
+ +
+
+ + + + + + + + + + + - - + + +
void usbInit (DevicePtr  pDev,
usbType  type 
ENQUEUEPROC  enqueue, )
+
+
+

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,
int  minButton, const char *  filename,
const char *  devname,
BLOCK  blockint  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.

+

+
+

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().

+ +
+
+
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 422ce1ff7..000000000 --- a/xorg-server/hw/dmx/doc/html/usb-common_8h-source.html +++ /dev/null @@ -1,74 +0,0 @@ - - - - - File Index - - - - - -

usb-common.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2002 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Rickard E. (Rik) Faith <faith@redhat.com>
-00032  *
-00033  */
-00034 
-00039 #ifndef _USB_COMMON_H_
-00040 #define _USB_COMMON_H_
-00041 typedef enum {
-00042     usbMouse,
-00043     usbKeyboard,
-00044     usbOther
-00045 } usbType;
-00046 
-00047 extern pointer usbCreatePrivate(DeviceIntPtr pDevice);
-00048 extern void    usbDestroyPrivate(pointer priv);
-00049 extern void    usbRead(DevicePtr pDev,
-00050                        dmxMotionProcPtr motion,
-00051                        dmxEnqueueProcPtr enqueue,
-00052                        int minButton,
-00053                        DMXBlockType block);
-00054 extern void    usbInit(DevicePtr pDev, usbType type);
-00055 extern void    usbOff(DevicePtr pDev);
-00056 #endif
-

-
- - 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 index 846695551..6fb3ff95e 100644 --- a/xorg-server/hw/dmx/doc/html/usb-common_8h.html +++ b/xorg-server/hw/dmx/doc/html/usb-common_8h.html @@ -6,153 +6,211 @@ - - + + +

usb-common.h File Reference

-

-Go to the source code of this file. - - - - - - - - - - +

Go to the source code of this file.

+

Functions

pointer usbCreatePrivate (DeviceIntPtr pDevice)
void usbDestroyPrivate (pointer priv)
void usbInit (DevicePtr pDev, usbType type)
void usbOff (DevicePtr pDev)
+ + + + + + + +

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

-

Function Documentation

-

- - - - + +
+
Enumerator:
- +

Detailed Description

+

Interface to common USB support.

+
See also:
usb-common.c
+
+usb-mouse.c
+
+usb-keyboard.c
+
+usb-other.c
+

Enumeration Type Documentation

+ +
+
+
- - - - - - + -
pointer usbCreatePrivate DeviceIntPtr  pDevice  ) enum usbType
-
+ + +
usbMouse  +
usbKeyboard  +
usbOther  +
- - - - - -
-   - + + -

-Create a private structure for use within this file.

-

- - - - -
- + + +

Function Documentation

+ +
+
+
- - - - - - + + + + + + +
void usbDestroyPrivate pointer  priv  ) 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.

-

-Destroy a private structure.

-

- - - - -
- + + + +
+
+
- - - - + + + + + - - - + + - - + + -
void usbInit DevicePtr  pDev, void usbInit (DevicePtr  pDev,
usbType  typeusbType  type 
)
-
- - - - - -
-   - + +
+

Initialized pDev as a usbMouse, usbKeyboard, or usbOther device.

-

-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  ) 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 
)
-
- - - - - -
-   - + +
-

-Turn pDev off (i.e., stop taking input from pDev).

+

+ +
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 new file mode 100644 index 000000000..722e849b1 --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/usb-common_8h_source.html @@ -0,0 +1,87 @@ + + + + + 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 index 5da5a0b3b..6ef084811 100644 --- a/xorg-server/hw/dmx/doc/html/usb-keyboard_8c.html +++ b/xorg-server/hw/dmx/doc/html/usb-keyboard_8c.html @@ -6,217 +6,703 @@ - - -

usb-keyboard.c File Reference

#include "atKeynames.h"
-#include "usb-private.h"
-#include "usb-keyboard.h"
- - - - + + +
+

usb-keyboard.c File Reference

#include "atKeynames.h"
+#include "usb-private.h"
+#include "usb-keyboard.h"
+#include <xkbsrv.h>
+

Functions

void kbdUSBCtrl (DevicePtr pDev, KeybdCtrl *ctrl)
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

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
+
+
-void kbdUSBInit (DevicePtr pDev) +
+
+ +
+
+ + + + +
#define CHECKPROC   dmxCheckSpecialProcPtr
+
+
-void kbdUSBRead (DevicePtr pDev, MOTIONPROC motion, ENQUEUEPROC enqueue, CHECKPROC checkspecial, BLOCK block) +
+
+ +
+
+ + + + +
#define ENQUEUEPROC   dmxEnqueueProcPtr
+
+
-int kbdUSBOn (DevicePtr pDev) +
+
+ +
+
+ + + + + + + + + +
#define FATAL0( )    dmxLog(dmxFatal,f)
+
+
-void kbdUSBGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info) +
+
+ +
+
+ + + + + + + + + + + + + + +
#define FATAL1(f,
 )    dmxLog(dmxFatal,f,a)
+
+
- -

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.

Function Documentation

-

- - - - -
- + + + +
+
+
- - - - + + + + + + + + - - + + + + + +
void kbdUSBCtrl DevicePtr  pDev, #define FATAL2(f,
a,
KeybdCtrl *  ctrl )    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)
-
- - - - - -
-   - - -

-Set the LEDs.

-

- - - - -
- + +
+ +
+ + +
+
+
- - - - + + + + + + + + - - + + - - + + + + +
void kbdUSBGetInfo DevicePtr  pDev, #define LOG3(f,
a,
DMXLocalInitInfoPtr  infob,
 )    dmxLog(dmxDebug,f,a,b,c)
+ +
+
+ + +
+
+ + + +
#define MAX_KEYCODE   (NUM_KEYCODES + MIN_KEYCODE - 1)
-
- - - - - -
-   - - -

-Fill the info structure with information needed to initialize pDev.

-

- - - - -
- + +
+ +

Referenced by kbdLinuxGetMap(), and kbdUSBGetMap().

+ +
+ + +
+
+
- - - - - - + +
void kbdUSBInit DevicePtr  pDev  ) #define MIN_KEYCODE   8
+ + + + +
+
+ + + +
#define MOTIONPROC   dmxMotionProcPtr
-
- - - - - -
-   - - -

-Initialize pDev using usbInit.

-

- - - - -
- + +
+ +
+ + +
+
+
- - - - - - + +
int kbdUSBOn DevicePtr  pDev  ) #define NUM_KEYCODES   248
+ +
+

Referenced by kbdLinuxGetMap(), and kbdUSBGetMap().

+ +
+ + +
+
+ + + +
#define USB_KEYBOARD_DEBUG   0
-
- - - - - -
-   - - -

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

-

- - - - -
- + +
+ +
+ +

Function Documentation

+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
static void kbdUSBConvert (DevicePtr  pDev,
unsigned int  scanCode,
int  value,
ENQUEUEPROC  enqueue,
CHECKPROC  checkspecial,
BLOCK  block 
) [static]
+ + + + +
+
+ - - - - + + + + + + + + + - - + + + +
void kbdUSBRead DevicePtr  pDev, void kbdUSBCtrl (DevicePtr  pDev,
KeybdCtrl *  ctrl 
MOTIONPROC  motion, )
+
+
+

Set the LEDs.

+ +

References GETPRIV.

+ +
+
+ +
+
+ + + + + + + + + + + - - + + +
void kbdUSBGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  info 
ENQUEUEPROC  enqueue, )
+
+ +
+ +
+
+ + + + + + + + + + + + + - - + + + + + +
static void kbdUSBGetMap (DevicePtr  pDev,
KeySymsPtr  pKeySyms,
CHECKPROC  checkspecial, 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,
BLOCK  blockint  keyCode 
) [static]
+
+
+

References _myPrivate::kbdState, and NUM_STATE_ENTRIES.

+ +

Referenced by kbdUSBConvert().

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + +
static void kbdUSBKeyState (myPrivate priv,
int  type,
int  keyCode 
) [static]
-
- - - - - -
-   - - -

-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 _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]
+
+ +
+
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 1f03b2483..000000000 --- a/xorg-server/hw/dmx/doc/html/usb-keyboard_8h-source.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - File Index - - - - - -

usb-keyboard.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2002 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Rickard E. (Rik) Faith <faith@redhat.com>
-00032  *
-00033  */
-00034 
-00038 #ifndef _USB_KEYBOARD_H_
-00039 #define _USB_KEYBOARD_H_
-00040 extern void    kbdUSBInit(DevicePtr pDev);
-00041 extern void    kbdUSBGetInfo(DevicePtr pDev, DMXLocalInitInfoPtr info);
-00042 extern int     kbdUSBOn(DevicePtr pDev);
-00043 extern void    kbdUSBRead(DevicePtr pDev,
-00044                           dmxMotionProcPtr motion,
-00045                           dmxEnqueueProcPtr enqueue,
-00046                           dmxCheckSpecialProcPtr checkspecial,
-00047                           DMXBlockType block);
-00048 extern void    kbdUSBCtrl(DevicePtr pDev, KeybdCtrl *ctrl);
-00049 #endif
-

-
- - 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 index 23f48a73a..988ee18cb 100644 --- a/xorg-server/hw/dmx/doc/html/usb-keyboard_8h.html +++ b/xorg-server/hw/dmx/doc/html/usb-keyboard_8h.html @@ -6,160 +6,189 @@ - - + + +

usb-keyboard.h File Reference

-

-Go to the source code of this file. - - - - - - - - - - +

Go to the source code of this file.

+

Functions

void kbdUSBInit (DevicePtr pDev)
void kbdUSBGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info)
int kbdUSBOn (DevicePtr pDev)
void kbdUSBCtrl (DevicePtr pDev, KeybdCtrl *ctrl)
+ + + + + +

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

-

- - - - -
- +

Detailed Description

+

Interface to USB keyboard driver.

+
See also:
usb-keyboard.c
+
+usb-common.c
+

Function Documentation

+ +
+
+
- - - - + + + + + - - - + + - - + + -
void kbdUSBCtrl DevicePtr  pDev, void kbdUSBCtrl (DevicePtr  pDev,
KeybdCtrl *  ctrlKeybdCtrl *  ctrl 
)
-
- - - - - -
-   - + +
+

Set the LEDs.

-

-Set the LEDs.

-

- - - - -
- +

References GETPRIV.

+ + + + +
+
+
- - - - + + + + + - - - + + - - + + -
void kbdUSBGetInfo DevicePtr  pDev, void kbdUSBGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  infoDMXLocalInitInfoPtr  info 
)
-
- - - - - -
-   - + +
+

Fill the info structure with information needed to initialize pDev.

-

-Fill the info structure with information needed to initialize pDev.

-

- - - - -
- +

References _DMXLocalInitInfo::focusClass, _DMXLocalInitInfo::force, _DMXLocalInitInfo::kbdFeedbackClass, kbdUSBGetMap(), _DMXLocalInitInfo::keyboard, _DMXLocalInitInfo::keyClass, _DMXLocalInitInfo::keySyms, _DMXLocalInitInfo::modMap, and _DMXLocalInitInfo::names.

+ + + + +
+
+
- - - - - - + + + + + + -
void kbdUSBInit DevicePtr  pDev  ) void kbdUSBInit (DevicePtr  pDev ) 
-
- - - - - -
-   - + +
+

Initialize pDev using usbInit.

-

-Initialize pDev using usbInit.

-

- - - - -
- +

References usbInit(), and usbKeyboard.

+ +

Referenced by kbdUSBOn().

+ + + + +
+
+
- - - - - - + + + + + + +
int kbdUSBOn DevicePtr  pDev  ) 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 
)
-
- - - - - -
-   - + +
-

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

+

+ +
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 new file mode 100644 index 000000000..ae2519d2b --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/usb-keyboard_8h_source.html @@ -0,0 +1,81 @@ + + + + + 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 index ea3767d19..956624145 100644 --- a/xorg-server/hw/dmx/doc/html/usb-mouse_8c.html +++ b/xorg-server/hw/dmx/doc/html/usb-mouse_8c.html @@ -6,176 +6,446 @@ - - -

usb-mouse.c File Reference

#include "usb-private.h"
-#include "usb-mouse.h"
- - - - + + +
+

usb-mouse.c File Reference

#include "usb-private.h"
+#include "usb-mouse.h"
+

Functions

void mouUSBRead (DevicePtr pDev, MOTIONPROC motion, ENQUEUEPROC enqueue, CHECKPROC checkspecial, BLOCK block)
+ + + + + + + + + + + + + + + + + + + +

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
+
+
-void mouUSBInit (DevicePtr pDev) +
+
+ +
+
+ + + + +
#define CHECKPROC   dmxCheckSpecialProcPtr
+
+
-int mouUSBOn (DevicePtr pDev) +
+
+ +
+
+ + + + +
#define ENQUEUEPROC   dmxEnqueueProcPtr
+
+
-void mouUSBGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info) +
+
+ +
+
+ + + + + + + + + +
#define FATAL0( )    dmxLog(dmxFatal,f)
+
+
- -

Detailed Description

-This code implements a low-level device driver for a USB mouse.

Function Documentation

-

- - - - -
- + + + +
+
+
- - - - + + + + + + + + + +
void mouUSBGetInfo DevicePtr  pDev, #define FATAL1(f,
 )    dmxLog(dmxFatal,f,a)
+ +
+ +
+ + +
+
+ + + + + + + + - - + + - - + + + + +
#define FATAL2(f,
DMXLocalInitInfoPtr  infoa,
 )    dmxLog(dmxFatal,f,a,b)
+
+
+
+
+ +
+
+ + + +
#define GETPRIV
-
- - - - - -
-   - - -

-Fill the info structure with information needed to initialize pDev.

-

- - - - -
- + +
+Value:
myPrivate *priv                            \
+                      = ((DMXLocalInputInfoPtr)(pDev->devicePrivate))->private
+
+
+ + +
+
+
- - - - - - + + + + + + -
void mouUSBInit DevicePtr  pDev  ) #define LOG0( )    dmxLog(dmxDebug,f)
-
- - - - - -
-   - - -

-Initialize pDev using usbInit.

-

- - - - -
- + +
+ +
+ + +
+
+
+ + + + + - - - - - - + + + + + + +
#define LOG1(f,
int mouUSBOn DevicePtr  pDev  )  )    dmxLog(dmxDebug,f,a)
+ +
+
+ + +
+
+ + + + + + + + + + + + + + + + + + +
#define LOG2(f,
a,
 )    dmxLog(dmxDebug,f,a,b)
-
- - - - - -
-   - - -

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

-

- - - - -
- + +
+ +
+ + +
+
+
+ + + + + - - - - + + + + + + + + - - + + + + +
#define LOG3(f,
void mouUSBRead DevicePtr  pDev, a,
b,
MOTIONPROC  motion,  )    dmxLog(dmxDebug,f,a,b,c)
+ +
+ +
+ + +
+
+ + + +
#define MOTIONPROC   dmxMotionProcPtr
+
+
+ +
+
+

Function Documentation

+ + + +
+
+ + + + + + + + + + + + + - - + + + + + +
static void mouUSBGetMap (DevicePtr  pDev,
unsigned char *  map,
CHECKPROC  checkspecial, int *  nButtons 
) [static]
+
+
+ +

Referenced by mouUSBGetInfo().

+ +
+
+ +
+
+ + + + + + + - - +
void mouUSBInit (DevicePtr  pDev )  BLOCK  block
+
+
+

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.

+

+
+

Read the USB device using usbRead.

+ +

References usbRead().

+ +
+
+
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 12fbbcd52..000000000 --- a/xorg-server/hw/dmx/doc/html/usb-mouse_8h-source.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - File Index - - - - - -

usb-mouse.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2002 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Rickard E. (Rik) Faith <faith@redhat.com>
-00032  *
-00033  */
-00034 
-00038 #ifndef _USB_MOU_H_
-00039 #define _USB_MOU_H_
-00040 extern void    mouUSBRead(DevicePtr pDev,
-00041                           dmxMotionProcPtr motion,
-00042                           dmxEnqueueProcPtr enqueue,
-00043                           dmxCheckSpecialProcPtr checkspecial,
-00044                           DMXBlockType block);
-00045 extern void    mouUSBInit(DevicePtr pDev);
-00046 extern void    mouUSBGetInfo(DevicePtr pDev, DMXLocalInitInfoPtr info);
-00047 extern int     mouUSBOn(DevicePtr pDev);
-00048 extern void    mouUSBCtrl(DevicePtr pDev, PtrCtrl *ctrl);
-00049 #endif
-

-
- - 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 index ac03fe55b..293076b1f 100644 --- a/xorg-server/hw/dmx/doc/html/usb-mouse_8h.html +++ b/xorg-server/hw/dmx/doc/html/usb-mouse_8h.html @@ -6,120 +6,186 @@ - - + + +

usb-mouse.h File Reference

-

-Go to the source code of this file. - - - - - - - - +

Go to the source code of this file.

+

Functions

void mouUSBInit (DevicePtr pDev)
void mouUSBGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info)
int mouUSBOn (DevicePtr pDev)
+ + + + + +

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

-

- - - - -
- +

Detailed Description

+

Interface to USB mouse driver.

+
See also:
usb-mouse.c
+
+usb-common.c
+

Function Documentation

+ +
+
+
- - - - + + + + + - - - + + - - + + -
void mouUSBGetInfo DevicePtr  pDev, void mouUSBCtrl (DevicePtr  pDev,
DMXLocalInitInfoPtr  infoPtrCtrl *  ctrl 
)
-
- - - - - -
-   - + +
-

-Fill the info structure with information needed to initialize pDev.

-

- - - - -
- + + + +
+
+
+ + + + + + + + + + + + - - - - - - + + + +
void mouUSBGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  info 
void mouUSBInit DevicePtr  pDev  ) )
+ + + + +
+
+ + + + + + + + +
void mouUSBInit (DevicePtr  pDev ) 
-
- - - - - -
-   - + +
+

Initialize pDev using usbInit.

-

-Initialize pDev using usbInit.

-

- - - - -
- +

References usbInit(), and usbMouse.

+ +

Referenced by mouUSBOn().

+ + + + +
+
+
- - - - - - + + + + + + +
int mouUSBOn DevicePtr  pDev  ) 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 
)
-
- - - - - -
-   - + +
-

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

+

+ +
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 new file mode 100644 index 000000000..69d966cde --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/usb-mouse_8h_source.html @@ -0,0 +1,81 @@ + + + + + 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 index 284b4b79b..449fc4d45 100644 --- a/xorg-server/hw/dmx/doc/html/usb-other_8c.html +++ b/xorg-server/hw/dmx/doc/html/usb-other_8c.html @@ -6,177 +6,430 @@ - - -

usb-other.c File Reference

#include "usb-private.h"
-#include "dmxinputinit.h"
-#include "usb-other.h"
- - - - + + +
+

usb-other.c File Reference

#include "usb-private.h"
+#include "dmxinputinit.h"
+#include "usb-other.h"
+

Functions

void othUSBRead (DevicePtr pDev, MOTIONPROC motion, ENQUEUEPROC enqueue, CHECKPROC checkspecial, BLOCK block)
+ + + + + + + + + + + + + + + + + + + +

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
+
+
-void othUSBInit (DevicePtr pDev) +
+
+ +
+
+ + + + +
#define CHECKPROC   dmxCheckSpecialProcPtr
+
+
-int othUSBOn (DevicePtr pDev) +
+
+ +
+
+ + + + +
#define ENQUEUEPROC   dmxEnqueueProcPtr
+
+
-void othUSBGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info) +
+
+ +
+
+ + + + + + + + + +
#define FATAL0( )    dmxLog(dmxFatal,f)
+
+
- -

Detailed Description

-This code implements a low-level device driver for a non-keyboard, non-mouse USB device (e.g., a joystick or gamepad).

Function Documentation

-

- - - - -
- + + + +
+
+
- - - - + + + + + + + + + +
void othUSBGetInfo DevicePtr  pDev, #define FATAL1(f,
 )    dmxLog(dmxFatal,f,a)
+ +
+ +
+ + +
+
+ + + + + + + + - - + + - - + + + + +
#define FATAL2(f,
DMXLocalInitInfoPtr  infoa,
 )    dmxLog(dmxFatal,f,a,b)
+
+
+
+
+ +
+
+ + + +
#define GETPRIV
-
- - - - - -
-   - - -

-Fill the info structure with information needed to initialize pDev.

-

- - - - -
- + +
+Value:
myPrivate *priv                            \
+                      = ((DMXLocalInputInfoPtr)(pDev->devicePrivate))->private
+
+
+ + +
+
+
- - - - - - + + + + + + +
void othUSBInit DevicePtr  pDev  ) #define LOG0( )    dmxLog(dmxDebug,f)
+ +
+
+ + +
+
+ + + + + + + + + + + + + +
#define LOG1(f,
 )    dmxLog(dmxDebug,f,a)
-
- - - - - -
-   - - -

-Initialize pDev using usbInit.

-

- - - - -
- + +
+ +
+ + +
+
+
+ + + + + + + + + + + + + + + + + + +
#define LOG2(f,
a,
 )    dmxLog(dmxDebug,f,a,b)
+ +
+ +
+ + +
+
+ - - - - - - + + + + + + + + + + + + + + + + + + + + + +
int othUSBOn DevicePtr  pDev  ) #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)))
-
- - - - - -
-   - - -

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

-

- - - - -
- + +
+ +
+ +

Function Documentation

+ +
+
+
- - - - + + + + + + + + + - - + + +
void othUSBRead DevicePtr  pDev, void othUSBGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  info 
MOTIONPROC  motion, )
+ + + + +
+
+ + + + + + + +
void othUSBInit (DevicePtr  pDev ) 
+
+
+

Initialize pDev using usbInit.

+ +

References usbInit(), and usbOther.

+ +

Referenced by othUSBOn().

+ +
+
+ +
+
+ + + + + + + - - + +
int othUSBOn (DevicePtr  pDev )  ENQUEUEPROC  enqueue,
+
+
+

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

+ +

References GETPRIV, and othUSBInit().

+ +
+
+ +
+
+ + + + + + + + + + + + - - + + + + + + + + - - + + - - + + -
void othUSBRead (DevicePtr  pDev,
MOTIONPROC  motion,
CHECKPROC  checkspecial, ENQUEUEPROC  enqueue,
CHECKPROC  checkspecial,
BLOCK  blockBLOCK  block 
)
-
- - - - - -
-   - - -

-Read the USB device using usbRead.

+

+
+

Read the USB device using usbRead.

+ +

References usbRead().

+ +
+
+
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 d5cd221ff..000000000 --- a/xorg-server/hw/dmx/doc/html/usb-other_8h-source.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - File Index - - - - - -

usb-other.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2002 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Rickard E. (Rik) Faith <faith@redhat.com>
-00032  *
-00033  */
-00034 
-00038 #ifndef _USB_OTHER_H_
-00039 #define _USB_OTHER_H_
-00040 extern void    othUSBRead(DevicePtr pDev,
-00041                           dmxMotionProcPtr motion,
-00042                           dmxEnqueueProcPtr enqueue,
-00043                           dmxCheckSpecialProcPtr checkspecial,
-00044                           DMXBlockType block);
-00045 extern void    othUSBInit(DevicePtr pDev);
-00046 extern void    othUSBGetInfo(DevicePtr pDev, DMXLocalInitInfoPtr info);
-00047 extern int     othUSBOn(DevicePtr pDev);
-00048 extern void    othUSBCtrl(DevicePtr pDev, PtrCtrl *ctrl);
-00049 #endif
-

-
- - 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 index d3c80ae02..f720e9de0 100644 --- a/xorg-server/hw/dmx/doc/html/usb-other_8h.html +++ b/xorg-server/hw/dmx/doc/html/usb-other_8h.html @@ -6,120 +6,186 @@ - - + + +

usb-other.h File Reference

-

-Go to the source code of this file. - - - - - - - - +

Go to the source code of this file.

+

Functions

void othUSBInit (DevicePtr pDev)
void othUSBGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info)
int othUSBOn (DevicePtr pDev)
+ + + + + +

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

-

- - - - -
- +

Detailed Description

+

Interface to USB generic driver.

+
See also:
usb-other.c
+
+usb-common.c
+

Function Documentation

+ +
+
+
- - - - + + + + + - - - + + - - + + -
void othUSBGetInfo DevicePtr  pDev, void othUSBCtrl (DevicePtr  pDev,
DMXLocalInitInfoPtr  infoPtrCtrl *  ctrl 
)
-
- - - - - -
-   - + +
-

-Fill the info structure with information needed to initialize pDev.

-

- - - - -
- + + + +
+
+
+ + + + + + + + + + + + - - - - - - + + + +
void othUSBGetInfo (DevicePtr  pDev,
DMXLocalInitInfoPtr  info 
void othUSBInit DevicePtr  pDev  ) )
+ + + + +
+
+ + + + + + + + +
void othUSBInit (DevicePtr  pDev ) 
-
- - - - - -
-   - + +
+

Initialize pDev using usbInit.

-

-Initialize pDev using usbInit.

-

- - - - -
- +

References usbInit(), and usbOther.

+ +

Referenced by othUSBOn().

+ + + + +
+
+
- - - - - - + + + + + + +
int othUSBOn DevicePtr  pDev  ) 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 
)
-
- - - - - -
-   - + +
-

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

+

+ +
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 new file mode 100644 index 000000000..2243b43d0 --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/usb-other_8h_source.html @@ -0,0 +1,81 @@ + + + + + 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-source.html b/xorg-server/hw/dmx/doc/html/usb-private_8h-source.html deleted file mode 100644 index 3baac9582..000000000 --- a/xorg-server/hw/dmx/doc/html/usb-private_8h-source.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - File Index - - - - - -

usb-private.h

Go to the documentation of this file.
00001 /* $XFree86$ */
-00002 /*
-00003  * Copyright 2002 Red Hat Inc., Durham, North Carolina.
-00004  *
-00005  * All Rights Reserved.
-00006  *
-00007  * Permission is hereby granted, free of charge, to any person obtaining
-00008  * a copy of this software and associated documentation files (the
-00009  * "Software"), to deal in the Software without restriction, including
-00010  * without limitation on the rights to use, copy, modify, merge,
-00011  * publish, distribute, sublicense, and/or sell copies of the Software,
-00012  * and to permit persons to whom the Software is furnished to do so,
-00013  * subject to the following conditions:
-00014  *
-00015  * The above copyright notice and this permission notice (including the
-00016  * next paragraph) shall be included in all copies or substantial
-00017  * portions of the Software.
-00018  *
-00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
-00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-00026  * SOFTWARE.
-00027  */
-00028 
-00029 /*
-00030  * Authors:
-00031  *   Rickard E. (Rik) Faith <faith@redhat.com>
-00032  *
-00033  */
-00034 
-00041 #ifndef _USB_PRIVATE_H_
-00042 #define _USB_PRIVATE_H_
-00043 
-00044 #include "dmxinputinit.h"
-00045 #include "inputstr.h"
-00046 #include "Xos.h"
-00047 #include <errno.h>
-00048 #include <linux/input.h>
-00049 #include "usb-common.h"
-00050 
-00051                                 /*  Support for force feedback was
-00052                                  *  introduced in Linxu 2.4.10 */
-00053 #ifndef EV_MSC
-00054 #define EV_MSC      0x04
-00055 #endif
-00056 #ifndef EV_FF
-00057 #define EV_FF       0x15
-00058 #endif
-00059 #ifndef LED_SLEEP
-00060 #define LED_SLEEP   0x05
-00061 #endif
-00062 #ifndef LED_SUSPEND
-00063 #define LED_SUSPEND 0x06
-00064 #endif
-00065 #ifndef LED_MUTE
-00066 #define LED_MUTE    0x07
-00067 #endif
-00068 #ifndef LED_MISC
-00069 #define LED_MISC    0x08
-00070 #endif
-00071 #ifndef BTN_DEAD
-00072 #define BTN_DEAD    0x12f
-00073 #endif
-00074 #ifndef BTN_THUMBL
-00075 #define BTN_THUMBL  0x13d
-00076 #endif
-00077 #ifndef BTN_THUMBR
-00078 #define BTN_THUMBR  0x13e
-00079 #endif
-00080 #ifndef MSC_SERIAL
-00081 #define MSC_SERIAL  0x00
-00082 #endif
-00083 #ifndef MSC_MAX
-00084 #define MSC_MAX     0x07
-00085 #endif
-00086 
-00087                                 /* Support for older kernels. */
-00088 #ifndef ABS_WHEEL
-00089 #define ABS_WHEEL   0x08
-00090 #endif
-00091 #ifndef ABS_GAS
-00092 #define ABS_GAS     0x09
-00093 #endif
-00094 #ifndef ABS_BRAKE
-00095 #define ABS_BRAKE   0x0a
-00096 #endif
-00097 
-00098 #define NUM_STATE_ENTRIES (256/32)
-00099 
-00100 /* Private area for USB devices. */
-00101 typedef struct _myPrivate {
-00102     DeviceIntPtr   pDevice;                 
-00103     int            fd;                      
-00104     unsigned char  mask[EV_MAX/8 + 1];      
-00105     int            numRel, numAbs, numLeds; 
-00106     int            relmap[DMX_MAX_AXES];    
-00107     int            absmap[DMX_MAX_AXES];    
-00109     CARD32         kbdState[NUM_STATE_ENTRIES]; 
-00110     DeviceIntPtr   pKeyboard;                   
-00112     int            pitch;       
-00113     unsigned long  duration;    
-00115     /* FIXME: dmxInput is never initialized */
-00116     DMXInputInfo   *dmxInput;   
-00117 } myPrivate;
-00118 #endif
-

-
- - 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 index 360d88290..5720c3310 100644 --- a/xorg-server/hw/dmx/doc/html/usb-private_8h.html +++ b/xorg-server/hw/dmx/doc/html/usb-private_8h.html @@ -6,27 +6,291 @@ - - -

usb-private.h File Reference

#include "dmxinputinit.h"
-#include "inputstr.h"
-#include "Xos.h"
-#include <errno.h>
-#include <linux/input.h>
-#include "usb-common.h"
- -

-Go to the source code of this file. - - - + + +
+

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
+ + + + + + + + + + + + + + + + + + + +

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

+

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
+
+
+ +
+
+
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 new file mode 100644 index 000000000..728767cbc --- /dev/null +++ b/xorg-server/hw/dmx/doc/html/usb-private_8h_source.html @@ -0,0 +1,144 @@ + + + + + File Index + + + + + +
+
+ + Generated June 29, 2004 for Distributed Multihead X by + doxygen + 1.3.4. + + + + + -- cgit v1.2.3