git: openjdk/jfx-sandbox: direct3d12: RenderingContext: Remove excessive SetRenderTarget optimization

duke duke at openjdk.org
Wed Feb 19 12:19:35 UTC 2025


Changeset: 99c78606
Branch: direct3d12
Author:    Lukasz Kostyra <lukasz.kostyra at oracle.com>
Date:      2025-02-19 13:13:13 +0000
URL:       https://git.openjdk.org/jfx-sandbox/commit/99c786060e6633c59eaa8524a1f83b5dc7a6c794

RenderingContext: Remove excessive SetRenderTarget optimization

Sometimes Java-side will re-set the same Render Target but with depth
testing flag set to enabled. Since the backend only checked for if
RenderTarget pointer is the same, the depth test flag change was not
reflected in the Context.

Additionally removed excessive cull/fill mode setting in PSOManager

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



More information about the openjfx-changes mailing list