Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8095788

[Canvas, SW] Clipping and rendering issues with JDK 8u11

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 8u11
    • Fix Version/s: 8u40
    • Component/s: javafx
    • Labels:

      Description

      when running self developed astronomy star chart under JDK build 1.8.0_11-b12 clipping not working correctly I am using GraphicsContex clip method and the rendering very strange and displayed different color other than the intended one and the program become very slow and freeze all these issues not present under JDK 1.7.0_65 all test under Windows 7 ultimate Graphics Card Radeon X1950.


      /****** Exception *******/


      java.lang.NullPointerException
          at com.sun.prism.sw.SWGraphics.fillRect(SWGraphics.java:396)
          at com.sun.javafx.sg.prism.NGCanvas$RenderBuf.validate(NGCanvas.java:244)
          at com.sun.javafx.sg.prism.NGCanvas.renderClip(NGCanvas.java:625)
          at com.sun.javafx.sg.prism.NGCanvas.renderStream(NGCanvas.java:781)
          at com.sun.javafx.sg.prism.NGCanvas.renderContent(NGCanvas.java:578)
          at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2043)
          at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1951)
          at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:225)
          at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2043)
          at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1951)
          at com.sun.javafx.tk.quantum.ViewPainter.doPaint(ViewPainter.java:469)
          at com.sun.javafx.tk.quantum.ViewPainter.paintImpl(ViewPainter.java:324)
          at com.sun.javafx.tk.quantum.UploadingPainter.run(UploadingPainter.java:132)
          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
          at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
          at com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
          at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:129)
          at java.lang.Thread.run(Thread.java:745)



        Attachments

          Issue Links

            Activity

              People

              Assignee:
              flar Jim Graham
              Reporter:
              tsaastjfx Tsaast (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: