xserver-multidpi/hw/kdrive
Dodji Seketeli 4ba76a7e2b Xephyr: port XV/GL stuff of the new multiscreen architecture
We can now launch GL or XV apps in any of the
        Xephyr screens we want.

	* hw/kdrive/ephyr/hostx.c,h:
	 (hostx_get_window):
	 (hostx_create_window): make these functions be screen
	 number aware.
	* hw/kdrive/ephyr/XF86dri.c : fix some compiler warnings.
	* hw/kdrive/ephyr/ephyrdri.c:
	 (ephyrDRIQueryDirectRenderingCapable),
	 (ephyrDRIOpenConnection),
	 (ephyrDRIAuthConnection),
	 (ephyrDRICloseConnection),
	 (ephyrDRIGetClientDriverName),
	 (ephyrDRICreateContext),
	 (ephyrDRIDestroyContext),
	 (ephyrDRICreateDrawable),
	 (ephyrDRIGetDrawableInfo),
	 (ephyrDRIGetDeviceInfo): in all those functions, don't forward
	 the screen number we receive - from the client - to the host X.
	 We (Xephyr) are always targetting the same X display screen, which is
	 the one Xephyr got launched against. So we enforce that in the code.
	* hw/kdrive/ephyr/ephyrdriext.c:
	 (EphyrMirrorHostVisuals): make this duplicate the visuals of the host X
	  default screen into a given Xephyr screen. This way we have a chance
	  to update the visuals of all Xephyr screen to make them mirror those
	  of the host X.
	 (many other places): specify screen number where required by the api
	 change in hostx.h.
	* hw/kdrive/ephyr/ephyrglxext.c: specify screen number where required
	 by the api change in hostx.h
	* hw/kdrive/ephyr/ephyrhostglx.c: don't forward the screen number we
	  receive - from the client - to the host X.
	  We (Xephyr) are always targetting the same
	  X display screen, which is
	 the one Xephyr got launched against. So we enforce that in the code.
	* hw/kdrive/ephyr/ephyrhostvideo.c,h: take in account the screen number received
	  from the client app. This is useful to know on which Xephyr screen we
	  need to display video stuff.
	* hw/kdrive/ephyr/ephyrvideo.c: update this to reflect the API change
	  in hw/kdrive/ephyr/ephyrhostvideo.h.
	  (ephyrSetPortAttribute): when parameters are not valid
	   - they exceed their validity range - send them to the host anyway
	   and do not return an error to clients.
	  Some host expose buggy validity range, so rejecting client for that
	  is too harsh.
2007-10-03 13:03:34 +02:00
..
ati Kdrive: unbreak kdrive linking 2007-09-05 17:46:49 +02:00
chips Kdrive: unbreak kdrive linking 2007-09-05 17:46:49 +02:00
ephyr Xephyr: port XV/GL stuff of the new multiscreen architecture 2007-10-03 13:03:34 +02:00
epson Kdrive: unbreak kdrive linking 2007-09-05 17:46:49 +02:00
fake For each kdrive server put a dependencie on its own libraries. 2007-07-05 01:57:41 -03:00
fbdev Kdrive: unbreak kdrive linking 2007-09-05 17:46:49 +02:00
i810 Kdrive: unbreak kdrive linking 2007-09-05 17:46:49 +02:00
igs Remove the PaintWindow optimization. 2007-09-13 00:08:53 +00:00
ipaq Death to RCS tags. 2007-06-29 14:06:52 -04:00
itsy Death to RCS tags. 2007-06-29 14:06:52 -04:00
linux Kdrive: fix nasty thinko in TslibEnable() 2007-08-16 09:46:27 +02:00
mach64 Kdrive: unbreak kdrive linking 2007-09-05 17:46:49 +02:00
mga Kdrive: unbreak kdrive linking 2007-09-05 17:46:49 +02:00
neomagic Remove backend.[ch] from neomagic to fix distcheck. 2007-09-02 13:23:18 -07:00
nvidia Kdrive: unbreak kdrive linking 2007-09-05 17:46:49 +02:00
pcmcia Death to RCS tags. 2007-06-29 14:06:52 -04:00
pm2 Kdrive: unbreak kdrive linking 2007-09-05 17:46:49 +02:00
r128 Kdrive: unbreak kdrive linking 2007-09-05 17:46:49 +02:00
savage Remove the PaintWindow optimization. 2007-09-13 00:08:53 +00:00
sdl Kdrive: unbreak kdrive linking 2007-09-05 17:46:49 +02:00
sis300 For each kdrive server put a dependencie on its own libraries. 2007-07-05 01:57:41 -03:00
sis530 Remove the PaintWindow optimization. 2007-09-13 00:08:53 +00:00
smi Kdrive: unbreak kdrive linking 2007-09-05 17:46:49 +02:00
src Kdrive: use fbcmap_mi.c instead of fbcmap.c 2007-10-02 16:55:17 +02:00
trident Death to RCS tags. 2007-06-29 14:06:52 -04:00
trio Clean up unused #ifdefs from fb. 2007-07-05 15:56:25 -04:00
ts300 Death to RCS tags. 2007-06-29 14:06:52 -04:00
vesa Kdrive: unbreak kdrive linking 2007-09-05 17:46:49 +02:00
via Kdrive: unbreak kdrive linking 2007-09-05 17:46:49 +02:00
vxworks Death to RCS tags. 2007-06-29 14:06:52 -04:00
Kdrive.tmpl Update RCS tags, fix keyboard hang on VT switch, fix scroll wheel mice, add 2003-07-07 19:13:03 +00:00
Makefile.am Bug #9629: Remove badly-licensed neomagic kdrive files. 2007-08-29 15:54:32 -07:00
Xkdrive.man Update RCS tags, fix keyboard hang on VT switch, fix scroll wheel mice, add 2003-07-07 19:13:03 +00:00