[meta-freescale] [meta-fsl-arm][PATCH 09/10] weston: Add patch to change GAL2D compositor to be default in sololite.

Neena Busireddy neena.busireddy at freescale.com
Wed Jul 30 14:26:23 PDT 2014


Signed-off-by: Neena Busireddy <neena.busireddy at freescale.com>
---
 ...6-Change-GAL2D-compositor-to-be-default-i.patch |   35 ++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 recipes-graphics/wayland/weston/0006-Change-GAL2D-compositor-to-be-default-i.patch

diff --git a/recipes-graphics/wayland/weston/0006-Change-GAL2D-compositor-to-be-default-i.patch b/recipes-graphics/wayland/weston/0006-Change-GAL2D-compositor-to-be-default-i.patch
new file mode 100644
index 0000000..e0a855f
--- /dev/null
+++ b/recipes-graphics/wayland/weston/0006-Change-GAL2D-compositor-to-be-default-i.patch
@@ -0,0 +1,35 @@
+From 916e1fe5ca320f3115e904ae5543da3c5603d70e Mon Sep 17 00:00:00 2001
+From: Yong Gan <b45748 at freescale.com>
+Date: Fri, 4 Jul 2014 09:57:11 +0800
+Subject: [PATCH] ENGR00321030 Change GAL2D compositor to be default in
+ SoloLite.
+
+Change GAL2D compositor to be default When EGL is not enabled.
+
+Date: Jul 03, 2014
+Signed-off-by Yong Gan <yong.gan at freescale.com>
+---
+ src/compositor-fbdev.c |    5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/src/compositor-fbdev.c b/src/compositor-fbdev.c
+index b27d199..bdc6ec9 100644
+--- a/src/compositor-fbdev.c
++++ b/src/compositor-fbdev.c
+@@ -1060,8 +1060,13 @@ backend_init(struct wl_display *display, int *argc, char *argv[],
+ 	struct fbdev_parameters param = {
+ 		.tty = 0, /* default to current tty */
+ 		.device = "/dev/fb0", /* default frame buffer */
++#ifdef ENABLE_EGL
+ 		.use_gl = 1,
+ 		.use_gal2d = 0,
++#else
++		.use_gl = 0,
++		.use_gal2d = 1,
++#endif
+ 	};
+ 
+ 	const struct weston_option fbdev_options[] = {
+-- 
+1.7.9.5
+
-- 
1.7.9.5



More information about the meta-freescale mailing list