Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

GTK app demonstrating a new Clutter effect based on the dual Kawase blur method

License

NotificationsYou must be signed in to change notification settings

yozoon/clutter-kawase-blur-effect-demo

Repository files navigation

GTK app demonstrating a new Clutter effect based on the dual Kawase blur method.This project aims to implement the fast blur effect found in the KDE KWin window manager with tools native to the GNOME Desktop environment.

Compilation

git clone https://github.com/yozoon/clutter-kawase-blur-effect-demo.gitcd clutter-kawase-blur-effect-demomeson<builddir>cd<builddir>ninja

This generates an executable called "blur_demo" inside thebuilddir.

Roadmap

TaskStatus
Create GTK app that contains a GTK-Clutter embed✔️
Figure out how to compile a standalone clutter effect✔️
Replace box blur shader with a single downsample pass✔️
Figure out how to use the CoglPipeline and CoglSnippet APIs✔️
Use Meson build system✔️
Figure out how to chain CoglPipelines✔️
Implement blur with hardcoded values✔️
Implement the blur strength calculation function✔️
Create a function which allows setting the blur strength✔️
Use this function in combination with a GTK Scale to set the desired blur strength✔️
Find a way to properly benchmark the performance of the effectPlanned
Make the effect animatable by using the Clutter animation frameworkPlanned
Tweak the offset and iteration values to make the transitions smootherOptional
......

Contributing

I'm sure there are still lots of memory optimisations and type checks that can be implemented to further improve the code quality. Also I tried to adhere to the coding style I found in the Clutter project, but I might have overlooked some inconsistencies - so feel free to create a new PR ;)

Credits

Credits go to Emmanuele Bassi who implemented the original box blur clutter effect as well as Alex Nemeth and the team at KWin for the work they put into implementing the blur effect on which this Clutter effect is based.Links:

About

GTK app demonstrating a new Clutter effect based on the dual Kawase blur method

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp