Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QOpenGLQWidget #90

Closed
gen2brain opened this issue Jan 19, 2017 · 0 comments
Closed

QOpenGLQWidget #90

gen2brain opened this issue Jan 19, 2017 · 0 comments

Comments

@gen2brain
Copy link
Member

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant