mesa/src/gallium/drivers/radeonsi/ci
Adam Jackson 768238fdc0 glx: Fix drawable refcounting for naked Windows
driFetchDrawable is only ever called from the MakeCurrent path, which
means it has to handle the case of pre-GLX-1.3 Windows being named as
the drawable. When it finds the drawable in the hash, it increments its
refcount before returning it, so for a GLXWindow it would be 2 on first
return, one from glXCreateWindow and one from glXMakeCurrent. But when
it does not find the drawable and creates one for the naked Window, the
reference count on first return would only be 1. As a result, if this
context was then ever bound to a different drawable, the old Window's
DRI drawable state (like the back buffer) would be destroyed.

Fixes piglit's glx-multi-window-single-context and glx-make-current for
a variety of drivers.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6713
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17479>
2022-07-13 12:25:30 -04:00
..
deqp-radeonsi-stoney.toml ci/radeonsi: Use a deqp-runner suite suite for stoney. 2021-10-27 09:19:34 -07:00
gfx8-polaris11-fail.csv glx: Fix drawable refcounting for naked Windows 2022-07-13 12:25:30 -04:00
gfx9-raven-fail.csv glx: Fix drawable refcounting for naked Windows 2022-07-13 12:25:30 -04:00
gfx9-vega20-fail.csv glx: Fix drawable refcounting for naked Windows 2022-07-13 12:25:30 -04:00
gfx9-vega20-flakes.csv radeonsi: wait for PS idle in si_set_framebuffer_state 2022-05-19 12:22:11 +00:00
gfx10-navi10-fail.csv glx: Fix drawable refcounting for naked Windows 2022-07-13 12:25:30 -04:00
gfx10_3-navi21-fail.csv glx: Fix drawable refcounting for naked Windows 2022-07-13 12:25:30 -04:00
gitlab-ci.yml ci: Allow disabling the whole of the Collabora farm 2022-02-24 07:33:45 +01:00
radeonsi-run-tests.py radeonsi/tests: use a smaller tests-per-group value 2022-05-20 09:57:14 +02:00
radeonsi-stoney-fails.txt mesa/st: don't guess the internal format if it's known 2022-07-07 12:25:05 +00:00
radeonsi-stoney-skips.txt ci/piglit-runner: Merge piglit-driver-*.txt files into driver-*.txt. 2021-10-27 20:54:11 +00:00
skips.csv radeonsi: add a script to run piglit/glcts/deqp tests 2021-08-02 17:27:15 +02:00
traces-radeonsi.yml ci: traces: switch to brotli compressed traces 2022-06-29 00:58:28 +00:00