The function, surface_finalize_pending() was missing for subsurfaces and
this patch addresses that issue. All surfaces have their pending states
properly finalized during the commit process.
Change-Id: Ieaa5c3bcfb5cc4563ab9ac06da70bc4bf0c4b05b
{
struct ds_subsurface *subsurface;
- surface_finalize_pending(surface);
-
surface->sx += next->dx;
surface->sy += next->dy;
surface_update_damage(&surface->buffer_damage, &surface->current, next);
ds_dbg("ds_surface(%p) commit", surface);
+ surface_finalize_pending(surface);
+
subsurface = ds_subsurface_from_surface(surface);
if (subsurface) {
subsurface_commit(subsurface);