Hi all,<br>How does kdrive distinguish between blending and composite operation in hw/kdrive/src/kaapict.c in the following code. What is the need of blending operation separately if composite operation can perform blending?Correct me if I am wrong.
<br>And what are the checks in the if for composite specify.I am not very clear about them.<br>Thanks.<br> if (pScreenPriv->enabled && pKaaScr->info->PrepareBlend &&
<br> !pSrc->alphaMap && !pDst->alphaMap)<br> {<br> ret = kaaTryDriverBlend(op, pSrc, pDst, xSrc, ySrc, xDst, yDst,<br> width, height);<br> if (ret == 1)
<br> return;<br> }<br> }<br><br> if (pSrc->pDrawable && (!pMask || pMask->pDrawable) &&<br> pScreenPriv->enabled && pKaaScr->info->PrepareComposite &&
<br> !pSrc->alphaMap && (!pMask || !pMask->alphaMap) && !pDst->alphaMap)<br> {<br> ret = kaaTryDriverComposite(op, pSrc, pMask, pDst, xSrc, ySrc, xMask,<br> yMask, xDst, yDst, width, height);
<br> if (ret == 1)<br> return; <br> }<br><br><br>