Re: [PATCH weston] Simply the matrix calculation for zooming

2014-04-25 Thread Jasper St. Pierre
I fully support any patch that removes the phrase "modelview". On Fri, Apr 25, 2014 at 5:07 PM, Kristian Høgsberg wrote: > On Fri, Apr 25, 2014 at 01:19:37PM +0100, Neil Roberts wrote: > > In order to apply the zoom transformation to the output matrix, Weston > was > > doing the following: > > >

Re: [PATCH weston] Simply the matrix calculation for zooming

2014-04-25 Thread Kristian Høgsberg
On Fri, Apr 25, 2014 at 01:19:37PM +0100, Neil Roberts wrote: > In order to apply the zoom transformation to the output matrix, Weston was > doing the following: > > • Create a temporary matrix to hold the translation > • Invert the translation matrix using weston_matrix_invert into > another te

Re: [PATCH weston] Simply the matrix calculation for zooming

2014-04-25 Thread Jason Ekstrand
On Apr 25, 2014 8:11 AM, "Pekka Paalanen" wrote: > > On Fri, 25 Apr 2014 13:19:37 +0100 > Neil Roberts wrote: > > > In order to apply the zoom transformation to the output matrix, Weston was > > doing the following: > > > > * Create a temporary matrix to hold the translation > > * Invert the tran

Re: [PATCH weston] Simply the matrix calculation for zooming

2014-04-25 Thread Pekka Paalanen
On Fri, 25 Apr 2014 13:19:37 +0100 Neil Roberts wrote: > In order to apply the zoom transformation to the output matrix, Weston was > doing the following: > > • Create a temporary matrix to hold the translation > • Invert the translation matrix using weston_matrix_invert into > another tempora

[PATCH weston] Simply the matrix calculation for zooming

2014-04-25 Thread Neil Roberts
In order to apply the zoom transformation to the output matrix, Weston was doing the following: • Create a temporary matrix to hold the translation • Invert the translation matrix using weston_matrix_invert into another temporary matrix • Scale that matrix by the scale factor • Multiply the curr