[Spice-devel] [PATCH qxl-wddm-dod v5 6/7] Removing unnecessary call to BlackOutScreen

Sameeh Jubran sameeh at daynix.com
Mon Sep 26 13:00:10 UTC 2016


This call to BlackOutScreen is not needed since the actual
display surface is destroyed and created (redrawn) again.

Acked-by: Frediano Ziglio <fziglio at redhat.com>

Signed-off-by: Sameeh Jubran <sameeh at daynix.com>
---
 qxldod/QxlDod.cpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/qxldod/QxlDod.cpp b/qxldod/QxlDod.cpp
index b6c2494..3fb30ce 100755
--- a/qxldod/QxlDod.cpp
+++ b/qxldod/QxlDod.cpp
@@ -1544,8 +1544,6 @@ NTSTATUS QxlDod::SetSourceModeAndPath(CONST D3DKMDT_VIDPN_SOURCE_MODE* pSourceMo
     if (NT_SUCCESS(Status))
     {
 
-        m_pHWDevice->BlackOutScreen(&m_CurrentModes[pPath->VidPnSourceId]);
-
         // Mark that the next present should be fullscreen so the screen doesn't go from black to actual pixels one dirty rect at a time.
         pCurrentBddMode->Flags.FullscreenPresent = TRUE;
         for (USHORT ModeIndex = 0; ModeIndex < m_pHWDevice->GetModeCount(); ++ModeIndex)
-- 
2.7.4



More information about the Spice-devel mailing list