screencasting: Remove deprecated RemoteAccessManager interface

In favour of zkde_screencast_unstable_v1
This commit is contained in:
Aleix Pol 2020-07-22 19:39:54 +02:00
parent 02042908aa
commit 4ddefd37bd
2 changed files with 1 additions and 14 deletions

View file

@ -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(),

View file

@ -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;
};