From 4ddefd37bdf303a33341f4219f5b2791f061a6ba Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Wed, 22 Jul 2020 19:39:54 +0200 Subject: [PATCH] screencasting: Remove deprecated RemoteAccessManager interface In favour of zkde_screencast_unstable_v1 --- plugins/platforms/drm/egl_gbm_backend.cpp | 12 ------------ plugins/platforms/drm/egl_gbm_backend.h | 3 +-- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/plugins/platforms/drm/egl_gbm_backend.cpp b/plugins/platforms/drm/egl_gbm_backend.cpp index 5a220cea59..077e5a9e45 100644 --- a/plugins/platforms/drm/egl_gbm_backend.cpp +++ b/plugins/platforms/drm/egl_gbm_backend.cpp @@ -28,8 +28,6 @@ along with this program. If not, see . #include "screens.h" // kwin libs #include -// Qt -#include #include // system #include @@ -132,7 +130,6 @@ void EglGbmBackend::init() initKWinGL(); initBufferAge(); initWayland(); - initRemotePresent(); } bool EglGbmBackend::initRenderingContext() @@ -159,15 +156,6 @@ bool EglGbmBackend::initRenderingContext() return makeContextCurrent(m_outputs.first()); } -void EglGbmBackend::initRemotePresent() -{ - if (qEnvironmentVariableIsSet("KWIN_NO_REMOTE")) { - return; - } - qCDebug(KWIN_DRM) << "Support for remote access enabled"; - m_remoteaccessManager.reset(new RemoteAccessManager); -} - std::shared_ptr EglGbmBackend::createGbmSurface(const QSize &size) const { auto gbmSurface = std::make_shared(m_backend->gbmDevice(), diff --git a/plugins/platforms/drm/egl_gbm_backend.h b/plugins/platforms/drm/egl_gbm_backend.h index 3b2e967e4d..abdfe08c00 100644 --- a/plugins/platforms/drm/egl_gbm_backend.h +++ b/plugins/platforms/drm/egl_gbm_backend.h @@ -64,7 +64,7 @@ private: bool initializeEgl(); bool initBufferConfigs(); bool initRenderingContext(); - void initRemotePresent(); + struct Output { DrmOutput *output = nullptr; DrmSurfaceBuffer *buffer = nullptr; @@ -105,7 +105,6 @@ private: DrmBackend *m_backend; QVector m_outputs; - QScopedPointer m_remoteaccessManager; friend class EglGbmTexture; };