Possible leak on prism es2
Thiago Milczarek Sayão
thiago.sayao at gmail.com
Tue Sep 24 17:10:52 UTC 2024
I might be mistaken, but it seems deleteDrawableInfo is never called.
I think it should be called when the platform View is replaced or when the
window is closed.
Github search for deleteDrawableInfo
https://github.com/search?q=repo%3Aopenjdk%2Fjfx%20deleteDrawableInfo&type=code
Em ter., 24 de set. de 2024 às 09:07, Thiago Milczarek Sayão <
thiago.sayao at gmail.com> escreveu:
> Hi,
>
> While doing some work on replacing GLX with EGL I discovered a possible
> leak.
>
> Running this test:
> gradle -PFULL_TEST=true -PUSE_ROBOT=true :systemTests:test --tests
> SetSceneScalingTest
>
> will result in X11GLDrawable -> nCreateDrawable to be called multiple
> times on the same test, while GLDrawable -> deleteDrawableInfo is never
> called, generating a leak (I think).
>
> I can probably fix this, but I still have little knowledge on the es2
> part, so any help would be appreciated.
>
> -- Thiago.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20240924/196afcda/attachment.htm>
More information about the openjfx-dev
mailing list