commit | 74722c3ab910921296a87596ea6d7460e1f75818 | [log] [tgz] |
---|---|---|
author | Ian Romanick <ian.d.romanick@intel.com> | Wed Oct 21 08:40:44 2020 +0300 |
committer | Martin Peres <martin.peres@mupuf.org> | Thu Oct 22 07:47:28 2020 +0300 |
tree | 084bab5f292ec95ec2ac1127f17338a13067779d | |
parent | 1331b86299b2404eb231b1ae1c6564de5c80e466 [diff] |
glx: rework __glXCalculateUsableExtensions to be more readable We are about to make the GLX extension equation even more complex by adding force-enable/disable. Before doing so, split the line into multiple stages that can get a proper comment to explain what is going on. The code is taken mostly verbatim from Ian Romanick's comment: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7212#note_668045 Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Martin Peres <martin.peres@mupuf.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7212>