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.27; author mrg; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2008.07.31.19.50.27; author mrg; state Exp; branches; next 1.1.1.2; 1.1.1.2 date 2010.11.23.05.21.14; author mrg; state Exp; branches; next 1.1.1.3; 1.1.1.3 date 2011.08.02.06.56.49; 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

dmxbackend.h File Reference

Go to the source code of this file.

Functions

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


Detailed Description

Interface to backend input device support.
See also:
dmxbackend.c

dmxcommon.c


Function Documentation

void dmxBackendCollectEvents DevicePtr  pDev,
dmxMotionProcPtr  motion,
dmxEnqueueProcPtr  enqueue,
dmxCheckSpecialProcPtr  checkspecial,
DMXBlockType  block
 

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

pointer dmxBackendCreatePrivate DeviceIntPtr  pDevice  ) 
 

Create and return a private data structure.

void dmxBackendDestroyPrivate pointer  private  ) 
 

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

int dmxBackendFunctions pointer  private,
DMXFunctionType  function
 

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

void dmxBackendInit DevicePtr  pDev  ) 
 

Initialized the backend device described by pDev.

void dmxBackendKbdGetInfo DevicePtr  pDev,
DMXLocalInitInfoPtr  info
 

Get information about the backend keyboard (for initialization).

void dmxBackendLateReInit DevicePtr  pDev  ) 
 

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

void dmxBackendMouGetInfo DevicePtr  pDev,
DMXLocalInitInfoPtr  info
 

Get information about the backend pointer (for initialization).

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.

void dmxBackendUpdatePosition pointer  private,
int  x,
int  y
 

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


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 51 a59 75

dmxbackend.h File Reference

Go to the source code of this file.

Functions

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

Detailed Description

Interface to backend input device support.

See also:
dmxbackend.c
dmxcommon.c

Function Documentation

d78 2 d81 1 d83 26 a108 17

Create and return a private data structure.

pointer dmxBackendCreatePrivate ( DeviceIntPtr  pDevice  ) 
d110 1 d112 27 a138 3

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

d140 20 a159 6
void dmxBackendDestroyPrivate ( pointer  private  ) 
d161 4 a164 4 a166 1 d168 3 a170 2 d174 2 a175 2 d177 1 d179 26 a204 19

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

References DMX_FUNCTION_TERMINATE.

int dmxBackendFunctions ( pointer  private, DMXFunctionType  function )
d206 1 d208 19 a226 12
void dmxBackendInit ( DevicePtr  pDev  ) 
d228 4 a231 4 a233 1 d235 3 a237 2 d241 2 a242 2 d244 1 d246 26 a271 19
void dmxBackendKbdGetInfo ( DevicePtr  pDev, DMXLocalInitInfoPtr  info )
d273 1 d275 19 a293 12
void dmxBackendLateReInit ( DevicePtr  pDev  ) 
d295 4 a298 4 a300 1 d302 3 a304 2 d308 2 a309 2 d311 1 d313 26 a338 19
void dmxBackendMouGetInfo ( DevicePtr  pDev, DMXLocalInitInfoPtr  info )
d340 1 d342 19 a360 12

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, and dmxSync().

void dmxBackendProcessInput ( pointer  private  ) 
d362 4 a365 4 a367 1 d369 3 a371 2 a373 1 d375 3 a377 2 d381 2 a382 2 d384 1 d386 14 a399 11 @ 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 d48 2 a49 2

Detailed Description

Interface to backend input device support.

d53 1 a53 1

Function Documentation

d61 2 a62 2 d67 2 a68 2 d73 2 a74 2 d79 2 a80 2 d85 2 a86 2 d91 1 a91 1 d98 1 a98 1

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.

d109 3 a111 2 a118 2

References GETDMXLOCALFROMPDEVICE.

d128 3 a130 2 d147 2 a148 2 d153 2 a154 2 d159 1 a159 1 d177 3 a179 2 d187 1 a187 1

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

d198 2 a199 2 d204 2 a205 2 d210 1 a210 1 d228 3 a230 2 d238 1 a238 1

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

d249 2 a250 2 d255 2 a256 2 d261 1 a261 1 d279 3 a281 2 d289 1 a289 1

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

d300 2 a301 2 d306 2 a307 2 d312 2 a313 2 d318 1 a318 1 d325 1 a325 1

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

a331 4
void dmxBackendUpdatePosition ( pointer  private, int  x, int  y )
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)
DevicePtr  pDev, dmxMotionProcPtr  motion, dmxEnqueueProcPtr  enqueue, dmxCheckSpecialProcPtr  checkspecial, DMXBlockType  block DeviceIntPtr  pDevice)pointer  private)pointer  private, DMXFunctionType  function DevicePtr  pDev)DevicePtr  pDev, DMXLocalInitInfoPtr  info DevicePtr  pDev)DevicePtr  pDev, DMXLocalInitInfoPtr  info pointer  private)pointer  private, int  x, int  y