Qt-contributors-summit-2014-QtCS14OpenGL: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
==Core OpenGL enablers==


===Dynamic GL.===
Primarly for Qt 5.4 on Windows – Needed on other platforms as well. It would be ideal if we could ship a version of Mesa with Qt using SW rasterizer, and hence ensuring Qt will always work.
===<span class="caps">QGLW</span>idget replacement===
QOpenGLWidget and QOpenGLWindow provides the functionality on par with<br /><span class="caps">QGLW</span>idget. This is done so that we should be able to deprecate the<br /> entire <span class="caps">QGL</span> Module. – There is some concerns for how and when the different classes<br /> should be used.
There are some functions in <span class="caps">QGLC</span>ontext and <span class="caps">QGLW</span>idget that we don’t<br /> want to create in the new classes. – They are still relevant. Keep them around, and don’t mess<br /> with the current context. – It would be cool it it was possible to have some convenience<br /> that enabled you to do distancefield text rendering straight in QtGui.
It needs to be possible to share define how contexts are shared..<br /> There was an interesting note about sharing contexts on OS X. A<br /> context with a core profile can not share with a context without a<br /> core profile.
bla bla bla… Fbo’s doesnt work. bla bla bla
Lets stick to the current plan, and have a QOpenGLWidow that can be<br /> embedded and QOpenGLWidget.
I want to embedded QWidgets inside a QOpenGLWindow.
Is it possible to get the tlw QWidgets context used for composition. – Its possible to give it, but there is no helpers for<br /> controlling the state
Sharing with 3 party contexts is important.
Setting the format when using QOpenGLWidget is an unknown. There needs<br /> to be a compatibility of some degree.
===Other OpenGL topics===
makeCurrent with NO_EGLSURFACE would be nice but Laszlo notes that<br /> offscreen surface with 1×1 does just as good a job.
Support for <span class="caps">GLES</span> 3. What will happen? Need to add version functions
Adapting contexts are in, but not for all platforms.

Revision as of 14:02, 24 February 2015