/* Move locking out to get reasonable span performance. */ void i810SpanRenderStart( GLcontext *ctx ) { i810ContextPtr imesa = I810_CONTEXT(ctx); I810_FIREVERTICES(imesa); LOCK_HARDWARE(imesa); i810RegetLockQuiescent( imesa ); }
/* This waits for *everybody* to finish rendering -- overkill. */ void i810DmaFinish( i810ContextPtr imesa ) { I810_FIREVERTICES( imesa ); LOCK_HARDWARE( imesa ); i810RegetLockQuiescent( imesa ); UNLOCK_HARDWARE( imesa ); }