Commit Graph

1576 Commits

Author SHA1 Message Date
Bogdan Diaconescu
54639964cc Changed the license to a X/MIT one 2005-09-24 21:56:00 +00:00
Adam Jackson
3192f400c7 Disable the {Open,Close}FullScreen DRI protocol. Remove empty FullScreen
stubs from drivers, comment the non-empty ones.
2005-09-24 18:45:45 +00:00
Alan Coopersmith
a5477ae7ac Add scanpci, xorgcfg, & xorgconfig utilities. 2005-09-24 02:40:51 +00:00
Søren Sandmann Pedersen
2ba865b3f5 Fri Sep 23 19:00:06 2005 Søren Sandmann <sandmann@redhat.com>
Apply patch from Ronald Wahl to make sure that the stack pointer is not
    modified at points where we access external variables. (Bug 4269).
2005-09-23 23:04:04 +00:00
Alan Coopersmith
7554e1bf29 Sun bug #6321613
<http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6321613>
    xorgcfg dumps core when it reads a configuration file that has a
    Monitor Section, but does not have a "VendorName" entry inside it.
    (Henry Zhao, Sun Microsystems)
2005-09-23 00:27:07 +00:00
Alan Hourihane
99793543c0 put back some agp related allocation messages 2005-09-22 12:40:41 +00:00
Alan Hourihane
02566dff4a fix typo 2005-09-22 12:33:36 +00:00
Eric Anholt
56e7766c77 Bug #4541: Fix text drawing in the case where a list contains no
non-zero-sized glyphs. Several variables weren't updated, resulting in
    rendering simply stopping when this case was hit. (Anders Kaseorg)
2005-09-21 22:26:07 +00:00
Kristian Høgsberg
32497ff479 Accept --with-xkb-output argument to specify output dir for compiled xkb
keymaps. Define XKM_OUTPUT_DIR and XKB_BIN_DIRECTORY.
Add XKM_OUTPUT_DIR and XKB_BIN_DIRECTORY.
Add XKB_CFLAGS.
2005-09-21 18:14:32 +00:00
Eric Anholt
361a9eb953 - Change migration-in rule slightly: previously, if your score was less
than the max, it was bumped, and then if you were above the threshhold
    you got moved in. Instead, do the above-threshhold check separate from
    score starting out less than max. While this will likely make thrashing
    cases worse, I hope it will fix some issues with long term performance
    (think of an xcompmgr with a backbuffer it's doing only accelerated
    operations to. If some new pixmap comes in and bumps it out, even once,
    it will never get a chance to re-migrate because its score will be
    maxed). Change migration-out to be the same way for symmetry, though it
    shouldn't ever affect anything.
- Fix a lot of debugging output, both in terms of printing quality, and
    completeness. The fallback debugging covers a lot more now, pointing
    out new areas for improvement. Debugging toggles are now centralized in
    exaPriv.h.
2005-09-21 10:27:53 +00:00
Eric Anholt
6a29c4cec1 Add support for hardware accelerating tiled background painting. One
example of this is the root weave, which paints slightly slower on SiS
    now in my testing. However, according to keithp some apps use this
    feature for a sort of cheap backing store, which this could help with
    significantly. While I haven't done much performance testing with it,
    it will at least rule out one possible source of terrible performance.
2005-09-21 07:43:01 +00:00
Adam Jackson
1115ff4c00 Bug #4487: Add the bsd subdir to DIST_SUBDIRS. (Joshua Baergen) 2005-09-21 00:38:05 +00:00
Adam Jackson
00bd8968b2 Bug #4257: Move cfbcmap.c to cfb_common_sources. 2005-09-21 00:24:10 +00:00
Adam Jackson
b7e723ed6f Missing backslash 2005-09-20 23:32:21 +00:00
Alan Coopersmith
15b2f94de5 Update CVS project tag & notice about pci.ids license in output .h.
Update to match recent changes to pci.ids, extrapci.ids, & pciid2c.pl for
    people building on systems without perl.
2005-09-20 18:26:24 +00:00
Alan Coopersmith
7d0f47c43c Add --disable-install-setuid option so you can build as non-root and
chown/chmod later. Also disable by default on platforms that don't need
    setuid root X servers (Darwin & SPARC's, according to
    InstallXserverSetUID settings in the old Imake config files).
2005-09-20 15:50:31 +00:00
Alan Coopersmith
b623c60745 Linux/Alpha support (Stefaan De Roeck) 2005-09-19 22:44:49 +00:00
Alan Coopersmith
bd906c6bb8 Update to latest version from pciids.sf.net
Sync with updates to pci.ids & PCI id list in nv driver
2005-09-19 18:54:05 +00:00
Alan Coopersmith
535cd292c8 #include "xf86Axp.h" -> "shared/xf86Axp.h" for modular build. (Stefaan De
Roeck)
2005-09-19 18:38:26 +00:00
Eric Anholt
a1bcf25a1f Break EXA ABI while we still can. Add coordinates to the UploadToScreen
hook so we can upload a subset of a pixmap, and convert the current
    drivers to respect that. Use this support to directly UploadToScreen in
    exaGlyphs, providing a 47.4% +/-2.4% decrease in wall time for ls -lR
    programs/Xserver in an antialiased gnome-terminal on an M6 (n=3, caches
    hot). I would have bumped major version, only I can't tell what the
    EXA_VERSION_* is supposed to be doing as opposed to the module version.
2005-09-18 02:32:23 +00:00
Eric Anholt
074913c8a9 - Don't try to upload 0 byte-per-pixel (PICT_a1) data using
RADEONHostDataBlit.
- Disable the shortcut for switching from 3d to 3d in radeon_exa.c. It
    appears that we do need the cache flush here, thought it's not clear
    why. Disable the 2d to 2d shortcut while here, since I'm unsure of what
    we're doing. Exposed by the following bit:
- Bug #4485: Add a new routine, exaGlyphs, to handle font drawing. Glyphs
    were being accumulated in from non-migratable scratch pixmaps, causing
    the destination pixmap to move towards screen but the migration
    necessary for source never to happen, leading to abysmal performance.
    Instead, copy the scratch glyph data into a real pixmap first, then
    composite from that into the destination, allowing for migration. time
    ls -lR from programs/Xserver showed 26.9% (+/- 6.3%) decrease in wall
    time (n=3).
- Create exaDrawableUse* wrapping exaPixmapUse*, but which are aware of
    windows needing backing store. Makes migration code prettier, and
    ensures that composited windows will be migrated as normal when we turn
    off cw for EXA. (issue brought up by keithp)
2005-09-17 20:02:02 +00:00
Eric Anholt
be2bdab433 Bug #3990: Require glproto in the cases that it's necessary (DRI or DMX
with GLX). (spyderous)
2005-09-15 06:46:05 +00:00
Eric Anholt
ef7eef0f68 Bug #4046: Install the X.Org server setuid root. (David Schleef) 2005-09-15 05:55:21 +00:00
Eric Anholt
88d7eb1f7e Bug #3889: Create the log dir on install, and allow configuring
specifically that directory. Failure to have the directory keeps the
    xorg server from starting.
2005-09-15 05:06:54 +00:00
Eric Anholt
25a0ecdc18 Don't put a version number on the module filename. 2005-09-15 04:07:19 +00:00
Eric Anholt
0888ad3874 Build xf8_32bpp, which is wanted by the mga driver, and export elf.h, which
is wanted by the rendition driver.
2005-09-14 07:49:22 +00:00
Eric Anholt
dfb5da93bc Turn on DRI by default on Linux, NetBSD, FreeBSD, and fix the build of the
module for FreeBSD by setting some missing defines (XFree86Module,
    IN_MODULE) in the dri directory. Note that those missing defines should
    be somewhere generic, since there are other consumers of them, but I
    haven't figured out where.
2005-09-13 20:59:05 +00:00
Eric Anholt
12fbcfefe6 Add some initial BSD support for the xorg server. Incomplete on NetBSD,
OpenBSD, and non-i386/amd64 FreeBSD for sure. Plus I haven't actually
    run it yet.
2005-09-13 18:37:35 +00:00
Søren Sandmann Pedersen
51eb6c83a3 Tue Sep 13 11:27:05 2005 S%Gï¿¿%@ren Sandmann <sandmann@redhat.com>
* programs/Xserver/miext/shadow/shadow.c (shadowDamageBox): Add
missing REGION_UNINIT.
2005-09-13 15:28:29 +00:00
Eric Anholt
133edff1b4 Don't define POSIX_SOURCE on any BSDs, since it breaks things.
Define NO_SYS_HEADERS, as the monolithic build does. Helps FreeBSD.
Don't include validate.c in the library, since it seems to be a userland
    test program.
2005-09-13 05:44:47 +00:00
Daniel Stone
c3d6799cee Bug #594: CAN-2005-2495: Fix exploitable integer overflow in pixmap
creation, where we could create a far smaller pixmap than we thought,
    allowing changes to arbitrary chunks of memory. (Søren Sandmann
    Pedersen)
2005-09-13 01:33:19 +00:00
Adam Jackson
b290884719 Bug #3284: Make the DRI lock reference count per-screen. 2005-09-13 00:44:52 +00:00
Daniel Stone
846f797f37 Add missing fontsproto and fontenc to REQUIRED_MODULES. 2005-09-12 08:24:48 +00:00
Daniel Stone
5b218617fa Add missing resourceproto to REQUIRED_MODULES. 2005-09-12 07:53:16 +00:00
Daniel Stone
ade158d238 Define WITH_VGAHW, since we always build it; add to Xorg headers. 2005-09-12 07:07:59 +00:00
Daniel Stone
34dc481a16 Put DMX AC_CONDITIONALS at the top level, since they must always be called. 2005-09-12 07:02:46 +00:00
Eric Anholt
b0f6fe1f38 Add some optional (disabled) fallback debugging code to the async code, for
better tracking of when we're hitting software.
2005-09-11 21:38:41 +00:00
Eric Anholt
1c003ccf5d Add a pair of hooks, PrepareAccess() and FinishAccess(), which get called
around CPU access to the framebuffer. This allows the hardware to set
    up swappers to deal with endianness, or to tell EXA to move the pixmap
    out to framebuffer if insufficient swappers are available (note: must
    not fail on front buffer!).
Submitted by: benh
2005-09-11 19:08:10 +00:00
Adam Jackson
ca210830bd Simplify life for EXA drivers by reducing some {Con,Dis}joint ops. 2005-09-11 18:43:55 +00:00
Matthieu Herrb
04f81cacb9 OpenBSD also doesn't like defining POSIX_SOURCE: it limits available
functionnality in headers beyond what's used by Xorg.
2005-09-11 18:33:31 +00:00
Daniel Stone
089b4272cf use RGB_DB not RGB_PATH as that's what it's looking for
define HAVE_XKB_CONFIG_H so setting xkb-path works (Jürg Billeter)
2005-09-11 01:16:14 +00:00
Eric Anholt
2f9d01c968 Remove some references to mfb/cfb support that is no longer there. 2005-09-08 01:15:47 +00:00
Daniel Stone
b5d42012f9 Fix typo resulting in failure to swap between RGB/BGR properly. (Stephen P.
Becker)
2005-09-07 01:30:23 +00:00
Daniel Stone
c8de8c23fb Fix tests for maximum number of colours when creating a colourmap, so a
32-bit visual (e.g. ARGB) doesn't overflow an int when attempting to do
1 << 32. (Benjamin Herrenschmidt)
2005-09-05 07:43:51 +00:00
Daniel Stone
5c5c51fa6d Initialise private arrays with calloc, rather than standard malloc.
(Benjamin Herrenschmidt)
2005-09-05 07:40:50 +00:00
Daniel Stone
691669c012 xorg-server.h -> dix-config.h (thinko). 2005-09-03 07:08:58 +00:00
Alan Coopersmith
4b2f5ba1b5 Use macros from xtrans.m4, issue error if not found. 2005-09-03 03:27:55 +00:00
Jesse Barnes
733a6d7a26 Add EXA driver writer documentation for the benefit of future generations
of X hackers.
2005-09-03 02:21:36 +00:00
Daniel Stone
854010d71d Add -include dix-config.h to GL/mesa/X to catch _XSERVER64, et al. 2005-09-02 03:22:01 +00:00
Kristian Høgsberg
287336f3c9 Teach xkb how to optionally run xkbcomp from $bindir instead of
$datadir/xkb.
2005-09-01 19:56:14 +00:00