- Correctly set the texture coordinate set source for the second texture
unit. - Re-enable Radeon's Composite accel now that fonts work again.
This commit is contained in:
parent
9f1a92cd09
commit
34d1529731
|
@ -475,13 +475,12 @@ ATIDrawInit(ScreenPtr pScreen)
|
|||
atis->kaa.Blend = R128BlendDMA;
|
||||
atis->kaa.DoneBlend = R128DoneBlendDMA;
|
||||
} else if (!atic->is_r200) {
|
||||
/* XXX: This code is broken so far. */
|
||||
/*atis->kaa.PrepareBlend = RadeonPrepareBlend;
|
||||
atis->kaa.PrepareBlend = RadeonPrepareBlend;
|
||||
atis->kaa.Blend = RadeonBlend;
|
||||
atis->kaa.DoneBlend = RadeonDoneBlend;
|
||||
atis->kaa.PrepareComposite = RadeonPrepareComposite;
|
||||
atis->kaa.Composite = RadeonComposite;
|
||||
atis->kaa.DoneComposite = RadeonDoneComposite;*/
|
||||
atis->kaa.DoneComposite = RadeonDoneComposite;
|
||||
}
|
||||
} else {
|
||||
#else
|
||||
|
|
|
@ -133,6 +133,7 @@ RadeonTextureSetup(PicturePtr pPict, PixmapPtr pPix, int unit)
|
|||
txformat |= (ATILog2(h) - 1) << RADEON_TXFORMAT_HEIGHT_SHIFT;
|
||||
} else
|
||||
txformat |= RADEON_TXFORMAT_NON_POWER2;
|
||||
txformat |= unit << 24; /* RADEON_TXFORMAT_ST_ROUTE_STQX */
|
||||
|
||||
txpitch = pPix->devKind;
|
||||
txoffset = ((CARD8 *)pPix->devPrivate.ptr -
|
||||
|
|
Loading…
Reference in New Issue