Michel Dänzer
ce50bfd336
EXA: Skip empty glyphs.
2007-10-18 17:44:48 +02:00
Michel Dänzer
5d74416740
EXA: Don't attempt to move in pixmaps that can't be accelerated.
...
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=12815 .
2007-10-18 17:44:14 +02:00
Keith Packard
feac075952
Make config file preferred mode override monitor preferred mode.
...
Add a new even-more-preferred bit to each mode which is used to make config
file preferences selected instead of the monitor preferred mode.
2007-10-17 11:42:28 +08:00
Keith Packard
f2da10f7bc
KDRIVE_LOCAL_LIBS includes some system libraries, not just internal x server libs
2007-10-17 10:51:02 +08:00
Peter Hutterer
9aadde3779
mi: don't call UndisplayCursor for non-sprite-owners.
...
Segfaults are bad.
2007-10-17 12:05:50 +09:30
Peter Hutterer
8b7c4249d8
mi: call processInputProc for master devices after slave event processing.
...
More work is needed to sort out grabs though.
2007-10-17 10:41:58 +09:30
Peter Hutterer
ae9fc10ade
Xi: don't send core events for slave devices.
2007-10-17 10:41:04 +09:30
Peter Hutterer
de70cfdbe6
mi: fix some macros to allow multiple cursors for master devices.
...
Macros defaulted to inputInfo.pointe rfor devices that weren't spriteOwners.
Changed to take the device's master device now.
This includes sticking in a number of checks and warnings that cursor
rendering won't be called for floating devices.
2007-10-17 09:52:30 +09:30
Alan Hourihane
9dde53ed17
Fix walking of GLX providers.
2007-10-16 19:55:56 +01:00
Michel Dänzer
70a5d33c9e
Always check the return value of __glXGetDrawable first.
...
Fixes spurious GLX protocol errors because __glXGetDrawable doesn't set the
error code in case of success. Maybe it should, though.
2007-10-16 12:46:07 +02:00
Peter Hutterer
1d9ebbac8c
dix: Make InitCoreDevices use AllocMasterDevice.
...
Also change naming a bit, append "pointer" and "keyboard" to master devices
instead of -ptr and -keybd.
2007-10-16 18:46:12 +09:30
Peter Hutterer
299573f461
dix: add AllocMasterDevice for creation of new master devices.
...
Devices are initiated pretty much the same as the core devices.
2007-10-16 18:40:15 +09:30
Peter Hutterer
5fe9bfd23f
xfree86: NIDR: don't call PairDevices explicitly.
...
set isMaster to FALSE explicitly.
Pairing isn't necessary, attachment should be done in EnableDevices.
2007-10-16 18:23:48 +09:30
Peter Hutterer
5eb033835e
mi: don't exclude inputInfo.pointer from rendering.
2007-10-16 18:03:52 +09:30
Peter Hutterer
b697c4ed14
dix: CheckPassiveGrabOnWindow: only get paired device for non-keyboards.
2007-10-16 17:47:06 +09:30
Peter Hutterer
caa69d8f7b
dix: fix detritus from adding lastSlave field.
2007-10-16 17:38:13 +09:30
Peter Hutterer
90d077e537
dix: GetPointerEvents: get state from master device before applying valuators.
...
We need to get lastx/y from the master device before we start applying
acceleration etc. Otherwise we get jumping cursors, which is reasonably bad.
2007-10-16 17:37:33 +09:30
Peter Hutterer
b6ccf721b0
include: add "lastSlave" field to DeviceIntRec.
...
Set to the last slave device that routed events through the master.
2007-10-16 17:35:06 +09:30
Peter Hutterer
e6bd8ae060
dix: set the device's sprite when using AttachDevice
...
Sprite is set to the master device's sprite.
2007-10-16 15:59:30 +09:30
Peter Hutterer
271d4c3d62
xfree86: remove XI86_SHARED_POINTER flag.
...
Not needed anymore. By default, all devices are slaves of first master device.
2007-10-16 15:50:07 +09:30
Peter Hutterer
c7b878b904
dix: don't treat VCK/VCP separately in DevHasCursor, IsPointer/KeyboardDevice.
2007-10-16 15:07:31 +09:30
Peter Hutterer
e9f149fb56
Fix up detritus from removing GetPairedPointer/Keyboard.
2007-10-16 14:24:20 +09:30
Peter Hutterer
840bde3d32
dix: GetPairedDevice: return dev paired with master for slave devices.
2007-10-16 13:09:35 +09:30
Peter Hutterer
6c259a08d9
include: remove unused GetPairedPointer/Keyboard declarations.
2007-10-16 13:09:19 +09:30
Peter Hutterer
9ecbbf198f
dix: adjust PickPointer and PickKeyboard to get the first master device.
...
Simplifies it a lot, since we always have at least one master device
available at all times, so less mucking around.
2007-10-16 12:05:09 +09:30
Peter Hutterer
0c5f65ecd3
dix: don't allow slave devices as ClientPointer
2007-10-16 12:04:56 +09:30
Peter Hutterer
9ccc9ab6f2
dix: don't call CloseDevice on VCP/VCK separately.
2007-10-16 12:04:48 +09:30
Peter Hutterer
e4fd981b48
dix: check for isMaster before calling DeviceCursorCleanup.
2007-10-16 12:04:40 +09:30
Peter Hutterer
7503d13407
dix: don't check VCK and VCP separately when looking for device ids.
...
Both are part of the device list again, so we cover them there.
2007-10-16 12:04:30 +09:30
Peter Hutterer
032e906711
dix: Remove GetPairedPointer, GetPairedKeyboard in favour of GetPairedDevice.
2007-10-16 11:57:42 +09:30
Peter Hutterer
3e07e73fef
dix: remove pairing/attachment from InitAndStartDevices.
...
If we enabled in the correct order, this has all been done already.
2007-10-16 11:34:29 +09:30
Peter Hutterer
38baac71bd
dix: Set bidirectional pairing, don't allow pairing with already paired devs.
2007-10-16 11:30:59 +09:30
Peter Hutterer
70efd3d06a
dix: fix up Activate/Enable/Disable device.
...
Set isMaster for VCP/VCK.
Init sprites for master pointer devices.
Pair master kbds with master pointers (1:1 pairing!).
Attach other devices to VCP/VCK.
2007-10-16 11:30:32 +09:30
Peter Hutterer
204f2dc89e
include: add "isMaster" field to DeviceIntRec.
...
Set to TRUE for master devices.
Also fixing up comment for paired field in spriteInfo, will be set
bidirectional from now on.
2007-10-16 11:19:09 +09:30
Peter Hutterer
bd7d5255ce
dix: add AttachDevice, needed to attach a slave device to a master device.
...
For now, we don't allow attaching slaves to other slaves, and we don't allow
pairing slaves with other slaves.
Pairing is for master keyboard->master pointer only.
Attaching is for slave device->master device only.
2007-10-16 11:18:31 +09:30
Peter Hutterer
be1565f6b8
dix: Set core devices to ProcessOtherEvents, set sendCore and XKB.
...
Even the virtual core devices should send through ProcessOtherEvents.
2007-10-16 11:05:34 +09:30
Peter Hutterer
ce9bf9a191
include: add "master" field to DeviceIntRec.
...
"master" points to the device this device is attached to. Event sent by the
device will also be routed through the master.
master and spriteOwner are mutually exclusive.
2007-10-16 11:05:23 +09:30
Kristian Høgsberg
8b5078b7d9
Fix byte swapping for GetFBConfigs.
2007-10-15 13:11:30 -04:00
George Sapountzis
c922d2eebe
glx: drop duplicate GetDrawableAttributesSGIX declarations.
...
They are officially autogenerated in indirect_dispatch.h now.
2007-10-15 11:32:08 +03:00
Ben Byer
3d4eb17b38
mass change from #ifdef i386 to #ifdef __i386__ to conform to ANSI
2007-10-14 18:07:03 -07:00
Kristian Høgsberg
ec0fc012e9
Fix GLX byteswapping.
2007-10-14 14:59:12 -04:00
Kristian Høgsberg
927757e102
Merge branch 'master' of git://git.freedesktop.org/git/xorg/xserver
2007-10-12 19:28:39 -04:00
Kristian Høgsberg
ccda4b66bd
Implement ChangeDrawableAttributes so we can support GLX_EVENT_MASK.
...
We never need to actually send out the clobber event, so this should be
sufficient for GLX 1.3.
2007-10-12 19:15:05 -04:00
Kristian Høgsberg
695eb8b2e8
Implement GLX pbuffers.
2007-10-12 19:12:26 -04:00
Kristian Høgsberg
516c181f57
Add dispatching for GLX_SGIX_pbuffer.
2007-10-12 18:48:38 -04:00
Kristian Høgsberg
d7ded953c4
Implment GLXPixmaps.
2007-10-12 18:26:55 -04:00
Kristian Høgsberg
2b0847c7aa
Implement damage reporting for AIGLX.
2007-10-12 16:19:19 -04:00
Kristian Høgsberg
600028305c
Move hyperpipe and swapbarrier extension funcs to screen private struct.
...
This gets rid of a couple more global arrays and gets the two extensions
more in line with the general extension mechanism.
2007-10-12 16:18:23 -04:00
Kristian Høgsberg
781515bb63
Convert GLX module to use screen private indexes like everything else.
2007-10-12 16:18:19 -04:00
Kristian Høgsberg
72a3d68a2f
Update the AIGLX DRI loader to use the new DRI interface.
...
This lets us drop a bunch of workarounds and use the new DRI extension
mechanism.
2007-10-12 15:51:47 -04:00