Description
Add support for shader cache API that supports bytearrays similar to ogl-runtime, i.e.
void exportShaderCache(QByteArray &cacheData, bool binaryShaders); void exportShaderCache(QByteArray &cacheData, bool binaryShaders, int compressionLevel); void setShaderCacheData(const QByteArray &shaderCache);
Also add support for exporting the cache at any point (similar to https://bugreports.qt.io/browse/QT3DS-4145).
Attachments
For Gerrit Dashboard: QTBUG-88685 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
322677,1 | Allow import/export of shader cache binary data | 5.15 | qt/qtquick3d | Status: ABANDONED | 0 | 0 |
322678,1 | Remove shader cache export restriction | 5.15 | qt/qtquick3d | Status: ABANDONED | +1 | 0 |
330018,2 | Remove shader cache export restriction | tqtc/lts-5.15 | qt/tqtc-qtquick3d | Status: MERGED | +2 | 0 |
330019,2 | Allow import/export of shader cache data | tqtc/lts-5.15 | qt/tqtc-qtquick3d | Status: MERGED | +2 | 0 |