-
Bug
-
Resolution: Fixed
-
P3
-
fx2.0
-
FX 2.0 beta b32
Run the attached sample app to produce the following error:
java.lang.InternalError: Unrecognized PixelFormat (BYTE_ALPHA)!
at com.sun.prism.j2d.J2DTexture.<init>(J2DTexture.java:44)
at com.sun.prism.j2d.J2DResourceFactory.createTexture(J2DResourceFactory.java:70)
at com.sun.prism.impl.BaseResourceFactory.createTexture(BaseResourceFactory.java:109)
at com.sun.prism.impl.BaseResourceFactory.createTexture(BaseResourceFactory.java:100)
at com.sun.javafx.sg.prism.EffectUtil.renderRectDropShadow(EffectUtil.java:184)
at com.sun.javafx.sg.prism.EffectUtil.renderEffectForRectangularNode(EffectUtil.java:60)
at com.sun.javafx.sg.prism.NGRectangle.renderEffectDirectly(NGRectangle.java:61)
at com.sun.javafx.sg.prism.NGRectangle.renderEffect(NGRectangle.java:43)
at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:101)
at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:34)
at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1013)
at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:180)
at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:103)
at com.sun.javafx.sg.prism.NGGroup.doRender(NGGroup.java:291)
at com.sun.javafx.sg.prism.NGGroup.doRender(NGGroup.java:27)
at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1013)
at com.sun.javafx.tk.quantum.PaintRunnable.paintImpl(PaintRunnable.java:138)
at com.sun.javafx.tk.quantum.PaintRunnable.run(PaintRunnable.java:238)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
at com.sun.prism.render.RenderJob.run(RenderJob.java:29)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at com.sun.javafx.tk.quantum.QuantumRenderer$ObservedRunnable.run(QuantumRenderer.java:70)
at java.lang.Thread.run(Unknown Source)
java.lang.InternalError: Unrecognized PixelFormat (BYTE_ALPHA)!
at com.sun.prism.j2d.J2DTexture.<init>(J2DTexture.java:44)
at com.sun.prism.j2d.J2DResourceFactory.createTexture(J2DResourceFactory.java:70)
at com.sun.prism.impl.BaseResourceFactory.createTexture(BaseResourceFactory.java:109)
at com.sun.prism.impl.BaseResourceFactory.createTexture(BaseResourceFactory.java:100)
at com.sun.javafx.sg.prism.EffectUtil.renderRectDropShadow(EffectUtil.java:184)
at com.sun.javafx.sg.prism.EffectUtil.renderEffectForRectangularNode(EffectUtil.java:60)
at com.sun.javafx.sg.prism.NGRectangle.renderEffectDirectly(NGRectangle.java:61)
at com.sun.javafx.sg.prism.NGRectangle.renderEffect(NGRectangle.java:43)
at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:101)
at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:34)
at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1013)
at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:180)
at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:103)
at com.sun.javafx.sg.prism.NGGroup.doRender(NGGroup.java:291)
at com.sun.javafx.sg.prism.NGGroup.doRender(NGGroup.java:27)
at com.sun.javafx.sg.BaseNode.render(BaseNode.java:1013)
at com.sun.javafx.tk.quantum.PaintRunnable.paintImpl(PaintRunnable.java:138)
at com.sun.javafx.tk.quantum.PaintRunnable.run(PaintRunnable.java:238)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
at com.sun.prism.render.RenderJob.run(RenderJob.java:29)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at com.sun.javafx.tk.quantum.QuantumRenderer$ObservedRunnable.run(QuantumRenderer.java:70)
at java.lang.Thread.run(Unknown Source)
- blocks
-
JDK-8097116 J2D pipeline optimization of the rectangular drop shadow effect is incorrect
- Closed