diff options
author | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2019-04-16 09:58:23 +0200 |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@qt.io> | 2019-06-21 11:19:58 +0200 |
commit | 53da86fe8c2a39bebe665231480cad3cc08b6cb3 (patch) | |
tree | d4dec5ca175742f3cf3de9637c8b52dca704928d /mkspecs | |
parent | 084e17c4e113f72dc43180bae2cb4e8c68b2a0f6 (diff) |
Add a QVkConvenience class with vkFormatFromGlFormat
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>
(cherry picked from commit b21b07877a96c175ee51e83e1b41425c2e67beb3)
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
Diffstat (limited to 'mkspecs')
0 files changed, 0 insertions, 0 deletions