mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 08:12:38 +00:00
build: Explicitly disable experimental Direct3D 12 adaptation for Windows #27
No reviewers
Labels
No labels
Android
Bug
Build system
Design suggestion
Doc
Needs design review
Needs rebase
Stage
UX
Up for grabs
Upstream
Wallet
duplicate
enhancement
good first issue
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin-core/gui-qml!27
Loading…
Reference in a new issue
No description provided.
Delete branch "210828-d3d12"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The Direct3D 12 adaptation is an alternative renderer for Qt Quick 2 when running on Windows, both for Win32 and UWP applications.
Currently, being enabled it causes an error in Guix build for the
x86_64-w64-mingw32host (https://github.com/bitcoin-core/gui-qml/issues/26#issuecomment-907603402).This PR explicitly disables the Direct3D 12 adaptation for Windows.
Please note that D3D12 backend of Qt Quick has been removed in Qt 6 (https://bugreports.qt.io/browse/QTBUG-79925).
Guix build:
Closes #26.
If opengl and d3d are disabled then what is used by the renderer?
@promag
I've verified on Windows 10 Pro 20H2 (build 19042.1165).
Indeed, Qt Quick uses 2D Renderer, i.e., "software".
To clarify, this PR does not drop Windows build with D3D12 support. Such a build is not available due to the QTBUG-86892.
And adding OpenGL/ANGLE support to Windows build is out of this PR scope, but it is nice for a follow up, no?
Btw, on the main branch:
github.com/bitcoin-core/gui-qml@c25812f833/depends/packages/qt.mk (L155)GUIX hashes mine match @hebasto:
Adding support for guix building with non-cpu centric rendering support enabled is going to be required as the limitiation and performance impacts of this rendering engine will limit what we can do with this project, see:
ACK
bd86bb5366Confirmed that guix building for windows is broken on master and that this PR fixes that and allows me to build. This is an intermediary step, see here for why it is required to add proper rendering support while guix building.
Btw, from Qt 5.14 onwards, we can use the Qt Rendering Hardware Interface (RHI).