head 1.2; access; symbols netbsd-7-2-RELEASE:1.1.1.3 netbsd-7-1-2-RELEASE:1.1.1.3 netbsd-7-1-1-RELEASE:1.1.1.3 netbsd-7-1:1.1.1.3.0.14 netbsd-7-1-RELEASE:1.1.1.3 netbsd-7-1-RC2:1.1.1.3 netbsd-7-1-RC1:1.1.1.3 netbsd-7-0-2-RELEASE:1.1.1.3 netbsd-7-0-1-RELEASE:1.1.1.3 netbsd-7-0:1.1.1.3.0.12 netbsd-7-0-RELEASE:1.1.1.3 netbsd-7-0-RC3:1.1.1.3 netbsd-7-0-RC2:1.1.1.3 netbsd-7-0-RC1:1.1.1.3 netbsd-5-2-3-RELEASE:1.1.1.1 netbsd-5-1-5-RELEASE:1.1.1.1 netbsd-6-0-6-RELEASE:1.1.1.3 netbsd-6-1-5-RELEASE:1.1.1.3 netbsd-7:1.1.1.3.0.10 netbsd-7-base:1.1.1.3 netbsd-6-1-4-RELEASE:1.1.1.3 netbsd-6-0-5-RELEASE:1.1.1.3 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.1.1.3 riastradh-drm2:1.1.1.3.0.8 riastradh-drm2-base:1.1.1.3 netbsd-6-1-3-RELEASE:1.1.1.3 netbsd-6-0-4-RELEASE:1.1.1.3 netbsd-5-2-2-RELEASE:1.1.1.1 netbsd-5-1-4-RELEASE:1.1.1.1 netbsd-6-1-2-RELEASE:1.1.1.3 netbsd-6-0-3-RELEASE:1.1.1.3 netbsd-5-2-1-RELEASE:1.1.1.1 netbsd-5-1-3-RELEASE:1.1.1.1 netbsd-6-1-1-RELEASE:1.1.1.3 xorg-server-1-10-6:1.1.1.3 netbsd-6-1:1.1.1.3.0.6 netbsd-6-0-2-RELEASE:1.1.1.3 netbsd-6-1-RELEASE:1.1.1.3 netbsd-6-1-RC4:1.1.1.3 netbsd-6-1-RC3:1.1.1.3 netbsd-6-1-RC2:1.1.1.3 netbsd-6-1-RC1:1.1.1.3 netbsd-5-2:1.1.1.1.0.8 netbsd-6-0-1-RELEASE:1.1.1.3 netbsd-5-2-RELEASE:1.1.1.1 netbsd-5-2-RC1:1.1.1.1 netbsd-6-0:1.1.1.3.0.4 netbsd-6-0-RELEASE:1.1.1.3 netbsd-6-0-RC2:1.1.1.3 netbsd-6-0-RC1:1.1.1.3 netbsd-6:1.1.1.3.0.2 netbsd-6-base:1.1.1.3 netbsd-5-1-2-RELEASE:1.1.1.1 netbsd-5-1-1-RELEASE:1.1.1.1 xorg-server-1-10-3:1.1.1.3 mrg-xorg-server-1-9-5-pre-1-10-3:1.1.1.2 xorg-server-1-9-5:1.1.1.2 xorg-server-1-9-2:1.1.1.2 netbsd-5-1:1.1.1.1.0.6 netbsd-5-1-RELEASE:1.1.1.1 netbsd-5-1-RC4:1.1.1.1 netbsd-5-1-RC3:1.1.1.1 netbsd-5-1-RC2:1.1.1.1 netbsd-5-1-RC1:1.1.1.1 netbsd-5-0-2-RELEASE:1.1.1.1 xorg-server-1-6-5:1.1.1.1 xorg-server-1-6-3:1.1.1.1 netbsd-5-0-1-RELEASE:1.1.1.1 xorg-server-1-6-2:1.1.1.1 xorg-server-1-6-1-901:1.1.1.1 netbsd-5-0:1.1.1.1.0.4 netbsd-5-0-RELEASE:1.1.1.1 netbsd-5-0-RC4:1.1.1.1 netbsd-5-0-RC3:1.1.1.1 netbsd-5-0-RC2:1.1.1.1 netbsd-5-0-RC1:1.1.1.1 netbsd-5:1.1.1.1.0.2 netbsd-5-base:1.1.1.1 xorg-server-1-4-2:1.1.1.1 xorg:1.1.1; locks; strict; comment @# @; 1.2 date 2016.08.11.00.04.28; author mrg; state dead; branches; next 1.1; commitid FQxwnZNPy5ZgOOhz; 1.1 date 2008.07.31.19.50.30; author mrg; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2008.07.31.19.50.30; author mrg; state Exp; branches; next 1.1.1.2; 1.1.1.2 date 2010.11.23.05.21.16; author mrg; state Exp; branches; next 1.1.1.3; 1.1.1.3 date 2011.08.02.06.56.50; author mrg; state Exp; branches; next ; desc @@ 1.2 log @first merge of netbsd changes. not tested yet. @ text @
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) |
| Bool | dmxGetWindowAttributes (WindowPtr pWindow, DMXWindowAttributesPtr attr) |
| int | dmxGetInputCount (void) |
| int | dmxGetInputAttributes (int deviceId, DMXInputAttributesPtr attr) |
| int | dmxAddInput (DMXInputAttributesPtr attr, int *deviceId) |
| int | dmxRemoveInput (int deviceId) |
| int | dmxAttachScreen (int idx, DMXScreenAttributesPtr attr) |
| int | dmxDetachScreen (int idx) |
|
||||||||||||
|
Add an input with the specified attributes. If the input is added, the physical id is returned in deviceId. |
|
||||||||||||
|
Reattach previously detached back-end screen. |
|
|
Detach back-end screen. |
|
|
Flush pending syncs for all screens. |
|
|
Make sure that dmxCreateAndRealizeWindow has been called for pWindow. |
|
||||||||||||
|
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. |
|
|
Return the total number of devices, not just dmxNumInputs. The number returned should be the same as that returned by XListInputDevices. |
|
|
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). |
|
||||||||||||
|
This routine provides information to the DMX protocol extension about a particular screen. |
|
||||||||||||
|
This routine provides information to the DMX protocol extension about a particular window. |
|
|
Remove the input with physical id id. |
Go to the source code of this file.
Interface for DMX extension support. These routines are called by function in Xserver/Xext/dmx.c.
| typedef struct DMXDesktopAttributesRec * DMXDesktopAttributesPtr |
| typedef struct DMXInputAttributesRec * DMXInputAttributesPtr |
| typedef struct DMXScreenAttributesRec * DMXScreenAttributesPtr |
| typedef struct DMXWindowAttributesRec * DMXWindowAttributesPtr |
| 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.
d33 1 a33 1References dmxAdjustCursorBoundaries(), dmxInputAttachBackend(), dmxInputAttachConsole(), dmxSync(), DMXInputAttributesRec::inputType, DMXInputAttributesRec::name, DMXInputAttributesRec::physicalScreen, and DMXInputAttributesRec::sendsCore.
d35 1 a35 1Referenced by ProcDMXAddInput().
d37 1 a37 27| int dmxAttachScreen | ( | int | idx, | |
| DMXScreenAttributesPtr | attr | |||
| ) |
Reattach previously detached back-end screen.
d39 1 a39 1References _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.
d41 1 a41 1Referenced by ProcDMXAddScreen().
d43 1 a43 17| int dmxConfigureDesktop | ( | DMXDesktopAttributesPtr | attribs | ) |
Referenced by ProcDMXChangeDesktopAttributes().
d47 9 a55 6| int dmxConfigureScreenWindows | ( | int | nscreens, | a62 1d64 3 a66 2 | CARD32 * | screens, | a68 1d70 2 a71 2 | DMXScreenAttributesPtr | attribs, | d73 21 d95 4 a98 4int * | errorScreen | d102 3 a104 2 | ) | a105 12 |
Referenced by dmxAttachScreen(), and ProcDMXChangeScreensAttributes().
| int dmxDetachScreen | ( | int | idx | ) | d108 2 d111 1 d113 27 a139 3
| void dmxFlushPendingSyncs | ( | void | ) |
| void dmxForceWindowCreation | ( | WindowPtr | pWindow | ) | a197 8 |
Make sure that dmxCreateAndRealizeWindow has been called for pWindow.
References DMX_GET_WINDOW_PRIV, dmxCreateAndRealizeWindow(), and _dmxWinPriv::window.
Referenced by ProcDMXForceWindowCreation().
a198 14| void dmxGetDesktopAttributes | ( | DMXDesktopAttributesPtr | attr | ) |
| int dmxGetInputAttributes | ( | int | deviceId, | a225 1d227 3 a229 2 | DMXInputAttributesPtr | attr | d233 2 a234 2 | ) | d236 1 d238 27 a264 3 |
| int dmxGetInputCount | ( | void | ) | a293 8 |
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().
a294 14| unsigned long dmxGetNumScreens | ( | void | ) |
| Bool dmxGetScreenAttributes | ( | int | physical, | a321 1a322 31 | DMXScreenAttributesPtr | attr |
| ) |
This routine provides information to the DMX protocol extension about a particular screen.
References DMXScreenAttributesRec::displayName, dmxNumScreens, dmxScreens, _DMXScreenInfo::index, DMXScreenAttributesRec::logicalScreen, _DMXScreenInfo::name, _DMXScreenInfo::rootHeight, _DMXScreenInfo::rootWidth, DMXScreenAttributesRec::rootWindowHeight, DMXScreenAttributesRec::rootWindowWidth, DMXScreenAttributesRec::rootWindowXoffset, DMXScreenAttributesRec::rootWindowXorigin, DMXScreenAttributesRec::rootWindowYoffset, DMXScreenAttributesRec::rootWindowYorigin, _DMXScreenInfo::rootX, _DMXScreenInfo::rootXOrigin, _DMXScreenInfo::rootY, _DMXScreenInfo::rootYOrigin, DMXScreenAttributesRec::screenWindowHeight, DMXScreenAttributesRec::screenWindowWidth, DMXScreenAttributesRec::screenWindowXoffset, DMXScreenAttributesRec::screenWindowYoffset, _DMXScreenInfo::scrnHeight, _DMXScreenInfo::scrnWidth, _DMXScreenInfo::scrnX, and _DMXScreenInfo::scrnY.
Referenced by ProcDMXAddScreen(), ProcDMXChangeScreensAttributes(), and ProcDMXGetScreenAttributes().
| Bool dmxGetWindowAttributes | ( | WindowPtr | pWindow, | ||||
| d324 2 a325 2 | DMXWindowAttributesPtr | attr | d329 2 a330 2 | ) | a331 6 |
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.
a332 16Referenced by dmxPopulate().
| int dmxRemoveInput | ( | int | id | ) |
| void dmxUpdateScreenResources | ( | ScreenPtr | pScreen, | a359 1a360 5 | int | x, |
| d362 2 a363 2 | int | y, | a365 1d367 2 a368 2 | int | w, | d370 28 a397 10
| int | h | ||||
| ) | d399 1 d401 14 a414 11 | DMXWindowAttributesPtr | d50 1 a50 1 DMXDesktopAttributesRec *DMXDesktopAttributesPtr | d52 1 a52 1 DMXInputAttributesRec *DMXInputAttributesPtr | d55 15 a69 15|
| 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) | DMXInputAttributesPtr | attr, | d141 2 a142 2int * | id | d147 1 a147 1d167 2 a168 2 | int | idx, | d173 2 a174 2DMXScreenAttributesPtr | attr | d179 1 a179 1d199 3 a201 2 | DMXDesktopAttributesPtr | attribs | ) | d219 2 a220 2int | nscreens, | d225 2 a226 2CARD32 * | screens, | d231 2 a232 2DMXScreenAttributesPtr | attribs, | d237 2 a238 2int * | errorScreen | d243 1 a243 1d260 3 a262 2 | int | idx | ) | d283 3 a285 2void | ) | d306 3 a308 2WindowPtr | pWindow | ) | d329 3 a331 2DMXDesktopAttributesPtr | attr | ) | d351 2 a352 2int | deviceId, | d357 2 a358 2DMXInputAttributesPtr | attr | d363 1 a363 1d383 3 a385 2 | void | ) | d406 3 a408 2void | ) | d429 2 a430 2int | physical, | d435 2 a436 2DMXScreenAttributesPtr | attr | d441 1 a441 1d461 2 a462 2 | WindowPtr | pWindow, | d467 2 a468 2DMXWindowAttributesPtr | attr | d473 1 a473 1d493 3 a495 2 | int | id | ) | d516 2 a517 2ScreenPtr | pScreen, | d522 2 a523 2int | x, | d528 2 a529 2int | y, | d534 2 a535 2int | w, | d540 2 a541 2int | h | d546 1 a546 1a559 4 |