[Mesa-dev] [PATCH 0/6] glx: Implement GLX_EXT_no_config_context

Adam Jackson ajax at redhat.com
Tue Nov 14 20:13:00 UTC 2017


The first three here are mostly cleanup, but after that it got
complicated. 4/6 addresses a longstanding bug in the GLX client code
where direct contexts would generate no protocol on MakeCurrent, which
means the server was unable to know what drawables were bound to a
context. We're not presently using that knowledge for anything, but a
DDX might want to react to it - perhaps to change the pixmap's tiling or
memory domain - so it seems worth adding on its own. I have not yet
tried a full piglit run with that change, in particular not with an
older X server.

5/6 depends on that change for the GLX 1.2 case of making a bare Window
current (and forgetting to do glXCreateWindow). Real GLX drawables will
have been created relative to an fbconfig, but for a bare Window we want
to query the server's idea of the config for the drawable. For that to
work, the server has to know that the window has been made current and
applied a config to it, thus the dependency on 4/6.

6/6 itself is unchanged from the last time it was sent.

- ajax



More information about the mesa-dev mailing list