summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-12-29- Disable libdrm verbosity. It isn't important enough yet to make adri-0-1-branchEric Anholt2-6/+6
run-time flag for it. - Fix the (void)atic; tricks to quiet unused variable warnings in ATI template files. Mixing statements and variable defines works in newer compilers, but not pdx's.
2003-12-29- Use kaa solid fill hook to implement Composite Src without a mask and aEric Anholt1-57/+238
1x1 repeating source. - Have failure to accelerate due to pixmaps not being on the screen jump past the software fallback's PixmapUseMemory calls. - Don't try to accelerate Blend when there is a separate alpha map. - Improve Composite debug fallback output. pixel <-> RGBA conversions obtained from XFree86.
2003-12-28Move the kaaComposite function and debug to kaapict.c. It is expected toEric Anholt4-233/+343
grow significantly in the near future.
2003-12-28Previous revision fixed the "pitch" variable to be the pitch in bytesEric Anholt1-2/+2
rather than pixels, as the offscreenPitch kaa private would indicate, but failed to remove multiplication by bytes per pixel where the pitch was used. This wasted memory.
2003-12-28- Allow acceleration between same-depth pixmaps, rather than betweenEric Anholt6-71/+103
anything and a dst that matched the screen depth (fixes corruption for non-screen-depth src and makes more acceleration possible). - Add ATI_FALLBACK macro and use it to allow verbose descriptions of why hardware acceleration fails. - Check that src and dst alignment meet requirements of the card before accelerating. The BIOS may set up screens that don't meet the requirements. - Fix the R128 offset alignment (32 bytes, not 8). - Enable Blend operation even if screen is 24bpp (it will fail if the dest is 24bpp anyway).
2003-12-27Properly initialize texture registers in Blend. Fixes problems withEric Anholt2-2/+13
blending code such as whiteness in test-render, or no blending at all. Tested by: andersca
2003-12-23- Implement acceleration of Composite on R128 when there is no mask, noEric Anholt7-48/+469
transformation, no repeat, and only certain ops are used. - Add debugging output for software fallbacks for Composite. - Allow pixmaps in offscreen that don't match root depth. - Clean up some mess in ati_reg.h. Many thanks to andersca for a lot of this code.
2003-12-10Add missing kaaDrawFini to ATI driver.Eric Anholt1-0/+2
2003-12-01- Initial add of enough of the DRI to create a 2d driver that uses the DRMEric Anholt1697-778859/+2976
for its acceleration. - Converted the ATI driver to use the DRM to execute rendering commands using DMA instead of MMIO when available.
2003-12-01Add support for setting the video mode.dri-0-1-branchpointAnders Carlsson1-3/+79
2003-12-01Call KdShadowUnset before fbdevSetShadow.Phil Blundell1-0/+2
2003-12-01- Add fbdev mode-setting backend to Xati. It and vesa are compiled in whenEric Anholt7-69/+250
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-01Add more RV250 PCI IDs.Eric Anholt1-0/+4
2003-12-01Remove sys/io.h inclusion from some files that didn't need it, and changeEric Anholt3-3/+1
asm/io.h to sys/io.h in vga.c, which newer Linux complains about.
2003-11-25Add new Radeon 9200 PCI IDs.Eric Anholt1-0/+3
2003-11-25XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_16Kaleb Keithley705-26603/+30330
2003-11-25Initial revisionXORG-STABLEKaleb Keithley91-0/+27196
2003-11-23- Fix Radeon offscreen pixmap pitch alignment.Eric Anholt1-18/+18
- 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-23Add RV250 PCI IDs.Eric Anholt1-0/+4
2003-11-20- Fix a bug in pitch alignment for offscren pixmaps.Eric Anholt5-40/+112
- Add 24-bit acceleration for Xati using the 8-bit trick from mach64. - Add offscreen pixmap support to Xati.
2003-11-20- Fix confusion of depth/bitsPerPixel in ati_draw.cEric Anholt2-23/+81
- 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-19- Add PCI information (device/vendor id, bus location) to KdCardAttr toEric Anholt9-4/+918
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-18Reset available offscreen segment save function pointer. (Not a functionalKeith Packard2-0/+2
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-18Added infrastructure for driver specific usage messages and added vesaSeth W. Klein24-20/+179
usage message.
2003-11-17Recompute winSize/borderSize to fix them when changing redirection.Keith Packard4-98/+108
Sufficient, but not always necessary. Add borderClip to damage on creation so that clients needn't guess. Fix API to FbDots functions to make PolyPoint work with screen_x/screen_y offsets Add debugging code to make sure no pictures are left pointing at freed pixmaps. "Can't" happen, but it did once. Change KdOffscreenArea structure to eliminate separate private structure, eliminate the ScreenPtr, change from doubly linked to singly linked list. Don't damage BackgroundNone windows on PW_BACKGROUND. Re-clip damage to borderClip in DamageSubtract.
2003-11-17Clear window when Manual Subwindows redirect is destroyedKeith Packard1-2/+2
Fix Tile/Stipple origin with non-zero pixmap window origins Use computed depth for TrueColor visuals as fbdev doesn't have one.
2003-11-14XFree86 4.3.0.1xf86-4_3_0_1PRE_xf86-4_3_0_1Kaleb Keithley438-37392/+42560
2003-11-14Initial revisionKaleb Keithley982-0/+479777
2003-11-14R6.6 is the Xorg base-lineXORG-MAINKaleb Keithley609-0/+262690
2003-11-14Accelerated image text code drew glyphs at wrong location when compositingKeith Packard1-2/+2
manager enabled.
2003-11-13Have the composite extension tell the damage extension about clients whichKeith Packard2-7/+7
have redirected subwindows in manual mode. Those clients are marked Critical and given a significant scheduling boost whenever they receive a damage notify event. This dramatically improves update frequency. If the kernel reported a large number of keys, readKernelMapping would walk off the end of the kdKeysym array. Fix usage of _IOWR; the 'size' argument is actually a datatype.
2003-11-11Fix Makefile.am's to include header files needed for distcheck. RemoveEric Anholt5-8/+21
-Werror default and add --enable-werror switch to add it back.
2003-11-10Fix KdXv interface to pass drawable down so that bits can be put intoKeith Packard4-86/+106
drawable pixmap rather than directly into the frame buffer. Rewrite logic in kdoffscreen to make space for new allocations, now deals correctly with locked areas.
2003-11-10Must offset composite parameters by drawable coordinates in acceleratedKeith Packard1-0/+9
case.
2003-11-08Avoid ugly shell error when libXdmcp isn't present.Phil Blundell1-0/+19
New functions. (TsInit): Register them.
2003-11-08Fix KAA to work with screen_x/screen_y hacks from COMPOSITE Also addKeith Packard1-26/+75
kaaComposite acceleration for simple bltblt case.
2003-11-07Ok, Composite extension is semi-working; when no-one asks for redirection,Keith Packard5-15/+43
the server seems to act as before. With RedirectSubwindows (root, automatic), the server looks just like a regular X server. Now to go rewrite the (currently lame) compositing manager to get some real action on the screen. Some of the fixes here are to make valgrind quiet with various ioctls used by kdrive/linux. Also fixed a bug where fbdev initialization was out of order in fbdev.c and smi.c
2003-11-07Fix warnings.Phil Blundell1-8/+6
2003-11-06tslib improvementsMatthew Allum7-25/+81
2003-11-05Replace translucent compositing hacks with PictOpSrc to match eventualKeith Packard1-7/+22
extension semantics. Replace mouse acceleration with quadratic.
2003-11-02merge xfixes_2_branch back to HEADKeith Packard51-996/+920
2003-10-28try /dev/misc/apm_bios if /dev/apm_bios doesn't existPhil Blundell1-0/+2
2003-10-28move smi into VESA_SUBDIRSPhil Blundell1-3/+2
2003-10-19Minor cleanups -- remove a couple of bogus KdCheckSync calls, restructureKeith Packard2-8/+4
KdOffscreenSwapOut to avoid unneeded 'continue'
2003-10-16Discard/reconstruct list of offscreen areas on VT switch so no allocationsxfixes_2_branchpointKeith Packard2-3/+3
can occur while switched away. Set type of off_screen_areas member to actual type instead of pointer
2003-10-15Add a memory_base variable and use it.Anders Carlsson8-12/+11
2003-10-15hw/kdrive/*/Makefile.am Libraries in local dir must not use global path orKeith Packard9-10/+9
make doesn't build things in the right order (-j) hw/kdrive/mga/mga.h, mgadraw.c Fix warnings
2003-10-15various Split out pixmap allocation debug statements Fix bogus offscreenKeith Packard5-17/+15
pixmap size test Add migration to composite function for source operands VbeDPMS Remove extraneous call to VbeGetVib.
2003-10-14Avoid attempting acceleration on non-screen formats (for now)Keith Packard2-7/+15
Offscreen allocator API changes.
2003-10-14Use same assumptions as layergc about what layer kind is approprate forKeith Packard5-230/+438
unwrapping pixmap operations. This makes sure the accelerated code gets invoked for pixmaps Add pixmap migration support to kaa. Can't quite automatically migrate pixmaps off-screen, but soon we will. Can kick objects out of video memory. Move per-screen linked list pointers to pixmap private. Wrap Composite in preparation for migrating pixmaps. Have kasync ignore drawable type so that pixmaps trigger sync Add KdOffscreenFini to cleanup on server reset. Switch off screen area to have only a 'save' function; moving objects to off screen memory is done by saving then freeing the area.