diff options
author | Sergii Romantsov <[email protected]> | 2019-06-05 14:33:58 +0300 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-09-05 09:04:12 -0700 |
commit | 1dce75c1839f08cfa78400367019f998c258eff5 (patch) | |
tree | 1997f548265706e1fd0b33d14c9018fcde11bf8e /.mailmap | |
parent | 3f5b541fc8b2aae6e71783b7a9bb8eb2ffa3a74d (diff) |
intel/dri: finish proper glthread
KWin was able to get NULL-context in the call
intelUnbindContext. But a call _mesa_glthread_finish
is not resistent to such case.
Case can be catched with steps:
1. Create both glx and egl contexts
2. Make glx as current
3. Make egl as current
4. Reset glx context
5. Make egl as current
Solution adds proper finishing of glthread-context
(context will be taken from the requested dri-context
for unbinding, but not from the saved current context).
Piglit-test: https://gitlab.freedesktop.org/mesa/piglit/merge_requests/87
Cc: 19.1 19.2 <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110814
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111271
Fixes: dca36d5516d0 (i965: Implement threaded GL support)
Signed-off-by: Sergii Romantsov <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions