EXA: FillRegion{Solid,Tiled} improvements.

* Support planemasks, different ALUs and arbitrary tile origin.
* Leave damage tracking and non-trivial fallbacks to callers.
* Always migrate for fallbacks.

This is in preparation for using these from more other functions.
This commit is contained in:
Michel Dänzer 2007-04-29 23:46:49 +02:00
commit 567f18a09b
3 changed files with 72 additions and 40 deletions

View file

@ -288,6 +288,10 @@ exaGetPixmapFirstPixel (PixmapPtr pPixmap);
void
exaCopyWindow(WindowPtr pWin, DDXPointRec ptOldOrg, RegionPtr prgnSrc);
Bool
exaFillRegionTiled (DrawablePtr pDrawable, RegionPtr pRegion, PixmapPtr pTile,
DDXPointPtr pPatOrg, CARD32 planemask, CARD32 alu);
void
exaPaintWindow(WindowPtr pWin, RegionPtr pRegion, int what);
@ -343,6 +347,10 @@ exaFinishAccess(DrawablePtr pDrawable, int index);
void
exaPixmapDirty(PixmapPtr pPix, int x1, int y1, int x2, int y2);
void
exaGetDrawableDeltas (DrawablePtr pDrawable, PixmapPtr pPixmap,
int *xp, int *yp);
void
exaDrawableDirty(DrawablePtr pDrawable, int x1, int y1, int x2, int y2);