Remove Platform::sceneEglContext()
It's unused.
This commit is contained in:
parent
e315b0f9fe
commit
2a04a3d42c
2 changed files with 0 additions and 17 deletions
|
@ -93,18 +93,6 @@ public:
|
|||
*/
|
||||
EGLDisplay sceneEglDisplay() const;
|
||||
void setSceneEglDisplay(EGLDisplay display);
|
||||
/**
|
||||
* The EGLContext used by the compositing scene.
|
||||
*/
|
||||
virtual EGLContext sceneEglContext() const {
|
||||
return m_context;
|
||||
}
|
||||
/**
|
||||
* Sets the @p context used by the compositing scene.
|
||||
*/
|
||||
void setSceneEglContext(EGLContext context) {
|
||||
m_context = context;
|
||||
}
|
||||
/**
|
||||
* Returns the compositor-wide shared EGL context. This function may return EGL_NO_CONTEXT
|
||||
* if the underlying rendering backend does not use EGL.
|
||||
|
@ -533,7 +521,6 @@ private:
|
|||
int m_initialOutputCount = 1;
|
||||
qreal m_initialOutputScale = 1;
|
||||
EGLDisplay m_eglDisplay;
|
||||
EGLContext m_context = EGL_NO_CONTEXT;
|
||||
EGLContext m_globalShareContext = EGL_NO_CONTEXT;
|
||||
int m_hideCursorCounter = 0;
|
||||
bool m_supportsGammaControl = false;
|
||||
|
|
|
@ -106,7 +106,6 @@ void AbstractEglBackend::cleanup()
|
|||
doneCurrent();
|
||||
eglDestroyContext(m_display, m_context);
|
||||
eglReleaseThread();
|
||||
kwinApp()->platform()->setSceneEglContext(EGL_NO_CONTEXT);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -348,9 +347,6 @@ bool AbstractEglBackend::createContext()
|
|||
return false;
|
||||
}
|
||||
m_context = ctx;
|
||||
if (isPrimary()) {
|
||||
kwinApp()->platform()->setSceneEglContext(m_context);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue