Remove redundant composite op reduction, done in Render now.

This commit is contained in:
Adam Jackson 2006-02-23 19:25:57 +00:00
parent 028d6903f6
commit 5d9a620726
2 changed files with 5 additions and 18 deletions

View File

@ -1,3 +1,8 @@
2006-02-23 Adam Jackson <ajax@freedesktop.org>
* exa/exa_render.c:
Remove redundant composite op reduction, done in Render now.
2006-02-22 Alexander Gottwald <ago@starnet.com>
* GL/glx/render2swap.c:

View File

@ -458,24 +458,6 @@ exaComposite(CARD8 op,
return;
}
/* simplify the drivers by reducing here */
switch (op) {
case PictOpDisjointClear:
case PictOpConjointClear:
op = PictOpClear;
break;
case PictOpDisjointSrc:
case PictOpConjointSrc:
op = PictOpSrc;
break;
case PictOpDisjointDst:
case PictOpConjointDst:
case PictOpDst:
return;
default:
break;
}
/* Remove repeat in source if useless */
if (pSrc->repeat && !pSrc->transform && xSrc >= 0 &&
(xSrc + width) <= pSrc->pDrawable->width && ySrc >= 0 &&