On Wed, 25 Nov 2026 13:52:39 GMT, Marius Hanl <[email protected]> wrote:
>> Lukasz Kostyra has updated the pull request incrementally with four
>> additional commits since the last revision:
>>
>> - Review comments from @Maran23
>> - Device/Context: Remove UnsetTextureIfSet
>>
>> This caused scrolling issues in WebView. Scrolling there is done by:
>> - Creating a temp RTT
>> - Copying contents to the RTT
>> - Redrawing the temp RTT onto actual WebPage RTT shifted
>> - Immediately after disposing of the temp RTT by calling dispose()
>>
>> The last step caused the Texture to be unbound and because we cache the
>> draw calls and batch-submit them, caused the final redraw to fail.
>>
>> NativeTexture is held by a shared_ptr instance so it will eventually get
>> freed anyway once the instances on the Render Thread side get replaced.
>> - PSOManager: Add missing Rasterizer State MSAA flag
>> - Cleanup magic numbers and constants
>>
>> - Added new "common" header - D3D12Types.hpp - which holds all extra
>> structs/classes/enums used by the backend. This will always be
>> included by D3D12Common.hpp.
>> - Moved constants and constant macros from D3D12Common to
>> D3D12Constants.hpp
>> - Replaced constant macros with regular constants for type safety and
>> namespacing
>
> 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 = IS_STATIC_BUILD ? [linkFlags, D3D12Libs,
>> "user32.lib"].flatten() : [linkFlags, D3D12Libs].flatten();
>
> Isn't it the other way around, or is this different for D3D12?
> For refernece, this is the line above:
> `WIN.prismD3D.linkFlags = (IS_STATIC_BUILD ? [linkFlags] : [linkFlags,
> "user32.lib"]).flatten()`
Oh! True, I mixed those up.
I have to wonder if this is actually needed then, since non-static builds
worked fine across the board for us. Can you check if GraalVM build would work
before introducing this change?
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/2346#discussion_r4695911647