Commit Graph

1105 Commits

Author SHA1 Message Date
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
Kevin E Martin
fce11fdf03 Fix typo (DIST_EXTRA -> EXTRA_DIST) 2005-10-12 02:11:06 +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
cd9ff6aec8 cpp processing for Xvfb man page 2005-10-06 20:16:13 +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
Alan Coopersmith
2770233069 Don't build "ev" example on systems without <linux/input.h> 2005-10-06 19:59:26 +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
9000c0321b Install correct man page and add to dist 2005-10-06 04:05:30 +00:00
Kevin E Martin
9b894df44b Include dmx-config.h for modular build
Use <X11/extensions/dmxext.h> intead of "dmxext.h"
2005-10-06 02:40:41 +00:00
Kevin E Martin
30c1369bf5 Add support for building DMX config and examples programs Add missing files
to EXTRA_DIST Install Xdmx man page
2005-10-06 02:35:22 +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