diff options
Diffstat (limited to 'recipes-graphics/wayland/weston/0003-MGS-1192-xwld-g2d-compositor-dose-not-work.patch')
-rw-r--r-- | recipes-graphics/wayland/weston/0003-MGS-1192-xwld-g2d-compositor-dose-not-work.patch | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/recipes-graphics/wayland/weston/0003-MGS-1192-xwld-g2d-compositor-dose-not-work.patch b/recipes-graphics/wayland/weston/0003-MGS-1192-xwld-g2d-compositor-dose-not-work.patch index b9dfbea..019b710 100644 --- a/recipes-graphics/wayland/weston/0003-MGS-1192-xwld-g2d-compositor-dose-not-work.patch +++ b/recipes-graphics/wayland/weston/0003-MGS-1192-xwld-g2d-compositor-dose-not-work.patch | |||
@@ -12,20 +12,17 @@ Signed-off-by: Yong Gan <yong.gan@freescale.com> | |||
12 | src/compositor-fbdev.c | 3 ++- | 12 | src/compositor-fbdev.c | 3 ++- |
13 | 1 file changed, 2 insertions(+), 1 deletion(-) | 13 | 1 file changed, 2 insertions(+), 1 deletion(-) |
14 | 14 | ||
15 | diff --git a/src/compositor-fbdev.c b/src/compositor-fbdev.c | 15 | Index: weston-1.11.0/src/compositor-fbdev.c |
16 | index c6f732e..ed25576 100644 | 16 | =================================================================== |
17 | --- a/src/compositor-fbdev.c | 17 | --- weston-1.11.0.orig/src/compositor-fbdev.c 2016-08-31 20:23:38.109228731 -0500 |
18 | +++ b/src/compositor-fbdev.c | 18 | +++ weston-1.11.0/src/compositor-fbdev.c 2016-08-31 20:30:25.000000000 -0500 |
19 | @@ -900,7 +900,8 @@ fbdev_backend_create(struct weston_compositor *compositor, int *argc, char *argv | 19 | @@ -811,7 +811,8 @@ |
20 | backend->base.restore = fbdev_restore; | 20 | backend->base.restore = fbdev_restore; |
21 | 21 | ||
22 | backend->prev_state = WESTON_COMPOSITOR_ACTIVE; | 22 | backend->prev_state = WESTON_COMPOSITOR_ACTIVE; |
23 | - backend->use_pixman = !param->use_gl; | 23 | - backend->use_pixman = !param->use_gl; |
24 | + backend->use_pixman = !(param->use_gl || param->use_gal2d); | 24 | + backend->use_pixman = !(param->use_gl || param->use_gal2d); |
25 | + backend->use_gal2d = param->use_gal2d; | 25 | + backend->use_gal2d = param->use_gal2d; |
26 | backend->output_transform = param->output_transform; | ||
26 | 27 | ||
27 | for (key = KEY_F1; key < KEY_F9; key++) | 28 | weston_setup_vt_switch_bindings(compositor); |
28 | weston_compositor_add_key_binding(compositor, key, | ||
29 | -- | ||
30 | 1.9.1 | ||
31 | |||