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

« back to all changes in this revision

Viewing changes to unity-shared/IconRenderer.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:
52
52
 
53
53
  void RenderElement(nux::GraphicsEngine& GfxContext,
54
54
                     RenderArg const& arg,
55
 
                     nux::ObjectPtr<nux::IOpenGLBaseTexture> icon,
56
 
                     nux::Color bkg_color,
57
 
                     nux::Color colorify,
 
55
                     nux::ObjectPtr<nux::IOpenGLBaseTexture> const& icon,
 
56
                     nux::Color const& bkg_color,
 
57
                     nux::Color const& colorify,
58
58
                     float alpha,
59
59
                     bool force_filter,
60
 
                     std::vector<nux::Vector4>& xform_coords);
 
60
                     std::vector<nux::Vector4> const& xform_coords);
61
61
 
62
62
  void RenderIndicators(nux::GraphicsEngine& GfxContext,
63
63
                        RenderArg const& arg,
67
67
                        nux::Geometry const& geo);
68
68
 
69
69
  void RenderProgressToTexture(nux::GraphicsEngine& GfxContext,
70
 
                               nux::ObjectPtr<nux::IOpenGLBaseTexture> texture,
 
70
                               nux::ObjectPtr<nux::IOpenGLBaseTexture> const& texture,
71
71
                               float progress_fill,
72
72
                               float bias);
73
73
 
74
 
  void UpdateIconTransform(ui::IconTextureSource* icon, nux::Matrix4 ViewProjectionMatrix, nux::Geometry const& geo,
 
74
  void UpdateIconTransform(ui::IconTextureSource* icon, nux::Matrix4 const& ViewProjectionMatrix, nux::Geometry const& geo,
75
75
                           float x, float y, float w, float h, float z, ui::IconTextureSource::TransformIndex index);
76
76
 
77
 
  void UpdateIconSectionTransform(ui::IconTextureSource* icon, nux::Matrix4 ViewProjectionMatrix, nux::Geometry const& geo,
 
77
  void UpdateIconSectionTransform(ui::IconTextureSource* icon, nux::Matrix4 const& ViewProjectionMatrix, nux::Geometry const& geo,
78
78
                                  float x, float y, float w, float h, float z, float xx, float yy, float ww, float hh, ui::IconTextureSource::TransformIndex index);
79
79
 
80
80
  void GetInverseScreenPerspectiveMatrix(nux::Matrix4& ViewMatrix, nux::Matrix4& PerspectiveMatrix,