Create a weston_surface_state structure for storing pending surface state and move...
authorJason Ekstrand <jason@jlekstrand.net>
Tue, 20 May 2014 19:33:03 +0000 (14:33 -0500)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 7 Jul 2014 16:12:57 +0000 (09:12 -0700)
commit7b9820766735f3b5184e9795d7945dcdd784a827
treebbc988c8bccf5e4d48365579a377e41c142fe490
parent108865de88b401c5f0499f94907e09703a349312
Create a weston_surface_state structure for storing pending surface state and move the surface commit logic into weston_surface_commit_state

This new structure is used for both weston_surface.pending and
weston_subsurface.cached.

Signed-off-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Pekka Paalanen <ppaalanen@gmail.com>
src/compositor.c
src/compositor.h