Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id B8939E0082A; Sun, 15 Jan 2017 06:57:36 -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.89 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-db5eur01on0089.outbound.protection.outlook.com [104.47.2.89]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id F4142E00790 for ; Sun, 15 Jan 2017 06:57:33 -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=r9eY8Ux737Dl58LvqA7Bnhm3EtbuMkl1EpJ2WJtZRmEi8SrO0+9BkJyBXUg7+N85JEeCnuHNKxS+6lzN1iw94wVVl8nlFk8mhxI3Ahh1I7QO0C1iNIjNuxSGRPMel+wdsIxVoAvtN6JcXcCpTNRMAXSORXDBAUVE/mkssuFsExs= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=tom.hochstein@nxp.com; Received: from tx30imx-01.am.freescale.net (192.88.168.1) by AM3PR04MB308.eurprd04.prod.outlook.com (2a01:111:e400:8825::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.845.12; Sun, 15 Jan 2017 14:57:29 +0000 From: Tom Hochstein To: Date: Sun, 15 Jan 2017 08:50:17 -0600 Message-ID: <1484491817-3509-4-git-send-email-tom.hochstein@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1484491817-3509-1-git-send-email-tom.hochstein@nxp.com> References: <1484491817-3509-1-git-send-email-tom.hochstein@nxp.com> MIME-Version: 1.0 X-Originating-IP: [192.88.168.1] X-ClientProxiedBy: YQXPR01CA0067.CANPRD01.PROD.OUTLOOK.COM (2a01:111:e400:5b9f::35) To AM3PR04MB308.eurprd04.prod.outlook.com (2a01:111:e400:8825::27) X-MS-Office365-Filtering-Correlation-Id: b0196823-7ddd-4e63-314b-08d43d56d3f2 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:AM3PR04MB308; X-Microsoft-Exchange-Diagnostics: 1; AM3PR04MB308; 3:EfPntAqBqTTg8ayWt1cm1ooTqrDfBjomTqZITv3DdwvViSRxApBZhi97fYHRRpecqTrBGoPO70EZ1crn73nhD6cqBhOWrlOUsLYlc7spS3iEP12wsd8q9jOHlO1oll6lwBr8fpObS56/cp62jCrYYJuFRq5PENclJQcrK6XlxDGYGdIjZKQNjYoyUUpjDpkpY26ywCkTUqgsLTyEOh9UO9/ordT1KTeFywl3Wzyj7+bOBHcdygBPktbl6+KhY+lLTcjJN3rbDb6b2zVJ0lWbXQ== X-Microsoft-Exchange-Diagnostics: 1; AM3PR04MB308; 25:TJ8jtUU1PCXSGG+QVjzIesy0A5S7i1hqg6FFdDBzjNqwGzClqAcVOINPvK0/rc3MNvhhQscRUutpFFOEQ/cox8MTQxhp2jI5WkMDJQySqLIysZQPpzNHGPoNhxpBAwRIPOwwJQP06k0yGowvUkIwX4NBUlGvYsAdRCkQaLgiDdafIl9fGLSvIo/Stx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QR1HcD4ZFyDXZ3aNCUg1FURHDoHLLR7ylRj9p4af8f1c275e6L+E3hO3eomvIcB1pS5lcjfcHchJZ76ROqQdLiCf9Cf3PoGjD+OJWl4XqUvR4I2ADq4w5fAovXZnIQj6kJgFhI1+XaHScdRahd8TIDWWYrINT0T5dYb7lq1uQ5G8NliymN8vp2ARPik55tYCrI2jLNneNVfBVfO47XqRSuz2az0Utk6keZpJCAjImD5naQijueHlibr4ArpxF7aRxMgY4aSw6APhxub9Pwwempgx6Lnj2W4VVpZeLdJIv9RgC6C1zhgL1rPVyQVW3iekY4JuvfRQbBVdQS9W+mdQsjUg4WdSVA7I1xY7CaGseDmPz 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:AM3PR04MB308; BCL:0; PCL:0; RULEID:; SRVR:AM3PR04MB308; X-Microsoft-Exchange-Diagnostics: 1; AM3PR04MB308; 4:SuhpJ7c+j34HmOSnYoBhZGj8+bjKANgcfMfv9YEw47YRWDdTtTZpwvm7fe51ughsmHuTUV1zYtXWYIBvuuKsdofFlEokU30YnN3mrk2cR0UqkC5qitfmcXieu+1SWDibLaiCpC+svZmTAOx9TKmZ4LKdvS6Zbe9rb8m96kQXjeSANSDJG1sD5UIGV8IS3r2EFcoXTbl8FusWS8y8BtWk+GkSot9V+0bYHJ4B+VIjndsb6V/UKP0V85ScHPhRjW5VuB4nLnq7/0NGtMxcTnCUyqwc5yl1yO9vtmlCtv7z3ql9Ae4m85KN0lIwPatKmi5hPpTze+SfilfCTLJDRxA4ESmZXeNULtw0l3wakzkXRFjldSQ8uhS3JEZY9hga7/b4CEy1E4yG7M8NU2SQMYAQUVo0bSImDmFNYNmL0MYU65gKGtUvyjydP4RZG67MIfoAOJ8/pz7L9+5dd9tOpqjx6o8rtsZyGGId6EzBtY3pEbu5ZvI4Cl/70EKDpCHtRwmrGIoukKyJPh0IO6qOGdbIBM8w5ogGjvJEarRY0SPxoGUyu7uiZ9WzUgf596ef76367D/35zgkhMWmCa8ke/enafqgQnM7mXgVFbpQgjxpRfbB1cKSt7ZpgUzhcxPvK7SmncS3iAwFOAJHJ+GofciKNYYDGP6I65yaxAn9raOT5YS3PfoynLboTXZzuAfveymT X-Forefront-PRVS: 0188D66E61 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(7916002)(39410400002)(39450400003)(39850400002)(39840400002)(39860400002)(377424004)(199003)(189002)(36756003)(5660300001)(110136003)(76176999)(106356001)(47776003)(2351001)(50986999)(101416001)(48376002)(66066001)(2950100002)(6916009)(6666003)(50466002)(105586002)(42186005)(92566002)(33646002)(86362001)(38730400001)(6486002)(8676002)(81166006)(81156014)(3846002)(6116002)(4326007)(2906002)(6506006)(6512007)(68736007)(7736002)(50226002)(189998001)(27001)(5003940100001)(450100001)(97736004)(305945005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM3PR04MB308; 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; AM3PR04MB308; 23:/olrfHWDmiDGNWvFmxcklVg2Io47j2el7oQzeOq/aH?= =?us-ascii?Q?EEDK/47ELuruY0aJGne0qUFpWhEj21bBUNCi4zqU/lqHYrRk2TTLjcMwdx6J?= =?us-ascii?Q?9m/ZVi18l1EGKTsUPgNQEYkTCUZYsbU7C3d1Qd9fGrAnYR2o7YoJG5fngzSN?= =?us-ascii?Q?qnFvj/DO7NyOFBHA4J9CS0K94Wbh9/CcjSFAl4fhEBo+03ZuBQ/aAIsVkhLO?= =?us-ascii?Q?iRJTzhdTOCTrBLSaKBYLJ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yJB7FE1?= =?us-ascii?Q?AcNNHN8P3PWDk6hXF9sGTiy59sHIsgSfT0hTtKmNOlqOU+SWxtG9e2o31PLi?= =?us-ascii?Q?lrIYyFynf5/hNcpWhiTGmQdnHKovGORwWoYLwuO/B6JcyvB3dEsfmYpsLt1V?= =?us-ascii?Q?R3Vz2GrX1EikYEKYI=3D?= X-Microsoft-Exchange-Diagnostics: 1; AM3PR04MB308; 6:rz6HWqc4OIRzFQN6OT6+YaKPFXmF5tTfM/Iv+vpzQTw0b4SU1wuiFeYuayo4fxZslBHlfYqYuOUEA7oh9Tpuuh2nZxoM3l0JmjI32ucrZtpZOKmkYQVffnmupUln7TVX7EGGPaUaS962i/3lFMk7RoXf4xLybk1toKlCI4BZ5aMQhCJ17L+kZEQyzgR/TMk4oUKjr7tUVnKWqYRH7I9A8zyuOtcrLREl2FFrXDFtVu1wqjZAK69mQzBY0eTTNkh/U1OBNjEld3eqP5K18tyG7yZdpkXXwuUfbN5Gd7AUEy5WeFWD923fpcYoXOY9b9yn1nUh18gcWjqLLwBGrRLeczlbkKKJ8dW1nRjjqpTURIHicmXjZqW+hhRRCXfBoJIv+pCt+Rq+PRVi+c/AKLL93QFs1VLhyYkj/G3ttd3+kJpb0Kay0bAYV+bDrP4AbPiIOeWXqXJxm9quMiAs6jeCNg==; 5:9YrY7msvU0OZL1itggzJsrqtSW/XTNryHTFzqpBRaBq8/oYvBPuVG3rmD2vGw7bQqHnbuS7F0mYzfyhSttB/93sx26+FyieXrgPHh7tTQHlGXilDwVYzij9AyTppninxsm2QLKt74Agig1N3t093mmKaSkXAmMD8FZ5dcABZ9m8=; 24:tavUNpveG6s6F0LNGfIETaRsmwAzoZsZiel2hwWDIAw0p2jREzJT/T91XzB+zUbzpjmWPeXt6US5gvSd07+TAepyb0tXWkpTzNw4NGOiPJs= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM3PR04MB308; 7:vaEicg/WFjTPYQ8QlNKHg28FfCg5LYizSSCt3S2wxDLGlFMWcvx2yHvAqiK2xBNn0yDdVO2hqN8sZeHVYptqZpn1crTF4OBg9iSy41OcaGnxNrjv6tOE5iqG2ftQfWyuEbXsKWH/KMV9bxG5AC2Prk4Xf/r+FZGpsg8WlS8oTUFZWlf3zvFY0VTISk0yC59quFWzMzj1iGDBxs7NUjQP+npK+OPKTaLvC0bbeelXaRu1NGOMoJjOTM9Xl9JXTAs22JX9GMQY2vHR0mnpxPj03vUH3vayK7QJOc4seVAdxuin3tRbV6mFccWzeLlfXUqJKPwPHzvb65UeyaueTBl8aQpCMNnAWhErvtPfwz9JNFVlEHaEVZFFIbl58M3pVInUEeU5pCH31V3jG4m6Emj9Dz7ba7mTPiGZTZhNwha4FqzBlFaE6CJMiU4YCwXbGDDGXS2+OjKnc8i7gZgz6f0ugQ== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jan 2017 14:57:29.0553 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR04MB308 Subject: [PATCH 4/4] 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: Sun, 15 Jan 2017 14:57:36 -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