Commit Graph

683 Commits

Author SHA1 Message Date
Roland Mainz
9297c6149f Fix for http://freedesktop.org/bugzilla/show_bug.cgi?id=1404 - Fixing
random crashes (like in DAMAGE code etc.) in Xnest due uninitalised
    GetWindowPixmap. Original patch by Alexander Gottwald
    <ago@freedesktop.org>
2004-09-18 23:18:35 +00:00
Torrey Lyons
6344bb51e2 Bugzilla #1032: Make rootless acceleration functions compatible with
Damage.
2004-09-18 00:38:30 +00:00
Torrey Lyons
cedb9a8d62 Update Apple's list and hash utility routines to latest versions (John
Harper).
2004-09-17 21:57:26 +00:00
Alexander Gottwald
b56f4532d1 Remove code which prevented the use from specifying the window size in
nodecoration mode.
2004-09-16 13:22:52 +00:00
Alexander Gottwald
c4083511ac add support for mice with more than 3 buttons and one scroll wheel (Chris
B)
2004-09-15 17:58:50 +00:00
Egbert Eich
516f452e78 Adding support for OS dependent probing of IA64 chipsets. Not all IA64
chipsets can be probed without OS support as probing them is only
    possible using ACPI. One example of this are the HP ZX1/2 chipsets:
    previously the code assumed that these chips were present when no other
    of the known chipsets could be probed. This assumption brought SGI
    Altrix machines with 64 CPUs to a grinding halt.
2004-09-15 09:23:59 +00:00
Egbert Eich
a3aa6a2d86 Unregistering events in XSelectInput() when unregistering IM filter
callbacks may be a bad idea as others may be interested in this event.
    Removed the call to XSelectInput() altogether as we are in root window
    anyway (Lubos Lunak).
Fix size of a variable that gets assigned the value of SmartScheduleTime
    (long) to long. This should help to prevent smart scheduler lockup on
    64 bit systems due to overruns (Andreas Schwab).
2004-09-15 09:05:22 +00:00
Roland Mainz
f642fc729b Refix for http://freedesktop.org/bugzilla/show_bug.cgi?id=1361 - RFE: Allow
enabling/disabling of more extensions (fixing duplicate symbols caused
    by previous checkin; attachment #899)
2004-09-14 23:21:22 +00:00
Phil Blundell
0d95bdfbab Only set screen parameters if resolution has changed from current values.
Patch from scoony@noos.fr.
2004-09-14 23:08:10 +00:00
Eric Anholt
ba3b6fd23b Add proper PCI/AGP detection, based on Mike Harris's code for Radeon, but
using the MMIO mirror of the bits instead of config space.
2004-09-14 06:26:54 +00:00
Roland Mainz
d9df39ee2b Fix for http://freedesktop.org/bugzilla/show_bug.cgi?id=1361 - RFE: Allow
enabling/disabling of more extensions
2004-09-14 00:51:25 +00:00
Eric Anholt
80dc84d067 - Fix a segfault on VT switch with DRI. Still dies due to cursor allocation
troubles.
- Move the RemoveBlockAndWakeupHandlers to match
    RegisterBlockAndWakeupHandlers.
- Enable R100 trapezoid "acceleration" when DRI is working, so that it can
    be exposed and worked on.
2004-09-12 23:22:31 +00:00
Eric Anholt
ab50679aab Fix a bad argument missed in the previous commit for ATIDRIDMA* functions. 2004-09-12 23:01:24 +00:00
Eric Anholt
2d069b1d19 Move the RegisterBlockAndWakeupHandlers to before DRI initialization. The
change to use that instead of manual wrapping made the DMA dispatch
    come after the lock had been dropped, causing lots of pain.
2004-09-12 22:21:12 +00:00
Eric Anholt
27b5a65f05 Reset the CCE/CP on engine reset, and make the ATIDRIDMA functions take a
more useful argument.
2004-09-12 20:31:39 +00:00
Eric Anholt
fcd52d276f Add missing kaa.h include for kaaInitTrapOffsets. 2004-09-12 20:19:15 +00:00
Eric Anholt
b5d406e8c8 Fix handling of is_agp. is_agp is whether the card is actually AGP, while
using_agp should say whether AGP is being used as part of DMA/DRI.
2004-09-12 20:02:10 +00:00
Eric Anholt
7cab70d1cb Improve error handling, especially in the DRI case. Do some FatalErrors
instead of ErrorFs for things that are really bad, and put limits on
    some loops. Now, sometimes instead of hanging the entire system, we
    (mostly-) cleanly drop to console when the card has hung.
2004-09-12 19:52:51 +00:00
Eric Anholt
0cd662ea80 - Add disabled WIP trapezoid code for R128 and R100. The R128 rendering is
not doing an add of 1 per triangle like I hoped, and instead seems to
    be saturating all the pixels or something. The R100 acceleration
    renders pretty well, with some gaps. Note that both are slower than
    software due to lack of DMA to submit vertices.
- Mostly fix R128 and Radeon transform support, including supporting
    bilinear filtering on R128. Subpixel offsets are still probably an
    issue (reported by rendercheck), but I want to make 100% sure about my
    understanding of the protocol before changing everybody, including fb.
- Add support for dst formats without alpha to R128 Composite.
- Remove the R128 Blend code, which has long outlived its usefulness. (I
    kept it around for one reason: It could be useful for the w/h > 1024
    case with no mask and a non-src op. That seems pretty infrequent and
    not worth the trouble).
2004-09-11 09:28:19 +00:00
Eric Anholt
396100dd23 - Don't require Imrecise mode for Trapezoid acceleration. It looks like we
might be able to do Precise in hardware, so leave it up to the driver.
- Add a helper function for computing a set of offsets for smooth trapezoid
    rasterizing using many sharp trapezoids.
2004-09-11 09:23:12 +00:00
Matthew Allum
501dcf37aa cursor fixes 2004-09-08 11:31:49 +00:00
Matthew Allum
20918ab480 avoid ephyr breakage when tslib enabled 2004-09-07 19:00:04 +00:00
Matthew Allum
8bf6ea903b fixes to Xephyr debug mode 2004-09-07 12:44:19 +00:00
Kevin E Martin
b332225781 Update formatted docs. 2004-09-03 23:41:21 +00:00
Kevin E Martin
b2135e589b First set of documentation updates.
Include more correct fix for rootless interaction with damage (Bug #1168,
    Keith Packard).
2004-09-03 16:18:23 +00:00
Kevin E Martin
d7fef52254 Workaround for servers using rootless layer with damage (Bug #1168, Torrey
T. Lyons).
2004-09-02 04:04:47 +00:00
Kevin E Martin
0e56515aa3 Fix AGL display problems (Bug #1210, Torrey T. Lyons). 2004-09-02 01:38:17 +00:00
Matthew Allum
2753c8e2c8 see changelog 2004-09-01 15:30:58 +00:00
Matthew Allum
7c0aaa53bf '-dpi' fixes for Xephyr 2004-09-01 11:13:36 +00:00
Matthew Allum
16ff3a8727 Actuall select events for -parent option 2004-09-01 08:31:20 +00:00
Matthew Allum
2d065c4c33 Added ephyr server sources 2004-08-31 16:33:05 +00:00
Eric Anholt
6ec9ecd591 Add a set of three hooks for accelerating trapezoids, and use it for the
RasterizeTrapezoid screen function. These hooks will be called for
    imprecise, non-sharp trapezoids with A8 destinations.
Note that the current main consumer of trapezoids, cairo, is requesting
    precise, sharp trapezoids by not changing the default Picture
    attributes, but gets non-sharp effects in software because fb bases its
    choice of sharp/non-sharp on the mask format being A8 vs A1, and cairo
    asks for A8. Follow fb's (poor?) example by ignoring the sharp setting
    and basing the choice off of the mask being A8.
2004-08-30 22:16:46 +00:00
Eric Anholt
ccaf332ce3 Rather than initially place pixmaps in framebuffer based on a size
heuristic, delay the decision until the first
    kaaPixmapUse{Screen|Memory}, and put it in framebuffer if UseScreen was
    called. Provides a significant improvement in cairo speeds (100%
    speedup in cairogears here) and is likely to improve text performance
    as well.
2004-08-30 16:43:10 +00:00
Kevin E Martin
14b2db63e7 Fix make install when BuildServersOnly is YES (Bug #1213).
Fix build failures when UseDeprecatedKeyboardDriver is YES and
    DoLoadableServer is NO (Bug #1229, Kristian Høgsberg).
Fix failure when using DLL loader and LD_BIND_NOW is set (Bug #1212, Adam
    Jackson).
2004-08-29 21:06:00 +00:00
Alan Coopersmith
ac038e9cc6 Don't define _XOPEN_SOURCE before including math.h on Solaris - it's not
needed on older releases, and breaks builds on Solaris 10. (Same as
    bugzilla #189).
2004-08-29 00:48:17 +00:00
Egbert Eich
89d7027638 Fix for XV memory allocation: Also use tiled area for allocation even if it
hasn't been used before.
2004-08-27 21:44:54 +00:00
Eric Anholt
971755765d Bug #1101: Fix PaintWindow in the pixmap case when the window's origin is
not at the backing pixmap's origin. Resulted in incorrect rendering in
    at least aisleriot, fluxbox, and KDE apps, and probably many more.
    While here, move the ParentRelative loop above the drawable grab -- may
    improve correctness with ParentRelative background origins as well.
    Note that the border code doesn't handle ParentRelative yet.
2004-08-27 21:09:23 +00:00
Kevin E Martin
1840a50bb7 Add missing reply for DMX (Rik Faith). 2004-08-27 20:39:17 +00:00
Egbert Eich
f30fbc600f Fixed typos. 2004-08-27 20:20:54 +00:00
Egbert Eich
276cf27152 - adding missing file 2004-08-27 20:16:28 +00:00
Egbert Eich
ecd889c6ff Added support for LynxOS 4.0 (Thomas Mueller).
Fix arm netwinder build (Donnie Berkholz).
2004-08-27 19:27:12 +00:00
Egbert Eich
7c08707869 - Make DDC code more VESA compliant: when MaxClock is set to 0xFF it means
'no value specified'. Therefore setting it to 0.
2004-08-27 12:32:14 +00:00
Kevin E Martin
c0bff215de Fix xtest failures in Xvfb from XMatchVisualInfo test. 2004-08-27 01:15:10 +00:00
Eric Anholt
5335bc8a06 Bug #1138: Wrap funcs in CW's GC ops as well. While this is unnecessary
according to the rules as I understand them (bug #1045), not everybody
    follows the rules. GC funcs were being called on the same GC from
    within GC ops, and the cwValidateGC caused a loop in the funcs chain
    that resulted in a crash, notably in cwPolylines.
2004-08-26 20:32:59 +00:00
Egbert Eich
c8672e7ac7 Fixed support for LynxOS 3.1 (LynxOS 4 will follow) (Thomas Mueller).
2
2004-08-26 11:58:08 +00:00
Torrey Lyons
198e62c44b Documentation only update: Update XDarwin application version for release. 2004-08-21 00:46:01 +00:00
Kevin E Martin
74d84d7b12 Fix keyboard driver failing to initialize if DoLoadableServer is NO (Bug
#1133, Kristian Høgsberg).
2004-08-20 05:22:39 +00:00
Kevin E Martin
bd3e6e4425 Add missing no.*Extension symbols (Bug #1131, Aaron Plattner). 2004-08-19 04:08:40 +00:00
Kevin E Martin
8784228500 Fix CopyArea for non-redir dst, redir src (Bug #1105, Eric Anholt). 2004-08-18 21:11:17 +00:00
Kevin E Martin
9223baf985 Fix AIX build problems (Bugs #1020, 1102, 1103, Dan McNichol).
Remove old config files (Bug #1123, Jim Gettys).
Remove old log message (Bug #1123, Jim Gettys).
2004-08-18 18:41:41 +00:00