Integrated: 8320563: Remove D3D9 code paths in favor of D3D9Ex

Lukasz Kostyra lkostyra at openjdk.org
Mon Apr 29 07:32:14 UTC 2024


On Tue, 23 Apr 2024 10:33:58 GMT, Lukasz Kostyra <lkostyra at openjdk.org> wrote:

> JFX minimum requirements guarantee 9Ex availability, so old non-Ex paths are no longer needed.
> 
> In multiple parts (ex. Mesh, Graphics, etc.) where the Device is acquired I changed the type to explicitly use `IDirect3DDevice9Ex`. Technically it doesn't matter much (`IDirect3DDevice9Ex` inherits `IDirect3DDevice` - it was leveraged to transparently use the Ex device in the backend) but now we don't have the non-Ex device, so that keeps it a bit more consistent and clear IMO.
> 
> Verified by running tests on Windows 11, did not notice any regressions. Unfortunately I have no way to test this on older systems.

This pull request has now been integrated.

Changeset: 7294849c
Author:    Lukasz Kostyra <lkostyra at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/7294849caefe1c986fdf7764f4c41b5047ed7765
Stats:     142 lines in 19 files changed: 0 ins; 62 del; 80 mod

8320563: Remove D3D9 code paths in favor of D3D9Ex

Reviewed-by: nlisker, mstrauss

-------------

PR: https://git.openjdk.org/jfx/pull/1445


More information about the openjfx-dev mailing list