Commit Graph

487 Commits

Author SHA1 Message Date
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