From b9d920f3dc060d230a4a7b2d40210524acf50666 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 20 May 2004 05:27:03 +0000 Subject: Fix SYNC_ALWAYS (debugging) code to use mach64WaitIdle instead of KdCheckSync -- the boolean used in the latter won't be set yet. Oops. == instead of =. Must sync hardware before rasterizing trapezoids in case the mask is in off-screen memory and has just been erased. Yes, it is silly to place masks in off-screen memory. That's a separate issue. --- hw/kdrive/src/kdrive.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'hw/kdrive/src/kdrive.h') diff --git a/hw/kdrive/src/kdrive.h b/hw/kdrive/src/kdrive.h index c0fae276e..a8015e7ab 100644 --- a/hw/kdrive/src/kdrive.h +++ b/hw/kdrive/src/kdrive.h @@ -849,6 +849,12 @@ KdCheckComposite (CARD8 op, INT16 yDst, CARD16 width, CARD16 height); + +void +KdCheckRasterizeTrapezoid(PicturePtr pMask, + xTrapezoid *trap, + int x_off, + int y_off); #endif /* kshadow.c */ -- cgit v1.2.3