summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/wayland/weston/0005-ENGR00321030-Change-GAL2D-compositor-to-be-default-i.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-graphics/wayland/weston/0005-ENGR00321030-Change-GAL2D-compositor-to-be-default-i.patch')
-rw-r--r--recipes-graphics/wayland/weston/0005-ENGR00321030-Change-GAL2D-compositor-to-be-default-i.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/recipes-graphics/wayland/weston/0005-ENGR00321030-Change-GAL2D-compositor-to-be-default-i.patch b/recipes-graphics/wayland/weston/0005-ENGR00321030-Change-GAL2D-compositor-to-be-default-i.patch
new file mode 100644
index 0000000..89d6215
--- /dev/null
+++ b/recipes-graphics/wayland/weston/0005-ENGR00321030-Change-GAL2D-compositor-to-be-default-i.patch
@@ -0,0 +1,38 @@
1From e58ecd66cea732aab8f6b5274d72868922e92c5f Mon Sep 17 00:00:00 2001
2From: Yong Gan <b45748@freescale.com>
3Date: Fri, 4 Jul 2014 09:57:11 +0800
4Subject: [PATCH] ENGR00321030 Change GAL2D compositor to be default in
5 SoloLite.
6Organization: O.S. Systems Software LTDA.
7
8Change GAL2D compositor to be default When EGL is not enabled.
9
10Date: Jul 03, 2014
11Signed-off-by Yong Gan <yong.gan@freescale.com>
12
13Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
14---
15 src/compositor-fbdev.c | 5 +++++
16 1 file changed, 5 insertions(+)
17
18diff --git a/src/compositor-fbdev.c b/src/compositor-fbdev.c
19index b27d199..bdc6ec9 100644
20--- a/src/compositor-fbdev.c
21+++ b/src/compositor-fbdev.c
22@@ -1060,8 +1060,13 @@ backend_init(struct wl_display *display, int *argc, char *argv[],
23 struct fbdev_parameters param = {
24 .tty = 0, /* default to current tty */
25 .device = "/dev/fb0", /* default frame buffer */
26+#ifdef ENABLE_EGL
27 .use_gl = 1,
28 .use_gal2d = 0,
29+#else
30+ .use_gl = 0,
31+ .use_gal2d = 1,
32+#endif
33 };
34
35 const struct weston_option fbdev_options[] = {
36--
372.1.4
38