Remove redundant composite op reduction, done in Render now.
This commit is contained in:
parent
028d6903f6
commit
5d9a620726
|
@ -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:
|
||||
|
|
|
@ -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 &&
|
||||
|
|
Loading…
Reference in New Issue
Block a user