From 2671776999a5add36e1aeaad4080bfccedc2b1a5 Mon Sep 17 00:00:00 2001 From: Paulo Cesar Pereira de Andrade Date: Tue, 28 Oct 2008 19:45:31 -0200 Subject: Update msoc to use randr cursor routines pSmi->IsSecondary was not used, and there should not exist two instances of the driver managing the same card. Macro CHECK_SECONDARY() was dependant on a second instance of the driver for the same card, and also removed. Some rework should still be done in the cursor code, as it sometimes, when displaying different data, will leave the hw cursor visible, while using an argb cursor. --- src/smi_accel.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/smi_accel.c') diff --git a/src/smi_accel.c b/src/smi_accel.c index f3c7974..a98eb3f 100644 --- a/src/smi_accel.c +++ b/src/smi_accel.c @@ -117,8 +117,6 @@ SMI_EngineReset(ScrnInfoPtr pScrn) WRITE_DPR(pSmi, 0x40, pSmi->FBOffset >> 3); WRITE_DPR(pSmi, 0x44, pSmi->FBOffset >> 3); - CHECK_SECONDARY(pSmi); - SMI_DisableClipping(pScrn); LEAVE(); @@ -137,13 +135,6 @@ SMI_SetClippingRectangle(ScrnInfoPtr pScrn, int left, int top, int right, ENTER(); DEBUG("left=%d top=%d right=%d bottom=%d\n", left, top, right, bottom); - /* CZ 26.10.2001: this code prevents offscreen pixmaps being drawn ??? - left = max(left, 0); - top = max(top, 0); - right = min(right, pSmi->width); - bottom = min(bottom, pSmi->height); - */ - if (pScrn->bitsPerPixel == 24) { left *= 3; right *= 3; -- cgit v1.2.3