Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Seiderer <ps.report@gmx.net>
To: buildroot@busybox.net
Subject: [Buildroot] why qt5webengine dependencies?
Date: Wed, 13 Mar 2019 00:33:48 +0100	[thread overview]
Message-ID: <20190313003348.04cdc397@gmx.net> (raw)
In-Reply-To: <0464fb6c-4e64-4608-611d-91d115a87fb0@ginzinger.com>

Hello Martin,

On Tue, 12 Mar 2019 11:21:07 +0100, Martin Kepplinger <martin.kepplinger@ginzinger.com> wrote:

> hi Gael,
> 
> why does qt5webengine in buildroot have a dependency on
> * udev:
> I apply the following patch and create /dev/shm at runtime, which works
> out just fine. At least a build-depencency is questionable, isn't it?
> --- a/src/core/config/linux.pri
> +++ b/src/core/config/linux.pri
> @@ -8,7 +8,7 @@ gn_args += \
>      use_gnome_keyring=false \
>      use_kerberos=false \
>      linux_use_bundled_binutils=false \
> -    use_udev=true \
> +    use_udev=false \
>      use_bundled_fontconfig=false
> 

- Because it is the default?
- Why do you want to do this/change the default? Saving one small udev package
for an huge package as qt5webengine (loosing hot-plugging support for keyboad/mouse)?

> 
> * OpenGL backend:
> I'm yet to test this, but Qt webengine semms to support building with
> "no-opengl" since 5.8! And there's QT_WEBENGINE_DISABLE_GPU at runtime,
> so...

The QT_WEBENGINE_DISABLE_GPU option seems to be run time (and not compile time)
option...

And yes [1] mentions Rendering without GPU:

  In a number of scenarios, we disable using the GPU (e.g. when using ANGLE on
  Windows or if the OpenGL driver is known to have problems). In this case,
  the GPU thread will not be initialized at all and the renderer processes will
  use Skia's software rasterizer to generate bitmaps that are copied to the browser
  process using shared memory. In this case, Qt WebEngine will create copies of these
  bitmaps and use them to generate QImages, which are then used to create QSGTextures.
  This happens during the creation of scene graph nodes in DelegatedFrameNode::commit.
  The code that does the actual copying can be found in ResourceHolder::initTexture.

And there are some '#ifndef QT_NO_OPENGL' in the source code, e.g.
qt5webengine-5.12.1/src/webenginewidgets/render_widget_host_view_qt_delegate_widget.cpp

Maybe try without OpenGL and submit a patch lifting the requirements (since [1] qt quick
for qt latest does not depend on opengl in buildroot)?
 
Regards,
Peter

[1] https://wiki.qt.io/QtWebEngine/Rendering
[2] https://git.buildroot.net/buildroot/commit/?id=5eb43c83c10aa9cd5cdf2302af0682b3d9978ecc

> 
> 
> My question is: why the dependencies?
> 
> thanks,
> 
>                                 martin

  parent reply	other threads:[~2019-03-12 23:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-12 10:21 [Buildroot] why qt5webengine dependencies? Martin Kepplinger
2019-03-12 15:53 ` Martin Kepplinger
2019-03-12 23:33 ` Peter Seiderer [this message]
2019-03-15  7:17   ` Martin Kepplinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190313003348.04cdc397@gmx.net \
    --to=ps.report@gmx.net \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox