Commit Graph

745 Commits

Author SHA1 Message Date
Thomas Winischhofer
1f43d218cc EXA: The "optimization" for using a fill operation instead of 1x1 copies
checked the destination drawable's dimensions (!) instead of the
    tile's. Really....
2005-10-20 21:45:40 +00:00
Adam Jackson
15f56b203d Move xf86XTrapModule.c to dixmods, guess at a build system. 2005-10-20 18:52:51 +00:00
Adam Jackson
4ebd26f04b Bug #3196: Fix Load foo.so syntax. 2005-10-19 22:36:22 +00:00
Adam Jackson
af211a9bc1 Fix PCI bus scan on ia64 E8870 chipsets. 2005-10-19 22:30:09 +00:00
Adam Jackson
2769c3e72c Fix distcheck by forcing Xorg to be installed before chmod/chown. 2005-10-18 19:43:48 +00:00
Alan Coopersmith
79e6ac79f9 Don't use $< in explicit rules since neither BSD nor Solaris make allow
that.
2005-10-18 07:18:21 +00:00
Aaron Plattner
fb282ef43a Add miext/damage so misym.c can export DamageDamageRegion. 2005-10-18 04:03:01 +00:00
Aaron Plattner
959db6028d Export DamageDamageRegion. Not bumping the ABI version since we did that
already for this release.
2005-10-18 04:02:31 +00:00
Kevin E Martin
b61c828b04 DRM 20051017 import 2005-10-18 02:23:58 +00:00
Alan Coopersmith
d6a40bcd4a Change default install dir for app-default files from
$(sysconfdir)/X11/app-defaults to $(libdir)/X11/app-defaults to match
    the monolith & allow localization
2005-10-18 00:32:55 +00:00
Adam Jackson
e7007f7d51 More automake 1.7 braindamage: use mkdir -p, not . 2005-10-17 22:42:03 +00:00
Adam Jackson
151ba8b67f Work around automake-1.7 braindamage by providing an explicit rule for
XOrgCfg.
2005-10-17 22:25:58 +00:00
Kevin E Martin
1859c62607 include/dix-config.h.in Add support for more extensions
Add missing files to EXTRA_DIST
2005-10-17 07:18:59 +00:00
Kevin E Martin
c2e461c7e9 Fix typo and add new Makefiles to AC_OUTPUT
Fix typos
Add xorg.conf.man to CLEANFILES
Add missing files to EXTRA_DIST
2005-10-15 20:44:44 +00:00
Eric Anholt
744aa34ca5 Add an additional meaning to the "dirty" flag. Now, if !dirty && !area, the
pixmaps's contents are undefined, so we won't need to upload the
    undefined contents in MoveIn. Use the ExaCheck* for async ops as well,
    so that dirty is always tracked. While the performance impact for my ls
    -lR test was not significant (though the avoiding-upload path was being
    hit), it's likely to be important for the upcoming Get/PutImage
    acceleration from ajax.
2005-10-15 02:19:09 +00:00
Alan Coopersmith
0ee70f53ef Install Xorg & xorg.conf man pages even when not building docs 2005-10-14 22:01:46 +00:00
Kristian Høgsberg
0676a2874a Add sysv and sco os-support subdirs and add simple EXTRA_DIST Makefile.am
in those dirs. Remove unsupported os-support subdirs (bsdi, dgux, hurd,
    nto, os2, pmax, qnx4) that have no maintainer and we don't dist.
Add Options.
2005-10-14 20:01:36 +00:00
Alan Hourihane
57abb5b171 remove reference to non-existent agpgart.h 2005-10-14 08:29:16 +00:00
Alan Coopersmith
8df7628a2a Remove reference to XF86config-4. Add xorgcfg(1) to See Also list. 2005-10-14 00:41:51 +00:00
Alan Coopersmith
b54c8154ca Set substitutions needed in xorgconfig man page. 2005-10-14 00:34:49 +00:00
Kristian Høgsberg
b349b20d78 Dist NOTES.
Dist helper shell scripts.
Dist XAA.HOWTO and a few more unused C files.
Dist xorgconf.cpp.
Fix DIST_EXTRA typo.
Clean yacc and lex generated files only during make maintainer-clean as we
    don't expect users to have those tools installed.
2005-10-13 18:08:24 +00:00
Benjamin Herrenschmidt
35a767590e Fix stupid mistake in yesterday's allocator commit, would cause exa to
consider a random available memory size
2005-10-13 01:13:58 +00:00
Eric Anholt
a16dabd05e Remove an RM line that appears unnecessary and was breaking the build at
xf86DefModeSet.c with FreeBSD make, where RM was undefined. While here,
    make the build of xf86DefModeSet.c depend on its sources, so it'll
    rebuild properly, and make it a normal CLEANFILE rather than a
    DISTCLEANFILE, since the intention seems to be to build it at the
    user's build time.
2005-10-12 11:15:44 +00:00
Alan Hourihane
b819c8378f remove unneeded line of code 2005-10-12 08:22:31 +00:00
Benjamin Herrenschmidt
e573b272bf Use proper access size when reading pixel based on bpp of the source pixmap 2005-10-12 07:46:36 +00:00
Eric Anholt
55efb41f6c If a window background is a 1x1 pixmap, read the value out and go to
exaFillRegionSolid rather than sending piles and piles of Copies to the
    hardware.
2005-10-12 07:35:20 +00:00
Benjamin Herrenschmidt
12994b9afb Fix a couple of bugs in the offscreen allocator. One mostly harmless was
causing our search loop for evictable blocks to possibly skip a good
    candiate, and another was the allocator would occasionally use
    area->offset as if it was the base of the pixmap, while for a pixmap
    that is not in available state, it is not. This caused some funny
    miscalculation leading to overlapping pixmaps and accesses beyond the
    end of the framebuffer. To make things cleared, I renamed save_offset
    to base_offset, made sure it's the one used everywhere in the
    allocator, and only align "offset" for the client at the end of
    exaOffscreenAlloc().
2005-10-11 23:11:37 +00:00
Alan Hourihane
8444a1f391 missed commit 2005-10-11 21:01:04 +00:00
Thomas Winischhofer
b4450f3242 Add DGAReInitModes, Part 2 2005-10-11 19:03:02 +00:00
Thomas Winischhofer
d91d18e1d6 Add DGAReInitModes in order to allow the driver to change the list of
supported DGA modes. (Part 1)
2005-10-11 19:02:18 +00:00
Alan Hourihane
c1a2abadfb fix a typo 2005-10-11 14:50:47 +00:00
Alan Hourihane
697f64a22a check randrp has been initialized 2005-10-11 14:50:03 +00:00
Alan Hourihane
2828d92c6c programs/Xserver/hw/xfree86/common/xf86RandR.c
programs/Xserver/hw/xfree86/loader/xf86sym.c Add a new function
    xf86GetRotation to allow third party modules to obtain the current
    rotation.
2005-10-11 14:45:01 +00:00
Alan Hourihane
cad18ec979 don't move x or y depending on the screen size change 2005-10-10 10:07:47 +00:00
Alan Hourihane
7f72f94aa4 rework that again 2005-10-10 09:31:49 +00:00
Alan Hourihane
7c1d9a31a3 a furthur tweak to the randr cursor position fix 2005-10-10 09:24:28 +00:00
Benjamin Herrenschmidt
13f958fbe8 Add missing {Prepare,Finish}Access() wrappers for the tile pixmap in the
fallback case
2005-10-10 05:58:41 +00:00
Alan Coopersmith
d82aeb55ca Bug #3254 <https://bugs.freedesktop.org/show_bug.cgi?id=3254> Make sure
screensaver & DPMS timeouts don't overflow when multiplied by
    MILLI_PER_MIN. (Reported by Zachary J. Slater)
2005-10-09 23:47:52 +00:00
Eric Anholt
046234b3eb Don't try the accelerated glyphs path for component-alpha text (which I
don't expect drivers to be able to accelerate without exa assistance).
    Instead, drop back to plain old miGlyphs for a 62.5% +/- 1.5% reduction
    in runtime of my ls -lR test (n=5) with component alpha. While a
    reasonable approach would seem to be making a better test to see
    whether the entire path would be accelerated and force migration
    appropriately, my attempt at this made the situation much worse.
2005-10-09 02:03:22 +00:00
Alan Hourihane
526d1502df another update to the RandR fix (thanks Aaron) 2005-10-07 21:29:39 +00:00
Alan Hourihane
470213753b update the last RandR fix 2005-10-07 18:15:08 +00:00
Alan Hourihane
348242f35a programs/Xserver/hw/xfree86/common/xf86RandR.c Use PointerMoved instead of
SetCursorPosition, as PointerMoved will call AdjustFrame to reposition
    the window if necessary and avoid the cursor ending up offscreen.
2005-10-07 15:39:52 +00:00
Kevin E Martin
578e18d11b Add darwin to dist
Include missing docs in EXTRA_DIST
Include headers and other files in dist
2005-10-07 14:27:47 +00:00
Benjamin Herrenschmidt
ff258ac278 Clients tend to set picture->repeat when not necessary. Most HW cannot
accelerate repeat NPOT thus triggering software fallback (this is the
    case with gnome desktop for example). This adds a simple optimisation
    to exa that removes "repeat" when it's obviously useless, that is, the
    single picture instance covers the entire rectangle beeing used
2005-10-06 23:45:29 +00:00
Eric Anholt
1614a31a9d Bug #4699: Correct some memory leaks in EXA and damage related to region
handling.
2005-10-06 21:55:41 +00:00
Alan Coopersmith
370b8c8f1c App-defaults file not supposed to have .ad suffix when installed Fix cpp
rules to set needed flags for app-defaults file
2005-10-06 20:14:43 +00:00
Kristian Høgsberg
460145a5d5 Add cpconfig.c to EXTRA_DIST.
Add CURSOR.NOTES to EXTRA_DIST.
Add extrapci.ids to EXTRA_DIST and fix xf86PciIds.h rule.
2005-10-06 19:37:39 +00:00
Kevin E Martin
1f9b6dc1cc Clean up generated files to pass distcheck
Clean up generated files to pass distcheck Distribute getconfig.man.pre,
    not getconfig.man
2005-10-06 00:34:29 +00:00
Alan Coopersmith
e891d9c078 Update to 2005-10-05 snapshot from pciids.sf.net (includes a couple new
Radeon id's).
2005-10-05 22:19:09 +00:00
Kristian Høgsberg
dc6ac8e46f Add DGA configure option and add various files that we should be dist'ing.
Simplify xf86DefModeSet.c rule a bit.
2005-10-05 21:38:40 +00:00
Adam Jackson
8391eaa4aa Preprocess and install XOrgCfg.ad as in the monolith. 2005-10-05 21:13:49 +00:00
Alan Coopersmith
a9df169f10 Add missing $(DESTDIR) to custom install target 2005-10-05 17:27:58 +00:00
Alan Coopersmith
a6cbe0776f Fix the rest of the XFree86 DDX options that require an argument to say so
instead of reporting "unrecognized option" when the argument is
    missing. Also give correct error instead of "unrecognized option" for
    options only available to root.
2005-10-05 16:39:09 +00:00
Luc Verhaegen
9f3ad65251 Fix lnx_pci.c's xf86GetOSOffsetFromPCI return value. Clears up the resource
ranges awkwardness and the "INVALID MEM ALLOCATION" warning.
2005-10-05 07:27:52 +00:00
Alan Coopersmith
9e8b5f3d47 Make Xorg -config stop lying to people and claiming it doesn't exist when
you fail to specify a file name. Also, include it in the list of
    available options for non-root users when listing all available flags.
2005-10-05 01:38:50 +00:00
Eric Anholt
f47f00ab74 Mark the temporary pixmap dirty if UploadToScreen succeeds. Failure to do
so resulted in a solid black glyph if the font rendering actually
    resulted in a fallback (subpixel AA, for example) and the temporary got
    migrated after 10 or so glyphs.
2005-10-04 11:24:09 +00:00
Aaron Plattner
89a1a91b88 Add miext/cw to the module loader include path so that misym.c can export
miDisableCompositeWrapper.
2005-10-04 07:42:21 +00:00
Aaron Plattner
43625a4706 Bump the video driver module ABI minor version to 8 so modules statically
linked against miDisableCompositeWrapper won't load on older servers.
#include "cw.h" instead of #include "cw/cw.h"
2005-10-04 07:31:53 +00:00
Aaron Plattner
ca57db6fc1 Export miDisableCompositeWrapper. 2005-10-04 04:30:33 +00:00
Alan Coopersmith
cdded97a0a Add #include <xorg-config.h> for modular build 2005-10-04 00:45:42 +00:00
Alan Coopersmith
4ae4fc7d51 Add gtf to xserver/xorg/hw/xfree86/utils 2005-10-04 00:43:16 +00:00
Alan Coopersmith
6d4b350dee Bug #3815 <https://bugs.freedesktop.org/show_bug.cgi?id=3815> Patch #3463
<https://bugs.freedesktop.org/attachment.cgi?id=3463> GNU/kFreeBSD
    Xserver support (Robert Millan)
2005-10-03 16:46:14 +00:00
Alan Coopersmith
22b4200b01 Whoops, need to be in DIST_SUBDIRS too. 2005-10-03 15:41:10 +00:00
Alan Coopersmith
14a2bd3330 Add missing ] (Dawid Gajownik)
Add getconfig (Dawid Gajownik)
2005-10-03 15:37:57 +00:00
Adam Jackson
e3d2a7d57b Bug #4393: uClibc lies and defines __GLIBC__ even though it's not source
compatible with glibc, so the backtrace support check fails. Work
    around this by wrapping the code in a configure check for execinfo.h,
    and emulate detection for the monolith. (Yuri Vasilevski)
2005-10-03 06:29:14 +00:00
Alan Coopersmith
b05e78dd40 Fix typo in MAN_SRCS (Dawid Gajownik) 2005-10-02 19:30:57 +00:00
Eric Anholt
8814896da8 Fix include path for commit of bug #4616. 2005-10-02 08:53:18 +00:00
Eric Anholt
ecaa46380e Bugzilla #4616:
- Merge various fb/ bits of COMPOSITE support from xserver, which weren't
    necessary before due to cw hiding the issues. Fixes offset calculations
    for a number of operations, and may pull some fixes that cairo has
    wanted for XAA as well.
- Add a new call, miDisableCompositeWrapper(), which a DDX can call to keep
    cw from getting initialized from the damage code. While it would be
    cleaner to have each DDX initialize it if it needs it, we don't have
    control over all of them (e.g. nvidia).
- Use the miDisableCompositeWrapper() to keep cw from getting set up for
    screens using EXA, because EXA is already aware of composite. Avoiding
    cw improved performance 0-35% on operations tested by ajax in x11perf.
2005-10-02 08:28:27 +00:00
Matthieu Herrb
54b2a14f0f Bug #3411: fix handling of keyboard Autorepeat rate in xorg.conf. 2005-10-01 17:30:58 +00:00
Alan Coopersmith
a07dd03748 Add hw/xfree86/getconfig 2005-10-01 07:17:55 +00:00
Alan Coopersmith
abc6aa50fb Oops - fix build/install of fbdevhw.man 2005-10-01 06:27:12 +00:00
Alan Coopersmith
13e0db19d8 Adding more doc files & fbdevhw man page 2005-10-01 06:19:02 +00:00
Thomas Winischhofer
b5ce065a5e RandR: Fix failure handling (Closes #4635; Thomas Winischhofer) 2005-09-30 08:54:44 +00:00
Alan Coopersmith
4608a2b654 Man page processing/installation and other doc file updates 2005-09-30 02:37:57 +00:00
Adam Jackson
aa74468aa5 sparse cleanups. s/0/NULL/ and mark a few things static. 2005-09-30 02:03:45 +00:00
Søren Sandmann Pedersen
c65fde5343 Make the server distcheck:
- Fix up the XpConfig directory to remove the stuff it installs
- Add a few files to CLEANFILES here and there
2005-09-28 20:38:42 +00:00
Eric Anholt
58abce3f90 - Use the dirty flag (which should be set correctly all the time,
particularly thanks to Prepare/FinishAccess) to avoid DFS/memcpy on
    pixmap move-out if it's unnecessary. This was disabled in KAA because
    cache misuse on ATI made me guess that this code was wrong.
- Unwrap Glyphs on closescreen.
2005-09-28 20:01:37 +00:00
Alan Coopersmith
f53404bdbb Add kbd_mode build system 2005-09-28 16:55:25 +00:00
Ian Romanick
940158a6f2 Replace all uses of __glEvalComputeK (and the doubly redundant
EvalComputeK) with calls to one of __glMap[12][df]_size. This was
    tested with progs/samples/eval (from Mesa).
2005-09-28 03:37:22 +00:00
Alan Coopersmith
806d74bc06 Add __SVR4 #ifdefs to work in non-Imake builds. 2005-09-28 01:57:47 +00:00
Kevin E Martin
88957862b8 Fix distcheck build and install errors. 2005-09-27 23:28:46 +00:00
Kevin E Martin
1c2e8b1ecc Fix make dist to include only sgml files. 2005-09-27 15:11:56 +00:00
Kevin E Martin
ca64aab609 Add build system for building docs and fix setuid issues.
Add build system for sgml docs.
2005-09-27 14:09:31 +00:00
Kevin E Martin
1a4e30d508 Include xorg-config.h so the generated file will also include it. 2005-09-27 13:47:26 +00:00
Alan Coopersmith
8907195d78 Take care of more files from monolith's Xserver/hw/xfree86/etc dir:
hw/xfree86/utils/ioport/Makefile.am
Add ioport and pcitweak utils from monolith hw/xfree86/etc dir.
Generate xf86DefModeSet.c from vesamodes & extramodes
Add apSolaris.shar to EXTRA_DIST
2005-09-26 20:58:26 +00:00
Alan Coopersmith
0531c4be2f alanc@alf:/export/alanc/X.org/head/cvs-rw/xc [7:40pm - 628] head -14
ChangeLog
include xorg-config.h for modular build
Adjust XF86CONFIG defines for modular build
Fixes for modular build:
- include modular server config headers
- change default XCONFIGFILE to xorg.conf
- define XKB_RULES_DIR if not defined by Imake
2005-09-26 02:41:38 +00:00
Alan Coopersmith
256fa24945 Add SecurityPolicy file for XCSECURITY extension.
Add README to EXTRA_DIST
2005-09-25 17:48:09 +00:00
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
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
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
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
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
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
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
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
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
94fbdb5c6d Make RGB_PATH configurable.
Move I2C modules back to $(moduledir)/multimedia.
2005-09-01 14:56:35 +00:00
Alan Coopersmith
9d3b5e89d6 Save keyboard LED state on startup and restore on exit so text console mode
LEDs match text console mode state. Move push of streams module earlier
    so it's loaded before we start using kbd ioctls provided by the streams
    module.
2005-08-30 22:34:14 +00:00
Kristian Høgsberg
fa6fbd018d Use the $(moduledir) makefile variable instead of @moduledir@ so it can be
overridden at make install time.
Remove driverdir and inputdir from pkg-config file. The directory layout of
    moduledir is fixed and well known by drivers.
2005-08-30 22:31:52 +00:00
Adam Jackson
0e50af8b7f typo fix 2005-08-30 19:35:06 +00:00
Eric Anholt
0c74799af4 Remove existing broken maxX/maxY code for composite (results in infinite
loops, doesn't deal with failure, doesn't present the interface to
    drivers that I expected) and instead replace it with a simple fallback
    to software when coordinate limits could be violated. Act similarly in
    other acceleration cases as well.
The solution I want to see (and intend to do soon) is to (when necessary)
    create temporary pictures/pixmaps pointing towards the real ones' bits,
    with the offsets adjusted, then render from/to those using adjusted
    coordinates.
2005-08-30 04:41:04 +00:00
Adam Jackson
0926cf79c0 Add diagnostic messages for exaDriverInit failure cases. 2005-08-26 20:21:57 +00:00
Adam Jackson
5ffff7cb86 Bug #4160: Fix Altix kernel version check. 2005-08-26 20:08:09 +00:00
Daniel Stone
6b0cdc5dd9 Change use of dix-config.h to xorg-config.h. 2005-08-26 16:46:41 +00:00
Daniel Stone
9d1b349b37 Back out previous change until I figure out something smarter. 2005-08-26 16:34:55 +00:00
Daniel Stone
3075df24e7 Subvert SIGUSR2 to reload all input devices. (Ubuntu #020) 2005-08-26 07:35:55 +00:00
Daniel Stone
89c84575ea Undo rate/period change after function body, so the damage doesn't leak
into other functions. (Debian #050)
2005-08-26 07:24:21 +00:00
Daniel Stone
bb5e934df7 Only open /proc/bus/pci/devices once. (Ubuntu #029) 2005-08-26 07:15:04 +00:00
Daniel Stone
c937faadd0 Better error message on failure to set iopl. (Debian #021) 2005-08-26 06:48:24 +00:00
Daniel Stone
6d34a2ac8a Add Xv symbol from Xext. 2005-08-26 06:35:00 +00:00
Daniel Stone
b8f0d4c3eb Spit out an error when there is no valid FB device, instead of just failing
silently. (Debian #070)
2005-08-26 06:29:15 +00:00
Daniel Stone
b48a24e796 Don't assume that all sun4m CPUs support muldiv; the Cypress CPU, which
implements the 4m MMU but only v7 instructions, does not. (Debian
    #100).
2005-08-26 06:23:41 +00:00
Daniel Stone
fd158d3d52 Get prototype for ntohl from SuSv3-compliant location, fixing it for
systems which define ntohl as a macro only, not both macro and
    function. (Debian #076)
2005-08-26 05:49:44 +00:00
Daniel Stone
53e489c0e3 Work around ATI expansion ROM problem on IA64 caused by prototype HP
McKinley systems. (Bdale Garbee)
2005-08-26 05:47:36 +00:00
Daniel Stone
40374d1149 Accept 'Enabled' and 'Disabled' for Extensions section (Ubuntu #990) 2005-08-26 05:00:07 +00:00
Søren Sandmann Pedersen
54cc45b09b Thu Aug 25 17:15:01 2005 Søren Sandmann <sandmann@redhat.com>
Add all the drivers to the module_LTLIBRARIES instead of having separate
    variables for them. Pointed out by Kristian Høgsberg.
2005-08-25 21:22:41 +00:00
Kristian Høgsberg
ff22adc097 Remove sun_inout.s so make dist works (discussed with Alan Coopersmith). 2005-08-25 14:19:43 +00:00
Alan Coopersmith
344a24b622 Use system curses library on Solaris for xorgcfg text mode. 2005-08-25 04:09:45 +00:00
Eric Anholt
0711502f18 Bugzilla #4226: Change the pixmap migration strategy for the CopyNtoN case.
Now, if either source or dest were in framebuffer, try to get both
    there, but prefer system memory for both otherwise. Required making
    exaasync.c go through the try-acceleration path. This significantly
    improves window resizing under composite, because previously the
    pattern of creating a new pixmap and copying default contents from the
    screen caused a fallback every time due to the new destination pixmap
    being in system memory.
2005-08-24 23:48:11 +00:00
Eric Anholt
2261710fe0 Fix a bug where NULL could be dereferenced during the pixmap kick-out
process by referencing the correct offscreen area. Also drive-by the
    comments related to these for clarity.
2005-08-24 23:38:25 +00:00
Eric Anholt
55c5c6953a Bugzilla #4090: Introduce getters for pixmap pitch and offset, to
simplify/clarify it for driver writers who probably don't want to know
    what pPixmap->devPrivate.ptr or pPixmap->devKind mean. Converts the sis
    driver to use them, and bumps the EXA module minor version.
2005-08-24 22:43:27 +00:00
Alan Coopersmith
079ad773e0 Fill in xf86DeallocateGARTMemory stub based on lnx_agp.c version. Add
include of xorg-config.h for modular builds
2005-08-24 22:37:15 +00:00
Eric Anholt
8fd250e5e4 Bugzilla #4089: Fix crashes in !EXA_OFFSCREEN_PIXMAPS case by not trying to
do migration when the EXA pixmap private is NULL.
2005-08-24 21:51:28 +00:00
Kristian Høgsberg
79dc5f3d5f Don't export non-standard symbols generated GCCs stack protection feature
(__guard, __stack_smash_handler).
2005-08-24 21:28:40 +00:00
Søren Sandmann Pedersen
d2952de6e3 Wed Aug 24 15:39:07 2005 Søren Sandmann <sandmann@redhat.com>
Add GLX_{INC,LIBS} for xprint.
Add @DIX_FLAGS@ to AM_CFLAGS
2005-08-24 19:41:43 +00:00
Søren Sandmann Pedersen
81e708440c Wed Aug 24 15:29:50 2005 Søren Sandmann <sandmann@redhat.com>
Conditionally include dix-config.h
Conditionally include dix-config.h
2005-08-24 19:35:51 +00:00
Daniel Stone
825a95a1fa Remove use of dix-config and xorg-config.h from public headers. 2005-08-24 11:18:35 +00:00
Alan Coopersmith
9f498a37dd Display more friendly mouse protocol names. Enable mouse wheel mapping by
default.
2005-08-23 20:58:29 +00:00
Alan Coopersmith
cff4b1c216 Check for getconfig in GETCONFIG_DIR if it's not found in module dir. 2005-08-23 20:12:26 +00:00
Alan Coopersmith
e848eb289c Rename app-defaults entries from xf86cfg to xorgcfg to match name passed to
XtAppInitialize. (Henry Zhao, Sun Microsystems) Also, display vendor
    version instead of 4.0 for server version.
2005-08-23 01:14:35 +00:00
Alan Coopersmith
6076fca825 User message cleanups/updates for modern configurations. 2005-08-23 00:32:27 +00:00
Kevin E Martin
4a19a33db6 bugzilla #2880 (https://bugs.freedesktop.org/show_bug.cgi?id=2880)
attachment #2987 (https://bugs.freedesktop.org/attachment.cgi?id=2987)
    Use system method to access PCI config space for inb and inw in
    addition to inl (Olivier Baudron and Kevin Martin).
2005-08-22 21:29:18 +00:00
Alan Hourihane
7693f668ef programs/Xserver/hw/xfree86/os-support/linux/lnx_acpi.c
programs/Xserver/hw/xfree86/os-support/linux/lnx_apm.c
programs/Xserver/hw/xfree86/os-support/linux/Imakefile Add basic ACPI Linux
    support so that events can be passed to the driver. (Alan Hourihane)
2005-08-22 12:05:18 +00:00
Daniel Stone
02c834f198 Include Xv and XvMC headers in the SDK. 2005-08-22 09:15:31 +00:00
Daniel Stone
5881051738 Huge cleanup. Group into sections: hardware feature detection, extension
detection/configuration, DDX options. Make building of Xorg DDX fully
    optional. Clarify and correct some help texts. Change all comments to
    use dnl instead of #. Quote all tests correctly, and guard
    pure-variable tests with 'x' (e.g. test $DMX = yes -> test "x$DMX" =
    xyes). Since the DDXes seem to have pretty divergent extension support
    these days, get rid of EXTENSION_LIBS, DMX_EXTENSIONS and
    XPRINT_EXTENSIONS, and go back to building extension lists by hand in
    the DDX-specific sections. Use portable POSIX constructs everywhere
    (e.g. test foo && test bar, instead of test foo -a bar).
Clean up old cruft.
Set _XSERVER64 on 64-bit architectures, and use x86_64 for host_cpu instead
    of amd64 (Jürg Billeter).
2005-08-21 19:15:11 +00:00
Daniel Stone
367f450739 Change xorg_bus_sbus to xorg_bus_sparc; build sparcPci.c on all SPARCs. 2005-08-21 08:43:46 +00:00
Daniel Stone
71b3fea94e Typo fix (SOURCE -> SOURCES). 2005-08-21 08:24:52 +00:00
Daniel Stone
db2909ce76 Add test for SPARC. Build SparcMulDiv.S on all SPARCs.
Make the default font path configurable.
2005-08-21 06:56:19 +00:00
Adam Jackson
d96e666686 Add sparcPci.c to EXTRA_DIST. 2005-08-20 18:52:07 +00:00
Daniel Stone
a402c876a4 Make DRI/GLcore builds srcdir != builddir safe, and invoke symlink-mesa.sh
in our builddir, not our srcdir.
2005-08-20 18:11:17 +00:00
Daniel Stone
abab3fd628 Make Xext linkage srcdir != builddir safe. 2005-08-20 18:09:21 +00:00
Daniel Stone
bb1d99ee72 Build libxkbstubs.la to stub XKB DDX functions (e.g. VT switches), and
build libxorggxkb.la from within the Xorg DDX to replace the previous
    xf86VT.o, et al, hacks.
2005-08-20 18:07:59 +00:00
Alan Coopersmith
a0366ddb8c Replace gnu-makeism with portable rules 2005-08-18 17:14:11 +00:00
Alan Coopersmith
ea5c49cb17 //bugs.freedesktop.org/show_bug.cgi?id=2901> Patch #2331
<https://bugs.freedesktop.org/attachment.cgi?id=2331> Lines ending in
    <backslash><space> break with cpp from gcc >= 3.3 (Peter Breitenlohner)
2005-08-18 01:40:33 +00:00
Alan Coopersmith
22694500e0 Add xf86Sbus.h to EXTRA_DIST files (bugzilla #4128) 2005-08-17 23:20:27 +00:00
Søren Sandmann Pedersen
ad7f2fc673 symlink.sh: Temporarily disable xkbdata, add type1mod.c
Tue Aug 16 12:09:09 2005 Søren Sandmann <sandmann@redhat.com>
Add ft and type1 modules.
2005-08-16 16:21:09 +00:00
Alan Coopersmith
24597a1ee2 2005-08-15 Alan Coopersmith <alan.coopersmith@sun.co>m
Convert sunPostKbdEvent to use xf86ProcessAction like xf86PostKbdEvent.
2005-08-16 00:40:25 +00:00
Alan Coopersmith
b86282b764 Set ZAxisMapping default to "4 5 6 7". 2005-08-15 23:48:35 +00:00
Søren Sandmann Pedersen
a6c8d0d71e Mon Aug 15 15:41:26 2005 Søren Sandmann <sandmann@redhat.com>
Link this module with libXext.la.
Mon Aug 15 14:56:57 2005 Søren Sandmann <sandmann@redhat.com>
Remove the xkb* files.
Add xkbVT.o and friends as the last things on the link line so they will
    override the symbols in libxkb.a. Add a comment on how this situation
    might not be considered ideal.
2005-08-15 19:42:48 +00:00
Søren Sandmann Pedersen
46aede552a Mon Aug 15 14:56:57 2005 Søren Sandmann <sandmann@redhat.com>
Remove the xkb* files.
Add xkbVT.o and friends as the last things on the link line so they will
    override the symbols in libxkb.a. Add a comment on how this situation
    might not be considered ideal.
2005-08-15 18:59:16 +00:00
Alan Hourihane
fe5abff38e Egbert's 64bit fixes for mixed 32/64bit clients 2005-08-15 07:30:05 +00:00
Eric Anholt
ebedc8bbb5 - Fix the exa pixmap offset/pitch alignment to deal with non-POT alignment
requirements. MGA, notably, uses a multiple of 3 in some cases.
- Rename the pixmap offset/pitch alignment fields to more clearly state
    their meaning.
2005-08-14 19:46:55 +00:00
Daniel Stone
e3509c940f Don't link libXext, as it is linked in to the server also. 2005-08-14 16:24:30 +00:00
Daniel Stone
05071ae0fb Don't link in libx86emu.a as this a) fails badly on non-x86 systems, and b)
is done via x86emu.c including all the source files anyway.
2005-08-13 07:41:33 +00:00
Alan Coopersmith
1ffe9ceb2f Oops, forgot a file in earlier Solaris kbd commit 2005-08-13 06:15:35 +00:00
Alan Coopersmith
c29051f9d1 Add LintTarget()
Bugzilla #1068 <https://bugs.freedesktop.org/show_bug.cgi?id=1068> Port
    Solaris keyboard code to work with kbd driver.
Also incorporated "audio bell" feature from Xsun keyboard DDX to play bell
    tones via /dev/audio (specified via Option "BellDevice" "/dev/audio" in
    keyboard device options).
2005-08-13 00:11:28 +00:00
Alan Coopersmith
5f5117729d Fix segfault when "kbd" fails to load and "keyboard" driver is not
configured.
2005-08-12 01:17:58 +00:00
Søren Sandmann Pedersen
13e16ee93a Thu Aug 11 11:43:32 2005 Søren Sandmann <sandmann@redhat.com>
Make sure we don't crash on glyphs with NULL bits. Bug 659.
2005-08-11 15:46:42 +00:00
Alan Coopersmith
435e2a09de //bugs.freedesktop.org/show_bug.cgi?id=3950> Xorg prints version numbers in
wrong format for modules compiled for Xorg 6.99 & later (Adam Jackson &
    Alan Coopersmith)
2005-08-09 01:18:04 +00:00
Søren Sandmann Pedersen
5849c69db8 Mon Aug 8 13:39:45 2005 Søren Sandmann <sandmann@redhat.com>
Conditionally include xorg-config.h
2005-08-08 18:02:08 +00:00
Keith Packard
4dfc3357a7 Add autogenerated source files and other various non-CVS material to
.cvsignore files
Use XORG_CFLAGS. Ensure that all exa files are in SOURCES
remove _XOPEN_SOURCE as it's always in xtrans.pc these days and gcc whines
libdamage.la needs libcw.la when COMPOSITE is defined, but that
    libdamage.la must be after libcomposite.la, so add libcw.la to
    DAMAGE_LIB instead of EXTENSION_LIBS. Regularize library link order
    across all X servers
2005-08-08 00:38:41 +00:00
Chris Lee
3639fb2434 Enabling EXA by default in the modular build. 2005-08-06 23:56:18 +00:00
Chris Lee
a16357ebc9 Last bits of changes to make exa build properly in the modular server. 2005-08-06 23:46:38 +00:00
Chris Lee
cc67bd187f EXA support in the modular build. 2005-08-06 23:34:09 +00:00
Chris Lee
33326f4ee8 Adding exa support to the modular server. 2005-08-06 23:27:33 +00:00
Alan Coopersmith
fc29d014aa Merge in patch release RC handling code from 6.8.2 (Kevin Martin) 2005-08-06 16:29:20 +00:00
Alan Coopersmith
9828a38ed6 Solaris build fixes needed for modular builds 2005-08-06 03:14:50 +00:00
Adam Jackson
fedbce2186 EXTRA_DIST hacks to get all the OS support files into the tarball. 2005-08-05 00:13:31 +00:00
Adam Jackson
39a80312e0 - Bug #3960: Add remaining GLX and pci.ids stuff to DIST (Cha Young-Ho,
Olli Helenius)
- Fix some distcheck problems for non-solaris systems
- Change server version number from the Xorg rev to an independent one
- _POSIX_SOURCE and _XOPEN_SOURCE defined to the right values
2005-08-04 22:31:20 +00:00
Alan Coopersmith
13bec87f45 Fix inline assembly versions of in*/out* for Sun compilers Add check for
ancient USL console code on Solaris to allow building on old Solaris
    x86 versions
2005-08-04 02:39:56 +00:00
Alan Coopersmith
d7c246f35b Only build ix86Pci.c on x86 & amd64 platforms Set DEFAULT_INT10 to x86emu
on everything but Linux/x86 Fix Sbus.c inclusion on sparc platforms
2005-08-02 23:57:52 +00:00
Adam Jackson
d31de217e6 distcheck fixes 2005-08-02 03:36:09 +00:00
Alan Coopersmith
005a9cf1f5 Fix Solaris assembly source to work with libtool 2005-08-02 01:03:25 +00:00
Adam Jackson
2d7b1893be - Workaround for AS_HELP_STRING compatibility with older autoconf.
- New intermediate build target for Xorg server
- ia64 fixes
2005-08-02 00:41:07 +00:00
Adam Jackson
b7a43fa0f1 Bug #3739: Fail soft on unknown extension string. 2005-08-01 19:00:21 +00:00
Alan Coopersmith
fd84b3b562 Clear compiler warnings. (Stefan Dirsch) 2005-07-30 18:56:32 +00:00
Kevin E Martin
2654f88cee Fix code to handle printing 7.0 release candidates properly. 2005-07-29 18:40:54 +00:00
Kevin E Martin
86529c07d6 Fix distcheck for server 2005-07-28 23:28:34 +00:00
Alan Coopersmith
3e4bf8a8f4 Rework wrapping of common mouse driver to not require mousePriv.h, so that
modular tree xserver can be built on Solaris. Wrap more ioctls in
    SYSCALL() to restart on signals.
2005-07-28 02:38:23 +00:00
Søren Sandmann Pedersen
8f6664fcff Add these files to the sdk:
cbf32.h cfb16.h cfbmap.h cfbunmap.h cfbunmap.h cfbmskbits.h xf86sbusBus.h
    mifillarch.h mispans.h
2005-07-26 23:40:45 +00:00
Søren Sandmann Pedersen
3cbb55f309 Install xorgVersion.h 2005-07-26 22:17:27 +00:00
Søren Sandmann Pedersen
b25e6f82a1 fb/Makefile.am: add fbpseudocolor.h to sdk_HEADERS
hw/xfree86/xaa/Makefile.am: add xaaWrapper.h to sdk_HEADERS
2005-07-26 18:21:22 +00:00
Alan Coopersmith
e7502158d6 Add xf86DeallocateGARTMemory stub so that Xorg can be built on Solaris
again.
2005-07-24 16:24:17 +00:00
Alan Hourihane
bf32f4739c programs/Xserver/hw/xfree86/os-support/shared/agp_noop.c
programs/Xserver/hw/xfree86/os-support/linux/lnx_agp.c
programs/Xserver/hw/xfree86/os-support/xf86_OSproc.h
//bugs.freedesktop.org/show_bug.cgi?id=3164> Add xf86DeallocateGARTMemory()
    function call (Austin Yuan)
2005-07-19 20:51:46 +00:00
Alan Coopersmith
931abdba84 Change #include "X.h" to <X11/X.h> 2005-07-19 02:50:00 +00:00
Daniel Stone
4f2e731aba objdir != srcdir fixes. 2005-07-17 07:34:31 +00:00
Adam Jackson
d69e9872ae Typo fix, and re-add GLcore to the dixmods build 2005-07-16 16:29:30 +00:00
Alan Coopersmith
8bc883c48c Update build instructions. Add details about how the expat, fontconfig,
libpng, freetype, and xterm builds are now handled.
Update text docs from SGML masters.
2005-07-16 09:00:44 +00:00
Alan Coopersmith
8e600b8764 Only pass -rdynamic when using gcc 2005-07-16 07:39:48 +00:00
Kevin E Martin
5f81eb1d89 Fix the *-config.h includes so that it is possible to build modules without
having to use -include in the Makefile.
2005-07-16 03:49:59 +00:00
Kevin E Martin
0635acab08 Add record module building support Change module building to not use
-include Fix xnest, dmx and vfb builds to -DXFree86Server for fbcmap
    compilation
2005-07-16 03:46:01 +00:00
Alan Coopersmith
92b23ff426 Update to match recent changes to pci.ids & extrapci.ids for people
building on systems without perl.
2005-07-16 01:17:52 +00:00
Kevin E Martin
2f0487521d Fix the *-config.h includes for the files that have moved in the modular
tree.
2005-07-15 23:08:31 +00:00
Kevin E Martin
a407fa373b Move drm up to os-support since the files are shared by multiple platforms.
Fix the dri and drm build. Fix server-side DMX extension build. Make
    xf4bpp use the correct version of mfbline.c for mfbseg.c. Add #ifndef
    _HEADERNAME_H_/#define _HEADERNAME_H_/.../#endif to the headers.
2005-07-15 22:51:05 +00:00
Adam Jackson
0e352a8b2b disable GLcore momentarily until a build system exists. --enable-glx should
work now.
2005-07-15 21:59:39 +00:00
Kevin E Martin
defeb56fc9 Fix the build when DRI is enabled 2005-07-14 22:20:16 +00:00
Kevin E Martin
7375f4d136 Add support for Xnest 2005-07-14 03:32:09 +00:00
Alan Coopersmith
c582560c62 Add partial in*/out* assembly support for Sun compilers on x86 2005-07-14 02:59:34 +00:00
Adam Jackson
64bf3a81a3 loadable extmod build system. 2005-07-14 02:53:31 +00:00
Adam Jackson
6c96e0c9e4 loader support for extmod 2005-07-14 01:36:58 +00:00
Alan Coopersmith
8ea4a1b759 First pass at Solaris os-support 2005-07-14 01:00:39 +00:00
Søren Sandmann Pedersen
f07e905553 - Add build system for xf86-video-ati
- Add build system for xserver/xorg/hw/xfree86/dri
- Add glcore.h to symlink.sh
- Symlink.sh: add some more DRI files, symlink glcore.h from
    extras/Mesa/include/GL/internal to proto/GL
- proto/GL/Makefile.am: install glcore.h
- xf86-video-ark: s/module-dir/xorg-module-dir/
2005-07-14 00:28:47 +00:00
Alan Coopersmith
939b7720f1 Merge SVR4/pre-Solaris 8 and Solaris 8+ sections for greater consistency,
easier maintenance, and to fix some missing headers when building the
    modular Xorg on Solaris.
2005-07-14 00:02:05 +00:00
Alan Coopersmith
4f38526566 - Use fbdevhwstub.c if <linux/fb.h> is not found
- Use x86emu on Solaris instead of vm86
- Better per-OS control over which xf86Kbd*.c and *Pci.c files to build
- Set various #defines to be defined or not on Solaris as needed
2005-07-13 22:54:02 +00:00
Adam Jackson
db8aa17f15 updated comment for libbitmap 2005-07-13 22:19:36 +00:00
Adam Jackson
4f9e76ed6a Dear libtool: Loadable modules do not need version numbers. kthnxbye. 2005-07-13 22:09:52 +00:00
Adam Jackson
40ad7321f5 Generate useful loadable modules by actually linking in the blobs from the
DIX
2005-07-13 21:52:51 +00:00
Søren Sandmann Pedersen
74a534f63c xc/programs/Xserver/hw/xfree86/drivers/i2c/*.c: include xorg-config.h
instead of config.h xserver/xorg/hw/xfree86/i2c/Makefile.am: Add i2c
    drivers
2005-07-13 20:19:38 +00:00
Daniel Stone
66bc36473c Use builddir, not srcdir, for built files. 2005-07-12 23:36:27 +00:00
Alan Coopersmith
d6808a48d2 Fix scanpci -v core dump when subsys vendor/device id's are NOVENDOR &
NODEVICE. Bug #3763 <https://bugs.freedesktop.org/show_bug.cgi?id=3763>
    Patch #3074 <https://bugs.freedesktop.org/attachment.cgi?id=3074>
2005-07-12 18:16:03 +00:00
Lars Knoll
cda9c7b267 add x86emu. 2005-07-12 14:50:10 +00:00
Kevin E Martin
b7a9a6a035 Remove unneeded xf86drm.h includes to fix modular build. 2005-07-11 17:52:00 +00:00
Adam Jackson
cf4dfd650d Prep for modular builds by adding guarded #include "config.h" everywhere. 2005-07-11 02:29:50 +00:00
Adam Jackson
c5548086f3 Start filling in glx build. Add xf86Version.h and a few DRI headers to the
sdk (needed for modular driver builds).
2005-07-11 00:42:52 +00:00
Alan Coopersmith
78fab90230 Bug #3740 <https://bugs.freedesktop.org/show_bug.cgi?id=3740> Patch #3058
<https://bugs.freedesktop.org/attachment.cgi?id=3058>
08-Jul-2005 nv driver updates from Mark Vojkovich:
Change some console restore code for NV11. Hopefully, we can more reliably
    restore the console for desktop systems using DVI. This may correct a
    recent regression on NV11.
Also, new PCI IDs.
Add new nVidia PCI ids to match nv_driver.c changes.
2005-07-09 16:51:58 +00:00
Zack Rusin
3c92389185 Patch from Thomas Winischhofer to kick out all pixmaps to system ram upon a
VT switch and vice versa when returning.
2005-07-09 14:15:35 +00:00
Adam Jackson
327741486e Don't try to link fb, shadow, or vgahw into the loadable Xorg server, as
they're only supposed to be loadable modules.
2005-07-09 02:22:29 +00:00
Adam Jackson
2b8e4db9ac -lXfont isn't enough for libbitmap, you need to get the -L from pkg-config 2005-07-08 20:27:30 +00:00
Zack Rusin
e84648df7d mark drawable as dirty on copying/painting windows 2005-07-08 17:07:52 +00:00
Zack Rusin
4ab73a73f4 heh, oops (thanks Thomas) 2005-07-08 07:43:00 +00:00
Alan Coopersmith
0a28516a6e More compiler warning fixes for missing prototypes:
Add prototype for XkbSetExtension()
Add #include <ctype.h> for isspace() & isdigit()
Add #include <grp.h> (for initgroups()) and remove extra *
Add prototype for xorgGetVersion()
2005-07-07 19:07:28 +00:00
Zack Rusin
d0dc574adb Check vtSema before accelerating primitives and sync in fallbacks only if
we got vtSema
2005-07-07 15:05:02 +00:00
Alan Coopersmith
7da3f4a786 Bug #2901 <https://bugs.freedesktop.org/show_bug.cgi?id=2901> Fix warnings
about redefined macros (Peter Breitenlohner)
2005-07-07 03:12:40 +00:00
Alan Hourihane
4073f24c90 add missing PictureTransformPoint3d call 2005-07-06 15:14:30 +00:00
Alan Coopersmith
456844a613 Remove Speedo font module documentation.
Remove Speedo from list of font directories
Update default font path to remove Speedo, add TTF.
2005-07-05 18:42:32 +00:00
Zack Rusin
5e50ae22bf remove the temporary debugging output 2005-07-04 18:55:53 +00:00
Adam Jackson
7586ac6ede Bug #2216: Multiseat support. From various Debian and Ubuntu patches by
Aivils Stoss, Andreas Schuldei, Branden Robinson, and Daniel Stone.
2005-07-04 18:41:04 +00:00
Zack Rusin
e34f31762e This fixes the close screen mess (crash reported by Thomas). Also hide the
private Exa screen definition. Properly cleanup on screen close and do
    not delete the private screen in the DriverFini call.
2005-07-04 14:15:57 +00:00
Alan Coopersmith
7dc547252a Fix builds on non-GLIBC systems (missing __GLIBC_PREREQ). Add Solaris stack
backtrace dumper.
2005-07-04 00:16:23 +00:00
Daniel Stone
d010de6979 Abandon the nostdinc experiment. 2005-07-03 15:51:23 +00:00
Daniel Stone
b0d80e76d2 Add missing include paths. 2005-07-03 12:17:04 +00:00
Daniel Stone
c1e69798ad Add explicit PSZ defines, remove unnecessary dix-config.h include.
Add -DXF86PM, forgotten from last commit.
2005-07-03 12:15:16 +00:00
Daniel Stone
4e501d35e2 Remove needless usage of DECkeysym.h. 2005-07-03 10:51:16 +00:00
Daniel Stone
a107f59951 Predicate usage of xf86OSPM functions on #ifdef XF86PM.
Remove needless include of ../input/mouse/mouse.h.
2005-07-03 09:39:54 +00:00
Daniel Stone
0bb669638f Change <X11/misc.h> and <X11/os.h> to "misc.h" and "os.h". 2005-07-03 08:53:54 +00:00
Daniel Stone
e03198972c Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings.
Add #include <dix-config.h> or <xorg-config.h>, as appropriate, to all
    source files in the xserver/xorg tree, predicated on defines of
    HAVE_{DIX,XORG}_CONFIG_H. Change all Xfont includes to
    <X11/fonts/foo.h>.
2005-07-03 07:02:09 +00:00
Kevin E Martin
b8aef6c474 Fix build issues. 2005-07-03 03:28:27 +00:00
Daniel Stone
826a6f029f Continuing Makefile cleanup; add DIX_CFLAGS and XORG_CFLAGS everywhere. 2005-07-02 18:59:44 +00:00
Adam Jackson
e58c09d31b Bug #3687: Print backtraces on fatal signal on glibc systems. 2005-07-02 18:06:05 +00:00
Daniel Stone
9b1debcdb6 Change all misc.h and os.h references to <X11/foo.h>. 2005-07-01 22:43:43 +00:00
Daniel Stone
303c281f95 Add auto-generated header files. 2005-07-01 21:15:20 +00:00
Daniel Stone
7ecc2d526c Remove fbcmap.c hacks from the DIX. 2005-07-01 21:12:24 +00:00
Daniel Stone
6251f9c00a Minor build system tweaks. 2005-07-01 21:11:16 +00:00
Daniel Stone
ded56b1a74 Adding initial build system. 2005-07-01 20:29:53 +00:00
Zack Rusin
aabb868920 removing all debugging output from the default build :) 2005-07-01 13:30:29 +00:00
Zack Rusin
0fa9d1fb48 Leave debugging output for only the interested parties. 2005-07-01 12:24:30 +00:00
Zack Rusin
0df446ab88 Missed this. Spotted by Thomas. 2005-07-01 10:39:21 +00:00
Lars Knoll
b5b2a0522e Add support for gradients and solid fills to Render.
Changed the semantics of the Convolution filter a bit. It now doesn't try
    to normalize the filter values but leaves this to the client. This
    gives more reasonable behaviour in the limit where the filter
    parameters sum up to 0.
2005-07-01 10:05:43 +00:00
Zack Rusin
30c019e847 Adding the new acceleration architecture: Exa. It's meant to replace XAA in
the coming months.
2005-07-01 08:56:12 +00:00
Alex Deucher
5e381441ff - Fix Support for Philips FM1236/F tuner on ATI AIW 9600 XT (Jeff Smith)
Bug 3401
2005-07-01 02:56:04 +00:00
Lars Knoll
b6c7afe0b9 compile 2005-06-29 15:19:14 +00:00
Adam Jackson
ce0e11aeac Bug #2447: Fix argument order to xf86DrvMsgVerb. (Luc Verhaegen) 2005-06-28 21:05:31 +00:00
Alan Coopersmith
5ef5aec9bb Update to latest snapshot (27-May-2005) from http://pciids.sf.net/ 2005-06-28 02:04:54 +00:00
Adam Jackson
b262a18aad Cosmetic correctness fixes: miEmptyBox and miEmptyData are variables, and
miGlyphExtents is a function.
2005-06-26 02:48:36 +00:00
Adam Jackson
8562f800b8 Bug #3626: _X_EXPORT tags for video and input drivers. 2005-06-25 21:16:54 +00:00
Søren Sandmann Pedersen
9743adbe94 Add Type1 subdirectory to lib/Xfonts, update build system accordingly. 2005-06-16 20:50:12 +00:00
Ian Romanick
68e856ff5b DRM 20050615 import 2005-06-15 18:31:52 +00:00
Ian Romanick
6e301a8e97 Initial revision 2005-06-15 18:31:52 +00:00
Eric Anholt
0802a2824c Correct the CHIPSET lines for the 3dfx cards so the tdfx driver will
recognize them. I'm not sure if this file is supposed to be maintained
    still, but I'd like to close FreeBSD ports/32121 which has been around
    for far too long.
2005-06-13 18:14:53 +00:00
Alan Coopersmith
72ca8e1b54 Add agpgart support for Solaris x86/x64. [Requires Solaris "Nevada" build
16 or later to get kernel side for now.] (Sophia Li - Sun Microsystems)
2005-06-09 03:11:58 +00:00
Alan Coopersmith
88d49bed00 Need to set initial screen size at device open time too. 2005-06-03 21:49:11 +00:00
Alan Coopersmith
2fc290f646 Solaris VUID mouse protocol updates:
- support for mouse-like devices that report absolute coordinates
- support for mouse-like devices that need to know screen size so they can
    scale absolute coordinates to screen size
- fix 3-button emulation
2005-06-01 17:45:17 +00:00
Adam Jackson
8537146e36 Bug #3368: Cosmetic cleanup to DIX export list. 2005-05-30 18:44:55 +00:00
Alan Coopersmith
cebd7348d2 Change hardcoded /usr/X11R6 to PROJECTROOT. Change hardcoded XF86Config to
XCONFIGFILE.
2005-05-28 00:08:03 +00:00
Alan Coopersmith
62343f5162 Bugzilla #2800 <https://bugs.freedesktop.org/show_bug.cgi?id=2800> Xevie
extension crash with signal 11 on keyboard Bugzilla #1205
    <https://bugs.freedesktop.org/show_bug.cgi?id=1205> Xevie client
    receives two KeyPress events on consumed keys when XKB is enabled
Patch #2223 <https://bugs.freedesktop.org/attachment.cgi?id=2223> Fixes for
    both of these and some other Xevie bugs (Derek Wang - Sun Microsystems)
2005-05-22 01:12:49 +00:00
Alan Coopersmith
a8a61bbe22 Initial experimental support for AMD64 builds on Solaris 10 x86. Improved
support for 64-bit SPARC builds on Solaris as well.
2005-05-21 07:46:38 +00:00
Adam Jackson
ef4401ff8a Bug #3334: Clean up remnants from the PEX, XIE, and BEZIER extensions. 2005-05-19 18:53:51 +00:00
Adam Jackson
07d1e9ae5f Bug #3066: Promote frameBufferPhysicalAddress to pointer from CARD32; bump
DRIINFO version to match. Fix various pointer printfs in libdri to be
    64-bit aware. Silence a warning about redefining noXFree86DRIExtension.
    (Jesse Barnes)
2005-05-18 19:44:35 +00:00
Adam Jackson
b87a32fb0e Bug #3163: Create new DRIINFO_*_VERSION macros to indicate the version
number of the DRIInfoRec, disambiguating it from the XF86DRI protocol
    version number. Modify DRIQueryVersion to return the libdri version
    number, which all DDXes were requesting implicitly. Fix the DDXes to
    check for the DRIINFO version they were compiled against.
2005-05-18 17:47:35 +00:00
Egbert Eich
fddcde777f VBESetVBEMode() calls int10 0x4f02 to set a VBE video mode. This can be a
standard mode solely determined by the mode ID or it may be a detailed
    mode with almost arbitrary mode parameters. The mode parameters are
    passed to the BIOS in a memory area pointed to by es:di. If bit 11 in
    the video mode is set this memory area is evaluated. When we don't have
    such an area (passed to VBESetVBEMode() this function should unset this
    bit for sanity reasons. (Bugzilla #3329)
2005-05-18 15:38:50 +00:00
Egbert Eich
bbbb0a3a84 Avoid segfaults if the number of user supplied monitor ranges exceed the
number of preallocated slots. We should really make this dynamic - but
    I don't think this ever caused a problem so it's more or less academic.
A. Avoid that *SyncStart starts before *BlankStart. If *BlankStart >
*SyncStart it is made = *SyncStart and its width is made maximal but such
    that the blank does not exceed *Total. Since the Sync width has the
    same restrictions as the Blank width monitors should still be able to
    clamp after the sync pulse. B. Over time mode validation has become
    inconsistent when people started to add additional features to the mode
    validation. One such feature is that the mode->Crtc* values have been
    (ab)used to allow the driver ValidMode() function to pass driver
    normalized timing values back to the validation function. The
    introduction of these features made the code less readable and created
    numerous possibly unintended side effects in the validation semantics.
    I've attempted to consolidate these changes making the code more
    consistent and eliminating a number of side effects. This should not
    cause problems for the majority of drivers, still it should receive
    testing - especially with ATi Mach64 and Radeon code. (Bugzilla #3325).
2005-05-18 10:31:53 +00:00
Thomas Hellstrom
a90af4a2e6 Bug 2750: Prevent mtrr_remove_offending from ending up in an endless loop
if the offending region refuses to be removed.
2005-05-15 17:45:47 +00:00
Eric Anholt
8993e70d8d Bugzilla #2561: Disable some keycode translations on PC98, which had
various bad effects including modifier keys not working.
2005-05-10 00:12:17 +00:00
Eric Anholt
e78abf3bdf Bugzilla #2429: Correct the sysarch prototype for FreeBSD/alpha. 2005-05-09 23:42:26 +00:00
Eric Anholt
3f1a1551df Increase the maximum number of buttons from 12 to 24. Helps with
button-happy mice like the Logitech MediaPlay. (Bugzilla #2390)
2005-05-09 23:26:02 +00:00
Eric Anholt
d5739efd2c Port X.Org to FreeBSD/powerpc. This makes a bit of math for sysmouse in
mouse.c explicitly signed, avoiding the need for -fsigned-chars. (Peter
    Grehan, grehan at FreeBSD dot org)
2005-05-04 04:14:58 +00:00
Adam Jackson
07cc29cf69 Bug #2138: When the server is built with MakeDllModules YES, prefer
dlloader modules to elfloader modules, and vice versa when
    MakeDllModules is NO. Based on 028_loader_speed_hack.diff from Ubuntu
    (Daniel Stone).
2005-04-25 00:25:39 +00:00