[Interest] Rendering Qt/QML within native OpenGL or to texture
Stefan Fabian
stefan.fabian.dev at hotmail.com
Sun Mar 10 13:36:25 CET 2019
Hey,
I found the culprit.
I forgot to disable culling and depth tests and I assume the texture was too close to the camera and clipped.
I've added:
glDisable(GL_DEPTH_TEST);
glDisable(GL_CULL_FACE);
and now it works great. Got the render time down from 50ms (at 4K) or 20ms (at 1080p) to ~1ms.
Thanks for the help and the links to Giuseppe.
Best,
Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20190310/32c440da/attachment.html>
More information about the Interest
mailing list