summaryrefslogtreecommitdiffstats
path: root/src/gui/image
diff options
context:
space:
mode:
authorAleksei Nikiforov <darktemplar@basealt.ru>2020-02-03 11:34:05 +0300
committerAleksei Nikiforov <darktemplar@basealt.ru>2020-11-07 14:32:43 +0300
commitb5feb28d63f763f1f830af1f7586712aa45ef4be (patch)
treead327d2ced10fe2038395e57549eaffcb6263a66 /src/gui/image
parentf5c7799f59ba53c634906b11e2135190093bf87b (diff)
xcb: ensure that available glx version is greater than requested one or equal to it
Otherwise xcb plugin may report that it's supported and later it'd be unable to create opengl context when requested due to too low xcb protocol version available, and thus some important xcb functions missing. Without such change when Qt application is running under x2go it exits with fatal error due to mismatch in requested and supported glx protocol versions. Qt requests glx protocol version 1.4, while x2go currently reports that it support glx protocol but only version 1.2, but Qt uses functions such as glXChooseFBConfig and glXGetVisualFromFBConfig which are available only starting with glx protocol version 1.3 according to glx documentation. With this change, when Qt application is running under x2go, xcb plugin reports that it's not supported and egl plugin is used instead. And egl plugin successfully allows to work with opengl, and thus Qt application is running normally. Pick-to: 5.15 Change-Id: I5c0fb10bd328da68054bfca8e8efde1144789566 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/gui/image')
0 files changed, 0 insertions, 0 deletions