Note that state is dirty on contended lock. Allows two applications

to run together correctly, though scheduling between them still isn't
great.
This commit is contained in:
Keith Whitwell 2004-12-21 13:23:10 +00:00
parent 3955313e7c
commit 50694eeff9

View file

@ -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);