Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id C1216E00828; Sun, 15 Jan 2017 21:10:46 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [104.47.2.45 listed in list.dnswl.org] * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0045.outbound.protection.outlook.com [104.47.2.45]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id C620AE006EA for ; Sun, 15 Jan 2017 21:10:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=1/y6JjOE2O+i8Vt8uKlZEaAzdvP1cUkADzMjsyccZRU=; b=VX7VU7J4CZQkSrf3hoyBW+/i7ovdtISyO9Bg7wyAqH40bA2eVMeNgzh23YGtvCHn/xJXwA0ytWZ3ZDmu9IyiLYrYYuYBsnJsjklmFU0q5Jv0krrEQFRQk6d500c/WvzkSPvNheSYDZX6gvt4n6ggngS1wmq+jN4XwayI9ADULC8= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=tom.hochstein@nxp.com; Received: from tx30imx-01.am.freescale.net (192.88.168.49) by DB4PR04MB316.eurprd04.prod.outlook.com (10.141.239.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.829.7; Sun, 15 Jan 2017 15:33:44 +0000 From: Tom Hochstein To: Date: Sun, 15 Jan 2017 09:27:13 -0600 Message-ID: <1484494034-5815-4-git-send-email-tom.hochstein@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1484494034-5815-1-git-send-email-tom.hochstein@nxp.com> References: <1484494034-5815-1-git-send-email-tom.hochstein@nxp.com> MIME-Version: 1.0 X-Originating-IP: [192.88.168.49] X-ClientProxiedBy: MWHPR10CA0022.namprd10.prod.outlook.com (10.172.48.32) To DB4PR04MB316.eurprd04.prod.outlook.com (10.141.239.155) X-MS-Office365-Filtering-Correlation-Id: e312f686-8ef6-43e8-23be-08d43d5be4e9 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:DB4PR04MB316; X-Microsoft-Exchange-Diagnostics: 1; DB4PR04MB316; 3:NTbATazzu7yqiaen9t9ytPOtfXSthfO+AkfaccIw2G+uBgawNw2egP3Recl9bi4+WuiaXJIIPFjZ4959/8lDQgNmjGNj3dgELxDNJnjQriLsNz+tM+XoBwcW7fv54bP/0JF+JUcmYaol0NnOmZLzwBizWn//gwZEq7FVBTNPNezT8mUgZcpzkjiH0EK2J46960tGp14q2wXyXT0ZrFJdBjzx3m8aQKTeMBCHuxIXOZohdNAM82V6Py/oOF7ae3bNKU90wqULXBKm5MjuUzW5Gw== X-Microsoft-Exchange-Diagnostics: 1; DB4PR04MB316; 25:MvgwpiXtj2nJeUcqcQEr/NtUrI4OdvMZ1UHdM8qG9oZ3+6U0H4iBSUmrfUsuY3ookvSRAaHD8QM4+5biuegkSCLboD7TXd3oEjPyBJ+HnCPXubstxiqDeMGf97wRhwRqCStXGhq+bM/VB6rjfkIn3m2LIasKGR5jofn4HSqgZUkhYU0s1oKLqOu5MtRbo62CsRupY9mLHqZuST2CVeV+LTY6tY3/Q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UuZAsUu4Sq/tblgbE1lpH8S5WpFmSNzRUKMFRVllxkfhaIHA6kclbPhW77Ig+USy64+0eh/8R90TpOI6UMzTbL0hUXN4tCFuNRGJv6roUbUTCwJ/zP+kSavFrMwHW4sPgoLVZ6YS58ZHdxYudHfAa+Fojt5knWFlyXjSCk+OqcrdmeMAbQ9pA0V2onqY/6KfrQOlbCl+rT+tjCpW2SpIT6MKmuQY8Mn6WudRBnEm76yV4U91uE1SqWPBLYvrHRI7vwzc1rp/cOY3Sx+Xiu1GnqpLhMiqPKSEX9IlQErsm3F4U+tHFlXei5sQYlnkIQpuOAolcFpnLJ X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(101931422205132); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6041248)(20161123562025)(20161123555025)(20161123564025)(20161123560025)(6072148)(6047074); SRVR:DB4PR04MB316; BCL:0; PCL:0; RULEID:; SRVR:DB4PR04MB316; X-Microsoft-Exchange-Diagnostics: 1; DB4PR04MB316; 4:t7dibU0Kegnj+T3juqmsz1dEefmlkoJ9h8jQ/oWhhuiavdiAE7nWIYdscd5hdt4w7CSoYi34BSvLF9ZYst2QHSW3/eQ7/yGHsEllNxVenHu+q6aAhUZci38w1yh1Lwljozu/7z1uxLcvEQU81UpAR1HVUoqUDBBrpxnqJZM0CcG5IaHaEVxBo/UibHROmh910nxuJbfNcSsO0kP4rfTgZxpDH5cURo5LmE4hx0MxgdT1/5MIf4VDpDbVPDpLY4pLNR2P/B5pML5ici2cOMIBZ+mdgjmVsc3qgbsTZ7t2ooiuDxvFb9BoshcGj0KvlgPRTD7MlqiPhfZ04VTMJxa2I8BI+XI4lEbhTR2+8aXFmSHFXasdPv/i/oqn84iwvr1RrZmTU8dVmulSgtkqeOm9zkNB9mmtXvklmpbbO4dkT6CaQJ3hgpjLDoBZbTEJf5i5t6VGZhPHrPyL3xNceCLBQZwct5dO4WFRN1ZlczNXquqoUINEhukLzid5gLXcbTNiCdmcZOlzQ+LUuxX3NcLuIwFSBQCgyRxtOJTuzsiTT0bkdSqdA5vtwEMnqSfiLYj2Cx2Tfhrs1hki3LjrzSJJj4VNQf7EYY5Slc6Y9p84BJPbRH/0NLdPfCzCjW1p6DNl+sQoAJaQ6AJibFPUCQ0LD2EiF1csMNc7bBTWsl8RRPlCjyf54VavUEVxlnLdzfOm X-Forefront-PRVS: 0188D66E61 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(7916002)(39840400002)(39860400002)(39850400002)(39410400002)(39450400003)(377424004)(199003)(189002)(4326007)(47776003)(66066001)(92566002)(6506006)(8676002)(38730400001)(33646002)(81166006)(6512007)(6486002)(6116002)(81156014)(3846002)(25786008)(5003940100001)(86362001)(101416001)(68736007)(42186005)(36756003)(50986999)(6916009)(6666003)(2950100002)(305945005)(5660300001)(7736002)(27001)(110136003)(106356001)(76176999)(105586002)(189998001)(2351001)(50466002)(450100001)(48376002)(2906002)(50226002)(97736004); DIR:OUT; SFP:1101; SCL:1; SRVR:DB4PR04MB316; H:tx30imx-01.am.freescale.net; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB4PR04MB316; 23:X/kq9nbX8VngqBuOGfAKnuKL4e+hBjXoRlkUCgYH30?= =?us-ascii?Q?mwpMFUifN9U7D+dJGa4sf8zt49MPfl7xXvrkNjTaCbGbRlkcR3T1lNX9nSjB?= =?us-ascii?Q?aHtyeTZ+lERJdMzTPwD/yutrUhikHMrCCRphvxhbjci+NW4UC1SXy2pyk53x?= =?us-ascii?Q?DQ8yAe3dd2/Erh6L//gENzad28q746pcUhn/CS2UIMbluHoAkv8WXB5HiOkj?= =?us-ascii?Q?xRgFjFXa9dvFs8qMmp07ZpwEMtcoDv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IA8x3sdwY2g5FrJ0oQPd12uqU5V1BsArzzuFN18UljNdQB?= =?us-ascii?Q?v1oDeTR4JFNzF5lXhlLfBO8JWbzqbxpf/kwZsJGDKIOHhrClEF5Z48hZy4Gp?= =?us-ascii?Q?Apbhz6Zehtuh8SmpTOyV+4SRDLSHyhxaTHEFUz?= X-Microsoft-Exchange-Diagnostics: 1; DB4PR04MB316; 6:rrewiU0vFyH/8KqaRYIICDRGNaq4iu0lGmBYKRF3EX1SL38mQ1P5fqUIiB/+I8CCMKSQYOEhLAcVbM1z5u+AJOBrpo6Sv3rAFepQDIeO7WBBWH3PyWDttgIOkYF26ZV25MWjIA4EUL9VhYfpOhVkb8tt+FNKmKX74b77HkTc+9Npi7IDLRXtxr8lj3usqXXglbdO/s4OsJqYsh5nCFIfUryuFuj/IBTr2VUoQSvQIGKtjIZUI2yhX+iDuOgvhoRX1+hQuo8FXfsJ036fobBZ+OM90oZa2VndyY2ode3evq1haw8XlA4GbsYM6DOJjZBk8rqj8JCp5CRlxh/PhcXVWLQBEYMhKwSI0A3QCV+BFKB/aFlvvl9kKN14vgq2Qi0dou+F2AjF6skiWphjQgdYKV25EeYc3iGggUXs6M2yIvlGtrgd/Uw81pBGGtzYaHoKwRJhXsltgCNDIQbZuHo60g==; 5:FylVSxe1gSBgmxjSjleFs/PGbYhXMtYW0bsFcqBwop6wvVxIRjKSEqgcifrQUca7uEMtpVtaT/3GOP1YhRNjdSsd7worSIFdEosZFZNVt88IZT1nsY87kZOJMnbcy0GcaO5MXPJE+Zy1ldA++d6xwOdIiGh72X0+xhwAHjgIULo=; 24:eF6MpHivvp8go6sb7Qx6XtZ7JpKzGj1g/OmvfrLCnhVxYRf1l9Q41LKSn29ziK2+dtKVHq4aVv00U3G7SlJC3cFTLuKnAU1ZYa+Oqk4uEV8= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DB4PR04MB316; 7:velqHJkKoiH7kNeUTGAcNE+SToQj5++Di5P1TxtUDFoz6Aik6JuI0tmIfJ2OdS5Mx2DGtLtxmVFlnkSVk5L/Vwl6Hod98I3PO2WNXdjkRyx5upNYnfFekxNNjVG/jVjUdHBSaw1jXC4QayV45YatirLjZ91HTE3DW56vP/fTNc8DKiw7JX93J6kVOhQBfKLVciyYM2SRMLYT6LVtHdGL1l46aafLxRzOcmHwH57/WOhchMoITD8yKA13F14AWcNP5N4pUG4QEtQXArQsArS7edOWqKS8E7C98cQOPXchBbbNRdx+yA8VKzkuCWSj8E1cP+iAz3+qDwwJviK7BRV5V+aKNXjIjHW88AVXncAPUca3hHMg2fYOKNJIOY88pz1JxTcRmzW37auxAyWFxHAdnj8S77zlJpcl6hyyVrs1+2C0DWqS43dWBidBPRsLopI+ZKJcBvnoTl+uNrEc2FSHtg==; 23:Q4FqEFSIVqN5Y+ELgIDu64paBUMMNZ4NH60tkmPLkPfOn3gws0DVe16eceNd3r9Vk6+FkmjnNR6hDSV8AcNHyeu9XfcXoDt65zSwobIkIilhszWgPX9Waju3moJ8pyJgV+xSFkA3tQotetmgCxpRIg== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jan 2017 15:33:44.9668 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4PR04MB316 X-OriginatorOrg: nxp.com Subject: [PATCH v2 4/5] weston: Undo recent command-line change for renderer selection X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jan 2017 05:10:46 -0000 Content-Type: text/plain To restore command-line compatibility, reverting back to integer-based renderer selection syntax: weston [--use-gl=0|1] [--use-g2d=0|1] Signed-off-by: Tom Hochstein --- ...d-GPU-VIV-suport-for-wayland-and-weston-1.patch | 75 +++++--------- ...ld-Re-implement-weston-2d-renderer-with-p.patch | 108 ++++++++------------- ...ld-G2D-compositor-build-failed-in-slevk-b.patch | 35 +++++-- ...ld-Add-clone-mode-support-for-multi-displ.patch | 44 ++++----- 4 files changed, 116 insertions(+), 146 deletions(-) diff --git a/recipes-graphics/wayland/weston/0002-MGS-1111-Add-GPU-VIV-suport-for-wayland-and-weston-1.patch b/recipes-graphics/wayland/weston/0002-MGS-1111-Add-GPU-VIV-suport-for-wayland-and-weston-1.patch index 9a80d9e..cfe8f60 100644 --- a/recipes-graphics/wayland/weston/0002-MGS-1111-Add-GPU-VIV-suport-for-wayland-and-weston-1.patch +++ b/recipes-graphics/wayland/weston/0002-MGS-1111-Add-GPU-VIV-suport-for-wayland-and-weston-1.patch @@ -15,10 +15,10 @@ Signed-off-by: Prabhu create mode 100644 src/gal2d-renderer.c create mode 100644 src/gal2d-renderer.h -Index: weston-1.11.0/Makefile.am +Index: weston-1.11.1/Makefile.am =================================================================== ---- weston-1.11.0.orig/Makefile.am 2016-05-19 16:36:04.000000000 -0500 -+++ weston-1.11.0/Makefile.am 2016-09-20 15:28:46.634190725 -0500 +--- weston-1.11.1.orig/Makefile.am 2016-09-20 19:35:22.000000000 -0500 ++++ weston-1.11.1/Makefile.am 2017-01-14 08:35:10.000000000 -0600 @@ -247,6 +247,18 @@ src/vertex-clipping.h \ shared/helpers.h @@ -38,10 +38,10 @@ Index: weston-1.11.0/Makefile.am if ENABLE_X11_COMPOSITOR module_LTLIBRARIES += x11-backend.la -Index: weston-1.11.0/src/compositor-fbdev.c +Index: weston-1.11.1/src/compositor-fbdev.c =================================================================== ---- weston-1.11.0.orig/src/compositor-fbdev.c 2016-05-19 16:36:04.000000000 -0500 -+++ weston-1.11.0/src/compositor-fbdev.c 2016-09-20 17:05:27.000000000 -0500 +--- weston-1.11.1.orig/src/compositor-fbdev.c 2016-09-20 19:35:22.000000000 -0500 ++++ weston-1.11.1/src/compositor-fbdev.c 2017-01-14 08:35:11.000000000 -0600 @@ -50,6 +50,7 @@ #include "libinput-seat.h" #include "gl-renderer.h" @@ -263,10 +263,10 @@ Index: weston-1.11.0/src/compositor-fbdev.c config->output_transform = WL_OUTPUT_TRANSFORM_NORMAL; } -Index: weston-1.11.0/src/gal2d-renderer.c +Index: weston-1.11.1/src/gal2d-renderer.c =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ weston-1.11.0/src/gal2d-renderer.c 2016-09-20 16:58:24.000000000 -0500 ++++ weston-1.11.1/src/gal2d-renderer.c 2017-01-14 08:35:10.000000000 -0600 @@ -0,0 +1,1342 @@ +/* + * Copyright (c) 2015 Freescale Semiconductor, Inc. @@ -1610,10 +1610,10 @@ Index: weston-1.11.0/src/gal2d-renderer.c + .output_create = gal2d_renderer_output_create, + .output_destroy = gal2d_renderer_output_destroy, +}; -Index: weston-1.11.0/src/gal2d-renderer.h +Index: weston-1.11.1/src/gal2d-renderer.h =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ weston-1.11.0/src/gal2d-renderer.h 2016-09-20 15:28:46.638190745 -0500 ++++ weston-1.11.1/src/gal2d-renderer.h 2017-01-14 08:35:10.000000000 -0600 @@ -0,0 +1,50 @@ +/* + * Copyright (c) 2015 Freescale Semiconductor, Inc. @@ -1665,10 +1665,10 @@ Index: weston-1.11.0/src/gal2d-renderer.h +}; + +#endif -Index: weston-1.11.0/src/compositor-fbdev.h +Index: weston-1.11.1/src/compositor-fbdev.h =================================================================== ---- weston-1.11.0.orig/src/compositor-fbdev.h 2016-05-19 16:36:04.000000000 -0500 -+++ weston-1.11.0/src/compositor-fbdev.h 2016-09-20 17:03:37.000000000 -0500 +--- weston-1.11.1.orig/src/compositor-fbdev.h 2016-09-20 19:35:22.000000000 -0500 ++++ weston-1.11.1/src/compositor-fbdev.h 2017-01-14 08:35:10.000000000 -0600 @@ -40,6 +40,7 @@ int tty; char *device; @@ -1677,59 +1677,32 @@ Index: weston-1.11.0/src/compositor-fbdev.h uint32_t output_transform; }; -Index: weston-1.11.0/src/main.c +Index: weston-1.11.1/src/main.c =================================================================== ---- weston-1.11.0.orig/src/main.c 2016-05-19 16:36:04.000000000 -0500 -+++ weston-1.11.0/src/main.c 2016-09-20 17:29:12.000000000 -0500 +--- weston-1.11.1.orig/src/main.c 2017-01-14 08:34:10.030218137 -0600 ++++ weston-1.11.1/src/main.c 2017-01-14 08:54:45.000000000 -0600 @@ -285,7 +285,13 @@ "Options for fbdev-backend.so:\n\n" " --tty=TTY\t\tThe tty to use\n" " --device=DEVICE\tThe framebuffer device to use\n" - " --use-gl\t\tUse the GL renderer\n\n"); +#if defined ENABLE_EGL -+ " --no-use-gl\t\tDo not use the GL renderer\n" -+ " --use-gal2d\t\tUse the GAL2D renderer\n\n"); ++ " --use-gl=1\t\tUse the GL renderer (default is 1)\n" ++ " --use-gal2d=1\t\tUse the GAL2D renderer (default is 0)\n\n"); +#else -+ " --use-gl\t\tUse the GL renderer\n" -+ " --no-use-gal2d\t\tDo not use the GAL2D renderer\n\n"); ++ " --use-gl=1\t\tUse the GL renderer (default is 0)\n" ++ " --use-gal2d=1\t\tUse the GAL2D renderer (default is 1)\n\n"); +#endif #endif #if defined(BUILD_HEADLESS_COMPOSITOR) -@@ -864,18 +870,35 @@ - struct weston_config_section *section; - char *s = NULL; - int ret = 0; -+#ifdef ENABLE_EGL -+ /* GL rendering is default, so user options are --no-use-gl and --use-gal2d */ -+ int no_use_gl = 0; -+#else -+ /* GAL2D rendering is default, so user options are --use-gl and --no-use-gal2d */ -+ int no_use_gal2d = 0; -+#endif - +@@ -868,7 +874,8 @@ const struct weston_option fbdev_options[] = { { WESTON_OPTION_INTEGER, "tty", 0, &config.tty }, { WESTON_OPTION_STRING, "device", 0, &config.device }, -+#ifdef ENABLE_EGL -+ { WESTON_OPTION_BOOLEAN, "no-use-gl", 0, &no_use_gl }, -+ { WESTON_OPTION_BOOLEAN, "use-gal2d", 0, &config.use_gal2d }, -+#else - { WESTON_OPTION_BOOLEAN, "use-gl", 0, &config.use_gl }, -+ { WESTON_OPTION_BOOLEAN, "no-use-gal2d", 0, &no_use_gal2d }, -+#endif +- { WESTON_OPTION_BOOLEAN, "use-gl", 0, &config.use_gl }, ++ { WESTON_OPTION_INTEGER, "use-gl", 0, &config.use_gl }, ++ { WESTON_OPTION_INTEGER, "use-gal2d", 0, &config.use_gal2d }, }; parse_options(fbdev_options, ARRAY_LENGTH(fbdev_options), argc, argv); - - if (!config.device) - config.device = strdup("/dev/fb0"); -- -+#ifdef ENABLE_EGL -+ config.use_gl = !no_use_gl; -+#else -+ config.use_gal2d = !no_use_gal2d; -+#endif - section = weston_config_get_section(wc, "output", "name", "fbdev"); - weston_config_section_get_string(section, "transform", &s, "normal"); - if (weston_parse_transform(s, &config.output_transform) < 0) diff --git a/recipes-graphics/wayland/weston/0009-MGS-1284-xwld-Re-implement-weston-2d-renderer-with-p.patch b/recipes-graphics/wayland/weston/0009-MGS-1284-xwld-Re-implement-weston-2d-renderer-with-p.patch index 0afbd4b..f48785f 100644 --- a/recipes-graphics/wayland/weston/0009-MGS-1284-xwld-Re-implement-weston-2d-renderer-with-p.patch +++ b/recipes-graphics/wayland/weston/0009-MGS-1284-xwld-Re-implement-weston-2d-renderer-with-p.patch @@ -25,10 +25,10 @@ Signed-off-by: Yong Gan delete mode 100644 src/gal2d-renderer.c delete mode 100644 src/gal2d-renderer.h -Index: weston-1.11.0/Makefile.am +Index: weston-1.11.1/Makefile.am =================================================================== ---- weston-1.11.0.orig/Makefile.am 2016-10-06 14:26:20.254564856 -0500 -+++ weston-1.11.0/Makefile.am 2016-10-06 14:28:47.000000000 -0500 +--- weston-1.11.1.orig/Makefile.am 2017-01-14 08:59:52.293865810 -0600 ++++ weston-1.11.1/Makefile.am 2017-01-14 09:08:38.000000000 -0600 @@ -247,16 +247,16 @@ src/vertex-clipping.h \ shared/helpers.h @@ -54,10 +54,10 @@ Index: weston-1.11.0/Makefile.am src/vertex-clipping.c \ src/vertex-clipping.h -Index: weston-1.11.0/src/compositor-fbdev.c +Index: weston-1.11.1/src/compositor-fbdev.c =================================================================== ---- weston-1.11.0.orig/src/compositor-fbdev.c 2016-10-06 14:26:20.418565670 -0500 -+++ weston-1.11.0/src/compositor-fbdev.c 2016-10-06 14:28:47.000000000 -0500 +--- weston-1.11.1.orig/src/compositor-fbdev.c 2017-01-14 08:59:52.473866702 -0600 ++++ weston-1.11.1/src/compositor-fbdev.c 2017-01-14 09:19:12.000000000 -0600 @@ -50,7 +50,7 @@ #include "libinput-seat.h" #include "gl-renderer.h" @@ -186,23 +186,25 @@ Index: weston-1.11.0/src/compositor-fbdev.c if (fbdev_output_create(backend, 0, 0, param->device) < 0) goto out_launcher; -@@ -924,10 +898,10 @@ +@@ -922,13 +896,8 @@ + * udev, rather than passing a device node in as a parameter. */ + config->tty = 0; /* default to current tty */ config->device = "/dev/fb0"; /* default frame buffer */ - #ifdef ENABLE_EGL - config->use_gl = 1; +-#ifdef ENABLE_EGL +- config->use_gl = 1; - config->use_gal2d = 0; -+ config->use_g2d = 0; - #else +-#else config->use_gl = 0; - config->use_gal2d = 1; -+ config->use_g2d = 1; - #endif +-#endif ++ config->use_g2d = 0; config->output_transform = WL_OUTPUT_TRANSFORM_NORMAL; } -Index: weston-1.11.0/src/g2d-renderer.c + +Index: weston-1.11.1/src/g2d-renderer.c =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ weston-1.11.0/src/g2d-renderer.c 2016-10-06 14:28:47.000000000 -0500 ++++ weston-1.11.1/src/g2d-renderer.c 2017-01-14 09:08:38.000000000 -0600 @@ -0,0 +1,1175 @@ +/* + * Copyright (c) 2016 Freescale Semiconductor, Inc. @@ -1379,10 +1381,10 @@ Index: weston-1.11.0/src/g2d-renderer.c + .output_create = g2d_renderer_output_create, + .output_destroy = g2d_renderer_output_destroy, +}; -Index: weston-1.11.0/src/g2d-renderer.h +Index: weston-1.11.1/src/g2d-renderer.h =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ weston-1.11.0/src/g2d-renderer.h 2016-10-06 14:28:47.000000000 -0500 ++++ weston-1.11.1/src/g2d-renderer.h 2017-01-14 09:08:38.000000000 -0600 @@ -0,0 +1,48 @@ +/* + * Copyright (c) 2015 Freescale Semiconductor, Inc. @@ -1432,9 +1434,9 @@ Index: weston-1.11.0/src/g2d-renderer.h +}; + +#endif -Index: weston-1.11.0/src/gal2d-renderer.c +Index: weston-1.11.1/src/gal2d-renderer.c =================================================================== ---- weston-1.11.0.orig/src/gal2d-renderer.c 2016-10-06 14:26:20.678566959 -0500 +--- weston-1.11.1.orig/src/gal2d-renderer.c 2017-01-14 08:59:52.753868091 -0600 +++ /dev/null 1970-01-01 00:00:00.000000000 +0000 @@ -1,1307 +0,0 @@ -/* @@ -2744,9 +2746,9 @@ Index: weston-1.11.0/src/gal2d-renderer.c - .output_create = gal2d_renderer_output_create, - .output_destroy = gal2d_renderer_output_destroy, -}; -Index: weston-1.11.0/src/gal2d-renderer.h +Index: weston-1.11.1/src/gal2d-renderer.h =================================================================== ---- weston-1.11.0.orig/src/gal2d-renderer.h 2016-10-06 14:26:20.254564856 -0500 +--- weston-1.11.1.orig/src/gal2d-renderer.h 2017-01-14 08:59:52.297865829 -0600 +++ /dev/null 1970-01-01 00:00:00.000000000 +0000 @@ -1,50 +0,0 @@ -/* @@ -2799,64 +2801,36 @@ Index: weston-1.11.0/src/gal2d-renderer.h -}; - -#endif -Index: weston-1.11.0/src/main.c +Index: weston-1.11.1/src/main.c =================================================================== ---- weston-1.11.0.orig/src/main.c 2016-10-06 14:26:20.258564876 -0500 -+++ weston-1.11.0/src/main.c 2016-10-06 14:28:47.000000000 -0500 +--- weston-1.11.1.orig/src/main.c 2017-01-14 08:59:52.297865829 -0600 ++++ weston-1.11.1/src/main.c 2017-01-14 09:08:38.000000000 -0600 @@ -287,10 +287,10 @@ " --device=DEVICE\tThe framebuffer device to use\n" #if defined ENABLE_EGL - " --no-use-gl\t\tDo not use the GL renderer\n" -- " --use-gal2d\t\tUse the GAL2D renderer\n\n"); -+ " --use-g2d\t\tUse the G2D renderer\n\n"); + " --use-gl=1\t\tUse the GL renderer (default is 1)\n" +- " --use-gal2d=1\t\tUse the GAL2D renderer (default is 0)\n\n"); ++ " --use-g2d=1\t\tUse the G2D renderer (default is 0)\n\n"); #else - " --use-gl\t\tUse the GL renderer\n" -- " --no-use-gal2d\t\tDo not use the GAL2D renderer\n\n"); -+ " --no-use-g2d\t\tDo not use the G2D renderer\n\n"); + " --use-gl=1\t\tUse the GL renderer (default is 0)\n" +- " --use-gal2d=1\t\tUse the GAL2D renderer (default is 1)\n\n"); ++ " --use-g2d=1\t\tUse the G2D renderer (default is 1)\n\n"); #endif #endif -@@ -871,11 +871,11 @@ - char *s = NULL; - int ret = 0; - #ifdef ENABLE_EGL -- /* GL rendering is default, so user options are --no-use-gl and --use-gal2d */ -+ /* GL rendering is default, so user options are --no-use-gl and --use-g2d */ - int no_use_gl = 0; - #else -- /* GAL2D rendering is default, so user options are --use-gl and --no-use-gal2d */ -- int no_use_gal2d = 0; -+ /* G2D rendering is default, so user options are --use-gl and --no-use-g2d */ -+ int no_use_g2d = 0; - #endif - - const struct weston_option fbdev_options[] = { -@@ -883,10 +883,10 @@ +@@ -875,7 +875,7 @@ + { WESTON_OPTION_INTEGER, "tty", 0, &config.tty }, { WESTON_OPTION_STRING, "device", 0, &config.device }, - #ifdef ENABLE_EGL - { WESTON_OPTION_BOOLEAN, "no-use-gl", 0, &no_use_gl }, -- { WESTON_OPTION_BOOLEAN, "use-gal2d", 0, &config.use_gal2d }, -+ { WESTON_OPTION_BOOLEAN, "use-g2d", 0, &config.use_g2d }, - #else - { WESTON_OPTION_BOOLEAN, "use-gl", 0, &config.use_gl }, -- { WESTON_OPTION_BOOLEAN, "no-use-gal2d", 0, &no_use_gal2d }, -+ { WESTON_OPTION_BOOLEAN, "no-use-g2d", 0, &no_use_g2d }, - #endif + { WESTON_OPTION_INTEGER, "use-gl", 0, &config.use_gl }, +- { WESTON_OPTION_INTEGER, "use-gal2d", 0, &config.use_gal2d }, ++ { WESTON_OPTION_INTEGER, "use-g2d", 0, &config.use_g2d }, }; -@@ -897,7 +897,7 @@ - #ifdef ENABLE_EGL - config.use_gl = !no_use_gl; - #else -- config.use_gal2d = !no_use_gal2d; -+ config.use_g2d = !no_use_g2d; - #endif - section = weston_config_get_section(wc, "output", "name", "fbdev"); - weston_config_section_get_string(section, "transform", &s, "normal"); -Index: weston-1.11.0/src/compositor-fbdev.h + parse_options(fbdev_options, ARRAY_LENGTH(fbdev_options), argc, argv); +Index: weston-1.11.1/src/compositor-fbdev.h =================================================================== ---- weston-1.11.0.orig/src/compositor-fbdev.h 2016-10-06 14:26:20.258564876 -0500 -+++ weston-1.11.0/src/compositor-fbdev.h 2016-10-06 14:34:09.000000000 -0500 +--- weston-1.11.1.orig/src/compositor-fbdev.h 2017-01-14 08:59:52.297865829 -0600 ++++ weston-1.11.1/src/compositor-fbdev.h 2017-01-14 08:59:52.841868527 -0600 @@ -40,7 +40,8 @@ int tty; char *device; diff --git a/recipes-graphics/wayland/weston/0011-MGS-1724-xwld-G2D-compositor-build-failed-in-slevk-b.patch b/recipes-graphics/wayland/weston/0011-MGS-1724-xwld-G2D-compositor-build-failed-in-slevk-b.patch index f7bee2f..42a3339 100644 --- a/recipes-graphics/wayland/weston/0011-MGS-1724-xwld-G2D-compositor-build-failed-in-slevk-b.patch +++ b/recipes-graphics/wayland/weston/0011-MGS-1724-xwld-G2D-compositor-build-failed-in-slevk-b.patch @@ -15,10 +15,10 @@ Signed-off-by: Yong Gan src/g2d-renderer.c | 4 ++-- 2 files changed, 12 insertions(+), 3 deletions(-) -Index: weston-1.11.0/src/compositor-fbdev.c +Index: weston-1.11.1/src/compositor-fbdev.c =================================================================== ---- weston-1.11.0.orig/src/compositor-fbdev.c 2016-10-06 13:11:53.376414804 -0500 -+++ weston-1.11.0/src/compositor-fbdev.c 2016-10-06 13:19:16.000000000 -0500 +--- weston-1.11.1.orig/src/compositor-fbdev.c 2017-01-14 09:47:24.064006974 -0600 ++++ weston-1.11.1/src/compositor-fbdev.c 2017-01-14 09:55:59.000000000 -0600 @@ -63,7 +63,9 @@ int use_g2d; uint32_t output_transform; @@ -86,10 +86,10 @@ Index: weston-1.11.0/src/compositor-fbdev.c } if(!backend->use_g2d) if (fbdev_output_create(backend, 0, 0, param->device) < 0) -Index: weston-1.11.0/src/g2d-renderer.c +Index: weston-1.11.1/src/g2d-renderer.c =================================================================== ---- weston-1.11.0.orig/src/g2d-renderer.c 2016-10-06 13:11:53.376414804 -0500 -+++ weston-1.11.0/src/g2d-renderer.c 2016-10-06 13:11:53.372414784 -0500 +--- weston-1.11.1.orig/src/g2d-renderer.c 2017-01-14 09:47:24.152007410 -0600 ++++ weston-1.11.1/src/g2d-renderer.c 2017-01-14 09:48:56.000000000 -0600 @@ -756,11 +756,11 @@ switch (wl_shm_buffer_get_format(shm_buffer)) { @@ -104,3 +104,26 @@ Index: weston-1.11.0/src/g2d-renderer.c gs->bpp = 4; break; case WL_SHM_FORMAT_RGB565: +Index: weston-1.11.1/src/main.c +=================================================================== +--- weston-1.11.1.orig/src/main.c 2017-01-14 10:02:42.000000000 -0600 ++++ weston-1.11.1/src/main.c 2017-01-14 10:02:58.000000000 -0600 +@@ -866,7 +866,17 @@ + load_fbdev_backend(struct weston_compositor *c, char const * backend, + int *argc, char **argv, struct weston_config *wc) + { +- struct weston_fbdev_backend_config config = {{ 0, }}; ++ struct weston_fbdev_backend_config config = { ++ .base = {0}, ++#ifdef ENABLE_EGL ++ .use_gl = 1, ++ .use_g2d = 0, ++#else ++ .use_gl = 0, ++ .use_g2d = 1, ++#endif ++ .clone_mode = 0, ++ }; + struct weston_config_section *section; + char *s = NULL; + int ret = 0; diff --git a/recipes-graphics/wayland/weston/0012-MGS-1783-xwld-Add-clone-mode-support-for-multi-displ.patch b/recipes-graphics/wayland/weston/0012-MGS-1783-xwld-Add-clone-mode-support-for-multi-displ.patch index 10bae4d..6ff88a5 100644 --- a/recipes-graphics/wayland/weston/0012-MGS-1783-xwld-Add-clone-mode-support-for-multi-displ.patch +++ b/recipes-graphics/wayland/weston/0012-MGS-1783-xwld-Add-clone-mode-support-for-multi-displ.patch @@ -19,10 +19,10 @@ Signed-off-by: Yong Gan src/g2d-renderer.h | 4 +- 3 files changed, 167 insertions(+), 41 deletions(-) -Index: weston-1.11.0/src/compositor-fbdev.c +Index: weston-1.11.1/src/compositor-fbdev.c =================================================================== ---- weston-1.11.0.orig/src/compositor-fbdev.c 2016-10-06 13:17:41.738142236 -0500 -+++ weston-1.11.0/src/compositor-fbdev.c 2016-10-06 13:28:22.000000000 -0500 +--- weston-1.11.1.orig/src/compositor-fbdev.c 2017-01-14 10:07:19.425934454 -0600 ++++ weston-1.11.1/src/compositor-fbdev.c 2017-01-14 10:07:19.509934870 -0600 @@ -61,6 +61,8 @@ struct udev_input input; int use_pixman; @@ -88,10 +88,10 @@ Index: weston-1.11.0/src/compositor-fbdev.c #ifdef ENABLE_EGL gl_renderer = weston_load_module("gl-renderer.so", "gl_renderer_interface"); -Index: weston-1.11.0/src/g2d-renderer.c +Index: weston-1.11.1/src/g2d-renderer.c =================================================================== ---- weston-1.11.0.orig/src/g2d-renderer.c 2016-10-06 13:17:41.738142236 -0500 -+++ weston-1.11.0/src/g2d-renderer.c 2016-10-06 13:17:41.734142216 -0500 +--- weston-1.11.1.orig/src/g2d-renderer.c 2017-01-14 10:07:19.425934454 -0600 ++++ weston-1.11.1/src/g2d-renderer.c 2017-01-14 10:24:55.000000000 -0600 @@ -37,15 +37,16 @@ #include #include @@ -373,10 +373,10 @@ Index: weston-1.11.0/src/g2d-renderer.c pixman_region32_init(&go->buffer_damage[i]); return 0; } -Index: weston-1.11.0/src/g2d-renderer.h +Index: weston-1.11.1/src/g2d-renderer.h =================================================================== ---- weston-1.11.0.orig/src/g2d-renderer.h 2016-10-06 13:17:41.738142236 -0500 -+++ weston-1.11.0/src/g2d-renderer.h 2016-10-06 13:17:41.734142216 -0500 +--- weston-1.11.1.orig/src/g2d-renderer.h 2017-01-14 10:07:19.253933601 -0600 ++++ weston-1.11.1/src/g2d-renderer.h 2017-01-14 10:24:55.000000000 -0600 @@ -27,13 +27,11 @@ #define __g2d_renderer_h_ @@ -392,29 +392,29 @@ Index: weston-1.11.0/src/g2d-renderer.h struct g2d_renderer_interface { int (*create)(struct weston_compositor *ec); -Index: weston-1.11.0/src/main.c +Index: weston-1.11.1/src/main.c =================================================================== ---- weston-1.11.0.orig/src/main.c 2016-10-06 13:39:13.000000000 -0500 -+++ weston-1.11.0/src/main.c 2016-10-06 13:39:39.000000000 -0500 +--- weston-1.11.1.orig/src/main.c 2017-01-14 10:07:19.425934454 -0600 ++++ weston-1.11.1/src/main.c 2017-01-14 10:31:37.000000000 -0600 @@ -287,11 +287,12 @@ " --device=DEVICE\tThe framebuffer device to use\n" #if defined ENABLE_EGL - " --no-use-gl\t\tDo not use the GL renderer\n" -- " --use-g2d\t\tUse the G2D renderer\n\n"); -+ " --use-g2d\t\tUse the G2D renderer\n" + " --use-gl=1\t\tUse the GL renderer (default is 1)\n" +- " --use-g2d=1\t\tUse the G2D renderer (default is 0)\n\n"); ++ " --use-g2d=1\t\tUse the G2D renderer (default is 0)\n"); #else - " --use-gl\t\tUse the GL renderer\n" -- " --no-use-g2d\t\tDo not use the G2D renderer\n\n"); -+ " --no-use-g2d\t\tDo not use the G2D renderer\n" + " --use-gl=1\t\tUse the GL renderer (default is 0)\n" +- " --use-g2d=1\t\tUse the G2D renderer (default is 1)\n\n"); ++ " --use-g2d=1\t\tUse the G2D renderer (default is 1)\n"); #endif + " --clone-mode\t\tClone display to multiple devices\n\n"); #endif #if defined(BUILD_HEADLESS_COMPOSITOR) -@@ -888,6 +889,7 @@ - { WESTON_OPTION_BOOLEAN, "use-gl", 0, &config.use_gl }, - { WESTON_OPTION_BOOLEAN, "no-use-g2d", 0, &no_use_g2d }, - #endif +@@ -886,6 +887,7 @@ + { WESTON_OPTION_STRING, "device", 0, &config.device }, + { WESTON_OPTION_INTEGER, "use-gl", 0, &config.use_gl }, + { WESTON_OPTION_INTEGER, "use-g2d", 0, &config.use_g2d }, + { WESTON_OPTION_BOOLEAN, "clone-mode", 0, &config.clone_mode }, }; -- 1.9.1