Commit Graph

3195 Commits

Author SHA1 Message Date
Eric Anholt
26c5a8dfdd Whitespace cleanup. 2004-01-25 01:04:12 +00:00
Keith Packard
6870c08157 Oops, lost a diff needed for the non-screen format pixmap code 2004-01-15 09:19:56 +00:00
Keith Packard
3867e03cb6 Fix up some mis-used variable names 2004-01-15 09:15:53 +00:00
Keith Packard
f233bbf365 Accelerate non-screen format pixmaps. 2004-01-15 09:13:01 +00:00
Harold L Hunt II
751fb0374b file winresource.h was initially added on branch CYGWIN. 2004-01-15 06:06:44 +00:00
Anders Carlsson
a265167f19 Add IPAQ modeline by Dennis Noordsij. 2004-01-14 10:00:00 +00:00
Eric Anholt
6c97b277d9 Support 1x1 repeat sources in R128's Blend. 2004-01-11 00:10:34 +00:00
Eric Anholt
9270256565 Change PCI ID information field to be one of r128, r100, r200, r300. This
is all the information we need so far. Put that information into atic,
    and use it correctly in the code (unlike before).
2004-01-09 08:43:48 +00:00
Eric Anholt
5d51dfc69c Use the scratch area for Composite when one of src or dst is in memory. 2004-01-09 08:40:32 +00:00
Eric Anholt
6d8001f468 Compile fixes for non-DRI case and for non-C99 compiler. 2004-01-08 20:18:13 +00:00
Eric Anholt
1be4b2d5e8 Forced commit: Previous commit included the removal of the 8192 scanline
limit on offscreen memory in the fbdev case. I remember daenzer (who
    originally put that code in) saying he wasn't sure of it, and there
    doesn't seem to be any reason for that limit given how acceleration is
    done.
2004-01-08 08:25:49 +00:00
Eric Anholt
b27729ec88 - Add a new UploadToScratch kaa hook for putting the data for a single
pixmap into temporary offscreen storage. Subsequent UploadToScratch may
    clobber the data of previous ones. This allows hardware acceleration of
    composite operations on glyphs.
- Add a new UploadToScreen kaa hook for doing the actual moving of data to
    framebuffer. This would allow us to do things like hostdata blits or
    memcpy to agp and then blit.
- Add an UploadToScreen on ATI which is just memcpy, but which will be
    replaced with a hostdata blit soon.
- Add UploadToScratch on ATI and reserve 64k of scratch space. This
    provided a 3x speedup of rgb24text on my Radeon.
2004-01-08 08:16:24 +00:00
Harold L Hunt II
d640cf4cb4 file winprocarg.c was initially added on branch CYGWIN. 2004-01-08 05:10:33 +00:00
Harold L Hunt II
77183abbc4 file winglobals.c was initially added on branch CYGWIN. 2004-01-08 05:10:32 +00:00
Harold L Hunt II
eb5bb9c1a1 file winclipboardwrappers.c was initially added on branch CYGWIN. 2004-01-08 05:10:32 +00:00
Harold L Hunt II
e93d468df2 file winauth.c was initially added on branch CYGWIN. 2004-01-08 05:10:32 +00:00
Eric Anholt
737eddfa4b Disconnect the sis300 driver. I've never managed to fix it, and it breaks
the build on PPC.
2004-01-07 09:50:28 +00:00
Eric Anholt
5a2c23f8a1 Speed things up slightly by removing Z values from emitted vertices and by
emitting as a tri fan rather than a tri list. A rect list would save an
    additional vertex (out of 4) per rectangle, but there's no measurable
    speed difference and the tri fan may be useful when transforms come
    into play.
2004-01-07 02:30:29 +00:00
Eric Anholt
cff782078c - Don't forget to UNINIT miComputeCompositeRegion's regions
- Fix a bit of whitespace nearby.
2004-01-04 20:51:53 +00:00
Eric Anholt
34d1529731 - Correctly set the texture coordinate set source for the second texture
unit.
- Re-enable Radeon's Composite accel now that fonts work again.
2004-01-04 20:47:30 +00:00
Eric Anholt
9f1a92cd09 - Call appropriate Done function for Composite.
- Don't allow src transforms for Copy acceleration.
- Minor whitespace fixes.
2004-01-03 21:52:14 +00:00
Eric Anholt
3db761a17b - Add more Composite operations, including Saturate, to Radeon Composite
accel. I don't 100% trust that the math works for Saturate, but I can't
    tell from existing information.
- Fix texture pitch fallback checks.
- Fallback when src or mask have transforms.
- Disable Radeon Composite accel until the offset thing is fixed.
- Set offscreenPitch to 64 on Radeon thanks to new information and a kaa
    fix. Fixes acceleration at width!=1024.
2004-01-03 11:46:57 +00:00
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