summaryrefslogtreecommitdiff
path: root/exa/exa.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2007-08-30 13:30:03 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2007-09-07 18:41:31 +0200
commit2e0895a4ba27c1308713022820444c8f57f7a69f (patch)
tree7facf376e70f3f1ccd280448b24bb5a4a0a47c47 /exa/exa.c
parent6c9d7ed61bc4a19d21c53717b8af3d90b5d82ca9 (diff)
EXA: Improvements for trapezoids and triangles.
Only migrate once in exaTrapezoids/Triangles instead of every time in exaRasterizeTrapezoid/AddTriangles. Adapt manual damage tracking to new infrastructure. Also move definition of NeedsComponent() closer to where it's used.
Diffstat (limited to 'exa/exa.c')
-rw-r--r--exa/exa.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/exa/exa.c b/exa/exa.c
index 5a850372f..ad8d9673d 100644
--- a/exa/exa.c
+++ b/exa/exa.c
@@ -766,11 +766,8 @@ exaDriverInit (ScreenPtr pScreen,
pExaScr->SavedComposite = ps->Composite;
ps->Composite = exaComposite;
- pExaScr->SavedRasterizeTrapezoid = ps->RasterizeTrapezoid;
- ps->RasterizeTrapezoid = exaRasterizeTrapezoid;
-
- pExaScr->SavedAddTriangles = ps->AddTriangles;
- ps->AddTriangles = exaAddTriangles;
+ pExaScr->SavedTriangles = ps->Triangles;
+ ps->Triangles = exaTriangles;
pExaScr->SavedGlyphs = ps->Glyphs;
ps->Glyphs = exaGlyphs;