git: openjdk/jfx-sandbox: direct3d12: D3D12: Fix system and robot tests crashing

duke duke at openjdk.org
Thu Mar 6 13:05:09 UTC 2025


Changeset: 1f389e74
Branch: direct3d12
Author:    Lukasz Kostyra <lukasz.kostyra at oracle.com>
Date:      2025-03-06 13:59:22 +0000
URL:       https://git.openjdk.org/jfx-sandbox/commit/1f389e74b75084664d72d89aa83c984c6c5a0f15

D3D12: Fix system and robot tests crashing

- NativeDevice releasing internal resources has been moved back to
  destructor - previous attempt at "earlier" release was an attempt to
  debug and maybe fix some issues of unreleased D3D12 resources, which
  did not actually work and instead caused errors by RTT's being
  released after D3D12NativeDevice.
- CommandListPool now can signal/wait on queue when all Command Lists
  are exhausted. This prevents an assertion being triggered on some
  system tests which use large amounts of new scenes without any
  contents.

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



More information about the openjfx-changes mailing list