Commit Graph

16823 Commits

Author SHA1 Message Date
Eric Anholt
d15acfa79b Split the various attempts at accelerating Composite into separate
functions. Along with making things more readable, it fixes a problem
    where the coordinates would get messed up if acceleration failed due to
    things like pixmaps being in the wrong locations.
2004-01-03 11:25:27 +00:00
Eric Anholt
1e1a35e20c Actually align the offset of allocated offscreen areas. 2004-01-03 11:17:44 +00:00
Eric Anholt
354f8f7e94 Some strange \240 character snuck into the original commit of this file. 2003-12-31 23:24:33 +00:00
Eric Anholt
5f947b04da There's never a copy between different depths. Remove the check. 2003-12-30 08:45:53 +00:00
Eric Anholt
c8eb20a08e - Add new Composite hook for kdrive drivers, which only ensures that the
pixmaps are offscreen and don't have alpha maps. It is the last case
    checked before going to software fallback
- Use the new Composite hook in the ati driver to implement acceleration of
    most Composites that get done in an xcompmgr environment on r100 series
    cards. It is only available when using the DRM. There are still some
    corruption issues, but the DRI is still non-default and I need to get
    this into version control.
2003-12-30 08:23:56 +00:00
Eric Anholt
adfc1ed8e1 Add dependency lines so that servers are rebuilt when server libraries are
changed.
2003-12-29 09:04:20 +00:00
Eric Anholt
df03e80ae9 Merge dri-0-1-branch to trunk. Notable changes:
- Add libdrm and libdri. Portions of the DRI extension are stubbed out.
- Use the DRM in the ATI driver when available. This provides a minor
    performance improvement in x11perf, and opens the possibility of using
    the 3d hardware for acceleration in the future.
- Implement solid fill acceleration for Composite in KAA.
- Implement Blend hook for Composite and use it on r128.
- Fix a bug of mine that resulted in overuse of offscreen memory.
- Fix many miscellaneous bugs in ATI driver and add PCI IDs.
2003-12-29 06:24:01 +00:00
Eric Anholt
9bea538745 file kaa.h was initially added on branch dri-0-1-branch. 2003-12-28 09:56:54 +00:00
Eric Anholt
fb8cd7454b file kaapict.c was initially added on branch dri-0-1-branch. 2003-12-28 09:56:54 +00:00
Eric Anholt
f388f1509c file r128_blendtmp.h was initially added on branch dri-0-1-branch. 2003-12-23 22:29:38 +00:00
Kaleb Keithley
918958705d Use a different icon 2003-12-21 13:39:58 +00:00
Kaleb Keithley
e97c634593 merge XFree86 RC2 (4.3.99.902) from vendor branch 2003-12-20 00:28:31 +00:00
Kaleb Keithley
12e532010b XFree86 4.3.99.902 (RC 2) 2003-12-19 20:55:39 +00:00
Kaleb Keithley
4b75c7f635 First pass at "Standard" Xinerama. The sources for this came from Heather
Lanigan's xinerama tree on Sourceforge.Net. No attempt has been made to
    handle previous, non-standard versions of the protocol. Nor has any
    attempt been made to preserve the ABI of previous versions -- that part
    will be added at a later time, and then probably only on systems that
    have nice object/linker semantics, e.g. ELF systems with weak symbols.
2003-12-18 19:32:17 +00:00
Eric Anholt
305c444de3 Add initial SiS 300-series (300, 305, 540, 630, 730) driver based off of
the ATI driver. It suffers from hw/sw synchronization problems, it
    looks like, but may be good enough to work on Render acceleration
    experiments. Committing it as-is so I don't lose it again.
2003-12-08 01:55:10 +00:00
Kaleb Keithley
8a7481a274 merge XFree86 4.3.99.901 (RC1) from vendor branch 2003-12-06 13:24:29 +00:00
Kensuke Matsuzaki
e82928826f file winwin32rootlesswindow.c was initially added on branch CYGWIN. 2003-12-05 03:37:26 +00:00
Kensuke Matsuzaki
fc40d0a3cb file winwin32rootlesswndproc.c was initially added on branch CYGWIN. 2003-12-05 03:37:26 +00:00
Kensuke Matsuzaki
c3f26a1b98 file winwindowswm.c was initially added on branch CYGWIN. 2003-12-05 03:37:26 +00:00
Kensuke Matsuzaki
0f06636a9a file winwin32rootless.c was initially added on branch CYGWIN. 2003-12-05 03:37:26 +00:00
Kaleb Keithley
a84f16a9ad XFree86 4.3.99.901 (RC 1) 2003-12-04 22:03:38 +00:00
Keith Packard
33fdd50a94 Wrap ClipNotify to see region motions during MoveWindow.
Check window reorigin in PositionWindow and bump pixmap serial numbers to
    revalidate GCs.
Fix picture clip region origin in automatic update
Initialize client private 'critical' value
Clean up pixmap bounds checking code to only affect contents allocated by
    fb.
Oops. Call SourceValidate for Composite operations.
Add Xchips server (vesa based)
2003-12-02 01:59:38 +00:00
Eric Anholt
6db7792540 file radeon_sarea.h was initially added on branch dri-0-1-branch. 2003-12-01 22:56:06 +00:00
Eric Anholt
313046b428 file radeon_common.h was initially added on branch dri-0-1-branch. 2003-12-01 22:56:06 +00:00
Eric Anholt
2ad126286e file r128_sarea.h was initially added on branch dri-0-1-branch. 2003-12-01 22:56:06 +00:00
Eric Anholt
f486c136ad file r128_common.h was initially added on branch dri-0-1-branch. 2003-12-01 22:56:06 +00:00
Eric Anholt
1eb63ef1b5 file ati_sarea.h was initially added on branch dri-0-1-branch. 2003-12-01 22:56:06 +00:00
Eric Anholt
1fa5f28406 file ati_dri.c was initially added on branch dri-0-1-branch. 2003-12-01 22:56:06 +00:00
Eric Anholt
14ce4f2c3e file ati_dri.h was initially added on branch dri-0-1-branch. 2003-12-01 22:56:06 +00:00
Eric Anholt
8887456e7d file ati_dripriv.h was initially added on branch dri-0-1-branch. 2003-12-01 22:56:06 +00:00
Eric Anholt
6c9e7f4735 file ati_draw.h was initially added on branch dri-0-1-branch. 2003-12-01 22:56:06 +00:00
Eric Anholt
2ad20d4e99 file ati_drawtmp.h was initially added on branch dri-0-1-branch. 2003-12-01 22:56:06 +00:00
Anders Carlsson
ae2454f656 Add support for setting the video mode. 2003-12-01 22:11:12 +00:00
Phil Blundell
e31051ba26 Call KdShadowUnset before fbdevSetShadow. 2003-12-01 21:49:41 +00:00
Eric Anholt
9cdd6fd9e3 - Add fbdev mode-setting backend to Xati. It and vesa are compiled in when
available, with fbdev being used by default.
- Use depth 16 by default when vesa backend is used.
- Add MMIO defines for PowerPC (should be in a common location).
Many thanks for Michel Daenzer for much of this code.
2003-12-01 04:33:36 +00:00
Eric Anholt
ec7f553930 Add more RV250 PCI IDs. 2003-12-01 03:15:13 +00:00
Eric Anholt
d221c484f9 Remove sys/io.h inclusion from some files that didn't need it, and change
asm/io.h to sys/io.h in vga.c, which newer Linux complains about.
2003-12-01 01:46:42 +00:00
Kaleb Keithley
5fd7f82390 xfree86 merge 2003-11-30 16:47:13 +00:00
Kaleb Keithley
77836ebda2 xfree86 merge 2003-11-29 16:08:53 +00:00
Kaleb Keithley
88193e928b xfree86 merge 2003-11-29 15:10:02 +00:00
Kaleb Keithley
0097b6fe2d merge latest (4.3.99.16) from XFree86 (vendor) branch 2003-11-26 22:49:07 +00:00
Eric Anholt
d803918a9f Add new Radeon 9200 PCI IDs. 2003-11-25 22:39:54 +00:00
Kaleb Keithley
adc7f9a4eb XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folks 2003-11-25 19:29:01 +00:00
Kaleb Keithley
90f1536dd3 Initial revision 2003-11-25 19:29:01 +00:00
Eric Anholt
d461855a73 - Fix Radeon offscreen pixmap pitch alignment.
- Remove usleeps from idle and waitavail code, recommended by keithp.
- Add a workaround for apparent broken acceleration with Rage 128 and
    offset alignment with 8-bit acceleration (24-hack and plain 8-bit).
- Minor cleanup of setup code.
2003-11-23 10:12:04 +00:00
Eric Anholt
8e09afe657 Add RV250 PCI IDs. 2003-11-23 02:08:16 +00:00
Eric Anholt
b3247251fb - Fix a bug in pitch alignment for offscren pixmaps.
- Add 24-bit acceleration for Xati using the 8-bit trick from mach64.
- Add offscreen pixmap support to Xati.
2003-11-20 07:49:46 +00:00
Eric Anholt
41dde24b22 - Fix confusion of depth/bitsPerPixel in ati_draw.c
- Disable acceleration with 24bpp due to apparent broken acceleration.
    Accel at 24bpp was the cause of the crashes when people tried to use
    any depth over 16. XFree86 doesn't support 24 either.
- Disable at < 8bpp, too.
- Add the other Rage 128 PCI IDs.
- Remove unnecessary setting of scissor registers (only default scissor
    gets used).
2003-11-20 00:05:56 +00:00
Eric Anholt
7abbcce422 - Add PCI information (device/vendor id, bus location) to KdCardAttr to
help with ati, and future DRM drivers.
- Add new "ati" kdrive driver. It has ancestry in the r128 driver from
    andersca, but took a detour through being the WIP SiS 300 driver on the
    way. It supports Radeons (tested on QD VIVO and 7500) and Rage 128.
    Current limitations include that it requires depth 16 and that the
    other Rage 128 PCI IDs aren't included yet.
2003-11-19 08:32:38 +00:00
Keith Packard
e9cb70dae0 Reset available offscreen segment save function pointer. (Not a functional
change, just cleaning up a bit)
Reset the screen->memory_base value when frame buffer is remapped. This
    makes sure new off-screen allocations point at the newly mapped region
    rather than the old (now unmapped) region.
2003-11-18 18:38:48 +00:00