screencasting: Remove deprecated RemoteAccessManager interface
In favour of zkde_screencast_unstable_v1
This commit is contained in:
parent
02042908aa
commit
4ddefd37bd
2 changed files with 1 additions and 14 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue