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

duke duke at openjdk.org
Fri Mar 14 15:57:35 UTC 2025


Changeset: f35808ec
Branch: direct3d12
Author:    Lukasz Kostyra <lukasz.kostyra at oracle.com>
Date:      2025-03-13 14:52:52 +0000
URL:       https://git.openjdk.org/jfx-sandbox/commit/f35808ec13aea09d974cd4e4db0513eb28f356ea

PSOManager: Change depth test comparison to less equal

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

Changeset: 23ac1150
Branch: direct3d12
Author:    Lukasz Kostyra <lukasz.kostyra at oracle.com>
Date:      2025-03-14 16:38:49 +0000
URL:       https://git.openjdk.org/jfx-sandbox/commit/23ac1150d76054701ef623801258a1400c7fddd8

RingContainer: Rework mid-frame waiting

With current implementation Ring Container would occasionally return
regions which partially overlap past head offset. This would cause some
issues, starting from simple glitching and/or texture swapping (most
noticeable in RenderPerf MultiShape3D N:100 test and RenderPerf Text
tests with large N) to even Device being suspended due to overwriting
currently used Descriptors during frame rendering.

This change fixes above issues by putting the mid-frame "check and wait"
before we start branching depending on current situation in the Container.
Check is now done by verifying "used bytes" variable. Also, both size
and returned offset are now aligned based on parameter. This cleared some
very specific corner cases and made the code more stable.

Running various RenderPerfTest demos on Release build for longer periods
of time did not show any more issues, both visual and stability wise.

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



More information about the openjfx-changes mailing list