Commit 4ddefd37 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

screencasting: Remove deprecated RemoteAccessManager interface

In favour of zkde_screencast_unstable_v1
parent 02042908
......@@ -28,8 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "screens.h"
// kwin libs
#include <kwinglplatform.h>
// Qt
#include <QOpenGLContext>
#include <kwineglimagetexture.h>
// system
#include <gbm.h>
......@@ -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<GbmSurface> EglGbmBackend::createGbmSurface(const QSize &size) const
{
auto gbmSurface = std::make_shared<GbmSurface>(m_backend->gbmDevice(),
......
......@@ -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<Output> m_outputs;
QScopedPointer<RemoteAccessManager> m_remoteaccessManager;
friend class EglGbmTexture;
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment