diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2007-08-30 13:30:03 +0200 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2007-09-07 18:41:31 +0200 |
commit | 2e0895a4ba27c1308713022820444c8f57f7a69f (patch) | |
tree | 7facf376e70f3f1ccd280448b24bb5a4a0a47c47 /exa/exa.c | |
parent | 6c9d7ed61bc4a19d21c53717b8af3d90b5d82ca9 (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.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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; |