On Thu, 22 Oct 2026 23:21:46 GMT, John Hendrikx <[email protected]> wrote:

>> modules/javafx.graphics/src/main/java/com/sun/prism/sw/SWDrawingContext.java 
>> line 232:
>> 
>>> 230:         this.graphics = (SWGraphics)texture.createGraphics();
>>> 231: 
>>> 232:         FXCleaner.register(this, new StateCleaner(resourceFactory, 
>>> texture));
>> 
>> SWRTTexture creates Pisces renderer in L168 which is not released by the 
>> StateCleaner.  Will this leak native resources?
>
> No, renderer cleans itself up (`Disposer.addRecord(this, new 
> PiscesRendererDisposerRecord(nativePtr));`)

Will Disposer:177 be triggered when creating off-screen images?

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1969#discussion_r4361885919

Reply via email to