Simon Thum
70ee02526c
dix: export driver-side functions for acceleration
...
also add additional safety for accel driver api
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2008-08-12 19:33:32 +01:00
Simon Thum
fc59c33add
dix: use average of pointer accel profile
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2008-08-12 19:33:32 +01:00
Ivaylo Boyadzhiev
395e61a3ca
Fix a longstanding XAA CopyPlane bug.
...
TmpBitPlane is a plane mask, not a plane index.
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2008-08-12 19:33:32 +01:00
Adam Jackson
66d8f94ebe
Erk. Actually check all the BARs, not just the first.
2008-08-12 19:33:32 +01:00
Adam Jackson
067cbfcc22
Silence the "No matching Device section" warning in some harmless cases.
...
If the device doesn't have any BARs then it's just a stub for some
lame operating systems that need one PCI device per output for
multihead. No point in warning about it.
2008-08-12 19:33:32 +01:00
Adam Jackson
3291fbe732
Handle XGI cards in autoconfig.
...
It's all a bit wonky since both sis(4) and xgi(4) claim to support the
Volari Z7 and V5/8 (0x0020 and 0x0040), so let's side with xgi(4), why
not. Note that the V3 (not V3XT) identifies itself as a trident chip.
2008-08-12 19:33:32 +01:00
Adam Jackson
7424956c32
Unifdef XIDLE.
...
Seriously how was this still here.
2008-08-12 19:33:32 +01:00
Adam Jackson
6c9b3aab97
Document more of the OS and library assumptions.
2008-08-12 19:33:32 +01:00
Tomas Carnecky
d19203b3c4
Cosmetic cleanup to Xvfb/Xdmx configure check output.
2008-08-12 19:33:32 +01:00
Michel Dänzer
d02dfa4402
EXA: Do still return FALSE if the driver PrepareCopy hook failed...
...
Thanks to Stuart Bennett for pointing out the problem on IRC.
2008-08-12 19:33:32 +01:00
Tomas Carnecky
9357c36101
OutputPropertyNotifyMask is a valid thing to select for.
2008-08-12 19:33:32 +01:00
Michel Dänzer
bc00e1403e
EXA: Fix exponential growth logic for GXcopy tiled fills.
...
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=16908 .
2008-08-12 19:33:32 +01:00
Michel Dänzer
8f9b53f729
EXA: Simplify exaFillRegionTiled() control flow.
...
Also only call REGION_TRANSLATE() when necessary.
2008-08-12 19:33:32 +01:00
Aaron Plattner
2288420850
Make shmint.h part of the SDK.
...
This includes ShmRegisterFuncs, ShmSetPixmapFormat, fbShmPutImage, and
ShmRegisterFbFuncs. Note that fbShmPutImage was already exported.
2008-08-12 19:33:31 +01:00
Michel Dänzer
e7173338c7
EXA: Optimize GXcopy tiled fills.
2008-08-12 19:33:31 +01:00
Michel Dänzer
3083eee6f5
EXA: Replace open coded CopyArea logic with GC op call.
2008-08-12 19:33:31 +01:00
Xavier Bestel
67c104643e
Cosmetic fix to EDID decoding.
2008-08-12 19:33:31 +01:00
Alan Hourihane
665adb54e4
require inputproto 1.9.99.3
2008-08-12 19:33:31 +01:00
Peter Hutterer
0d5d928f39
Xi: ChangeDeviceControl presence events should set the appropriate devchange.
...
Requires inputproto 1.4.4 or higher.
2008-08-12 19:33:31 +01:00
Kristian Høgsberg
274f383ce1
Add atKeynames.h in hw/dmx/input and drop evil cross-ddx #include.
2008-08-12 19:33:31 +01:00
Julien Cristau
fb807db768
xfree86: don't output a spurious newline to the log when loading a module
2008-08-12 19:33:31 +01:00
Julien Cristau
917e94b38f
xfree86: use xorg.conf input devices if there is no ServerLayout
...
If xorg.conf has no ServerLayout section, use the first mouse and
keyboard sections as core devices, even with AllowEmptyInput.
2008-08-12 19:33:31 +01:00
Simon Thum
c0608bd6a7
some trivial changes regarding C compat, indentation, etc.
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2008-08-12 19:33:31 +01:00
Simon Thum
eb2a1398ac
xfree86: perform pointer accel scheme selection by name, not number
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2008-08-12 19:33:31 +01:00
Simon Thum
b9e48e0afd
dix: preparation change: make runtime exchange of filter chain safe
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2008-08-12 19:33:31 +01:00
Simon Thum
131c14d8ff
dix: optimize precision in device velocity estimation
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2008-08-12 19:33:31 +01:00
Simon Thum
5f75cb2494
dix: improve the driver interface to predictable pointer acceleration
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2008-08-12 19:33:31 +01:00
Simon Thum
b40f55a372
dix: introduce defines for accel profile numbers
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2008-08-12 19:33:31 +01:00
Simon Thum
7ca3ab0341
dix: rename classic accel _scheme_ to lightweight to avoid confusion with
...
classic accel _profile_
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2008-08-12 19:33:31 +01:00
Simon Thum
34a5e763ea
dix: add legal statements to ptrvelo.{c|h}
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2008-08-12 19:33:31 +01:00
Michel Dänzer
2367647cda
GLX: Unreference drawables bound to the old context, not the new one.
...
Apart from the obvious reference counting issue, this fixes
http://bugs.freedesktop.org/show_bug.cgi?id=16867 .
2008-08-12 19:33:31 +01:00
Michel Dänzer
047ecb9031
AIGLX/DRI1: Pay more attention to return value from DRIGetDrawableInfo().
...
Could have crashed otherwise if the num(Back)ClipRects variables referenced by
the caller weren't pre-initialized to 0.
2008-08-12 19:33:31 +01:00
Michel Dänzer
7a50b77645
Fix Makefile.am crack.
...
Looks like an artifact from early modularization.
2008-08-12 19:33:31 +01:00
Peter Hutterer
892cfd9d57
config: note that HAL options must be strings.
...
Only strings are parsed by the server, all others are ignored. Doesn't matter,
specifying int options as strings works fine anyway.
2008-08-12 19:33:31 +01:00
Peter Hutterer
d55c307705
xkb: remove superfluous inputInfo.keyboard treatment.
...
Really not necessary, we can just walk the list and spare us the special
treatment of the VCK.
2008-08-12 19:33:31 +01:00
Peter Hutterer
a5fa772373
xkb: use PickPointer/PickKeyboard in _XkbLookupAnyDevice.
2008-08-12 19:33:31 +01:00
Peter Hutterer
2d4dede109
xfree86: warn some more about potential missing input devices.
...
Put out a warning if xorg.conf has InputDevice sections, but these aren't
referenced in the used ServerLayout. This is only performed if AllowEmptyInput
is enabled.
The reason behind this is that the server used to auto-add the first
mouse/keyboard sections if none where referenced. Now, with HAL and AEI
enabled by default, setups that relied on this auto-adding break and are left
without input devices. The least we can do is warn them.
2008-08-12 19:33:31 +01:00
Peter Hutterer
e6cc0cca32
xfree86: if AllowEmptyInput is on, warn the user that we rely on HAL now.
2008-08-12 19:33:31 +01:00
Peter Hutterer
abcb1771ac
xkb: don't send core events on SlowKeys.
...
Core events don't happen until later in the DIX, so pump device events down
instead. This makes modifiers work again when SlowKeys is enabled.
2008-08-12 19:33:31 +01:00
Peter Hutterer
0c39acbdd1
dix: fix up enter/leave system once again.
...
Two corrections
1. the "detail" field has NotifyVirtual, etc., not the "mode" field. This was
a clear bug.
2. don't set/unset the flags for NotifyGrab or NotifyUngrab. Clients are
expected to deal with multiple enter/leave events per window if the mode is
not NotifyNormal.
Testable with TCL menu boxes (such as used in gitk):
tk_optionMenu .menu globVar Val1 Val2 Val3 ValJunk
pack .menu
Thanks to Michel Dänzer for pointing this out.
2008-08-12 19:33:31 +01:00
Alan Hourihane
63f2263833
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into glucose-2
2008-07-25 19:33:28 +01:00
Kristian Høgsberg
2ce434f54b
Clean up unused definitions from glx headers.
2008-07-25 14:29:25 -04:00
Mathieu Bérard
ae67508392
Fix AddExtension now that CloseDownProc can be NULL.
2008-07-25 10:05:30 -04:00
Daniel Drake
eff25430b4
Don't abort if swrast library is not present
...
GLX is enabled by default, but the current swrast behaviour causes X
to abort with fatal error if the swrast dri library dlopen fails.
Handle the case where the swrast library is not present, and do not
register the GLX extension unless at least one screen has a usable
GL provider.
2008-07-24 21:06:34 -05:00
Adam Jackson
62b5690415
Remove some more MEMBUG garbage.
2008-07-24 16:13:18 -04:00
Kristian Høgsberg
036822584b
Drop xf86CommonSpecialKey() and atKeynames.h
...
These are AT scancode specific, should really be part of xf86-input-keyboard.
Remove from server, move to xf86-input-keyboard.
2008-07-24 16:08:29 -04:00
Adam Jackson
f3ff238601
Sync is built-in and mandatory.
2008-07-24 15:46:08 -04:00
Adam Jackson
3fcf4d3eb8
XC-MISC is built-in and mandatory.
2008-07-24 15:46:08 -04:00
Adam Jackson
9757106bba
Remove all empty extension reset hooks, replace with NULL.
2008-07-24 15:46:08 -04:00
Adam Jackson
6bcde69585
Allow extension closedown hook to be null.
2008-07-24 15:46:08 -04:00