Files
weston/src
Pekka Paalanen 260ba38fff compositor: buffer can be non-NULL only if newly_attached
There is no need for weston_subsurface_commit_to_cache() to leave the
pending.buffer set. Reset it to NULL.

This makes pending.buffer always NULL if pending.newly_attached == 0.
IOW, pending.buffer cannot be non-NULL unless
pending.newly_attached == 1.

Therefore no need to check pending.buffer nor cached.buffer_ref.buffer
for the weston_surface_attach() calls.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
2014-04-01 16:46:40 -07:00
..
2013-08-08 13:46:13 -07:00
2013-08-08 13:46:13 -07:00
2013-08-08 13:46:13 -07:00
2013-10-21 16:07:10 -07:00
2013-10-21 16:07:10 -07:00
2013-11-12 16:20:34 -08:00
2013-11-12 16:20:34 -08:00
2013-10-21 16:23:58 -07:00
2012-05-10 14:11:44 -04:00
2013-10-21 16:23:58 -07:00
2013-12-02 11:36:29 -08:00
2013-12-02 11:36:29 -08:00