From 0616e14de0bf867bc2730b2b07005fbcbb234bb4 Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Tue, 10 Sep 2019 14:09:41 +0200 Subject: rhi: Better handling of device loss MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Starting with D3D11. The other backends will follow later. Change-Id: I4f165c9f1743df0fb00bdce1e898917575bf5f6e Reviewed-by: Christian Strømme --- src/gui/rhi/qrhimetal_p_p.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gui/rhi/qrhimetal_p_p.h') diff --git a/src/gui/rhi/qrhimetal_p_p.h b/src/gui/rhi/qrhimetal_p_p.h index 01b0bf4f56..633e9b8de4 100644 --- a/src/gui/rhi/qrhimetal_p_p.h +++ b/src/gui/rhi/qrhimetal_p_p.h @@ -418,6 +418,7 @@ public: void sendVMemStatsToProfiler() override; void makeThreadLocalNativeContextCurrent() override; void releaseCachedResources() override; + bool isDeviceLost() const override; void executeDeferredReleases(bool forced = false); void finishActiveReadbacks(bool forced = false); -- cgit v1.2.3