Re: [PATCH weston 1/2] window: change boolean to flags in toysurface::prepare()

2012-11-30 Thread Kristian Høgsberg
On Fri, Nov 30, 2012 at 01:37:27PM +0200, Pekka Paalanen wrote: > Change the boolean parameter 'resize_hint' into a bitmask 'flags'. > > Note, that this flags is very different to the other flags used in > creating the toysurface implementations. They do not make sense to mix > one way or the othe

[PATCH weston 1/2] window: change boolean to flags in toysurface::prepare()

2012-11-30 Thread Pekka Paalanen
Change the boolean parameter 'resize_hint' into a bitmask 'flags'. Note, that this flags is very different to the other flags used in creating the toysurface implementations. They do not make sense to mix one way or the other. Prepare() cannot change the surface type, and surface constructors do n