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 @ File Index
Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals

dmxextension.h File Reference

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)


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

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

int dmxAttachScreen int  idx,
DMXScreenAttributesPtr  attr
 

Reattach previously detached back-end screen.

int dmxDetachScreen int  idx  ) 
 

Detach back-end screen.

void dmxFlushPendingSyncs void   ) 
 

Flush pending syncs for all screens.

void dmxForceWindowCreation WindowPtr  pWindow  ) 
 

Make sure that dmxCreateAndRealizeWindow has been called for pWindow.

int dmxGetInputAttributes int  deviceId,
DMXInputAttributesPtr  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   ) 
 

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

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

Bool dmxGetScreenAttributes int  physical,
DMXScreenAttributesPtr  attr
 

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

Bool dmxGetWindowAttributes WindowPtr  pWindow,
DMXWindowAttributesPtr  attr
 

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

int dmxRemoveInput int  id  ) 
 

Remove the input with physical id id.


Generated June 29, 2004 for Distributed Multihead X by doxygen 1.3.4. @ 1.1 log @Initial revision @ text @@ 1.1.1.1 log @initial import of xorg-server-1.4.2 @ text @@ 1.1.1.2 log @import xorg-server 1.9.2. important changes since 1.6.5 include: - built-in symbol visibility, default not export - fixes for various crashes - many fixes for XI2, EXA, dix, render, glx, xkb, EDID, randr, Xv, resource handling, Xext, vfb, xfree86 / vga and composite support. - fixes several memory leaks - many many documentation updates - record extension enabled - no longer looks for XF86Config files @ text @d9 8 a16 25

dmxextension.h File Reference

d18 5 a22 50

Go to the source code of this file.

Data Structures

struct  DMXScreenAttributesRec
struct  DMXWindowAttributesRec
struct  DMXDesktopAttributesRec
struct  DMXInputAttributesRec

Typedefs

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

Functions

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

Detailed Description

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

See also:
dmxextension.c

Typedef Documentation

d24 2 a25 12
d27 1 a27 12
d29 1 a29 12
d31 1 a31 28

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.

d33 1 a33 1

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

d35 1 a35 1

Referenced by ProcDMXAddInput().

d37 1 a37 27
int dmxConfigureDesktop ( DMXDesktopAttributesPtr  attribs  ) 
d45 1 a45 1

Referenced by ProcDMXChangeDesktopAttributes().

d47 9 a55 6
d57 4 a60 4 a62 1 d64 3 a66 2 a68 1 d70 2 a71 2 d73 21 d95 4 a98 4 d102 3 a104 2 a105 12
int dmxConfigureScreenWindows ( int  nscreens, CARD32 *  screens, DMXScreenAttributesPtr  attribs, int *  errorScreen )
a106 5 d108 2 d111 1 d113 27 a139 3
int dmxDetachScreen ( int  idx  ) 
d171 26 a196 21

Flush pending syncs for all screens.

References dmxSync().

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

void dmxFlushPendingSyncs ( void   ) 
a197 8
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().

a198 14

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
d324 2 a325 2 d329 2 a330 2 a331 6
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.

a332 16

Referenced by dmxPopulate().

d334 19 a352 14

Remove the input with physical id id.

References dmxInputDetachId().

Referenced by ProcDMXRemoveInput().

int dmxRemoveInput ( int  id  ) 
d354 4 a357 4 a359 1 a360 5 d362 2 a363 2 a365 1 d367 2 a368 2 d370 28 a397 10 d399 1 d401 14 a414 11

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

@ 1.1.1.3 log @initial import of xorg-server 1.10.3. highlights include: - fixes xorg bugs 29969, 30367, 30527, 30267, 30260, 29046, 30260, 31548, 28672, 24887, 32115, 21457, 32436, 21827, 28414, 24703, 32803, 16318, 33449, 33324, 33929, 35082, 35209, 36146, 36119 - many additional NULL checks - adjustments related to input ABI 12 - *lots* of dead code removal - vga arbitrator fixes - GL fixes - EDID fixes - conversion to using asprintf() in many places - many fixes from valgrind, compiler warnings see these for more details: http://lists.freedesktop.org/archives/xorg-announce/2011-February/001612.html http://lists.freedesktop.org/archives/xorg-announce/2011-April/001646.html http://lists.freedesktop.org/archives/xorg-announce/2011-May/001675.html http://lists.freedesktop.org/archives/xorg-announce/2011-July/001710.html @ text @d9 3 a11 2 d46 1 a46 1 DMXScreenAttributesRec *  d48 1 a48 1 DMXWindowAttributesRec *  d50 1 a50 1 DMXDesktopAttributesRec *  d52 1 a52 1 DMXInputAttributesRec *  d55 15 a69 15 d71 2 a72 2

Detailed Description

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

d74 1 a74 1

Typedef Documentation

d135 2 a136 2 d141 2 a142 2 d147 1 a147 1 d167 2 a168 2 d173 2 a174 2 d179 1 a179 1 d199 3 a201 2 d219 2 a220 2 d225 2 a226 2 d231 2 a232 2 d237 2 a238 2 d243 1 a243 1 d260 3 a262 2 d283 3 a285 2 d306 3 a308 2 d329 3 a331 2 d351 2 a352 2 d357 2 a358 2 d363 1 a363 1 d383 3 a385 2 d406 3 a408 2 d429 2 a430 2 d435 2 a436 2 d441 1 a441 1 d461 2 a462 2 d467 2 a468 2 d473 1 a473 1 d493 3 a495 2 d516 2 a517 2 d522 2 a523 2 d528 2 a529 2 d534 2 a535 2 d540 2 a541 2 d546 1 a546 1 a559 4
void dmxUpdateScreenResources ( ScreenPtr  pScreen, int  x,
int  y, int  w,
int  h 
)
struct  DMXScreenAttributesRec
struct  DMXWindowAttributesRec
struct  DMXDesktopAttributesRec
struct  DMXInputAttributesRec
DMXScreenAttributesPtr
DMXWindowAttributesPtr
DMXDesktopAttributesPtr
DMXInputAttributesPtr
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, int *  id int  idx, DMXScreenAttributesPtr  attr DMXDesktopAttributesPtr  attribs)int  nscreens, CARD32 *  screens, DMXScreenAttributesPtr  attribs, int *  errorScreen int  idx)void  )WindowPtr  pWindow)DMXDesktopAttributesPtr  attr)int  deviceId, DMXInputAttributesPtr  attr void  )void  )int  physical, DMXScreenAttributesPtr  attr WindowPtr  pWindow, DMXWindowAttributesPtr  attr int  id)ScreenPtr  pScreen, int  x, int  y, int  w, int  h