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

duke duke at openjdk.org
Fri Nov 28 15:31:25 UTC 2025


Changeset: e6316005
Branch: direct3d12
Author:    Lukasz Kostyra <lukasz.kostyra at oracle.com>
Date:      2025-11-28 15:19:41 +0000
URL:       https://git.openjdk.org/jfx-sandbox/commit/e6316005a2b7a88cf8532314bec06e580c6fc761

Remove old debugging logs

! modules/javafx.graphics/src/main/native-prism-d3d12/D3D12NativeDevice.cpp
! modules/javafx.graphics/src/main/native-prism-d3d12/Internal/D3D12ResourceManager.cpp

Changeset: eb317238
Branch: direct3d12
Author:    Lukasz Kostyra <lukasz.kostyra at oracle.com>
Date:      2025-11-28 13:47:21 +0000
URL:       https://git.openjdk.org/jfx-sandbox/commit/eb3172383826e13544ba98fe5f56cf525e8fa137

8372346: D3D12: Fix depth when rendering multiple 3D meshes

JFX often follows a pattern of:
  - SetRenderTarget(RTT, depthTest = false)
  - SetRenderTarget(RTT, depthTest = true)
  - Draw()

Due to earlier adding an optimization to RenderingContext which
optimizes out setting the same RTT, the change in depthTest flag was not
properly reflected on D3D12 API.

This patch adds an extra faster path to "setting same RTT with Depth
enabled" scenario which readjusts PSO parameters and clears RTT applied
flag to re-set it after DSV was created.

! modules/javafx.graphics/src/main/native-prism-d3d12/Internal/D3D12RenderingContext.cpp



More information about the openjfx-changes mailing list