| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As unofficial builds do not use scrambled message ids
for mojo messages, this causes ipc errors, if
we run in debug mode. Therefore for debug builds
be explicit and do not use scrambled messages, unlike
for any other type.
As shipping debug resources (without scrambled messages)
increases overall installation size by less then 3MB,
simply support creating debug resources with javsscript
files created without scrambling messages.
Initial idea to keep the resource files in sync with
qWebEngineProcessd use case (so for only multi config
generator with CMAKE_DEBUG_POSTFIX) did not look good.
Therefore, keep things aligned with how we handle v8 sanpshot
context files for debug, add "debug" postfix to affected
resource files if config is debug.
Fixes: QTBUG-131897
Pick-to: 6.9 6.8
Change-Id: I34fa4b4842db521c782af4f4f61212c8cf04ddae
Reviewed-by: Joerg Bornemann <[email protected]>
Reviewed-by: Moss Heim <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Submodule src/3rdparty 45d204bc..3e23b0d5:
* [Backport] CVE-2025-4052: Inappropriate implementation in DevTools
* [Backport] CVE-2025-4051: Insufficient data validation in DevTools
* [Backport] Security bug 403364367
* [Backport] Security bugs 398049412 and 403696324
* [Backport] CVE-2025-4096: Heap buffer overflow in HTML
* [gbm] Add fallback for drmPrimeHandleToFD()
Pick-to: 6.9
Task-number: QTBUG-136541
Change-Id: Id38026ccf429dabf577e7118e0df6b15c81db616
Reviewed-by: Anu Aliyas <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
The setting value was changed from screencastEnabled to
screencast-enabled. The value is updated to resolve the error.
Fixes: QTBUG-136533
Pick-to: 6.9
Change-Id: I5d469c91513f1f8b63c789d27c638249fec92240
Reviewed-by: Moss Heim <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
gbm_bo_get_modifier() may return invalid DRM format modifier for AMD
driver. In this case, create VkImage without DRM format modifier and
fallback tiling to VK_IMAGE_TILING_OPTIMAL instead of
VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT.
Pick-to: 6.8 6.9
Fixes: QTBUG-123607
Change-Id: Iacf4fc514ab42fa9ab712f5d9fde2d20000f599d
Reviewed-by: Allan Sandfeld Jensen <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
Submodule src/3rdparty 67ff901e..45d204bc:
* [backport] Fix build with Pipewire 1.4
* [Backport] Security bug 409243443
Pick-to: 6.9
Fixes: QTBUG-136167
Change-Id: I6aa170194b77e108623125e91662d2cfaee13ab3
Reviewed-by: Allan Sandfeld Jensen <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
Submodule src/3rdparty 006f192b..67ff901e:
* [backport] CVE-2025-3619
* [fixup] Reinstate jumbo-builds
Fixes: QTBUG-136038
Pick-to: 6.9
Change-Id: Ib11796842dbd86059a8388d8bcffa4fa352123eb
Reviewed-by: Michael Brüning <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Submodule src/3rdparty 6fe2eb1d..006f192b:
* [fixup] Add missing dependencies to avoid compilation errors
* [fixup] Update dependencies to avoid compilation errors
* [fixup] Reinstate jumbo-builds
* [Backport] CVE-2025-24855 Fix use-after-free of XPath context node
* [Backport] CVE-2024-55549: Fix UAF related to excluded namespaces
* [Backport] CVE-2025-3071: Inappropriate implementation in Navigations (2/2)
* [Backport] CVE-2025-3071: Inappropriate implementation in Navigations (1/2)
* [Backport] CVE-2025-3069: Inappropriate implementation in Extensions
* [Backport] Security bug 397187119
* [Backport] Security bug 396460489 (2/2)
* [Backport] Security bug 396460489 (1/2)
* [Backport] Security bug 399002829
* [Backport] CVE-2025-2783: Incorrect handle provided in unspecified circumstances in Mojo on Windows
Change-Id: I7c90d01ca11c988b1549959892e76f2cb37f3156
Reviewed-by: Michael Brüning <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
Add a default constructor so that QMetaType can create it.
Task-number: QTBUG-108649
Task-number: QTBUG-135032
Pick-to: 6.9 6.8
Change-Id: I9390392f24f29cc16e0f36367a6a77e60a76b068
Reviewed-by: Kaloyan Chehlarski <[email protected]>
Reviewed-by: Michal Klocek <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
Add a default constructor so that QMetaType can create it.
Task-number: QTBUG-108649
Task-number: QTBUG-135032
Pick-to: 6.9 6.8
Change-Id: If82aa9e318f17ba5727b3bd6ad3684afb8b36c7f
Reviewed-by: Michal Klocek <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
Allow a nullptr as the controller and add a public default ctor to allow
QMetaType to create it.
Task-number: QTBUG-108649
Task-number: QTBUG-135032
Pick-to: 6.9 6.8
Change-Id: I70dc626bb7cce1fdb96c4c3b4dabce2fdfc17537
Reviewed-by: Michal Klocek <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Allow a nullptr as the controller and add an "Ok" value to the enum to
signify "no error". This is in line with the "OK" value in Chromium's
net_errors.h. Furthermore, add a public default ctor to allow QMetaType
to create it.
Task-number: QTBUG-108649
Fixes: QTBUG-135032
Pick-to: 6.9 6.8
Change-Id: Id06db78f273805ba117eefaa0ada3eac2f538962
Reviewed-by: Michal Klocek <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT usage flag is not necessary because
the native VkImage imported into QSG seems to be only accessed via
sampling. VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT also seems to conflict
with the VK_IMAGE_LAYOUT_UNDEFINED initial layout with Nvidia driver.
VK_IMAGE_LAYOUT_UNDEFINED is a requirement for importing external
texture from Chromium.
Keep VK_IMAGE_USAGE_SAMPLE_BIT usage flag because it is a requirement
for sampling.
Remove the corressponding VK_IMAGE_LAYOUT_PRINITIALIZED initial layout
workaround for Nvidia. It is not necessary without the
VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT flag and fixes validation layer
warning.
Also remove VK_IMAGE_USAGE_TRANSFER_DST_BIT and
VK_IMAGE_TRANSFER_SRC_BIT usage flags because those are not used and
seem to be leftover from an earlier implementation.
Pick-to: 6.8 6.9
Task-number: QTBUG-123607
Change-Id: If9dba4b6ff9d584e3d103ec8d05b7fe0cdaec339
Reviewed-by: Allan Sandfeld Jensen <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
List it on demand instead of in constructor. It is not used if
dma-buf/GBM/NativePixmap is disabled.
This fixes fatal error when glXChooseFBConfig() fails to return
configuration in XWayland with Nvidia driver.
Fixes: QTBUG-135647
Pick-to: 6.9
Change-Id: Iab10f6f0cdff54732a2dee8d201f1e3b14146b0e
Reviewed-by: Allan Sandfeld Jensen <[email protected]>
Reviewed-by: Moss Heim <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
Amends 83e85bebc Add more vendors to GPU detection
Fixes: QTBUG-126722
Pick-to: 6.8 6.9
Change-Id: Ie14c66d593e6ac8e1b55c377b73895397ef373ca
Reviewed-by: Moss Heim <[email protected]>
Reviewed-by: Allan Sandfeld Jensen <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
Following 07b89093604db618c15fe53bd04950922bb3469b this comparison
no longer compiles, and according to the commit message, it was never
meant to. This change fixes the one instance of it in our codebase,
inside the custom URL scheme handling.
Change-Id: I54bea24d42967145cdf209a6e15481bae7b3c6a3
Reviewed-by: Anu Aliyas <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
INSTALL_DATADIR and INSTALL_ARCHDATADIR have the value "." by default.
CMP0177 in CMake 3.31 now warns when paths that have "." as a
component are passed to install().
To avoid the warning, pass each component of the path separately to
qt_path_join, so that it can properly filter out ".".
This change will have only have an effect once a newer qtbase is
brought in with the updated qt_path_join behavior.
Pick-to: 6.9
Change-Id: Ic8b5e7a1dfe92a16dd7fe69dfddd4141dd648e48
Reviewed-by: Moss Heim <[email protected]>
Reviewed-by: Alexey Edelev <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If the deployed lib dir is different from the Qt configured one (e.g.
lib64 vs lib), __QT_DEPLOY_MUST_ADJUST_PLUGINS_RPATH will be set to
true.
In that case we need to adjust the rpath of the WebEngineProcess
binary to point to the new lib dir.
Amends 73d58b489e8f4f900042f0ab6c1104e6431752e1
Pick-to: 6.8 6.9
Fixes: QTBUG-135620
Task-number: QTBUG-109553
Task-number: QTBUG-119077
Change-Id: Ic8b730386f4ab7d77da7e1ffb44d8482bd150209
Reviewed-by: Joerg Bornemann <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If DESTDIR is set, the install destination for all files should be
$ENV{DESTDIR}/${CMAKE_INSTALL_PREFIX} by default. And that is the
actual default value for QT_DEPLOY_PREFIX.
The problem is that file(INSTALL) always prepends $ENV{DESTDIR} to the
install destination, which when used with QT_DEPLOY_PREFIX results in
DESTDIR being prepended twice to a path.
Change the code to use CMAKE_INSTALL_PREFIX for file(INSTALL)
commands and QT_DEPLOY_PREFIX for other commands.
This was discovered while trying to create an installer for a deployed
WebEngine application using CPack, which always sets a DESTDIR.
Amends 73d58b489e8f4f900042f0ab6c1104e6431752e1
Pick-to: 6.8 6.9
Fixes: QTBUG-135620
Task-number: QTBUG-109553
Task-number: QTBUG-119077
Change-Id: I5860c58454d6a204b36b2185b76b6f974e88f652
Reviewed-by: Joerg Bornemann <[email protected]>
Reviewed-by: Alexey Edelev <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes the following warning:
CMake Warning (dev) at cmake/QtModuleHelpers.cmake:1187 (message):
Module WebEngineQuickDelegatesQml does not have private headers.
Please add NO_PRIVATE_MODULE to its creation flags.
Call Stack (most recent call first):
cmake/QtScopeFinalizerHelpers.cmake:24:EVAL:1 (qt_finalize_module)
src/webenginequick/ui/CMakeLists.txt:DEFERRED
Change-Id: I936bba73933775f11946778799047045fc037d3b
Reviewed-by: Michal Klocek <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Starting with CMake 3.31, the following warning is shown if the data
stamp option is passed an empty string:
CMake Warning (dev) at cmake/Functions.cmake:332
(cmake_parse_arguments):
The NINJA_DATA_STAMP keyword was followed by an empty string or no
value at all. Policy CMP0174 is not set, so cmake_parse_arguments()
will unset the arg_NINJA_DATA_STAMP variable rather than setting it
to an empty string.
Call Stack (most recent call first):
src/core/CMakeLists.txt:615 (add_gn_build_artifacts_to_target)
Only pass the option if it has a value.
Pick-to: 6.8 6.9
Change-Id: I19a38b2eb05ab902e4c176f36b2410f62c403d32
Reviewed-by: Michal Klocek <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Submodule src/3rdparty ad5f2656..6fe2eb1d
* Disable devtools frontend unit tests
* Avoid crash due to long dictionary commands
* [fixup] Stop Chromium from using DirectComposition
* Qt GN integration
* Allow MAP_DROPPABLE memory mappings in Linux sandbox
Fixes: QTBUG-134481
Change-Id: I1ecf49c1a762d8a7f7c67ad45176aa4b8733c552
Reviewed-by: Michal Klocek <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently there is no easy way to check if compiler supports udot
assembly instructions.
According to arm specs:
-mcpu=cortex-a55
-march=armv8.4-a
-march=armv8.2-a+dotprod
should compile udot instructions and it does with for example
debian arm cross compiler gcc-12
However default setting "-march=armv8-a+dotprod+i8mm" in libyuv fails
with compiler above.
Add simply a test if dot assembly is supported with current
cmake flags.
Pick-to: 6.9
Task-number: QTBUG-134064
Change-Id: I35a5a4dff2c205c71b4acff123c8edc4b51a49e1
Reviewed-by: Allan Sandfeld Jensen <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
Correct the duplicated word "of" in the comment from "tree of of links" to
"tree of links". This typo could lead to confusion when reading the
documentation.
Pick-to: 6.9
Change-Id: Id19d02b1f2d52aa2b51f4d909ee73d57f26fb401
Reviewed-by: Michal Klocek <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
Currently webenginequick uses a window as popup, and the contents are
getting clipped with respect to the parent's boundary. To avoid this,
set the transient parent instead of the parent. This is based on
the documentation.
Fixes: QTBUG-132794
Change-Id: I527ae55d130bc122c903a39738ffea5cec29eb90
Reviewed-by: Allan Sandfeld Jensen <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The EGL_EXT_image_dma_buf_import display extension is not available for
non EGL display thus importing NativePixmap with EGL is not possible.
Make possible to import NativePixmap as X11 pixmap.
This makes
--webEngineArgs --use-gl=angle
--webEngineArgs --use-gl=angle --use-angle=default
--webEngineArgs --use-gl=angle --use-angle=gl
configurations work on Linux.
Pick-to: 6.8 6.9
Task-number: QTBUG-129769
Task-number: QTBUG-133570
Change-Id: Ic6a40de373c5fd27c62abc3effb2f3ddee9210a8
Reviewed-by: Moss Heim <[email protected]>
Reviewed-by: Allan Sandfeld Jensen <[email protected]>
|
|
|
|
|
|
|
| |
Pick-to: 6.8 6.9
Fixes: QTBUG-135047
Change-Id: I42b6387407551079241350661adadedf7d71a303
Reviewed-by: Allan Sandfeld Jensen <[email protected]>
|
|
|
|
|
|
|
|
|
| |
We need to map the item not the scene
Task-number: QTBUG-135040
Pick-to: 6.9 6.8
Change-Id: I1fa2087f822d3fb7fcb431592c222c2e7ddb5e34
Reviewed-by: Allan Sandfeld Jensen <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
When compiling "api" part or "covert_dict" targets
we never set TOOLKIT_QT, meaning BUILDFLAG(IS_QTWEBENGINE)
is not set for headers included from "api" sources.
This can lead do unexpected side effects.
Pick-to: 6.9 6.8
Change-Id: I149da31725df94a4911562213a73f84aeb110ea8
Reviewed-by: Allan Sandfeld Jensen <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Submodule src/3rdparty e3d092a3..ad5f2656:
* [backport] CVE-2025-2136
* [backport] CVE-2025-1920
Note CVE-2025-24201 got merged in adb70197.
Pick-to: 6.9
Fixes: QTBUG-134619
Change-Id: Ia95f730b491d92ea9a894af14099d2bae0dec085
Reviewed-by: Anu Aliyas <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Submodule src/3rdparty 85693496..e3d092a3:
* [backport] Security bug 374890762
* [backport] Security bug 389707046 4/4
* [backport] Security bug 389707046 3/4
* [backport] Security bug 389707046 2/4
* [backport] Security bug 389707046 1/4
* [backport] CVE-2025-1921
* [backport] CVE-2025-1919
* [backport] CVE-2025-1918
* [backport] CVE-2025-1916
* [backport] CVE-2025-1915
* [angle] Always use primary GPU
Pick-to: 6.9
Fixes: QTBUG-134505
Change-Id: Ie2931796a0731e8ac69106e34aa3ad86cdcaddf9
Reviewed-by: Anu Aliyas <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Create new helpers files, and move relater functionality to
toolchain setup:
* compiler and linker flags setup
* sysroot setup
* gn toolchain setup
* sdks detection and setup
* pkg-config setup
This is just pure move, no changes done to cmake code.
Pick-to: 6.9
Change-Id: Idbe369c5f434c53616318f8cd593bebc6a773808
Reviewed-by: Allan Sandfeld Jensen <[email protected]>
Reviewed-by: Moss Heim <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
Added new APIs in QWebEngineClientHints to add support for
Sec-CH-UA-Form-Factors.
Fixes: QTBUG-133709
Change-Id: I525bdebcdd490413457e93e6ebef6c6be125c9b6
Reviewed-by: Szabolcs David <[email protected]>
Reviewed-by: Moss Heim <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Submodule src/3rdparty 689e8302..85693496:
* [backport] 0-day [2/2] Disable setting primitive restart for WebGL in the cmd decoder
* [backport] 0-day [1/2] Move WebGL primitive restart state setting to the GPU process
* [fixup] Qt GN Integration
* [fixup][android] Support android build for qtpdf
* [fixup] Fix QtWebEngine build on Windows
Fixes: QTBUG-134562
Pick-to: 6.9
Change-Id: I2848b37d72bbdf8eaabd3b295ab748b50c79289c
Reviewed-by: Simo Fält <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Submodule src/3rdparty 66a1f2a3..689e8302:
* [backport] CVE-2025-0995: Use after free in V8
* [backport] Dependecy for CVE-2025-0995
* [Backport] Security bug 396481096
* [fixup] Fix QtWebEngine build on Windows
Fixes: QTBUG-133879
Fixes: QTBUG-134119
Pick-to: 6.9
Change-Id: I24c5023313302b2c303c3b9d02e4a8d65961911a
Reviewed-by: Allan Sandfeld Jensen <[email protected]>
(cherry picked from commit 9d06221bce28e3e58988720af8d61fe9cb159f24)
Reviewed-by: Simo Fält <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Submodule src/3rdparty cc3e3122..66a1f2a3:
* [fixup] Qt GN Integration
* [fixup] Fix jumbo build
* [Backport] CVE-2024-11477 / Security bug 383772517
* [Backport] CVE-2025-1426: Heap buffer overflow in GPU
* [Backport] CVE-2025-1006: Use after free in Network
* [Backport] CVE-2025-0999: Heap buffer overflow in V8
* [fixup][win-arm64] Add configuration files for ffmpeg to support MSVC on ARM
* [fixup][win-arm64] Add configuration files for ffmpeg to support MSVC on ARM
* [Backport] CVE-2025-0998: Out of bounds memory access in V8
* [Backport] CVE-2025-0996: Inappropriate implementation in Browser UI
* [Backport] Security bug 379259821 (5/5)
* [Backport] Security bug 379259821 (4/5)
* [Backport] Security bug 379259821 (3/5)
* [Backport] Security bug 379259821 (2/5)
* [Backport] Security bug 379259821 (1/5)
* [Backport] Security bug 379418979
* Fix compilation issue with ASAN enabled
* [fixup][ffmpeg] Fix building with system ffmpeg
* [Backport] Security bug 378917565 (2/2)
* [Backport] Security bug 378917565 (1/2)
* [Backport] Security bug 378014601
* [Backport] Security bug 359992017
* [Backport] Security bug 379776579 (2/2)
* [Backport] Security bug 379776579 (1/2)
* [Backport] Security bug 390465670
* [Backport] CVE-2025-0445: Use after free in V8
Fixes: QTBUG-133878
Fixes: QTBUG-133880
Pick-to: 6.9
Change-Id: I74d0a25e6749fa050e56e12bf7fa9c28031c007f
Reviewed-by: Anu Aliyas <[email protected]>
(cherry picked from commit 853f6508e3f66f0a1d1a6a1260967b5e06f761fe)
Reviewed-by: Simo Fält <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also use qUtf16Printable() where appropriate.
As a drive-by, replace ::GetLastError() with
QSystemError::windowsComString() to get meaningful error messages
instead of error codes on Windows.
Pick-to: 6.8 6.9
Change-Id: I23e8a9b6b419f692dfd719f38c9a8a39086dffd2
Reviewed-by: Marc Mutz <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Amends 2dc642d3f Forward modifier flags for lock keys
Pick-to: 6.8 6.9
Fixes: QTBUG-134107
Change-Id: I3bb5bff0fb43f2db4c91411f3d4e78469aa41747
Reviewed-by: Allan Sandfeld Jensen <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We have two components (WebEngine Core, WebEngineDriver) that
both have associated 3rd party attributions originating from
Chromium. These attributions overlap each other, and cause
multiple `Output file already exist` warnings when generating
the documentation.
Instruct QDoc to ignore these, in order to reduce noise
during documentation build.
Pick-to: 6.9 6.8
Fixes: QTBUG-134416
Change-Id: I57842910fe4835ac5f536a757d3347fa7cee636a
Reviewed-by: Paul Wicking <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Release texture resources before unbinding the compositor. Otherwise we
don't have compositor to release texture after navigating to a new page.
Detected by Vulkan validation layer but supposedly affects all backends.
Amends 6781151fc Compositor: do not call unbind() from the base destructor
Pick-to: 6.8 6.9
Change-Id: I4d9330de64a81c195091691e92164bd9eeb6d121
Reviewed-by: Michal Klocek <[email protected]>
|
|
|
|
|
|
|
|
| |
Checking for the CONTENT_ENABLE_LEGACY_IPC flag is not needed here,
so removing it to ensure that the code gets executed.
Change-Id: Ia3775f9cba98a49bddfe27d11f27660f121a4ece
Reviewed-by: Allan Sandfeld Jensen <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
viz::Display is destructed with the UI compositor
(RenderWidgetHostViewQt::m_uiCompositor). The destruction should be
finished on the Browser thread when cleanupVizProcess() gets called in
WebEngineContext. However, some of the viz::Display members' destructors
(e.g. viz::SkiaOutputSurfaceImpl and
viz::DisplayCompositorMemoryAndTaskController) started destroy tasks on
the GPU thread. These tasks have to be completed before we try to
shutdown threads (BrowserMainLoop::ShutdownThreadsAndCleanUp()) otherwise stopping the VizCompositor thread will cause a deadlock.
As a workaround, post a new task on the GPU thread and wait for it to be
completed.
Pick-to: 6.9
Change-Id: Ie217720008dae8a7b84adb603479b755dd79f5f3
Reviewed-by: Allan Sandfeld Jensen <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
Avoid frozen rendering using a read/write lock which doesnt block the
two threads each only needing a read lock.
Pick-to: 6.9
Fixes: QTBUG-134209
Change-Id: I0e73f8ba1b4236c4b280d9b6c28b7fed0c45aaa7
Reviewed-by: Peter Varga <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix clang-cl compilation, this is just brings
back clang-cl support, however this is just
a temporary toolchian which assumes clang-cl.exe
in PATH variable. It uses same environment files
as msvc22 toolchain.
Note all tolchains are going to be in-source
in follow up patches.
Pick-to: 6.9
Change-Id: I7ce592266aa008460d7a1ca66042faa517b45d56
Reviewed-by: Allan Sandfeld Jensen <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Guard new GLXHelper usage after
a3604e0a4 Disable dma-buf and GBM for nvidia with GLX
As a drive-by, add more QT_CONFIG(xcb_glx_plugin) guard where
OzoneUtilQt::usingGLX() is called to check if Qt GLX integration is
available.
Pick-to: 6.9
Change-Id: I45df5e235f7f98910eedd77e2480d41561105807
Reviewed-by: Allan Sandfeld Jensen <[email protected]>
|
|
|
|
|
|
| |
Pick-to: 6.8 6.9
Change-Id: I1a91b8fa3004d70f2467085f198d8eaa0ecfdc10
Reviewed-by: Allan Sandfeld Jensen <[email protected]>
|
|
|
|
|
|
| |
Change-Id: Iaac937820a64f2f40f52ff762f3a7145d5b46bb5
Pick-to: 6.9
Reviewed-by: Peter Varga <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add detection for Widevine libraries that come by default with a
Windows installation. The libraries may be found both in Microsoft
Edge's installation folder, and also inside the WebView2 data
folders inside the System32 folder.
Also modifies the getters for system folders on Windows, as their
docs state that "SHGetSpecialFolderPath is not supported".
Pick-to: 6.9
Change-Id: I98ebf1f6f801f0ea32be6fd3653c9837f2827592
Reviewed-by: Allan Sandfeld Jensen <[email protected]>
|
|
|
|
|
|
|
|
| |
The paths were hardcoded to x32/x64 only.
Pick-to: 6.9
Change-Id: I5ee72dfcf4af3a15fab188afa941fd0a184f0706
Reviewed-by: Allan Sandfeld Jensen <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes rendering with newer Nvidia drivers on Linux.
- Make memory object dedicated to match Vulkan allocation
- Set tiling of the GL texture to match VkImage tiling
- Make the TexStorage command non-DSA to uniform GL calls
Amends 8ce04357b4ce39b8c4c2243991eae70f78f9b61b
Pick-to: 6.8 6.9
Change-Id: I43e953412acf6d39b67dcd8af02aac4003fc5c8e
Reviewed-by: Allan Sandfeld Jensen <[email protected]>
Reviewed-by: Moss Heim <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It is already disabled with EGL.
Checking the existence of a GBM device is just not enough. It is
possible to create GBM device and buffer with nvidia driver but it
will not work.
Pick-to: 6.8 6.9
Change-Id: I3806594371d3e266d499bdc396c8f2a4ca17580d
Reviewed-by: Allan Sandfeld Jensen <[email protected]>
Reviewed-by: Moss Heim <[email protected]>
|