After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 786057 - add a blur effect
add a blur effect
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2017-08-09 14:44 UTC by Matthias Clasen
Modified: 2020-07-06 17:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matthias Clasen 2017-08-09 14:44:39 UTC
At the GTK BOF in Manchester, we discussed the need to have some things to 'show off' our new rendering stack. One suggestion that came up was a blur effect for a translucent overlay over main content, like you see in various OS X apps. API-wise, this could be a child property on GtkOverlay, say 'blur-behind'

We sketched out how this would be implemented using render nodes:

  parent
    overlay
      clip to overlay
        blur
          main content
    clip to ~overlay
       main content

As you can see, this approach requires rendering the main content twice, with inverse clips.
Comment 1 Matthias Clasen 2017-09-03 00:48:03 UTC
A quick prototype is in wip/matthiasc/fancy-overlay