Remove AbstractWaylandOutput::isBeingRecorded
It's not being used anywhere
This commit is contained in:
parent
4c814590fe
commit
b11499d95e
3 changed files with 0 additions and 25 deletions
|
@ -314,21 +314,6 @@ QMatrix4x4 AbstractWaylandOutput::logicalToNativeMatrix(const QRect &rect, qreal
|
|||
return matrix;
|
||||
}
|
||||
|
||||
void AbstractWaylandOutput::recordingStarted()
|
||||
{
|
||||
m_recorders++;
|
||||
}
|
||||
|
||||
void AbstractWaylandOutput::recordingStopped()
|
||||
{
|
||||
m_recorders--;
|
||||
}
|
||||
|
||||
bool AbstractWaylandOutput::isBeingRecorded()
|
||||
{
|
||||
return m_recorders;
|
||||
}
|
||||
|
||||
void AbstractWaylandOutput::setOverscanInternal(uint32_t overscan)
|
||||
{
|
||||
if (m_overscan != overscan) {
|
||||
|
|
|
@ -139,11 +139,6 @@ public:
|
|||
*/
|
||||
static QMatrix4x4 logicalToNativeMatrix(const QRect &rect, qreal scale, Transform transform);
|
||||
|
||||
void recordingStarted();
|
||||
void recordingStopped();
|
||||
|
||||
bool isBeingRecorded();
|
||||
|
||||
void setVrrPolicy(RenderLoop::VrrPolicy policy);
|
||||
RenderLoop::VrrPolicy vrrPolicy() const;
|
||||
RgbRange rgbRange() const;
|
||||
|
@ -210,7 +205,6 @@ private:
|
|||
DpmsMode m_dpmsMode = DpmsMode::On;
|
||||
SubPixel m_subPixel = SubPixel::Unknown;
|
||||
int m_refreshRate = -1;
|
||||
int m_recorders = 0;
|
||||
bool m_isEnabled = true;
|
||||
bool m_internal = false;
|
||||
bool m_isPlaceholder = false;
|
||||
|
|
|
@ -138,12 +138,8 @@ void ScreencastManager::streamOutput(KWaylandServer::ScreencastStreamV1Interface
|
|||
};
|
||||
connect(stream, &ScreenCastStream::startStreaming, waylandStream, [streamOutput, stream, bufferToStream] {
|
||||
Compositor::self()->scene()->addRepaint(streamOutput->geometry());
|
||||
streamOutput->recordingStarted();
|
||||
connect(streamOutput, &AbstractWaylandOutput::outputChange, stream, bufferToStream);
|
||||
});
|
||||
connect(stream, &ScreenCastStream::stopStreaming, waylandStream, [streamOutput]{
|
||||
streamOutput->recordingStopped();
|
||||
});
|
||||
integrateStreams(waylandStream, stream);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue