Age | Commit message (Collapse) | Author | Files | Lines |
|
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.
|
|
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.
|
|
grow significantly in the near future.
|
|
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.
|
|
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).
|
|
blending code such as whiteness in test-render, or no blending at all.
Tested by: andersca
|
|
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.
|
|
|
|
for its acceleration.
- Converted the ATI driver to use the DRM to execute rendering commands
using DMA instead of MMIO when available.
|
|
|
|
|
|
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.
|
|
|
|
asm/io.h to sys/io.h in vga.c, which newer Linux complains about.
|
|
|
|
|
|
|
|
- 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.
|
|
|
|
- Add 24-bit acceleration for Xati using the 8-bit trick from mach64.
- Add offscreen pixmap support to Xati.
|
|
- 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).
|
|
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.
|
|
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.
|
|
usage message.
|
|
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.
|
|
Fix Tile/Stipple origin with non-zero pixmap window origins
Use computed depth for TrueColor visuals as fbdev doesn't have one.
|
|
|
|
|
|
|
|
manager enabled.
|
|
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.
|
|
-Werror default and add --enable-werror switch to add it back.
|
|
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.
|
|
case.
|
|
New functions. (TsInit): Register them.
|
|
kaaComposite acceleration for simple bltblt case.
|
|
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
|
|
|
|
|
|
extension semantics. Replace mouse acceleration with quadratic.
|
|
|
|
|
|
|
|
KdOffscreenSwapOut to avoid unneeded 'continue'
|
|
can occur while switched away.
Set type of off_screen_areas member to actual type instead of pointer
|
|
|
|
make doesn't build things in the right order (-j)
hw/kdrive/mga/mga.h, mgadraw.c Fix warnings
|
|
pixmap size test Add migration to composite function for source
operands
VbeDPMS Remove extraneous call to VbeGetVib.
|
|
Offscreen allocator API changes.
|
|
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.
|