core: Drop initial window state properties in OutputBackend
Relevant output backends take these properties using their (xyz)Options struct now.
This commit is contained in:
parent
12acd9bb78
commit
8655cc76e8
1 changed files with 0 additions and 37 deletions
|
@ -74,31 +74,6 @@ public:
|
||||||
*/
|
*/
|
||||||
void setSceneEglGlobalShareContext(EGLContext context);
|
void setSceneEglGlobalShareContext(EGLContext context);
|
||||||
|
|
||||||
void setInitialWindowSize(const QSize &size)
|
|
||||||
{
|
|
||||||
m_initialWindowSize = size;
|
|
||||||
}
|
|
||||||
void setDeviceIdentifier(const QByteArray &identifier)
|
|
||||||
{
|
|
||||||
m_deviceIdentifier = identifier;
|
|
||||||
}
|
|
||||||
int initialOutputCount() const
|
|
||||||
{
|
|
||||||
return m_initialOutputCount;
|
|
||||||
}
|
|
||||||
void setInitialOutputCount(int count)
|
|
||||||
{
|
|
||||||
m_initialOutputCount = count;
|
|
||||||
}
|
|
||||||
qreal initialOutputScale() const
|
|
||||||
{
|
|
||||||
return m_initialOutputScale;
|
|
||||||
}
|
|
||||||
void setInitialOutputScale(qreal scale)
|
|
||||||
{
|
|
||||||
m_initialOutputScale = scale;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The CompositingTypes supported by the Platform.
|
* The CompositingTypes supported by the Platform.
|
||||||
* The first item should be the most preferred one.
|
* The first item should be the most preferred one.
|
||||||
|
@ -143,20 +118,8 @@ Q_SIGNALS:
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
explicit OutputBackend(QObject *parent = nullptr);
|
explicit OutputBackend(QObject *parent = nullptr);
|
||||||
QSize initialWindowSize() const
|
|
||||||
{
|
|
||||||
return m_initialWindowSize;
|
|
||||||
}
|
|
||||||
QByteArray deviceIdentifier() const
|
|
||||||
{
|
|
||||||
return m_deviceIdentifier;
|
|
||||||
}
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QSize m_initialWindowSize;
|
|
||||||
QByteArray m_deviceIdentifier;
|
|
||||||
int m_initialOutputCount = 1;
|
|
||||||
qreal m_initialOutputScale = 1;
|
|
||||||
EGLDisplay m_eglDisplay;
|
EGLDisplay m_eglDisplay;
|
||||||
EGLContext m_globalShareContext = EGL_NO_CONTEXT;
|
EGLContext m_globalShareContext = EGL_NO_CONTEXT;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue