-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P4
-
Affects Version/s: jfx25
-
Component/s: javafx
-
generic
-
generic
Follow-up to JDK-8352209 and PR discussion https://github.com/openjdk/jfx/pull/1951
While above issue was patched using a null check in BaseContext.flushMask(), it might be just a temporary workaround to the real issue.
It seems like the root cause is Prism's BaseContext class not keeping the texture locked until VertexBuffer is fully flushed. This can potentially cause a situation where BaseContext still holds on to an earlier created mask texture and attempts to update it, but Prism pool already freed it since it was not locked. Investigate and fix.
While above issue was patched using a null check in BaseContext.flushMask(), it might be just a temporary workaround to the real issue.
It seems like the root cause is Prism's BaseContext class not keeping the texture locked until VertexBuffer is fully flushed. This can potentially cause a situation where BaseContext still holds on to an earlier created mask texture and attempts to update it, but Prism pool already freed it since it was not locked. Investigate and fix.
- relates to
-
JDK-8368629 Texture.update sometimes invoked for a disposed Texture
-
- In Progress
-
-
JDK-8352209 NPE com.sun.prism.d3d.D3DTextureData.getContext
-
- Closed
-