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

[opengl] rendering with custom composite causes internal error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 8
    • Fix Version/s: tbd
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
      2d
    • CPU:
      generic
    • OS:
      generic

      Description

      A custom composite used for rendering with opengl pipeline
      causes an internal error:

      Caused by: java.lang.InternalError: not implemented yet
      at sun.java2d.opengl.OGLSurfaceData.getRaster(OGLSurfaceData.java:397)
      at sun.java2d.pipe.GeneralCompositePipe.renderPathTile(GeneralCompositePipe.java:100)
      at sun.java2d.pipe.SpanShapeRenderer$Composite.renderBox(SpanShapeRenderer.java:60)
      at sun.java2d.pipe.SpanShapeRenderer.spanClipLoop(SpanShapeRenderer.java:213)
      at sun.java2d.pipe.SpanShapeRenderer.renderSpans(SpanShapeRenderer.java:196)
      at sun.java2d.pipe.SpanShapeRenderer.draw(SpanShapeRenderer.java:90)
      at sun.java2d.pipe.PixelToShapeConverter.drawLine(PixelToShapeConverter.java:52)
      at sun.java2d.pipe.ValidatePipe.drawLine(ValidatePipe.java:62)
      at sun.java2d.SunGraphics2D.drawLine(SunGraphics2D.java:2137)
      at ogl.CustomCompositeTest$TestComponent.renderTest(CustomCompositeTest.java:100)
      at ogl.CustomCompositeTest$TestComponent.paintComponent(CustomCompositeTest.java:86)
       
      Attached test demonstrates the problem.

      Note that a fix for 7124347 resolves similar problem for the case of rendering of images,
      but other pipes are still vulnerable to the problem.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              bae Andrew Brygin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: