~robertcarr/mir/surface-shell-data

Viewing all changes in revision 1400.

  • Committer: Tarmac
  • Author(s): Daniel van Vugt
  • Date: 2014-02-17 08:29:40 UTC
  • mfrom: (1396.1.5 renderer-set-rotation)
  • Revision ID: tarmac-20140217082940-uz8im2d9hu1pg1v6
Move Renderer rotation out of the begin() method and into set_rotation().

It's conceivable you won't want to change the rotation angle on every frame,
so now you don't have to. Also, this makes GLRenderer::begin() nice and
trivial again.
.

Approved by Alberto Aguirre, Alan Griffiths, PS Jenkins bot.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: