~alan-griffiths/mir/keep-helgrind-happy

Viewing all changes in revision 1397.

  • Committer: Tarmac
  • Author(s): Daniel van Vugt
  • Date: 2014-02-14 16:07:51 UTC
  • mfrom: (1389.6.7 renderer-set-viewport)
  • Revision ID: tarmac-20140214160751-oy8sz9x1tds0ftpo
Move Renderer viewport setup out of the constructor and into a separate
function, where it can be changed without having to reconstruct the whole
Renderer.

This will be useful in future in cases such as:
  * Non-destructive display config changes that will avoid reconstructing
    DisplayBuffers (and compositors, and renderers :)
  * Viewport dimensions morphing during a screen rotation animation.
.

Approved by Alexandros Frantzis, PS Jenkins bot, Daniel van Vugt, Kevin DuBois, Alan Griffiths.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: