diff options
author | Dave Airlie <airlied@virtf12.(none)> | 2010-01-08 16:49:43 +1000 |
---|---|---|
committer | Dave Airlie <airlied@virtf12.(none)> | 2010-01-08 16:49:43 +1000 |
commit | c9cbe7faaf1e076ad0de8feefee779879da67f57 (patch) | |
tree | c036af4794e99ba6c21fd49f150322c3622f266a | |
parent | d8c0485bc8172dc77e38bf91599629678ae43b89 (diff) |
build and starts on F12 with these hacks.f12-hackup
-rw-r--r-- | src/qxl_driver.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/qxl_driver.c b/src/qxl_driver.c index 3edafcc..6389af6 100644 --- a/src/qxl_driver.c +++ b/src/qxl_driver.c @@ -747,6 +747,7 @@ qxlFillRegionSolid (DrawablePtr pDrawable, RegionPtr pRegion, Pixel pixel) fbReplicatePixel (pixel, pDrawable->bitsPerPixel)); } +#if 0 static void qxlPaintWindow(WindowPtr pWin, RegionPtr pRegion, int what) { @@ -769,6 +770,7 @@ qxlPaintWindow(WindowPtr pWin, RegionPtr pRegion, int what) fbPaintWindow (pWin, pRegion, what); } +#endif static void qxlCopyWindow (WindowPtr pWin, DDXPointRec ptOldOrg, RegionPtr prgnSrc) @@ -927,12 +929,14 @@ qxlScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) qxl->CreateGC = pScreen->CreateGC; pScreen->CreateGC = qxlCreateGC; - qxl->PaintWindowBackground = pScreen->PaintWindowBackground; - qxl->PaintWindowBorder = pScreen->PaintWindowBorder; + //qxl->PaintWindowBackground = pScreen->PaintWindowBackground; + //qxl->PaintWindowBorder = pScreen->PaintWindowBorder; qxl->CopyWindow = pScreen->CopyWindow; - pScreen->PaintWindowBackground = qxlPaintWindow; - pScreen->PaintWindowBorder = qxlPaintWindow; + //pScreen->PaintWindowBackground = qxlPaintWindow; + //pScreen->PaintWindowBorder = qxlPaintWindow; pScreen->CopyWindow = qxlCopyWindow; + if (!DamageSetup(pScreen)) + return FALSE; qxl->pDamage = DamageCreate(qxlOnDamage, NULL, DamageReportRawRegion, |