diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-10-28 19:45:31 -0200 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-10-28 19:45:31 -0200 |
commit | 2671776999a5add36e1aeaad4080bfccedc2b1a5 (patch) | |
tree | 3242361542ee889970b4c594a67a97cfe24ea74d /src/smi_accel.c | |
parent | 91b5613fb07fec0f319623ca7ec1efd67f04379b (diff) |
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.
Diffstat (limited to 'src/smi_accel.c')
-rw-r--r-- | src/smi_accel.c | 9 |
1 files changed, 0 insertions, 9 deletions
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; |