Re: [PATCH weston 4/5] window: merge struct surface_data into shm_surface_data

2012-11-20 Thread Pekka Paalanen
On Mon, 19 Nov 2012 16:05:58 -0500 Kristian Høgsberg wrote: > On Mon, Nov 19, 2012 at 03:32:50PM +0200, Pekka Paalanen wrote: > > Struct surface_data was not really useful, and it definitely was not > > used with EGL-based windows. > > > > This also fixes a semantic mistake, where struct shm_sur

Re: [PATCH weston 4/5] window: merge struct surface_data into shm_surface_data

2012-11-19 Thread Kristian Høgsberg
On Mon, Nov 19, 2012 at 03:32:50PM +0200, Pekka Paalanen wrote: > Struct surface_data was not really useful, and it definitely was not > used with EGL-based windows. > > This also fixes a semantic mistake, where struct shm_surface_data was > put into cairo_surface_t private, but got out as struct

[PATCH weston 4/5] window: merge struct surface_data into shm_surface_data

2012-11-19 Thread Pekka Paalanen
Struct surface_data was not really useful, and it definitely was not used with EGL-based windows. This also fixes a semantic mistake, where struct shm_surface_data was put into cairo_surface_t private, but got out as struct surface_data instead. Due to struct layout, however, this did not cause a