﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
3626	Use highest OpenGL version available	Tom Goddard	Tom Goddard	"It would be nice if ChimeraX created OpenGL contexts with the highest OpenGL version core profile offered by the driver.  We currently require at least OpenGL 3.3.  But future enhancements that require more recent OpenGL versions could be offered optionally if the driver allows them.

On macOS ChimeraX requests through Qt an OpenGL context version 3.3 but we get back a 4.1 context, the highest available.  On Windows we request 3.3 and get 3.3 even though 4.6 is available on two tested Windows machines.  Leaving out the QSurfaceFormat.setVersion(3,3) call on Windows causes ChimeraX to say it could not get a core profile context even though version 4.6 core and 4.6 compatibility are the highest available and we specifically request a core profile.  This appears to be a bug in Qt.  I did not see any way to ask what the highest available version is.  So it looks like the Qt bug and API doesn't offer a way to get the highest core profile version.  We could try to hack around this as follows.  As for a context without specifying a version.  That currently returns a non-core context with version 4.6.  So try again and specify version 4.6.  That works at least on the two Windows machines tested.  If that were to fail we could make a third try requesting a version 3.3 context as we do now."	enhancement	assigned	moderate		Graphics								all	ChimeraX
