On Wed, 25 Nov 2026 08:44:25 GMT, Marius Hanl <[email protected]> wrote:
>> Lukasz Kostyra has updated the pull request incrementally with six
>> additional commits since the last revision:
>>
>> - Config: Disable clear opts by default
>>
>> Current implementation is not the most precise and can cause rendering
>> errors. It will be restored when further improved as a follow-up.
>> - Static analysis fixes from @kevinrushforth
>>
>> Omitted GetArrayLength() fix because it is more complex and needs more
>> time.
>> - Cleanup unused functions/methods/classes
>>
>> Some methods (ex. from Matrix, BBox or Config) were left for future
>> convenience.
>> - RenderingContext: Cleanup Mesh rebuild changes
>>
>> - Changed CopyResource action to now use ITrackedResource objects and to
>> perform D3D12 State transitions
>> - Removed CopyBufferRegion Action
>> - Review comments from @jayathirthrao, update Buffer initialization
>>
>> - Fixed MSAA support polling
>> - Adjusted code initializing Internal::Buffer:
>> - Now Buffer::Init will only initialize data when we create an
>> UPLOAD-heap Buffer for convenienice
>> - DEFAULT-heap Buffers now require manual update via RenderingContext
>> - RenderingContext, similar to Textures, employs a fast path for small
>> Buffers utilizing preallocated memory
>> - NativeMesh will now reuse existing VB/IB if BuildGeometryBuffers uses
>> the same buffer size with new data
>> - RTContext: Fix potential quad VB data overwrite
>>
>> Main Ring Buffer data should be declared before use, together with
>> ResourceManager's data.
>
> buildSrc/win.gradle line 403:
>
>> 401: WIN.prismD3D12.ccFlags = [ccFlags, "/std:c++20",
>> "/I${project("graphics").projectDir}/build/gensrc/d3d12-headers"].flatten()
>> 402: WIN.prismD3D12.linker = linker
>> 403: WIN.prismD3D12.linkFlags = [linkFlags, D3D12Libs].flatten();
>
> Question: do we ne need any special handling here for the `IS_STATIC_BUILD`
> case as we do in `prismD3D` ?
I would have to guess it would be needed, Windows libraries require
`user32.lib` otherwise they won't load. I don't have an easy way to test this
though. I'll add the change, but I will need someone else to verify this works.
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/2346#discussion_r4695470074