Drop EffectsHandler::saturationSupported

Not used by any effect or anywhere in core.
This commit is contained in:
Martin Gräßlin 2011-07-05 20:35:32 +02:00
parent e6b5a428ea
commit 3524e70fe2
2 changed files with 0 additions and 15 deletions

View file

@ -262,20 +262,6 @@ CompositingType EffectsHandler::compositingType() const
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)
{
QDBusMessage message = QDBusMessage::createMethodCall("org.kde.kwin", "/KWin", "org.kde.KWin", "reconfigureEffect");

View file

@ -739,7 +739,6 @@ public:
CompositingType compositingType() const;
virtual unsigned long xrenderBufferPicture() = 0;
bool saturationSupported() const;
virtual void reconfigure() = 0;
/**