diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-09-17 08:32:43 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-09-17 10:53:47 +0200 |
commit | 448ced2cba6bc5f72fed481c9f8b8ad74de5a9b5 (patch) | |
tree | 668370fb9a2eec50000e371125136921ef4518ab /src/gui/rhi/qrhinull_p_p.h | |
parent | b01e69684b9b36492cc43472edeb72058be9f706 (diff) | |
parent | d49d076431d7579ecb33147187fe07eb148112ba (diff) |
Merge "Merge remote-tracking branch 'origin/5.15' into dev"
Diffstat (limited to 'src/gui/rhi/qrhinull_p_p.h')
-rw-r--r-- | src/gui/rhi/qrhinull_p_p.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/rhi/qrhinull_p_p.h b/src/gui/rhi/qrhinull_p_p.h index bdf0d59724..ee301d247b 100644 --- a/src/gui/rhi/qrhinull_p_p.h +++ b/src/gui/rhi/qrhinull_p_p.h @@ -282,7 +282,9 @@ public: int resourceLimit(QRhi::ResourceLimit limit) const override; const QRhiNativeHandles *nativeHandles() override; void sendVMemStatsToProfiler() override; - void makeThreadLocalNativeContextCurrent() override; + bool makeThreadLocalNativeContextCurrent() override; + void releaseCachedResources() override; + bool isDeviceLost() const override; QRhiNullNativeHandles nativeHandlesStruct; QRhiSwapChain *currentSwapChain = nullptr; |