summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/wayland/weston/0007-MGS-1236-1-imx6qp-imx6dl-First-frame-distored-when-s.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-graphics/wayland/weston/0007-MGS-1236-1-imx6qp-imx6dl-First-frame-distored-when-s.patch')
-rw-r--r--recipes-graphics/wayland/weston/0007-MGS-1236-1-imx6qp-imx6dl-First-frame-distored-when-s.patch51
1 files changed, 0 insertions, 51 deletions
diff --git a/recipes-graphics/wayland/weston/0007-MGS-1236-1-imx6qp-imx6dl-First-frame-distored-when-s.patch b/recipes-graphics/wayland/weston/0007-MGS-1236-1-imx6qp-imx6dl-First-frame-distored-when-s.patch
deleted file mode 100644
index 1c094c4d..00000000
--- a/recipes-graphics/wayland/weston/0007-MGS-1236-1-imx6qp-imx6dl-First-frame-distored-when-s.patch
+++ /dev/null
@@ -1,51 +0,0 @@
1From b33d44b736b7b7ae4db31dc32ff9441c753219fb Mon Sep 17 00:00:00 2001
2From: Prabhu Sundararaj <prabhu.sundararaj@freescale.com>
3Date: Mon, 28 Dec 2015 22:15:05 -0600
4Subject: [PATCH] MGS-1236-1 : [imx6qp/imx6dl] First frame distored when some
5 wayland apps run continuously using g2d
6
7Remove residual galGetStretchFactors functions. the function is not needed
8any more
9
10Date: Dec 28, 2015
11Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@freescale.com>
12---
13 src/gal2d-renderer.c | 14 +++++++++-----
14 1 file changed, 9 insertions(+), 5 deletions(-)
15
16diff --git a/src/gal2d-renderer.c b/src/gal2d-renderer.c
17index dbec2d0..2ecc8ac 100644
18--- a/src/gal2d-renderer.c
19+++ b/src/gal2d-renderer.c
20@@ -781,11 +781,11 @@ repaint_region(struct weston_view *ev, struct weston_output *output, struct gal2
21 }
22 else
23 {
24- gcmVERIFY_OK(gco2D_CalcStretchFactor(gr->gcoEngine2d, srcRect.right - srcRect.left,
25- dstrect.right - dstrect.left, &horFactor));
26+ gcmVERIFY_OK(gco2D_CalcStretchFactor(gr->gcoEngine2d, srcRect.right - srcRect.left,
27+ dstrect.right - dstrect.left, &horFactor));
28
29- gcmONERROR(gco2D_CalcStretchFactor(gr->gcoEngine2d, srcRect.bottom - srcRect.top,
30- dstrect.bottom - dstrect.top, &verFactor));
31+ gcmONERROR(gco2D_CalcStretchFactor(gr->gcoEngine2d, srcRect.bottom - srcRect.top,
32+ dstrect.bottom - dstrect.top, &verFactor));
33
34 if(verFactor == 65536 && horFactor == 65536)
35 {
36@@ -799,7 +799,11 @@ repaint_region(struct weston_view *ev, struct weston_output *output, struct gal2
37 srcRect.right = srcRect.right < dstWidth ? srcRect.right : dstWidth;
38 srcRect.bottom = srcRect.bottom < dstHeight ? srcRect.bottom : dstHeight;
39
40- gcmVERIFY_OK(galGetStretchFactors(&srcRect, &dstrect, &horFactor, &verFactor));
41+ gcmVERIFY_OK(gco2D_CalcStretchFactor(gr->gcoEngine2d, srcRect.right - srcRect.left,
42+ dstrect.right - dstrect.left, &horFactor));
43+
44+ gcmONERROR(gco2D_CalcStretchFactor(gr->gcoEngine2d, srcRect.bottom - srcRect.top,
45+ dstrect.bottom - dstrect.top, &verFactor));
46 /* Program the stretch factors. */
47 gcmVERIFY_OK(gco2D_SetStretchFactors(gr->gcoEngine2d, horFactor, verFactor));
48
49--
502.6.2
51