From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) by mx.groups.io with SMTP id smtpd.web10.7407.1613044796606143369 for ; Thu, 11 Feb 2021 03:59:57 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QOeBlAw5; spf=pass (domain: gmail.com, ip: 209.85.208.169, mailfrom: raymsmithuk@gmail.com) Received: by mail-lj1-f169.google.com with SMTP id u4so7024529ljh.6 for ; Thu, 11 Feb 2021 03:59:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DZ6oHoYGoWDa7rfVCf53O72N8eqVre3ctuF0XR2yaAg=; b=QOeBlAw5A5jNs6VzuUAy1j7dTx4DWrcfjTpYunxPDhOTt2pSKfRGIkSRYwNdWsvMkG t4Pr3j17mKY9NX0mEPpu63oJalfKpP/b7oaJvzpHm8DESKrw79w1MuvQHMJE9GxrQcV/ 06hz+wXJ49I0PJMT/uzHS7HjroC6jazRLuL9rEmvM9adw0C3k0Cx51Ohexp9agZaOz2L ucU7MsGf/rbwhO7M6VQx53bbCjskwAYwomDgU+gVxJ1MMYVkI/RJ+sTQl6HlF4BUesAp eSOrgpIqPFZL4lbHy7IxmZKs1QemwEWZOFsMfNE3JSDUClibVx/K9W9pHa7F0KTrKAPv FbXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DZ6oHoYGoWDa7rfVCf53O72N8eqVre3ctuF0XR2yaAg=; b=CWxfHDYWFKAubMjv/cSo+MLYM1AILWsf+Tl/fTb9wqWqwd8Ee9pLQCfW6/NEPlwg40 3j+VEBCFa3M+zuDlFQbWHmrzSATp+C8+oMM2R4h6Pd+jMcoq23IBC5+9Pgxq329VpVZD hbuIKCA2FtGMz+rgFBM6/58AGbjltEwg9MWWXJfdLkUvSDdHAzfJkNsIrx8zGLf2BDHg pQcKRztmFOWnX18jhM02keCAtM3nZDrnx7G8d1XGC7Gt9pqz4XbaXVgEJrVqLni2odT2 Nhpi2Lcaxfm2fWxY96BF8WnzmJRkus0b7WV1A2YvTQ6XSlHa1RS4PAzHfgtYOZZZ4hEh 7mhQ== X-Gm-Message-State: AOAM53145puqhEQuJ28UTXfB/Fm8DFdAKhCLiIxx1SlqDEURhCOP/JYC SRanpyiJnj1bxbYNju9UA89PyqXb7nz4z2618tI= X-Google-Smtp-Source: ABdhPJxSL4vlpaQ/W/+6cKSKs3clb4+y+4KAoqUuT139JxX96p9vFIU39i/YLSCweFt8TdXhom+mPZhqeogh8OjVfWE= X-Received: by 2002:a2e:974f:: with SMTP id f15mr4826444ljj.412.1613044794708; Thu, 11 Feb 2021 03:59:54 -0800 (PST) MIME-Version: 1.0 References: <20210210111113.17318-1-raymsmithuk@gmail.com> In-Reply-To: From: "Ray Smith" Date: Thu, 11 Feb 2021 11:59:43 +0000 Message-ID: Subject: Re: [OE-core] [PATCH] mesa: Remove dependency on opengl or vulkan DISTRO_FEATURES To: Otavio Salvador Cc: Andrey Zhizhikin , Patches and discussions about the oe-core layer Content-Type: multipart/alternative; boundary="000000000000fed81105bb0e41dd" --000000000000fed81105bb0e41dd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Feb 10, 2021 at 9:36 PM Otavio Salvador < otavio.salvador@ossystems.com.br> wrote: > Em qua., 10 de fev. de 2021 =C3=A0s 17:21, Andrey Zhizhikin > escreveu: > >> >> Should this be clarified with Mesa folks upfront? If you believe that >> this limitation is rather "artificial", then there has to be a proper >> explanation from Mesa developers why OGL is provided when OGLES-only >> is built. >> > > Agreed ... I'd rather not drop the check until we hear from upstream the > reasoning behind it. > This patch is really about the first line: > Mesa doesn't _require_ either of these features of the distribution, > it (conditionally) _provides_ them. Even if we had an opengles distro feature that solved the GLES vs OpenGL issues, having a 'ANY_OF_DISTRO_FEATURES_class-target =3D "opengl vulkan opengles"' line instead still wouldn't make sense (although it would solve my problem), because mesa doesn't require any of those features. This line is effectively saying it depends on the things it provides. I will raise the build issue with mesa, but I think it's not related to the core issue here. There are no responses yet, but I see https://gitlab.freedesktop.org/mesa/mesa/-/issues/4176 was raised a couple of weeks ago with a very similar issue. --000000000000fed81105bb0e41dd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Feb 10, 2021 at 9:36 PM Otavio Salvador <otavio.salvador@ossystems.com.br>= ; wrote:
= Em qua., 10 de fev. de 2021 =C3=A0s 17:21, Andrey Zhizhikin <andrey.z@gmail.com> esc= reveu:

Should this be clarified with Mesa folks upfront? If you believe that
this limitation is rather "artificial", then there has to be a pr= oper
explanation from Mesa developers why OGL is provided when OGLES-only
is built.

Agreed ... I'd rather not drop t= he check until we hear from upstream the reasoning behind it.

This patch is really about the first lin= e:

> Mesa doesn't _require_ either of these= features of the distribution,
> it (conditionally) _provides_ them.<= /div>

Even if we had an opengles distro feature that sol= ved the GLES vs OpenGL issues, having a 'ANY_OF_DISTRO_FEATURES_class-t= arget =3D "opengl vulkan opengles"' line instead still wouldn= 't make sense (although it would solve my problem), because mesa doesn&= #39;t require any of those features. This line is effectively saying it dep= ends on the things it provides.

I will raise the b= uild issue with mesa, but I think it's not related to the core issue he= re. There are no responses yet, but I see https://gitlab.freedesktop.org/mesa/mesa/= -/issues/4176 was raised a couple of weeks ago with a very similar issu= e.
--000000000000fed81105bb0e41dd--