summaryrefslogtreecommitdiff
path: root/hw/kdrive/src/kaa.h
AgeCommit message (Collapse)AuthorFilesLines
2008-07-01Auf wiedersehen, KAA.Adam Jackson1-120/+0
2007-08-28devPrivates rework: since API is already broken, switch everythingEamon Walsh1-5/+8
over to new system. Need to update documentation and address some remaining vestiges of old system such as CursorRec structure, fb "offman" structure, and FontRec privates.
2007-06-29Death to RCS tags.Adam Jackson1-2/+0
2005-06-09- Replace the syncAccel hook in the kdrive structure with a pair of hooksEric Anholt1-0/+8
in the kaa structure: markSync and waitMarker. The first, if set, returns a hardware-dependent marker number which can then be waited for with waitMarker. If markSync is absent (which is the case on all drivers currently), waitMarker must wait for idle on any given marker number. The intention is to allow for more parallelism when we get downloading from framebuffer, or more fine-grained idling. - Replace the KdMarkSync/KdCheckSync functions with kaaMarkSync and kaaWaitSync. These will need to be refined when KAA starts being smart about using them. Merge kpict.c into kasync.c since kasyn.c has all the rest of these fallback funcs. - Restructure all drivers to initialize a KaaInfo structure by hand rather than statically in dubious order. - Whack the i810 driver into shape in hopes that it'll work after this change (it certainly wouldn't have before this). Doesn't support my i845 though. - Make a new KXV helper to avoid duplicated code to fill the region with the necessary color key. Use it in i810 and mach64 (tested).
2005-02-08hw/kdrive/ati/radeon_composite.c Support linear filteringKeith Packard1-1/+1
Change how touch screens work -- make them just another 'mouse' device. Add unfinished (and unused) code to accelerate tiled fills.
2004-09-11- Don't require Imrecise mode for Trapezoid acceleration. It looks like weEric Anholt1-0/+4
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-08-30Add a set of three hooks for accelerating trapezoids, and use it for theEric Anholt1-0/+6
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-07-03Add a "dirty" flag to the pixmap private. Clear it when setting up anEric Anholt1-0/+4
offscreen pixmap area, and set it when any rendering occurs. When moving a pixmap out of offscreen, don't read data back if it wasn't dirtied (compared to the system memory copy).
2004-05-17Make kaaMoveInPixmap public. This will be used by the ATI driver's xvideoEric Anholt1-0/+3
support to ensure that the destination is in framebuffer.
2004-05-14Add new flag, KAA_OFFSCREEN_ALIGN_POT, which tells KAA to align pixmapEric Anholt1-1/+0
pitches to a power-of-two number of bytes. Useful for Render acceleration on older cards.
2003-12-29Merge dri-0-1-branch to trunk. Notable changes:Eric Anholt1-0/+95
- 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.