Kristian Høgsberg
bc504ffbba
DRI2: Add DRI2AuthConnection().
...
DRI2 uses the same authentication scheme as XF86DRI, so implement this
entry point so DRI2 protocol code can access it.
2008-03-11 00:56:16 -04:00
Keith Packard
b2657ec598
XkbCopyKeymap was mangling doodads and overlays
2008-03-10 21:29:12 -07:00
Adam Jackson
ab9b0b36ac
Add the "amd" driver to magic driver selection.
2008-03-10 13:40:00 -04:00
Adam Jackson
0f6aaf636b
Bug #14927 : Fix the math for xf86NumDefaultModes.
2008-03-10 09:14:20 -04:00
Kristian Høgsberg
01c2e01f2a
GLX: Track changes to DRI_TEX_BUFFER extension.
...
We now just pass in the __DRIdrawable.
2008-03-09 21:40:27 -04:00
Kristian Høgsberg
acedc03367
DRI2: Return event buffer head index in DRI2CreateDrawable.
...
And pass it to the DRI driver in AIGLX.
2008-03-09 21:39:19 -04:00
Julien Cristau
911f0c1476
Programs in hw/dmx/examples/ want client-side xkb headers.
2008-03-07 23:26:56 +01:00
Kristian Høgsberg
9abaad115c
Fix DRI2 texture target for GLX_EXT_texture_from_pixmap.
...
Thanks to Dennis Kasprzyk for pointing it out and for reminding me to
commit it.
2008-03-07 14:13:26 -05:00
Adam Jackson
3bf7ff7032
Size xf86DefaultModes explicitly.
...
i.e., don't check for the end of the list by ->name == NULL, since that
won't work now. Fix the consumers of xf86DefaultModes to use the new
explicit size as well.
2008-03-07 09:25:06 -05:00
Adam Jackson
3fcb6445dc
Fix segfault when a monitor exists but has no modes.
...
Thanks to Zhenyu Wang for finding this.
2008-03-07 08:30:19 -05:00
Aaron Plattner
a8d760f567
Get modes code building with old X servers again.
...
This change uses XORG_VERSION_CURRENT < 7.0 to mean "server newer than 1.2"
since XORG_VERSION current went backwards at some point.
2008-03-06 14:42:00 -08:00
Jesse Barnes
ca616b902b
Allow RandR get output property to call into drivers
...
In order to report accurate values to users of the RandR property interface,
it's sometimes necessary to ask the driver to update the value (for example
when backlight brightness changes without the server's knowledge, due to hotkey
events or direct sysfs banging).
This patch wires up the core server code with a new xf86CrtcFuncs callback,
get_property, to allow for this.
The new code is available under the RANDR_13_INTERFACE define, which in turn
depends on the RANDR_12_INTERFACE code.
2008-03-06 13:50:58 -08:00
Adam Jackson
34b69e3bc0
Fix distcheck.
...
(cherry picked from commit 2a47accff8
)
2008-03-05 23:57:15 -05:00
Peter Hutterer
8e562fe26f
Xi: remove false memset from DeepCopyDeviceClasses.
...
It's wrong, needs to be different, but I haven't had enough coffee to figure
out what it needs to do yet.
2008-03-05 15:11:41 +10:30
Eamon Walsh
d4101140f4
xselinux: Implement polyinstantiation support and related protocol.
2008-03-04 22:39:41 -05:00
Alan Coopersmith
cf984dcc15
Make sure SIOGLIFCONF buffer is properly aligned for socket structures
2008-03-04 16:03:38 -08:00
Adam Jackson
27e7dacbf7
Make xf86InitialConfiguration slightly smarter.
...
Old heuristic was to find the first monitor that expressed a preference,
then attempt to get all other monitors to agree. This doesn't work
particularly well when the two sets of modes don't precisely intersect,
you get overlapping-but-not-identical output geometry and things go wrong.
New heuristic is:
- Exact user preference, if given
- Exact output preference, if the same for all outputs
- Best (largest) mode of modes common to all outputs:
- with the same aspect ratio as all outputs (may be NULL)
- with 4:3 aspect ratio
- Then the old heuristic to try to get something lit
Note that it is simply not doable to have a reliable initial output guess if
you insist on trying to clone all outputs together. It's far too easy to
end up with displays that simply don't have modes in common. We need to
switch to right-of placement someday, once we're not limited to CRTC size
limits and we have working multi-GPU in RANDR.
2008-03-04 11:38:34 -05:00
Adam Jackson
95df04b744
Remove all mention of the vga driver from the config logic.
2008-03-04 10:59:24 -05:00
Peter Hutterer
7b4f3616f7
Xi: add deviceid to QueryDevicePointer request.
...
Why not, we had the padding anyway.
Suggested by Jim Gettys on the X.Org mailing list.
2008-03-04 18:29:15 +10:30
Eamon Walsh
056a2ce02c
XACE: Check the return value of the selection create hook call.
2008-03-04 02:44:48 -05:00
Peter Hutterer
4f2cd0ed96
Merge branch 'master' into mpx
...
This merge reverts Magnus' device coorindate scaling changes. MPX core event
generation is very different, so we can't scale in GetPointerEvents.
Conflicts:
Xi/opendev.c
dix/devices.c
dix/dixfonts.c
dix/getevents.c
dix/resource.c
dix/window.c
hw/xfree86/common/xf86Xinput.c
mi/mipointer.c
xkb/ddxBeep.c
xkb/ddxCtrls.c
xkb/ddxKeyClick.c
xkb/ddxList.c
xkb/ddxLoad.c
xkb/xkb.c
xkb/xkbAccessX.c
xkb/xkbEvents.c
xkb/xkbInit.c
xkb/xkbPrKeyEv.c
xkb/xkbUtils.c
2008-03-04 18:11:10 +10:30
Eamon Walsh
72f2197545
dix: Convert selection list to a linked list.
...
Fixes a bug where pointers were being invalidated after a realloc.
2008-03-04 02:14:34 -05:00
Daniel Stone
0bd0f90d7c
XKB: Fix initial map setting on startup
...
Due to an unwitting sense inversion when eliminating XkbFileInfo, we were
setting the complete wrong keymap on startup (non-XKB map if we had an XKB
map available, or the XKB map if we didn't have any available). Invert the
sense properly, and add two small bits that also went missing in that commit.
2008-03-04 03:50:25 +02:00
James Cloos
613852ce6a
Fix some documentation typos
2008-03-03 16:11:05 -05:00
Jesse Barnes
3f23139137
Add cscope files to .gitignore
2008-03-03 13:05:12 -08:00
Adam Jackson
708f07753f
RANDR 1.2: Inherit PreferredMode from the global configuration, if any.
...
If you don't do this, then Modes "800x600" in the Display subsection will
be dutifully ignored and the driver will start at whatever resolution it
feels like.
2008-03-03 15:49:48 -05:00
Adam Jackson
605e6764df
Fix Motif menu drawing in Xnest.
...
See also Red Hat bug #229350 , OpenSolaris bug #6366490 .
2008-03-03 15:45:17 -05:00
Adam Jackson
3b73d62791
xf86DDCMonitorSet: Honor the DisplaySize from the config file.
...
We honor sync ranges and pixel clock settings from the config here, no
reason to ignore DisplaySize.
2008-03-03 15:43:22 -05:00
Adam Jackson
7c16b68ab8
1.5 has branched, start 1.5.99.x.
2008-03-03 15:09:11 -05:00
David Nusinow
f7ab2d3821
Add missing file from previous commit.
2008-03-02 18:36:25 -05:00
David Nusinow
b5ce0e1d0b
Bug #13860 : Ensure that the DRI mode is in octal format.
2008-03-02 17:12:02 -05:00
Matthieu Herrb
c934366424
use UTILS_SYS_LIBS to pass SYS_LIBS to utils/ioports correctly
2008-03-02 19:32:01 +01:00
David Nusinow
2bb9c1f36f
bug #10008 : Make Xvfb.1 document the correct default depth
2008-03-01 18:45:46 -05:00
George Sapountzis
b0b9c811cd
fix typo
2008-03-01 20:24:50 +02:00
George Sapountzis
3d64290547
clean some "unused" warnings
2008-03-01 19:49:24 +02:00
George Sapountzis
e7a6f79754
glcore: split mesa and X in build system
2008-03-01 19:49:23 +02:00
George Sapountzis
cdd46aa3cd
configure: minor cleanup
...
- dmx
- darwin: remove from xorg options
- xephyr: libxv is client lib
2008-03-01 19:49:21 +02:00
Maarten Maathuis
8af2c39bcc
Fix big mistake in commit fd41f46ac6
.
...
- When a mode is deleted, the name pointer is also free()'ed.
- This leaves other modes with an invalid pointer.
2008-03-01 16:54:01 +01:00
Eamon Walsh
ef60632e20
dix: Modify callers of property and selection API to use new interfaces.
2008-02-29 18:01:37 -05:00
Eamon Walsh
cc76ea6e3a
XACE: Add generic support for property and selection polyinstantiation.
2008-02-29 18:01:37 -05:00
Eamon Walsh
34bf308a9e
dix: Refactoring of selection code to allow for polyinstantiation.
...
Introduces dixLookupSelection() API.
Removes NumCurrentSelections from API.
2008-02-29 18:01:37 -05:00
Eamon Walsh
d5715f7bea
dix: Refactoring of property code to allow for polyinstantiation.
...
Introduces dixLookupProperty() API.
2008-02-29 18:01:37 -05:00
Adam Jackson
c0e1959f28
On second thought, revert that, it'll make large pixmaps painfully slow.
...
Need to just fix the callers.
2008-02-29 16:45:11 -05:00
Chris Wilson
4a44fe7c86
Bug #10465 : Use calloc() for allocating PixmapRec's.
2008-02-29 16:43:14 -05:00
Chris Wilson
5d5fcc7198
Bug #10464 : Set pixel value to 0 before FindColor()
2008-02-29 16:42:04 -05:00
Chris Wilson
8f0a4282f0
Bug #10463 : Always initialize reference pixel before AllocColor()
2008-02-29 16:39:29 -05:00
Adam Jackson
b7eb92774a
EDID 1.4: Print additional CVT support data in the log.
2008-02-29 16:01:15 -05:00
Adam Jackson
31014d88af
EDID 1.4: Decode additional CVT support information.
...
Table 3.28: Display Range Limits & CVT Support Definition
2008-02-29 16:01:15 -05:00
Adam Jackson
d1c48955f8
Fix CVT abuse in DDCModesFromStandardTiming.
...
CVT is enough different from GTF that it should not be used on monitors
that aren't expecting it. This brings us closer to what the spec says
the correct behaviour is.
2008-02-29 16:01:15 -05:00
Adam Jackson
26c2e95fa5
Nuke a duplicate SYMFUNC(xf86CVTMode)
2008-02-29 16:01:15 -05:00