Qt 6.8.3 with BlackBerry 10 (QNX 8 / ARMv7) patches
 
 
 
 
 
 
Go to file
Laszlo Agocs fb6cfadc38 rhi: gl: Make QQuickWidget and QRhiWidget work on eglfs
Strictly speaking, the problem has nothing to do with QRhi. What is
special with the eglfs' backingstore is that it creates a QRhiTexture
and then pulls out the OpenGL texture ID via nativeTexture() right
afterwards.

In this setup there is nothing that would ensure glTexParameteri is
called to override the silly default of OpenGL. Normally this cannot
happen because once the QRhiTexture is used for sampling purposes
together with a QRhiSampler, all necessary state gets updated.

Starting from Qt 6.4, with the QRhi-based backingstore composition
changes, the special case where we create QRhiTextures just to get the
underlying OpenGL texture got introduced.

Ideally the eglfs side should provide its in MIN/MAG filter state, but
in the meantime, to be more robust, always set a MIN filter already in
QRhiTexture::create(). For most textures this will get changed
afterwards.

Change-Id: I305cdbb5576b977887b85a15b72455bb3ae430c4
Pick-to: 6.7 6.6 6.5
Fixes: QTBUG-123551
Reviewed-by: Karim Pinter <karim.pinter@qt.io>
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
(cherry picked from commit 88aa5250d58900653192c45e41f182ec88474e38)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-09-04 06:27:09 +00:00
.github/workflows
LICENSES Use SPDX identifier to Wintab attribution 2024-06-24 10:03:44 +00:00
bin CMake: Don't hard-code "libexec" in qt-configure-module 2024-08-20 13:50:32 +02:00
cmake CMake: Add the Qt-specific CPE to 3rd party entity types in SBOM 2024-09-03 16:59:19 +00:00
coin coin: Introduce a COIN_DOC_CMAKE_ARGS env variable 2024-08-20 01:28:02 +00:00
config.tests Fix ARM NEON detection on MSVC arm64 2024-08-12 10:10:22 +00:00
dist Remove dist/README 2024-02-29 15:35:57 +01:00
doc Android: upgrade to Gradle 8.10 and AGP 8.5.2 2024-08-25 12:54:34 +00:00
examples Doc: Remove usage of defunct QDoc command 2024-08-28 11:39:51 +00:00
lib
libexec CMake: Allow building all examples as standalone just like tests 2024-03-14 11:44:16 +01:00
mkspecs wasm: Update Emscripten to 3.1.56 2024-07-12 01:42:29 +00:00
qmake CMake: Only build QtLibraryInfo if we are building tools 2024-07-21 12:42:33 +00:00
src rhi: gl: Make QQuickWidget and QRhiWidget work on eglfs 2024-09-04 06:27:09 +00:00
tests QDirListing: make end() return a sentinel 2024-09-03 18:06:32 +00:00
util Include relevant Unicode Inc. copyright line in generated data files 2024-08-31 08:56:42 +00:00
.cmake.conf Bump Apple OS deployment targets and minimum/maximum SDK/Xcode versions 2024-08-21 17:02:12 +00:00
.gitattributes
.gitignore Git ignore Visual Studio CMake build directories 2023-11-24 23:42:05 +01:00
.lgtm.yml
.tag
CMakeLists.txt cmake: add _extra_files IDE target from heuristics 2024-04-12 08:36:01 +08:00
config_help.txt configure: Add note how to set CMake variable to help output 2024-09-02 18:10:39 +00:00
configure Change configure license 2024-02-02 15:23:02 +00:00
configure.bat configure.bat: Fix errors on Windows 2024-03-05 11:56:24 +01:00
configure.cmake Prevent -feature-c++20 on VxWorks 2024-08-05 19:28:43 +00:00
dependencies.yaml
licenseRule.json Include relevant Unicode Inc. copyright line in generated data files 2024-08-31 08:56:42 +00:00
qt_cmdline.cmake configure: accept -c++std c++17 again 2024-06-13 20:40:06 +00:00