[Spice-devel] [PATCH v3 26/28] Fixing monitor flicker on resolution change
Sameeh Jubran
sameeh at daynix.com
Wed Sep 7 13:10:44 UTC 2016
Passing the flag QXL_SURF_FLAG_KEEP_DATA to the new created surface
causes weird flickering, thus this should be set to 0.
Acked-by: Frediano Ziglio <fziglio at redhat.com>
Signed-off-by: Sameeh Jubran <sameeh at daynix.com>
---
qxldod/QxlDod.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qxldod/QxlDod.cpp b/qxldod/QxlDod.cpp
index 8371844..c798be1 100755
--- a/qxldod/QxlDod.cpp
+++ b/qxldod/QxlDod.cpp
@@ -3442,7 +3442,7 @@ void QxlDevice::CreatePrimarySurface(PVIDEO_MODE_INFORMATION pModeInfo)
primary_surface_create->mem = PA( m_RamStart, m_MainMemSlot);
- primary_surface_create->flags = QXL_SURF_FLAG_KEEP_DATA;
+ primary_surface_create->flags = 0;
primary_surface_create->type = QXL_SURF_TYPE_PRIMARY;
DbgPrint(TRACE_LEVEL_VERBOSE, ("<--> %s format = %d, width = %d, height = %d, stride = %d\n", __FUNCTION__, pModeInfo->BitsPerPlane, pModeInfo->VisScreenWidth, pModeInfo->VisScreenHeight,
pModeInfo->ScreenStride));
--
2.7.0.windows.1
More information about the Spice-devel
mailing list