mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
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:
parent
3955313e7c
commit
50694eeff9
1 changed files with 5 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue