git: openjdk/jfx-sandbox: direct3d12: 2 new changesets

duke duke at openjdk.org
Mon Mar 17 15:50:12 UTC 2025


Changeset: ca4e590a
Branch: direct3d12
Author:    Lukasz Kostyra <lukasz.kostyra at oracle.com>
Date:      2025-03-17 14:58:53 +0000
URL:       https://git.openjdk.org/jfx-sandbox/commit/ca4e590a65dbaeae03d25f240a974f923cfcee89

Unify string-wstring conversion routines

Conversion from string to wstring and back was moved to D3D12Utils and
rest of the backend uses said conversion routines.

Current conversion code (using STL codecvt) will have to be replaced
once we upgrade the C++ compiler (newer C++ versions deprecated codecvt
in place of new routines) so this way it will be much easier to do so.

! modules/javafx.graphics/src/main/native-prism-d3d12/D3D12NativeInstance.cpp
! modules/javafx.graphics/src/main/native-prism-d3d12/Internal/D3D12DescriptorHeap.cpp
! modules/javafx.graphics/src/main/native-prism-d3d12/Internal/D3D12PSOManager.cpp
! modules/javafx.graphics/src/main/native-prism-d3d12/Internal/D3D12RingBuffer.cpp
! modules/javafx.graphics/src/main/native-prism-d3d12/Internal/D3D12RingBuffer.hpp
! modules/javafx.graphics/src/main/native-prism-d3d12/Internal/D3D12RingDescriptorHeap.cpp
! modules/javafx.graphics/src/main/native-prism-d3d12/Internal/D3D12RingDescriptorHeap.hpp
+ modules/javafx.graphics/src/main/native-prism-d3d12/Internal/D3D12Utils.cpp
! modules/javafx.graphics/src/main/native-prism-d3d12/Internal/D3D12Utils.hpp

Changeset: 222898cc
Branch: direct3d12
Author:    Lukasz Kostyra <lukasz.kostyra at oracle.com>
Date:      2025-03-17 16:31:06 +0000
URL:       https://git.openjdk.org/jfx-sandbox/commit/222898cc6db3f9b30f3bf79035679a908694d0b3

build.gradle: Embed debug information in shaders

This adds necessary DXC flags to internal and Prism/Decora shader build
tasks which embed debugging information only if CONF is DebugNative.
With this, shader debugging in ex. RenderDoc gets much more pleasant.

! build.gradle
! buildSrc/src/main/groovy/com/sun/javafx/gradle/CompileHLSL6Task.groovy



More information about the openjfx-changes mailing list