﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
4048	Replace PyOpenGL with Qt OpenGL API	Tom Goddard	Tom Goddard	"Might want to drop PyOpenGL and call OpenGL functions through PySide2.

PyOpenGL is poorly maintained.  This leads to a lot of wasted time fixing its problems.  The current one I am working on is #3760 where the latest PyOpenGL 3.1.5 is generate warnings on startup about missing numpy_formathandler.  This took almost a day of debugging and trying to fix so far -- it is just because the PyPi PyOpenGL builds are wrong, forgot to include numpy before building.  I made a PyOpenGL ticket for it, no response.

Qt / PySide2 offers a full OpenGL API.  For example, to use from PySide2 15.1

from PySide2.QtOpenGLFunctions import QOpenGLFunctions_3_3_Core as GL
GL.glClear(GL.GL_COLOR_BUFFER_BIT)

Actually this does not work.  Although glClear is in GL, the constants don't appear to be, ie GL.GL_COLOR_BUFFER_BIT gets an attribute error.

It is hard to find examples using this, so it may be even less usable than PyOpenGL.

"	enhancement	assigned	moderate		Graphics								all	ChimeraX
