diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2004-12-21 13:23:10 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2004-12-21 13:23:10 +0000 |
commit | 50694eeff993043df45b6343eb853d92589946a5 (patch) | |
tree | 922bf546d6fe1e45cbd4ab4f583f87d06722186c | |
parent | 3955313e7caac1a085ab87253b268578923153c0 (diff) |
Note that state is dirty on contended lock. Allows two applications
to run together correctly, though scheduling between them still isn't
great.
-rw-r--r-- | src/mesa/drivers/dri/unichrome/via_context.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_context.c b/src/mesa/drivers/dri/unichrome/via_context.c index ca106f0ad5..15b57b95b7 100644 --- a/src/mesa/drivers/dri/unichrome/via_context.c +++ b/src/mesa/drivers/dri/unichrome/via_context.c @@ -972,6 +972,11 @@ void viaGetLock(viaContextPtr vmesa, GLuint flags) if (sarea->ctxOwner != me) { vmesa->uploadCliprects = GL_TRUE; sarea->ctxOwner = me; + vmesa->dirty |= (VIA_UPLOAD_CTX | + VIA_UPLOAD_BUFFERS | + VIA_UPLOAD_TEX0 | + VIA_UPLOAD_TEX1 | + VIA_UPLOAD_CLIPRECTS); } viaXMesaWindowMoved(vmesa); |