0179f741bb
Summary: Updated the old and outdated blur method to use the much more efficient dual kawase blur method. Now with this we can do virtually infinite blur with very very little performance cost. The dual kawase blur method is basically downscaling and upscaling an image, but combined with the kawase blur shader. Comparison: https://i.imgur.com/mh6Cw61.png Left is old, right is new. Comparison was done with the strongest blur setting in a VM running on an Intel i7-4790 and a GTX980 We can see here that the performance is even better with this new method. Reviewers: #plasma, #kwin, graesslin, fredrik Reviewed By: fredrik Subscribers: hein, dos, luebking, broulik, romangg, zzag, anthonyfieroni, mart, davidedmundson, fredrik, ngraham, plasma-devel, kwin, #kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D9848
24 lines
687 B
CMake
Executable file
24 lines
687 B
CMake
Executable file
#######################################
|
|
# Config
|
|
set(kwin_blur_config_SRCS blur_config.cpp)
|
|
ki18n_wrap_ui(kwin_blur_config_SRCS blur_config.ui)
|
|
qt5_add_dbus_interface(kwin_blur_config_SRCS ${kwin_effects_dbus_xml} kwineffects_interface)
|
|
kconfig_add_kcfg_files(kwin_blur_config_SRCS blurconfig.kcfgc)
|
|
|
|
add_library(kwin_blur_config MODULE ${kwin_blur_config_SRCS})
|
|
|
|
target_link_libraries(kwin_blur_config
|
|
Qt5::DBus
|
|
KF5::ConfigWidgets
|
|
KF5::I18n
|
|
KF5::Service
|
|
)
|
|
|
|
kcoreaddons_desktop_to_json(kwin_blur_config blur_config.desktop SERVICE_TYPES kcmodule.desktop)
|
|
|
|
install(
|
|
TARGETS
|
|
kwin_blur_config
|
|
DESTINATION
|
|
${PLUGIN_INSTALL_DIR}/kwin/effects/configs
|
|
)
|