diff options
author | Paul Olav Tvete <paul.tvete@qt.io> | 2019-11-29 12:43:38 +0100 |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@qt.io> | 2019-12-17 13:08:41 +0100 |
commit | 5b8a0966ce32fbe9739f955c759cf16131e72f7c (patch) | |
tree | 026c0d936c214676c724bd42c0c8afc0cb311bcd /src/quick/items/qquickwindow.cpp | |
parent | cc759804aa4156eb75094345dbfe21597b2fe3b8 (diff) |
Add API to get the platform specific texture handle
Also update the implementation of setTextureFromNativeObject
to use the new API from QRhi
Task-number: QTBUG-78570
Change-Id: Ic43371c4bb7a1dd14bfe5ef0d8ce2ef50e1d25d6
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/quick/items/qquickwindow.cpp')
-rw-r--r-- | src/quick/items/qquickwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/items/qquickwindow.cpp b/src/quick/items/qquickwindow.cpp index 4d52373b88..705975b39a 100644 --- a/src/quick/items/qquickwindow.cpp +++ b/src/quick/items/qquickwindow.cpp @@ -4614,7 +4614,7 @@ QSGTexture *QQuickWindow::createTextureFromId(uint id, const QSize &size, Create \a nativeLayout is only used for APIs like Vulkan. When applicable, it must specify the current image layout, such as, a VkImageLayout value. - \sa sceneGraphInitialized(), QSGTexture + \sa sceneGraphInitialized(), QSGTexture, QSGTexture::nativeTexture() \since 5.14 */ |