summaryrefslogtreecommitdiff
path: root/exa
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2006-02-23 19:25:57 +0000
committerAdam Jackson <ajax@nwnk.net>2006-02-23 19:25:57 +0000
commit5d9a620726d2b0ad89625574478d2fd4536485b0 (patch)
treeb9b224511be71289d0eb98bd372d5e8e941a3daa /exa
parent028d6903f674fa77617f333b25356710d1682b05 (diff)
Remove redundant composite op reduction, done in Render now.
Diffstat (limited to 'exa')
-rw-r--r--exa/exa_render.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/exa/exa_render.c b/exa/exa_render.c
index 206e19fa6..cb76b15aa 100644
--- a/exa/exa_render.c
+++ b/exa/exa_render.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 &&