From e046c1638a5fb02062523744c041557ef1d983bc Mon Sep 17 00:00:00 2001 From: Kearwood Gilbert Date: Tue, 17 Aug 2021 01:30:15 -0700 Subject: [PATCH] Remove dead code --- kraken/KRContext.cpp | 7 ------- kraken/KRContext.h | 3 --- kraken/KRStreamer.cpp | 3 --- 3 files changed, 13 deletions(-) diff --git a/kraken/KRContext.cpp b/kraken/KRContext.cpp index 377dbc0..425e83b 100755 --- a/kraken/KRContext.cpp +++ b/kraken/KRContext.cpp @@ -712,13 +712,6 @@ void KRContext::receivedMemoryWarning() m_last_memory_warning_frame = m_current_frame; } - -void -KRContext::activateStreamerContext() -{ - -} - KrResult KRContext::findNodeByName(const KrFindNodeByNameInfo* pFindNodeByNameInfo) { return KR_ERROR_NOT_IMPLEMENTED; diff --git a/kraken/KRContext.h b/kraken/KRContext.h index d8c7742..b77468a 100755 --- a/kraken/KRContext.h +++ b/kraken/KRContext.h @@ -156,9 +156,6 @@ public: void doStreaming(); void receivedMemoryWarning(); - static void activateStreamerContext(); - static void activateRenderContext(); - static std::mutex g_SurfaceInfoMutex; static std::mutex g_DeviceInfoMutex; diff --git a/kraken/KRStreamer.cpp b/kraken/KRStreamer.cpp index 8663633..47db3d0 100644 --- a/kraken/KRStreamer.cpp +++ b/kraken/KRStreamer.cpp @@ -47,7 +47,6 @@ void KRStreamer::startStreamer() { if(!m_running) { m_running = true; - KRContext::activateStreamerContext(); m_thread = std::thread(&KRStreamer::run, this); } @@ -74,8 +73,6 @@ void KRStreamer::run() #endif std::chrono::microseconds sleep_duration( 15000 ); - - KRContext::activateStreamerContext(); while(!m_stop) {