summaryrefslogtreecommitdiff
path: root/launcher
AgeCommit message (Collapse)Author
2013-12-11Due to a change in xpathselect1.4, this fixes a sorting issue of Switcher ↵Chris Townsend
icons for AP tests. Fixes LP: #1244704 (bzr r3608.2.1)
2013-12-09Re-enable Quicklist and Tooltip active blurring since it was removed due to ↵Chris Townsend
the performance merge. Fixes: https://bugs.launchpad.net/bugs/1253740. Approved by Marco Trevisan (Treviño), PS Jenkins bot. (bzr r3608)
2013-12-03Re-enable Quicklist and Tooltip active blurring since it was removed due to ↵Chris Townsend
the performance merge. Fixes LP: #1253740 (bzr r3601.1.1)
2013-11-27Add more introspection vectors for per-monitor icons and fix up some AP tests.Chris Townsend
(bzr r3602.4.2)
2013-11-27Need to add some introspection vector variables to account for per-monitor ↵Chris Townsend
icon quirks to fix some failing Hud AP tests. Fixes LP: #1244704 (bzr r3602.4.1)
2013-11-26Use IsVisibleOnMonitor() instead of IsVisible() for checking to close the ↵Chris Townsend
Hud when clicking the Hud icon. This is due to the icon's quirk only being set for the current monitor. Fixes LP: #1255241 (bzr r3602.3.1)
2013-11-21{Dash,Hud}Controller: unset the keyfocus area only if one of their children ↵Marco Trevisan (Treviño)
has the focus Otherwise we could steal the focus to another view (such as the Alt+Tab switcher). Fixes: https://bugs.launchpad.net/bugs/1252760. Approved by PS Jenkins bot, Brandon Schaefer. (bzr r3602)
2013-11-21SwitcherView: define a custom GeometryGetterFunc and notify helper on changesMarco Trevisan (Treviño)
Thanks to this the switcher won't make BackgroundEffectHelper to create a blurred area as big as the current monitor (with just a small padding), but an area big enough to draw its background. This get updated automagically when the switcher view changes its geometry... Also, use nux::AnimateValue for switcher animations, making compiz to orchestrate it and only redraw the view if an icon changed since the last progress iteration. We don't want the switcher to be drawn unless its geometry or an icon changes. Also we don't want to redraw the switcher multiple times if only a not-animated parameter of an icon (such as a pip or the selection glow) has changed. As bonus, reduce lots of list copies. Approved by Christopher Townsend, PS Jenkins bot. (bzr r3601)
2013-11-21SwitcherView: update once the blur geometry ony when the view is resizedMarco Trevisan (Treviño)
Basically as soon the switcher grows, we inform BackgroundEffectHelper to generate a new big texture (as big as the maximum size that the switcher will reach), once restored to non-detail mode, we set the texture size back to the normal value. (bzr r3347.6.11)
2013-11-20BackgroundEffectHelper: Specify the required blur area before drawing so ↵Marco Trevisan (Treviño)
selectively copy it at paint time This means that we don't have to waste fragment bandwidth copying the entire backbuffer when we could just do parts of it. Now BackgroundEffectHelper listens to windows and views geometry changes and updates a list of blurred regions that might be copied to the backup texture at every repaint that affects them. This avoids to copy large regions (especially when using big resolutions or multiple monitors), but only the ones we really need to blur. Approved by PS Jenkins bot, Eleni Maria Stea, Christopher Townsend. Original authors: - Marco Trevisan (Treviño) <mail@3v1n0.net> - Sam Spilsbury <sam.spilsbury@canonical.com> (bzr r3600)
2013-11-20BackgroundEffectHelper: add new constructor that allows to define owner ↵Marco Trevisan (Treviño)
immediately And use it in Panel, UnityWindowView and Launcher (bzr r3347.7.5)
2013-11-19Merge with trunkMarco Trevisan (Treviño)
(bzr r3506.6.16)
2013-11-19SwitcherView: only redraw the view if an icon changed since the last ↵Marco Trevisan (Treviño)
progress iteration We don't want the switcher to be changed unless its geometry or an icon changes. Also we don't want to redraw the switcher multiple times if only a not-animated parameter of an icon (such as a pip or the selection glow) has changed. As bonus, reduce lots of list copies. (bzr r3347.6.9)
2013-11-19SwitcherView: remove unneeded animate propertyMarco Trevisan (Treviño)
(bzr r3347.6.6)
2013-11-19Merging again with lp:~unity-team/unity/blur-regionMarco Trevisan (Treviño)
(bzr r3347.6.5)
2013-11-19StandaloneSwitcher: fix compilation with new BG HandlerMarco Trevisan (Treviño)
(bzr r3347.5.24)
2013-11-19Merging with lp:~unity-team/unity/blur-regionMarco Trevisan (Treviño)
(bzr r3347.6.4)
2013-11-19Merging with trunkMarco Trevisan (Treviño)
(bzr r3347.5.23)
2013-11-19SwitcherView: define a custom GeometryGetterFunc and notify helper on changesMarco Trevisan (Treviño)
Thanks to this the switcher won't make BackgroundEffectHelper to create a blurred area as big as the current monitor (with just a small padding), but an area big enough to draw its background. This get updated automagically when the switcher view changes its geometry... (bzr r3347.6.3)
2013-11-19SwitcherView: use a nux::AnimateValue to animate the switcher layoutMarco Trevisan (Treviño)
Thanks to this all the computation happens before drawing and only when compiz wants. (bzr r3347.6.1)
2013-11-19SwitcherView: resize switcher view in PreLayoutManagementMarco Trevisan (Treviño)
(bzr r3347.5.21)
2013-11-18adds virtual destructors to classes with virtual methods to prevent memory ↵Eleni Maria Stea
leaks - ABI break. Approved by Christopher Townsend, PS Jenkins bot. (bzr r3597)
2013-11-17Unity: always prefer passing [this] to lambdas than [&].Marco Trevisan (Treviño)
Approved by PS Jenkins bot, Andrea Azzarone. (bzr r3596)
2013-11-16SwitcherController: Use expand to generate the maximum View sizeMarco Trevisan (Treviño)
(bzr r3347.5.15)
2013-11-16BackgroundEffectHelper: connect to owner geometry changes to update the ↵Marco Trevisan (Treviño)
requested blur geo Now BGHelper clients doesn't need to do this manually: as soon as they register with the helper, it connects to owner's geometry changes. Each owner can also provide a custom function for defining another blur region instead of its absolute geometry (mostly needed by the dash). (bzr r3347.5.14)
2013-11-14Merging with lp:~3v1n0/unity/gl-bottleneck-fixMarco Trevisan (Treviño)
(bzr r3347.5.8)
2013-11-14Unity: always prefer passing [this] to lambdas than [&]Marco Trevisan (Treviño)
(bzr r3592.2.1)
2013-11-14LauncherIcon, autopilot: introspect nux::Point3 directly, remove unneeded ↵Marco Trevisan (Treviño)
duplications. (bzr r3506.6.15)
2013-11-14Merge with trunkMarco Trevisan (Treviño)
(bzr r3506.6.9)
2013-11-08merged to trunkEleni Maria Stea
(bzr r3587.4.3)
2013-11-07In low graphics mode, only draw the Launcher background as needed instead of ↵Chris Townsend
all of the time, even if the Launcher is hidden. Fixes LP: #1179210 (bzr r3591.1.1)
2013-11-07Merge in lp:unity.Chris Townsend
(bzr r3347.3.18)
2013-11-06added virtual destructors in classes that have virtual methodsEleni Maria Stea
to prevent future memory leaks (bzr r3587.4.1)
2013-11-01Merging with trunkMarco Trevisan (Treviño)
(bzr r3506.5.36)
2013-10-31LauncherController: better lambdasMarco Trevisan (Treviño)
(bzr r3347.3.15)
2013-10-29Remove redraw_view_if_damaged/NeedSoftRedraw() combo as it's no longer ↵Chris Townsend
needed due to the changes introduced for performance. (bzr r3347.3.9)
2013-10-29Merge lp:unity.Chris Townsend
(bzr r3347.3.8)
2013-10-29Add comment to remind us to remove this code when the Unity performance ↵Chris Townsend
branches are merged. (bzr r3584.1.2)
2013-10-28Instead of using NeedSoftRedraw(), use QueueDraw() for the Launcher and ↵Chris Townsend
Panel to force a redraw to fix issue where leaving a full screen unredirected window would not redraw the Launcher and Panel. Fixes LP: #1240595 (bzr r3584.1.1)
2013-10-24Invalidate the Icon Centers when the monitor layout changes, so we make sure ↵Marco Trevisan (Treviño)
that if an icon center is set, then the icon is available on that monitor. Added GetCenterForMonitor that allows to retrieve the nearest valid icon center for a given monitor, and in this way we can get the best icon that can handle a window minimization. Fixes: https://bugs.launchpad.net/bugs/767752. Approved by Brandon Schaefer, PS Jenkins bot. (bzr r3584)
2013-10-22Launcher: always keep the blur background in Expo modeMarco Trevisan (Treviño)
(bzr r3566.4.33)
2013-10-22Merge with trunkMarco Trevisan (Treviño)
(bzr r3566.4.32)
2013-10-22SingleMonitorLauncherIcon: fix compilation issueMarco Trevisan (Treviño)
(bzr r3566.3.46)
2013-10-22Merging with lp:~3v1n0/unity/multi-monitor-icon-quirksMarco Trevisan (Treviño)
(bzr r3566.4.31)
2013-10-22SingleMonitorLauncherIcon: use int for internal monitor variableMarco Trevisan (Treviño)
And initialize it to -1 by default (i.e. never visible). (bzr r3566.3.44)
2013-10-22ApplicationLauncherIcon: break in any case if we've found our target windowMarco Trevisan (Treviño)
(bzr r3566.5.8)
2013-10-22ApplicationLauncherIcon: Set the proper minimization icon when in multi-monitorMarco Trevisan (Treviño)
This is possible thanks to GetCenterForMonitor, that returns the monitor that is handling the current window. Fixes LP: #767752 (bzr r3566.5.7)
2013-10-22LauncherIcon: some cleanup to the header, move GetCenterForMonitor to protectedMarco Trevisan (Treviño)
(bzr r3566.5.6)
2013-10-22LauncherController: reset icon centers when monitor geometries changeMarco Trevisan (Treviño)
(bzr r3566.5.4)
2013-10-22LauncherIcon: add ResetCenters and GetCenterForMonitor functionsMarco Trevisan (Treviño)
ResetCenters sets the center values to the default (null) value. GetCenterForMonitor gives the nearest valid {monitor, center} pair for a given monitor id. It allows to know which is the center that handles an icon children (such as a window) that is on the provided monitor. (bzr r3566.5.1)