[Spice-devel] [PATCH qxl-wddm-dod 06/12] Remove unused UpdateArea method

Frediano Ziglio fziglio at redhat.com
Wed Apr 12 13:19:53 UTC 2017


Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 qxldod/QxlDod.cpp | 11 -----------
 qxldod/QxlDod.h   |  1 -
 2 files changed, 12 deletions(-)

diff --git a/qxldod/QxlDod.cpp b/qxldod/QxlDod.cpp
index c575f0d..646ba20 100755
--- a/qxldod/QxlDod.cpp
+++ b/qxldod/QxlDod.cpp
@@ -5009,17 +5009,6 @@ VOID QxlDevice::DpcRoutine(PVOID)
     DbgPrint(TRACE_LEVEL_VERBOSE, ("<--- %s\n", __FUNCTION__));
 }
 
-VOID QxlDevice::UpdateArea(CONST RECT* area, UINT32 surface_id)
-{
-    PAGED_CODE();
-    DbgPrint(TRACE_LEVEL_VERBOSE, ("---> %s\n", __FUNCTION__));
-    CopyRect(&m_RamHdr->update_area, area);
-    m_RamHdr->update_surface = surface_id;
-//    AsyncIo(QXL_IO_UPDATE_AREA_ASYNC, 0);
-    SyncIo(QXL_IO_UPDATE_AREA, 0);
-    DbgPrint(TRACE_LEVEL_VERBOSE, ("<--- %s\n", __FUNCTION__));
-}
-
 QXL_NON_PAGED
 UINT BPPFromPixelFormat(D3DDDIFORMAT Format)
 {
diff --git a/qxldod/QxlDod.h b/qxldod/QxlDod.h
index 9cb120d..2f7e819 100755
--- a/qxldod/QxlDod.h
+++ b/qxldod/QxlDod.h
@@ -562,7 +562,6 @@ protected:
     QXLDrawable *GetDrawable();
     QXLCursorCmd *CursorCmd();
     void *AllocMem(UINT32 mspace_type, size_t size, BOOL force);
-    VOID UpdateArea(CONST RECT* area, UINT32 surface_id);
     VOID SetImageId(InternalImage *internal,
                     BOOL cache_me,
                     LONG width,
-- 
2.9.3



More information about the Spice-devel mailing list