Mir

Comment 1 for bug 1193020

Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: Surface transformation matrix is recalculated every time, using 18% of CPU in render

This sounds like it might be somewhat of a regression, due to:

revno: 646 [merge]
author: Daniel van Vugt <email address hidden>
committer: Tarmac
branch nick: trunk
timestamp: Wed 2013-05-01 17:04:08 +0000
message:
  Move all stages of the surface transformation into Surface::transformation(),
  so that it can be easily reused in future for mapping between world and
  surface space.

  Potential use cases are:
    1. Mapping mouse clicks into transformed windows accurately.
    2. Rendering shadow shapes accurately regardless of how a surface is
       transformed.
  .

  Approved by Alexandros Frantzis, Alan Griffiths, PS Jenkins bot.