mupen64plus-ui-python icon indicating copy to clipboard operation
mupen64plus-ui-python copied to clipboard

QOpenGLQWidget

Open gen2brain opened this issue 7 years ago • 0 comments

QGLWidget is deprecated. Some work is done in qopenglwidget branch to replace it with new widget.

Currently there are issues with QOpenGLContext that is missing getProcAddress() in PyQt5, http://doc.qt.io/qt-5/qopenglcontext.html#getProcAddress . Until that is fixed/added, GLUT from pyopengl is used. SDL2 can also be used but it needs to create OpenGL hidden window, context, etc. and doesn't work properly, or is messing with the context, but it does segfault.

The other issue is that resizing window (currently only rice plugin supports that) doesn't work as before, increasing/decreasing window size will not properly scale content. No idea for now.

There should be performance benefits with new widget, and maybe even mouse input when enabled can be passed?

http://blog.qt.io/blog/2014/09/10/qt-weekly-19-qopenglwidget/

gen2brain avatar Jan 19 '17 17:01 gen2brain