[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kwin/fredrik/vulkan] effects/flipswitch: effects/flipswitch: Support Vulkan compositing
From:       Fredrik_Höglund <null () kde ! org>
Date:       2018-02-16 17:01:50
Message-ID: E1emjOQ-0004Yx-0o () code ! kde ! org
[Download RAW message or body]

Git commit dd9c6bd5ae2542ce7653ef082189b978434b59c8 by Fredrik Höglund.
Committed on 16/02/2018 at 16:58.
Pushed by fredrik into branch 'fredrik/vulkan'.

effects/flipswitch: Support Vulkan compositing

M  +1    -1    effects/flipswitch/flipswitch.cpp

https://commits.kde.org/kwin/dd9c6bd5ae2542ce7653ef082189b978434b59c8

diff --git a/effects/flipswitch/flipswitch.cpp b/effects/flipswitch/flipswitch.cpp
index 533797946..a29c9a1d5 100644
--- a/effects/flipswitch/flipswitch.cpp
+++ b/effects/flipswitch/flipswitch.cpp
@@ -85,7 +85,7 @@ FlipSwitchEffect::~FlipSwitchEffect()
 
 bool FlipSwitchEffect::supported()
 {
-    return effects->isOpenGLCompositing() && effects->animationsSupported();
+    return (effects->isOpenGLCompositing() || effects->compositingType() == \
VulkanCompositing) && effects->animationsSupported();  }
 
 void FlipSwitchEffect::reconfigure(ReconfigureFlags)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic