gnome-shell/js/ui
Georges Basile Stavracas Neto 768193ab20 screenShield: Blur background
This is a moderately fast two-pass gaussian blur implementation.
It downscales the framebuffer dynamically before applying the
gaussian shader, which cuts down rendering time quite considerably.

The blur shader takes 2 uniforms as input: the blur radius; and
whether to blur vertically or horizontally.

The blur radius is treated as an integer in C land to simplify
calculations. The vertical parameter is treated as an integer by
the shader simply due to Cogl not having proper boolean support
in snippets.

At last, brightness is also added to avoid needing to use an extra
effect to achieve that. Brightness is applied in a different pipeline
than blur, so we can control it more tightly.

ShellBlurEffect also implements a "below" mode, where the contents
beneath the actor are blurred, but not the actor itself. This mode
is performance-heavy.

Related: https://gitlab.gnome.org/GNOME/gnome-shell/issues/1848

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/864
2019-12-16 13:01:33 -03:00
..
components polkitAgent: Fix spinner 2019-11-21 22:04:39 +01:00
status volume: Skip volume-change feedback while playing 2019-11-23 15:16:51 +01:00
accessDialog.js cleanup: Require "dangling" commas 2019-11-11 19:25:14 +00:00
altTab.js cleanup: Use JSDoc for documentation comments 2019-11-11 19:25:14 +00:00
animation.js animation: Add parameter for hiding stopped Spinner actor 2019-11-19 19:55:28 +02:00
appDisplay.js appDisplay: Remove unimplemented 'activate-discrete-gpu' 2019-12-12 17:19:41 +01:00
appFavorites.js Update shotwell desktop file name references 2019-10-18 16:50:57 +02:00
audioDeviceSelection.js cleanup: Require "dangling" commas 2019-11-11 19:25:14 +00:00
background.js background: Add exception to no-loop-func rule 2019-11-11 23:51:17 +00:00
backgroundMenu.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
barLevel.js cleanup: Require "dangling" commas 2019-11-11 19:25:14 +00:00
boxpointer.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
calendar.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
checkBox.js checkBox: Fix expand and align properties 2019-12-05 15:35:22 +00:00
closeDialog.js closeDialog: Fix scale of dialog for x11 clients in Wayland sessions 2019-12-04 22:25:03 +00:00
ctrlAltTab.js cleanup: Require "dangling" commas 2019-11-11 19:25:14 +00:00
dash.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
dateMenu.js dateMenu: Don't ellipsize forecast times and temps 2019-11-23 01:13:08 +01:00
dialog.js cleanup: Require "dangling" commas 2019-11-11 19:25:14 +00:00
dnd.js cleanup: Use JSDoc for documentation comments 2019-11-11 19:25:14 +00:00
edgeDragAction.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
endSessionDialog.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
environment.js cleanup: Require "dangling" commas 2019-11-11 19:25:14 +00:00
extensionDownloader.js cleanup: Require "dangling" commas 2019-11-11 19:25:14 +00:00
extensionSystem.js fileUtils: Delete deleteGFile hack 2019-11-26 22:17:28 +00:00
focusCaretTracker.js cleanup: Prefer template strings 2019-07-05 11:32:31 +00:00
grabHelper.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
ibusCandidatePopup.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
iconGrid.js cleanup: Use JSDoc for documentation comments 2019-11-11 19:25:14 +00:00
inhibitShortcutsDialog.js cleanup: Require "dangling" commas 2019-11-11 19:25:14 +00:00
kbdA11yDialog.js cleanup: Use non-deprecated key symbols 2019-11-06 09:42:57 +01:00
keyboard.js keyboard: Update extended key size on parent size changes 2019-12-04 20:48:37 +01:00
layout.js switcherPopup: Dismiss when a system modal dialog opens 2019-12-06 19:55:39 +01:00
lightbox.js cleanup: Use JSDoc for documentation comments 2019-11-11 19:25:14 +00:00
locatePointer.js locatePointer: Bind ripples creation to settings 2019-09-09 19:28:18 +00:00
lookingGlass.js Use paint and pick context to get framebuffer 2019-12-03 19:07:15 +00:00
magnifier.js magnifier: Adapt to painting and picking API change 2019-12-07 13:08:28 +00:00
magnifierDBus.js cleanup: Use JSDoc for documentation comments 2019-11-11 19:25:14 +00:00
main.js cleanup: Use JSDoc for documentation comments 2019-11-11 19:25:14 +00:00
messageList.js theme: Add message close button styling 2019-11-25 18:02:07 +02:00
messageTray.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
modalDialog.js switcherPopup: Dismiss when a system modal dialog opens 2019-12-06 19:55:39 +01:00
mpris.js mpris: Use a scope specific message instead of a global one 2019-11-21 22:54:07 +00:00
notificationDaemon.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
osdMonitorLabeler.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
osdWindow.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
overview.js style: Allow lonely ifs where appropriate 2019-11-11 23:51:17 +00:00
overviewControls.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
padOsd.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
pageIndicators.js pageIndicators: Redesign and add position-based animation 2019-11-23 03:01:51 +05:00
panel.js appMenu: Hide stopped spinner actor 2019-11-19 20:56:16 +02:00
panelMenu.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
pointerA11yTimeout.js cleanup: Require "dangling" commas 2019-11-11 19:25:14 +00:00
pointerWatcher.js cleanup: Stop using Mainloop module 2019-09-12 19:09:24 +02:00
popupMenu.js popupMenu: Close when a system modal pops up 2019-12-06 20:26:01 +01:00
remoteSearch.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
ripples.js cleanup: Require "dangling" commas 2019-11-11 19:25:14 +00:00
runDialog.js cleanup: Require "dangling" commas 2019-11-11 19:25:14 +00:00
screencast.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
screenShield.js screenShield: Blur background 2019-12-16 13:01:33 -03:00
screenshot.js cleanup: Require "dangling" commas 2019-11-11 19:25:14 +00:00
scripting.js cleanup: Use JSDoc for documentation comments 2019-11-11 19:25:14 +00:00
search.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
sessionMode.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
shellDBus.js cleanup: Use JSDoc for documentation comments 2019-11-11 19:25:14 +00:00
shellEntry.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
shellMountOperation.js animation: Turn Spinner animate parameter into Params option 2019-11-19 19:54:13 +02:00
slider.js slider: Stop emulating drags in key handling 2019-11-23 15:08:54 +01:00
switcherPopup.js switcherPopup: Dismiss when a system modal dialog opens 2019-12-06 19:55:39 +01:00
switchMonitor.js cleanup: Use non-deprecated key symbols 2019-11-06 09:42:57 +01:00
tweener.js tweener: Use new adjustAnimationTime() helper 2019-08-06 20:50:43 +02:00
unlockDialog.js cleanup: Use object shorthand where possible 2019-11-11 19:25:14 +00:00
userWidget.js Adapt to painting and picking API change 2019-12-03 19:07:15 +00:00
viewSelector.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
windowAttentionHandler.js cleanup: Don't shadow variables 2019-11-11 19:25:14 +00:00
windowManager.js style: Allow lonely ifs where appropriate 2019-11-11 23:51:17 +00:00
windowMenu.js cleanup: Avoid unnecessary parentheses in arrow functions 2019-09-15 16:02:45 +02:00
workspace.js workspace: Pass device to startDrag() 2019-12-13 17:53:41 +00:00
workspacesView.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
workspaceSwitcherPopup.js cleanup: Require "dangling" commas 2019-11-11 19:25:14 +00:00
workspaceThumbnail.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
xdndHandler.js cleanup: Require "dangling" commas 2019-11-11 19:25:14 +00:00