Re: [PATCH weston 3/8] compositor: merge surface size from buffer size funcs

2013-11-28 Thread Kristian Høgsberg
On Tue, Nov 26, 2013 at 06:19:43PM +0100, Jonny Lamb wrote: > From: Pekka Paalanen > > Replace the two functions getting the intended surface dimensions from > the surface's buffer and buffer transformation parameters by a single > function that just set the surface size according to all the buff

Re: [PATCH weston 3/8] compositor: merge surface size from buffer size funcs

2013-11-28 Thread Jason Ekstrand
This one is also a good idea. Removes code duplication and keeps the surface size calculations in compositor.c where they belong. --Jason Ekstrand Reviewed-by: Jason Ekstrand On Nov 26, 2013 11:20 AM, "Jonny Lamb" wrote: > From: Pekka Paalanen > > Replace the two functions getting the intended

[PATCH weston 3/8] compositor: merge surface size from buffer size funcs

2013-11-26 Thread Jonny Lamb
From: Pekka Paalanen Replace the two functions getting the intended surface dimensions from the surface's buffer and buffer transformation parameters by a single function that just set the surface size according to all the buffer state. The old functions were always called in pairs, and always a