Details
-
Task
-
Resolution: Done
-
P2: Important
-
None
-
None
-
None
Description
Most examples in qtbase/examples/opengl are pretty ancient. It is high time to add an example that demonstrates requesting GL 2/3/4 contexts with various profiles and options.
This would also be a valueable tool in testing, both during development and for end users, since one would immediately see what kind of context is returned for a given QSurfaceFormat.
The application should be widget based, with a GL-based QWindow embedded. The UI should allow specifying the version, profile and options. The QWindow would then render something while showing also the usual information about the context (GL_VERSION etc.)
Attachments
For Gerrit Dashboard: QTBUG-37071 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
79312,9 | Add an example for creating OpenGL contexts | stable | qt/qtbase | Status: MERGED | +2 | 0 |