From d753af9d17eed4113f641914ea8b90e2705cdbea Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Tue, 29 May 2018 18:36:52 +1000 Subject: [PATCH] [host] remove debug tracing noise --- host/Capture/DXGI.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/host/Capture/DXGI.cpp b/host/Capture/DXGI.cpp index 15a09832..de676211 100644 --- a/host/Capture/DXGI.cpp +++ b/host/Capture/DXGI.cpp @@ -21,7 +21,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA using namespace Capture; #include "common/debug.h" -#include "TraceUtil.h" #include #include @@ -761,9 +760,7 @@ GrabStatus Capture::DXGI::GrabFrameRaw(FrameInfo & frame, struct CursorInfo & cu while(true) { - TRACE_START("GrabFrame"); result = GrabFrameTexture(frame, cursor, src, timeout); - TRACE_END; if (result != GRAB_STATUS_OK) return result; @@ -804,7 +801,6 @@ GrabStatus Capture::DXGI::GrabFrameRaw(FrameInfo & frame, struct CursorInfo & cu } m_surfaceMapped = true; - TRACE_START("DXGI Memory Copy"); // wake up the copy threads m_memcpy.Wake(); @@ -813,7 +809,6 @@ GrabStatus Capture::DXGI::GrabFrameRaw(FrameInfo & frame, struct CursorInfo & cu const unsigned int size = m_height * m_mapping.RowPitch; m_memcpy.Copy(frame.buffer, m_mapping.pData, LG_MIN(size, frame.bufferSize)); - TRACE_END; return GRAB_STATUS_OK; } @@ -912,7 +907,6 @@ GrabStatus Capture::DXGI::GrabFrameH264(struct FrameInfo & frame, struct CursorI LeaveCriticalSection(&m_encodeCS); // wake up the copy threads - TRACE_START("copy"); m_memcpy.Wake(); MFT_OUTPUT_STREAM_INFO streamInfo; @@ -953,7 +947,6 @@ GrabStatus Capture::DXGI::GrabFrameH264(struct FrameInfo & frame, struct CursorI frame.stride = 0; frame.pitch = curLen; - TRACE_END; return GRAB_STATUS_OK; }