~mc-return/unity/unity.merge-fix1069243-update-manual-tests

« back to all changes in this revision

Viewing changes to unity-shared/BackgroundEffectHelper.h

  • Committer: Tarmac
  • Author(s): Marco Trevisan (Treviño)
  • Date: 2012-10-12 15:15:58 UTC
  • mfrom: (2827.3.4 launcher-reduce-copies)
  • Revision ID: tarmac-20121012151558-pgqzr521tw1gma7x
Launcher: avoid copies in launcher rendering code-path. Approved by Andrea Azzarone.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
  nux::Property<nux::View*> owner;
47
47
  nux::Property<bool> enabled;
48
48
 
49
 
  nux::ObjectPtr<nux::IOpenGLBaseTexture> GetBlurRegion(nux::Geometry geo, bool force_update = false);
 
49
  nux::ObjectPtr<nux::IOpenGLBaseTexture> GetBlurRegion(nux::Geometry const& geo, bool force_update = false);
50
50
  // We could add more functions here to get different types of effects based on the background texture
51
 
  nux::ObjectPtr<nux::IOpenGLBaseTexture> GetPixelatedRegion(nux::Rect rect, int pixel_size, bool update);
 
51
  // nux::ObjectPtr<nux::IOpenGLBaseTexture> GetPixelatedRegion(nux::Rect rect, int pixel_size, bool update);
52
52
 
53
 
  nux::ObjectPtr<nux::IOpenGLBaseTexture> GetRegion(nux::Geometry geo, bool force_update = false);
 
53
  nux::ObjectPtr<nux::IOpenGLBaseTexture> GetRegion(nux::Geometry const& geometry, bool force_update = false);
54
54
 
55
55
  void DirtyCache();
56
56