Drop EffectsHandler::saturationSupported
Not used by any effect or anywhere in core.
This commit is contained in:
parent
e6b5a428ea
commit
3524e70fe2
2 changed files with 0 additions and 15 deletions
|
@ -262,20 +262,6 @@ CompositingType EffectsHandler::compositingType() const
|
||||||
return compositing_type;
|
return compositing_type;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool EffectsHandler::saturationSupported() const
|
|
||||||
{
|
|
||||||
switch(compositing_type) {
|
|
||||||
#ifdef KWIN_HAVE_OPENGL_COMPOSITING
|
|
||||||
case OpenGLCompositing:
|
|
||||||
return GLTexture::saturationSupported();
|
|
||||||
#endif
|
|
||||||
case XRenderCompositing:
|
|
||||||
return false; // never
|
|
||||||
default:
|
|
||||||
abort();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void EffectsHandler::sendReloadMessage(const QString& effectname)
|
void EffectsHandler::sendReloadMessage(const QString& effectname)
|
||||||
{
|
{
|
||||||
QDBusMessage message = QDBusMessage::createMethodCall("org.kde.kwin", "/KWin", "org.kde.KWin", "reconfigureEffect");
|
QDBusMessage message = QDBusMessage::createMethodCall("org.kde.kwin", "/KWin", "org.kde.KWin", "reconfigureEffect");
|
||||||
|
|
|
@ -739,7 +739,6 @@ public:
|
||||||
|
|
||||||
CompositingType compositingType() const;
|
CompositingType compositingType() const;
|
||||||
virtual unsigned long xrenderBufferPicture() = 0;
|
virtual unsigned long xrenderBufferPicture() = 0;
|
||||||
bool saturationSupported() const;
|
|
||||||
virtual void reconfigure() = 0;
|
virtual void reconfigure() = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue