Michel Dänzer
3344a4eda7
DRI: Make sure number of DRI windows is accurate in driver ClipNotify hook.
...
Always call DRI{De,In}creaseNumberVisible (which in turn calls
DRIDriverClipNotify) after updating pDRIPriv->nrWindows.
2007-02-20 19:21:25 +01:00
Michel Dänzer
3c7a27dc77
DRI: New ClipNotify driver hook.
...
The hook is called whenever the clipList of any DRI window changes, be it via
DRIClipNotify, DRICreateDrawable or DRIDrawablePrivDelete. This allows the
driver to keep track of which DRI windows are visible where.
2007-02-20 19:21:25 +01:00
Michel Dänzer
eedf148e5a
Track number of visible DRI windows separately for transitions.
...
This allows e.g. doing page flipping with multiple DRI windows as long as
only one of them is visible.
2007-02-20 19:21:25 +01:00
Keith Packard
5631a67f64
Don't set subpixel order during startup; the screen won't be ready.
...
in xf86CrtcSetMode, scrn->pScreen will be NULL during server startup time,
so don't try to set the subpixel order. subpixel order will be set in the
randr initialization anyways.
(cherry picked from commit 5f6f8616d862ce4a37f6d3df4bdbc44fd21cc82a)
2007-02-17 17:40:35 -08:00
Keith Packard
096965ec9c
Ensure drivers can use new modes header files.
...
New modes header files required a few minor changes to be used by external
drivers, the most notable of which is the publication of the config file
parser header files.
2007-02-17 15:16:44 -08:00
Keith Packard
55797dd252
Respect rotation in initial screen size computation.
2007-02-17 15:16:34 -08:00
Keith Packard
e4507825bf
Enable startup-time rotation; change rotation pixmap creation API.
...
Add monitor "Rotate" option taking one of "normal", "left", "inverted" or
"right". However, because initial mode selection is made before the screen
is completely initialized, we cannot create the shadow pixmap object at this
point. Pend the shadow pixmap creation until the block handler.
Note that this code is not completely functional yet.
2007-02-17 15:16:20 -08:00
Ben Byer
81876bc5dd
oops, missed a spot
2007-02-17 04:07:11 -08:00
Ben Byer
d287b76471
cleaned up some linking ugliness in hw/darwin/quartz
2007-02-17 03:47:42 -08:00
Ben Byer
81444486be
autoconf goodness for XDarwin, courtesy of pogma
2007-02-17 02:23:11 -08:00
Ben Byer
cf4994b0db
dix mods for Darwin
2007-02-17 01:21:43 -08:00
Ben Byer
93777c7b96
more patches to make the Quartz part of XDarwin work again
...
(thanks Peter and Torrey!)
2007-02-17 00:22:39 -08:00
Ben Byer
612144c811
More build fixes / updates for XDarwin:
...
quartz/cr: "Cocoa Rootless" support (deprecated in favor of xpr?)
quartz/fullscreen: Fullscreen support using Xplugin (not yet functional)
2007-02-17 00:09:58 -08:00
Daniel Stone
68d39d8571
kdrive/ephyr: fix keysym type confusion once and for all
...
Take keysyms in as an XID in hostx_load_keymap() and explicitly
convert them to CARD32 for loading into the server. Fixes Xephyr on
AMD64, wa-hey.
2007-02-16 23:02:46 +02:00
Daniel Stone
5507cb885d
kdrive: delete input debugging, yet again ...
...
I have no idea how this keeps on coming back.
2007-02-16 23:02:45 +02:00
Ben Byer
84efe23ae8
updated darwin/quartz/xpr (libXplugin interface for Mac OS X) support
2007-02-16 04:37:38 -08:00
Keith Packard
f350909d16
Kludge around duplicate code added in hw/xfree86/modes.
...
Code added in hw/xfree86/modes came from the server-1.3-branch.
Portions of this code had previously been integrated into xf86Mode.c
and edid_modes.c.
To preserve hw/xfree86/modes as much as possible, the duplicate code from
the other files has been disabled; a more careful review would figure out
where that code actually belonged.
2007-02-15 21:50:48 -08:00
Keith Packard
258beebc77
Report correct RandR 1.0 sizeID. Report correct subpixel order.
...
RandR 1.0 sizeID must be computed the same way every time, so when reporting
it in the ScreenChangeNotify event, just construct the usual 1.0 data block
and use that.
subpixel geometry information can be computed by looking at the connected
outputs and finding any with subpixel geometry and using one of those for
the global screen subpixel geometry. This might be improved by reporting
None if more than one screen has information and they conflict.
2007-02-15 20:37:44 -08:00
Keith Packard
ef6b1235fd
Allow new modes code to build inside drivers as well as server.
...
Use config.h for driver builds where xorg-config.h isn't available.
2007-02-15 20:37:19 -08:00
Tilman Sauerbeck
3dbe8f6b6e
Distribute hw/xfree86/modes.
2007-02-15 20:37:09 -08:00
Keith Packard
d4eb4d0650
Merge crtc/output-based mode selection code.
...
This code comes from the intel driver, so there's no history in this tree.
As the crtc/output-based mode selection code uses ddc, the ddc and i2c
modules have been merged into the server. Attempts to load them are safely
ignored now.
2007-02-15 20:36:20 -08:00
Eamon Walsh
f452507ca9
Merge branch 'master' into my-XACE-SELINUX
2007-02-15 09:47:20 -05:00
Eamon Walsh
04632835b7
Merge branch 'master' into my-XACE-SELINUX
2007-02-15 09:27:05 -05:00
Daniel Stone
0f6dd4aea6
kdrive/ephyr: free screen struct
...
Free screen->driver on screenFini, instead of just leaking it.
2007-02-15 16:14:57 +02:00
Ben Byer
9ecf79ca01
Beginnings of an update Darwin driver
2007-02-15 05:22:21 -08:00
Ben Byer
136bb4874a
iokit support for XDarwin
2007-02-15 05:14:38 -08:00
Ben Byer
3ead1afe78
Beginning of patches to add XDarwin support to the modular tree;
...
special thanks to Torrey Lyons and Peter O'Gorman for making this possible.
This is the automake framework for the XDarwin.app interface files.
2007-02-15 05:09:29 -08:00
Alan Coopersmith
a492d494f5
Update Xvfb man page: remove monolith build instructions, use /var/tmp instead of /usr/tmp
2007-02-13 18:32:59 -08:00
Adam Jackson
a23b0b069c
Typo fix.
2007-02-12 17:50:00 -05:00
Adam Jackson
46784d24c1
Remove spurious LIBADD from xf4bpp
2007-02-12 17:18:29 -05:00
Aaron Plattner
c4b7e9d1c1
Add an RDTSC implementation to the x86 emulator.
...
This instruction is being used in some debug VBIOSes. This implementation
doesn't even try to be accurate. Instead, it just increments the counter by a
fixed amount every time an rdtsc instruction in encountered, to avoid divides by
zero.
2007-02-06 15:45:05 -08:00
Daniel Stone
17d85387d1
dmx, vfb, xnest: fix fbcmap compilation
...
Don't always define XFree86Server, but only for damn fbcmap.c.
Split fbcmap.c into its own library to achieve this.
2007-02-05 03:43:10 +02:00
Alan Coopersmith
5dcad9e9d7
Fix bus error on startup in 64-bit Xephyr
...
hostx_get_visual_masks takes unsigned long * arguments, but was being
passed pointers to CARD32's.
2007-02-02 14:45:16 -08:00
George Sapountzis
cf5b29d75d
dmx: drop leftover __GLXdrawablePrivateRec struct.
2007-02-02 12:57:38 +02:00
Eric Anholt
8bce182568
Restore a few important lines killed in the previous commit.
...
Typical results were failure to sync, and a black screen.
2007-01-29 17:30:59 -08:00
Eric Anholt
31f2d4a57e
Bug #9680 : Remove bogus blank length limiting in xf86SetModeCrtc().
...
Our modes typically come from EDID or default modes, and when the monitor
asks for a specific mode, deciding to tweak it usually results in incorrect
display. And if the user is specifying a mode by hand, tweaking it then is
still pretty rude.
Reviewed by: ajax
2007-01-29 09:45:33 -08:00
Jonathan Lim
1627af5449
Call linuxPciOpenFile() for r/w access if applicable.
...
Currently, the call to linuxPciOpenFile() is always made for read
only access which causes the subsequent mmap call to fail when the
memory is mapped read/write.
Xorg #9692
2007-01-26 13:00:45 +01:00
Alan Coopersmith
cf7ca9d09c
Plug memory leak in doLoadModule()
2007-01-24 20:20:48 -08:00
Michel Dänzer
788cfce911
Bump video driver ABI version to 1.2.
...
This is necessary because server-1.2-branch bumped to 1.1 for xf86CVTMode and
we have xf86XVFillKeyHelperDrawable on top of that.
2007-01-23 10:15:22 +01:00
Michel Dänzer
14d6a9b327
fbdevhw: Only deal with RGB weight if default visual is True- or DirectColor.
2007-01-19 18:30:21 +01:00
Michel Dänzer
27a01e100b
fbdevhw: Consider mode set equal to mode requested if virtual width is larger.
2007-01-19 18:28:05 +01:00
Alan Coopersmith
8b3a591cd3
Update pci.ids to 2007-01-18 snapshot
...
(includes a whole bunch of ATI device id updates)
2007-01-18 16:03:30 -08:00
Alan Coopersmith
0f0c321adf
Make xf1bpp build correctly with compilers that don't support -include
2007-01-18 15:31:53 -08:00
Alan Hourihane
78f9592c11
lnx_ev56.c has to be built with -mcpu=ev56. Fix it.
2007-01-10 16:04:20 +00:00
Eric Anholt
aab2ca2042
Try dlsym(RTLD_DEFAULT) first when finding symbols.
...
The previous mechanism failed when finding drm symbols now that libdrm has
moved to being linked by libdri instead of being linked into the server.
2007-01-04 10:16:08 -08:00
Aaron Plattner
66fa87292e
Fix BSF and BSR instructions in the x86 emulator.
...
Patch courtesy of Michael Yaroslavtsev.
2007-01-03 13:47:01 -08:00
Michel Dänzer
dc5eb45232
fbdevhw: Override RGB offsets and masks after setting initial mode.
...
This is a hack, but it should be a NOP for all the setups that worked before
and actually seems to fix some others...
Based on a patch by Peter Teichmann from
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=338241 .
2006-12-31 17:59:44 +01:00
Michel Dänzer
d077c0da47
fbdevhw: Use displayWidth for fbdev virtual width when appropriate.
...
The fbdev API doesn't allow setting the pitch explicitly, so we have to set
the virtual width to the pitch we're using for drawing. This fixes corruption
after changing the virtual width with RandR.
2006-12-31 17:23:31 +01:00
Michel Dänzer
c385bcf0bd
fbdevhw: Fix some issues with the previous commit.
...
Fix a TRACE_ENTER typo and only update the internal fbdev mode state cache
after actually setting a mode.
2006-12-30 16:44:31 +01:00
Michel Dänzer
f6815cb68b
fbdevhw: Consolidate modeset ioctl calling, report failure if it modifies mode.
...
The fbdev API allows the driver to 'accept' modes it doesn't really support by
modifying it to the nearest supported mode. Without this check, e.g. vesafb
would appear to accept all modes, even though it actually can't set any modes
other than the bootup mode at all.
2006-12-30 12:35:16 +01:00
Eric Anholt
083b790515
Switch the default migration heuristic for EXA to "always".
...
This has been what has been used the most successfully post-damagetrack.
The current thinking is that:
1) We should be able to accelerate basically everything. So we don't need to
try to migrate trees of pixmaps permanently out of framebuffer to speed
CPU drawing up.
2) Migration is cheaper in the thrashing case, so we don't want to go to a lot
of effort to try (and fail badly) to find a working set.
2006-12-28 13:21:25 -08:00
Marc Aurele La France
83080809f9
xfree86: deal with pitch that isn't a multiple of the granularity
...
When the pitch isn't a multiple of the granularity, allocate more space to
compensate.
2006-12-24 06:28:52 +02:00
Eamon Walsh
43a4376bd7
Merge branch 'master' into my-XACE-SELINUX
2006-12-22 13:53:55 -05:00
Alan Coopersmith
e437f357b6
xorg.conf man page should say "XFree86-DGA", not "Xorg-DGA"
2006-12-19 16:38:34 -08:00
Eamon Walsh
a81dbaae05
Merge branch 'master' into my-XACE-SELINUX
2006-12-19 16:11:19 -05:00
Alan Coopersmith
1b029fd896
Xorg & Xserver man page updates for 1.2 release
...
- Added -extension & +extension to Xserver man page
- Changed Xorg synopsis from X11R6 to X11R7
- Clarified Xorg ancestry description
- Moved Solaris to free/Open Source OS list
- Removed references to MetroLink module loader & getconfig
- Converted (1) to (__appmansuffix__) in a few more places
- Replaced http://www.freedesktop.org/cvs/ with http://gitweb.freedesktop.org/
2006-12-18 14:51:04 -08:00
James Steven Supancic III
a5fcf1e5e7
Fix RENDER issues (bug #7555 ) and implement RENDER add/remove screen
...
support (bug #8485 ).
2006-12-16 12:02:38 -05:00
Kevin E Martin
c92f7bef54
For Xvfb, Xnest and Xprt, compile fbcmap.c with -DXFree86Server
2006-12-16 12:01:49 -05:00
Eamon Walsh
f11dafaafc
Convert callers of SecurityLookupDrawable() to dixLookupDrawable().
2006-12-15 16:51:58 -05:00
Eamon Walsh
10aabb729d
Convert callers of LookupDrawable() to dixLookupDrawable().
2006-12-15 16:36:29 -05:00
Eamon Walsh
25d5e0a629
Convert callers of SecurityLookupWindow() to dixLookupWindow().
2006-12-15 15:50:46 -05:00
Eamon Walsh
04c721854f
Convert callers of LookupWindow() to dixLookupWindow().
2006-12-15 14:19:54 -05:00
Eamon Walsh
60cdc592fe
Add new, combined dix lookup functions.
2006-12-14 14:46:03 -05:00
Eamon Walsh
6c46645cfc
Naming change: Security*Access -> Dix*Access
2006-12-14 14:45:42 -05:00
Alan Hourihane
b88ad820fa
Set Int10Current->Tag for the linux native int10 module
...
Fixes bug #9296
(cherry picked from 731952c561a3972d09d1315f4fd31466e459ccb9 commit)
2006-12-13 12:18:22 +00:00
Eamon Walsh
a7f4bbea87
Add SELinux extension to the module/extension loader.
2006-12-12 13:27:02 -05:00
Alan Hourihane
81281cb298
Fix bad commit
2006-12-12 11:28:24 +00:00
Alan Hourihane
792e0f71c6
Fix Xming fails to use xkb bug
...
bug #5049 (Colin Harrison)
2006-12-11 14:54:49 +00:00
Alan Hourihane
27d4b84f26
Fix Tooltip from minimized clients
...
Bug #3678 (Colin Harrison)
2006-12-11 14:51:20 +00:00
Adam Jackson
fb8364bca3
Accept EDID > 1.3 but < 2.0 if we find it, assume it's compatible.
2006-12-10 11:24:05 -05:00
Jeremy C. Reed
d56249a15e
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver
2006-12-08 15:52:37 -06:00
Jeremy C. Reed
f1f8df1889
For MANDEFS, also replace __mandir__ for $(mandir) which includes
...
the prefix. Noticed wrong path to man pages on both Ubuntu and on
NetBSD with pkgsrc.
2006-12-08 15:51:44 -06:00
Daniel Stone
e59aeac1ff
xfree86: remove stray debug line
2006-12-08 21:31:50 +02:00
Michel Dänzer
729fca33a4
Revert "xfree86 DDX: Delete DDX screens in ddxGiveUp()."
...
This reverts commit a6381e6984
.
See https://bugs.freedesktop.org/show_bug.cgi?id=9224 .
2006-12-07 12:09:18 +01:00
Daniel Stone
8724af248c
kdrive/mga: fix compiler warning
...
Change a case that only made one test for an if, preventing the compiler
warning about all other PICT_* types being unsupported.
2006-12-06 23:24:24 +02:00
Daniel Stone
99378b58db
kdrive/tslib: remove vendor-specific hacks
...
Parts of the KDrive merge accidentally contained a bunch of
vendor-specific hacks; sorry.
2006-12-06 23:24:24 +02:00
Daniel Stone
8884a73a3f
xfree86/input: re-add support for disabling drag events
2006-12-06 23:24:24 +02:00
Daniel Stone
f2903c12bb
SyntheticMotion: don't dereference sprite.screen when not using Xinerama
...
(cherry picked from aa052e43c6c293e14f78837e00c6b7581f9713bb commit)
2006-12-06 23:24:23 +02:00
Daniel Stone
d17ec01e83
remove CID support (bug #5553 )
...
Remove CID from all our fontpaths.
(cherry picked from 69820a10e33e4582c192360996e866007114639d commit)
2006-12-06 23:24:23 +02:00
Alan Coopersmith
abe5e079af
Update pci.ids to 2006-12-06 from pciids.sf.net
2006-12-06 07:58:03 -08:00
Alan Coopersmith
f9f7d7f3be
Check for __sparc as well as __sparc__ for compatibility with Sun cc
...
(gcc defines __sparc__, Sun cc defines __sparc)
2006-12-04 13:36:30 -08:00
Alan Coopersmith
82912ad770
Make solaris version of xf86OSRingBell return void like other OS'es
2006-11-30 20:13:52 -08:00
Aaron Plattner
ee9bdd3f4a
Add DIX_CFLAGS to util builds.
...
Fixes a build breakage when $(top_srcdir) != $(top_builddir) because
-I$(top_srcdir)/include is missing for the cvt, ioport, pcitweak, and scanpci
builds.
Signed-off-by: Adam Jackson <ajax@nwnk.net>
2006-11-29 12:02:38 -08:00
Michel Dänzer
a6381e6984
xfree86 DDX: Delete DDX screens in ddxGiveUp().
...
This allows video drivers to clean up in the FreeScreen hook things they set up
in the PreInit hook.
2006-11-29 19:25:09 +01:00
Eric Anholt
f62ac3ec39
Separate DDC mode list creation from MonPtr creation.
...
This will be used by the intel driver, and likely other RandR 1.2 drivers.
2006-11-28 11:13:43 -08:00
Eric Anholt
fbd0944338
Replace bad mode name-setting code with xf86SetModeDefaultName().
2006-11-28 11:13:43 -08:00
Eric Anholt
4ad0bde661
Clean up a bunch of long lines and trailing whitespace.
2006-11-28 11:13:43 -08:00
Eric Anholt
05778432dc
Move code to get a mode list from EDID data from ddcProperty.c to edid_modes.c.
2006-11-28 11:13:42 -08:00
Eric Anholt
38ecc66cd9
Typo that was missed in testing.
2006-11-28 11:13:42 -08:00
Eric Anholt
16f8f10dc2
Move mode handling helpers from ddcProperty.c to xf86Mode.c.
2006-11-27 16:21:31 -08:00
Eric Anholt
b4b0d901d9
Merge branch 'randr-1.2'
...
Conflicts:
dix/events.c
dix/getevents.c
hw/xfree86/common/xf86Mode.c
hw/xfree86/dri/Makefile.am
hw/xfree86/os-support/drm/xf86drm.c
hw/xfree86/os-support/xf86drm.h
2006-11-27 15:43:15 -08:00
Eric Anholt
d6cd0313c7
Add some mode helper functions from the intel driver.
...
This also removes static from some other functions that had been copied out
to at least the intel driver, but perhaps others that were doing mode list
handling.
2006-11-27 14:46:50 -08:00
Aaron Plattner
64de3baf85
Add a -showDefaultLibPath option.
...
A corollary to the previous change, this option prints $libdir.
2006-11-22 14:46:51 -08:00
Aaron Plattner
0a2a6e4070
Add a -showDefaultModulePath option.
...
As discussed on the mailing list, people would rather have an X command-line
option to print the module path so installers can know where to put modules,
rather than the installers using `pkg-config --variable=moduledir xorg-server`,
since some distros choose not to install xorg-server.pc.
2006-11-22 14:43:37 -08:00
Dave Airlie
e2f6dacc73
dri: setup libdrm hooks as early as possible.
...
This is due to radeon doing drm stuff before DRI extension gets initialised
2006-11-18 11:29:00 +11:00
Bjorn Helgaas
ae3c9ad4ab
Bug 9041: Check the return code in xf86MapDomainMemory().
2006-11-16 17:29:06 +01:00
Eric Anholt
6ff7f2ad6a
Fix build on FreeBSD after input-hotplug.
...
(cherry picked from commit 4e6e4baead
)
2006-11-15 15:35:22 -08:00
Matthias Hopf
26d2e45bdb
Bug #9023 : Only check mice for "mouse" or "void" if identifier is != NULL.
2006-11-14 15:33:07 +01:00
Jeremy C. Reed
a724b7f130
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver
2006-11-13 20:32:26 -06:00
Jeremy C. Reed
6facd958c2
On DragonFLy, default to /dev/sysmouse (just like on FreeBSD).
...
TODO: use autoconf to handle this so the code is not platform
based but feature based.
2006-11-13 20:23:06 -06:00