[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-openjfx-dev
Subject:    Withdrawn: 8092272: [D3D 3D] Need a robust 3D states management for texture
From:       duke <duke () openjdk ! org>
Date:       2024-02-24 7:26:59
Message-ID: mex3YgoKrMjDYt4xbxwXDYIDv6eQfEXwzoEQm8VUsqw=.a8c8aaa5-4e15-4551-9e46-a9d28b063ed3 () github ! com
[Download RAW message or body]

On Wed, 8 Nov 2023 22:30:34 GMT, Nir Lisker <nlisker@openjdk.org> wrote:

> Moves the filter setting of the samplers from the device parameters configuration \
> to the use-site, allowing for dynamic changes in the sampler. This PR does internal \
> plumbing work only to bring it close to the ES2 pipeline. A followup PR will create \
> the public API. 
> Summary of the changes:
> * Created a new (internal for now) `TextureData` object that is intended to contain \
> all the data of texture (map) of `PhongMaterial`, such as filters, addressing, \
> wrapping mode, mipmaps etc. **This PR deals only with filters** as a starting \
>                 point, more settings can be added later.
> * Creates an update mechanism from the Java side material to the native D3D layer. \
> The public API `PhoneMaterial` is *not* changed yet. The peer `NGPhongMaterial` is \
> configured to receive update from the public `PhongMaterial` when the public API is \
>                 created via new `ObjectProperty<TextureData>` properties.
> * Small refactoring in the D3D layer with a new map types enum to control the \
> texture settings more easily. 
> The JBS issue lists some regressions in a comment, but I couldn't reproduce them. \
> It looks like the sampler settings needed to be added anywhere, and that was the \
> easiest to do at the time. Now they were just moved.

This pull request has been closed without being integrated.

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

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic