weston-10: weston supports the 180° rotation command [1/1]

PD#SWPL-186564

Problem:
weston supports the 180° rotation command

Solution:
weston supports the 180° rotation command

Verify:
AH212.

Change-Id: Ide3179393713bf8f4ee081fd6dae2d2ea8c5e464
Signed-off-by: chen.wang1 <chen.wang1@amlogic.com>
diff --git a/libweston/compositor.c b/libweston/compositor.c
index 8dd78c1..9bab03e 100644
--- a/libweston/compositor.c
+++ b/libweston/compositor.c
@@ -4066,6 +4066,8 @@
 
 	surface->pending.buffer_viewport.buffer.transform = transform;
 	surface->pending.buffer_viewport.changed = 1;
+	weston_log("\n %s %d transform:%d\n", __FUNCTION__,__LINE__,transform);
+	surface->video_transform = transform;
 }
 
 static void