[PATCH weston 5/6] compositor-drm: remove a stale comment

Pekka Paalanen ppaalanen at gmail.com
Tue Oct 23 23:43:09 PDT 2012


This comment became stale in:

commit 65a11e1039e7ea429ff26bdd0058bdf0efd1df2d
Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Fri Aug 3 11:30:18 2012 -0400

    compositor: Accumulate damage per plane

Now it is just misleading. Remove it.

Signed-off-by: Pekka Paalanen <ppaalanen at gmail.com>
---
 src/compositor-drm.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/src/compositor-drm.c b/src/compositor-drm.c
index a2169dd..3e75387 100644
--- a/src/compositor-drm.c
+++ b/src/compositor-drm.c
@@ -564,11 +564,6 @@ drm_disable_unused_sprites(struct weston_output *output_base)
 	}
 }
 
-/*
- * This function must take care to damage any previously assigned surface
- * if the sprite ends up binding to a different surface than in the
- * previous frame.
- */
 static struct weston_plane *
 drm_output_prepare_overlay_surface(struct weston_output *output_base,
 				   struct weston_surface *es)
-- 
1.7.8.6



More information about the wayland-devel mailing list