pepper: Render surfaces which dropped reference to the buffer
authorTaekyun Kim <tkq.kim@samsung.com>
Tue, 13 Oct 2015 10:35:22 +0000 (19:35 +0900)
committerGerrit Code Review <root@ap3>
Wed, 14 Oct 2015 01:44:58 +0000 (10:44 +0900)
Change-Id: I3b3f34dc2c44e780e577fc7a1a8d03662065a9d5

src/lib/pepper/output.c

index f8152da63aeb005794e51926d40a83ee361b5e9e..c6476e4489985bea0fb30829676bfd0c4ca3dff4 100644 (file)
@@ -122,8 +122,7 @@ output_repaint(pepper_output_t *output)
     /* Build a list of views in sorted z-order that are visible on the given output. */
     pepper_list_for_each(view, &output->compositor->view_list, compositor_link)
     {
-        if (!view->active || !(view->output_overlap & (1 << output->id)) ||
-            !view->surface || !view->surface->buffer.buffer)
+        if (!view->active || !(view->output_overlap & (1 << output->id)) || !view->surface)
         {
             /* Detach from the previously assigned plane. */
             pepper_view_assign_plane(view, output, NULL);