diff options
| author | Chris Townsend <christopher.townsend@canonical.com> | 2013-10-29 18:39:42 -0400 |
|---|---|---|
| committer | Chris Townsend <christopher.townsend@canonical.com> | 2013-10-29 18:39:42 -0400 |
| commit | 907f522ce0eee15328ca7b67c03c43e0a960773e (patch) | |
| tree | 882966f530fb5a4e566e030f61bfb3337f7e990b /launcher | |
| parent | af4af8fd19a6a94922c1aff190dba1798ddeae36 (diff) | |
Remove redraw_view_if_damaged/NeedSoftRedraw() combo as it's no longer needed due to the changes introduced for performance.
(bzr r3347.3.9)
Diffstat (limited to 'launcher')
| -rw-r--r-- | launcher/CairoBaseWindow.cpp | 6 | ||||
| -rw-r--r-- | launcher/CairoBaseWindow.h | 1 | ||||
| -rw-r--r-- | launcher/Launcher.cpp | 6 | ||||
| -rw-r--r-- | launcher/Launcher.h | 3 |
4 files changed, 0 insertions, 16 deletions
diff --git a/launcher/CairoBaseWindow.cpp b/launcher/CairoBaseWindow.cpp index 751386ae9..d26ce8706 100644 --- a/launcher/CairoBaseWindow.cpp +++ b/launcher/CairoBaseWindow.cpp @@ -74,12 +74,6 @@ bool CairoBaseWindow::HasBlurredBackground() const return use_blurred_background_; } -void CairoBaseWindow::NeedSoftRedraw() -{ - compute_blur_bkg_ = true; - QueueDraw(); -} - void CairoBaseWindow::Draw(nux::GraphicsEngine& gfxContext, bool forceDraw) { nux::Geometry base(GetGeometry()); diff --git a/launcher/CairoBaseWindow.h b/launcher/CairoBaseWindow.h index a92a76070..029e4e0f9 100644 --- a/launcher/CairoBaseWindow.h +++ b/launcher/CairoBaseWindow.h @@ -36,7 +36,6 @@ public: virtual void Show(); virtual void Hide(); - void NeedSoftRedraw() override; bool HasBlurredBackground() const; protected: diff --git a/launcher/Launcher.cpp b/launcher/Launcher.cpp index de74c6ba7..689cfa752 100644 --- a/launcher/Launcher.cpp +++ b/launcher/Launcher.cpp @@ -2402,12 +2402,6 @@ void Launcher::RenderIconToTexture(nux::GraphicsEngine& GfxContext, nux::ObjectP unity::graphics::PopOffscreenRenderTarget(); } -// FIXME: This will need to be removed when the Unity performance branch is merged. -void Launcher::NeedSoftRedraw() -{ - QueueDraw(); -} - #ifdef NUX_GESTURES_SUPPORT nux::GestureDeliveryRequest Launcher::GestureEvent(const nux::GestureEvent &event) { diff --git a/launcher/Launcher.h b/launcher/Launcher.h index 09282a853..b9d28a744 100644 --- a/launcher/Launcher.h +++ b/launcher/Launcher.h @@ -151,9 +151,6 @@ public: void RenderIconToTexture(nux::GraphicsEngine&, nux::ObjectPtr<nux::IOpenGLBaseTexture> const&, AbstractLauncherIcon::Ptr const&); - // FIXME: This will need to be removed when the Unity performance branch is merged. - void NeedSoftRedraw() override; - #ifdef NUX_GESTURES_SUPPORT virtual nux::GestureDeliveryRequest GestureEvent(const nux::GestureEvent &event); #endif |
