Skip to content
New issue

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

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

Already on GitHub? # to your account

Take advantage of openGL hardware graphics acceleration #65

Open
Maker42 opened this issue Feb 24, 2019 · 1 comment
Open

Take advantage of openGL hardware graphics acceleration #65

Maker42 opened this issue Feb 24, 2019 · 1 comment

Comments

@Maker42
Copy link
Collaborator

Maker42 commented Feb 24, 2019

To do this, we need to use "QOpenGLWidget" instead of QWidget.

And for QGraphicsView, we should:

myGraphicsView->setViewport(new QGLWidget());

(Or the PyQt equivalent)

@Maker42
Copy link
Collaborator Author

Maker42 commented Feb 26, 2019

The use of openGL appears to be quite temperamental, and doesn't work on systems without the right driver versions.
This should be at most a configuration item rather than intractable in code.

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

No branches or pull requests

1 participant