JDK-8309916 : Support WebView rendering with metal pipeline
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: internal
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • CPU: generic
  • Submitted: 2023-06-13
  • Updated: 2024-06-10
  • Resolved: 2024-06-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
internalFixed
Related Reports
Blocks :  
Relates :  
Comments
Author: aghaisas <ajitgh@gmail.com> Co-authored-by:Jayathirth Rao D V <jayathirth.d.v@oracle.com> Date: 2024-06-07 15:07:38 +0000 URL: https://git.openjdk.org/jfx-sandbox/commit/2d1762f06f9fef3d0bf20500e8bd7d4af0a16605
07-06-2024

Eventhough this feature is not implemented i just built Webkit and Media and ran Ensemble8->WebView demo and i below crash. Just capturing details for future reference. Command Line: --module-path=/Users/jdv/dev/workspace/jfx/sandbox/rt/build/sdk/lib --add-modules=javafx.base,javafx.controls,javafx.fxml,javafx.graphics,javafx.media,javafx.swing,javafx.web -Dprism.verbose=true -Dprism.metalDebug=true apps/samples/Ensemble8/dist/Ensemble8.jar Host: "MacBookPro18,1" arm64, 10 cores, 32G, Darwin 23.2.0, macOS 14.2.1 (23C71) Time: Tue Jan 30 14:01:47 2024 IST elapsed time: 14.744058 seconds (0d 0h 0m 14s) --------------- T H R E A D --------------- Current thread (0x000000010f9a5c00): JavaThread "QuantumRenderer-0" daemon [_thread_in_native, id=29187, stack(0x0000000170220000,0x0000000170423000)] Stack: [0x0000000170220000,0x0000000170423000], sp=0x0000000170420d80, free space=2051k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [libobjc.A.dylib+0x9420] objc_msgSend+0x20 C [libprism_mtl.dylib+0x4f44] Java_com_sun_prism_mtl_MTLContext_nDrawIndexedQuads+0x74 J 4115 com.sun.prism.mtl.MTLContext.nDrawIndexedQuads(J[F[BI)I javafx.graphics@22-internal (0 bytes) @ 0x0000000138482568 [0x00000001384824c0+0x00000000000000a8] C 0x000000061fef4cb8 Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) J 4115 com.sun.prism.mtl.MTLContext.nDrawIndexedQuads(J[F[BI)I javafx.graphics@22-internal (0 bytes) @ 0x0000000138482568 [0x00000001384824c0+0x00000000000000a8] J 4752 c2 com.sun.prism.impl.VertexBuffer.flush()V javafx.graphics@22-internal (32 bytes) @ 0x00000001385024dc [0x0000000138501900+0x0000000000000bdc] J 5901 c2 com.sun.prism.impl.BaseContext.flushVertexBuffer()V javafx.graphics@22-internal (16 bytes) @ 0x00000001385aa30c [0x00000001385aa2c0+0x000000000000004c] j com.sun.prism.impl.ps.BaseShaderContext.validatePaintOp(Lcom/sun/prism/impl/ps/BaseShaderGraphics;Lcom/sun/javafx/geom/transform/BaseTransform;Lcom/sun/prism/impl/ps/BaseShaderContext$MaskType;Lcom/sun/prism/Texture;FFFF)Lcom/sun/prism/ps/Shader;+87 javafx.graphics@22-internal j com.sun.prism.impl.ps.BaseShaderContext.validatePaintOp(Lcom/sun/prism/impl/ps/BaseShaderGraphics;Lcom/sun/javafx/geom/transform/BaseTransform;Lcom/sun/prism/impl/ps/BaseShaderContext$MaskType;FFFF)Lcom/sun/prism/ps/Shader;+13 javafx.graphics@22-internal Attached crash log also for the same.
30-01-2024