Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move QOpenGLTexture and related classes from QtGui to QtOpenGL | Johan Klokkhammer Helsing | 2020-01-24 | 1 | -1/+3 |
| | | | | | | | Task-number: QTBUG-74409 Change-Id: Ied825dd7cb92365505a4aa43fd67488024160341 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> | ||||
* | Fix Vulkan yes OpenGL no builds | Laszlo Agocs | 2019-06-11 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | The format conversion relies on the QOpenGLTexture header that has its body ifdefed out with -no-opengl. However, Qt, in a very forward looking manner, allows having Vulkan support even when OpenGL is disabled. Assuming that the format conversion will not be used in -no-opengl builds, put the entire function inside a #if QT_CONFIG(opengl). Change-Id: I772e12129729d69b81159669d239ea3945a42e5a Reviewed-by: Johan Helsing <johan.helsing@qt.io> | ||||
* | Add a QVkConvenience class with vkFormatFromGlFormat | Johan Klokkhammer Helsing | 2019-04-24 | 1 | -0/+215 |
Converts from OpenGL formats to Vulkan formats. There are commented out lines for the formats in QOpenGLTexture::TextureFormat for which it was hard to find an unambiguous mapping to vkFormat. Task-number: QTBUG-75108 Change-Id: I06a7fd8df7d98cef314410ffd79ca9cff6599357 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io> |