RFR: 8092272: [D3D 3D] Need a robust 3D states management for texture [v2]
Nir Lisker
nlisker at openjdk.org
Sat Jul 19 01:10:49 UTC 2025
On Sat, 19 Jul 2025 00:34:46 GMT, Xavier Pedraza <duke at openjdk.org> wrote:
> Paying a visit here after writing [this SO answer](https://stackoverflow.com/a/79706844/10808904), any reason this PR died? Appreciate any and all responses.
The PR is not really dead, it's hibernating :) The reason is that there's more research that needs to go into this. Initially, the texture data was only for the sampler state, but then it expanded to the render state, and it's not clear if this is correct and how inclusive this interface should be.
Add to it that Metal and D3D12 are in the works and we need to make sure JavaFX's abstraction fits those as well (and it's not clear now that it needs to fit D3D9). Writing an abstraction API over 4 or 5 different pipelines is something that takes a lot of consideration.
Note also that this PR is just for the implementation, and doesn't include exposing the API, which is planned for a followup PR.
If you'd like to help, you can research the sampler states and render states (and whatever else might fit) that the pipelines support and see if it makes sense to bundle all of them into a "texture parameters" type.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1281#issuecomment-3091342446
More information about the openjfx-dev
mailing list